diff --git a/.eslintrc.json b/.eslintrc.json index 6f75cdef..8caa04a4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,5 +4,10 @@ "sourceType": "module", "ecmaVersion": 2020 }, + "env": { + "node":true + }, + // Add an exception for the generated protobuf.js file + "ignorePatterns": ["src/protobuf/protobuf/*.*", "src/proto/*.*"], "root": true } diff --git a/README.md b/README.md index 3ad521de..74f62337 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Dwarf II -Wrapper functions for Dwarf II (aka Dwarf 2) API V1. This library and the API are a work in progress. +Wrapper functions for Dwarf II (aka Dwarf 2) API V2. -Dwarf Lab's [API V1 documentation](https://hj433clxpv.feishu.cn/docx/MiRidJmKOobM2SxZRVGcPCVknQg). +Dwarf Lab's [API V2 documentation](https://tinyphoton.feishu.cn/docx/GBkcdldTIo3SrdxFJDscYVYDnvf?fbclid=IwAR0_Vypm8DPk1PPtwllptpWDZmxbCgi3NKVQKV8khDXIvnNay_o67AUgtq4). -[Documentation](https://dwarftelescopeusers.github.io/dwarfii_api/) for this package. +[Documentation](https://stevejcl.github.io/dwarfii_api/) for this package. ## Install @@ -12,73 +12,92 @@ Dwarf Lab's [API V1 documentation](https://hj433clxpv.feishu.cn/docx/MiRidJmKOob npm install dwarfii_api ``` +## Install for Javascript +Using this library in pure javascript is possible. +Use the dist_js repertory and follow the instructions in the file index.html + ## Usage -The Dwarf API uses websockets. The URL of the websockets depends on if you use Dwarf wifi or if you use the Dwarf in STA mode. +The Dwarf API uses websockets with binary protobuf format. + +The URL of the websockets depends on if you use Dwarf wifi or if you use the Dwarf in STA mode. -Example of sending a Goto command using the Dwarf wifi. +Example of sending a Goto command. ```js -import { startGoto, wsURL, DwarfIP, socketSend } from "dwarfii_api"; - -const socket = new WebSocket(wsURL(DwarfIP)); -socket.addEventListener("open", () => { - let planet = null; - let RA = 10.6; - let dec = 41.2; - let lat = 40.0; - let lon = 90.0; - let options = startGoto(planet, RA, dec, lat, lon); - socketSend(socket, options); -}); - -socket.addEventListener("message", (event) => { - let message = JSON.parse(event.data); - console.log(message); -}); - -socket.addEventListener("error", (message) => { - console.log("error:", message); -}); -``` +import { messageAstroStartGotoDso, WebSocketHandler } from "dwarfii_api"; + +// Create WebSocketHandler if need +const webSocketHandler = new WebSocketHandler(IPDwarf); + +// define a customMessageHandler to handle the message in return send by the API +let goto_end_status = false; + +const customMessageHandler = (txt_info, result_data) => { + if ( result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO ) { + if (result_data.data.code != Dwarfii_Api.DwarfErrorCode.OK) { + console.error("Error GOTO : " + result_data.data.errorTxt); + if ( + result_data.data.code == + Dwarfii_Api.DwarfErrorCode.CODE_ASTRO_GOTO_FAILED || + result_data.data.code == + Dwarfii_Api.DwarfErrorCode.CODE_ASTRO_FUNCTION_BUSY + ) + goto_end_status = true; + } + } else if ( + !goto_end_status && + result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_GOTO + ) { + console.log(result_data.data.stateText); + } + } else if ( + !goto_end_status && + result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_TRACKING + ) { + if ( + result_data.data.state == + Dwarfii_Api.OperationState.OPERATION_STATE_RUNNING && + result_data.data.targetName == targetName + ) { + goto_end_status = true; + console.info("Start Tracking"); + } + } else { + // other frame result + console.log(txt_info + ": " + result_data); + return; + } + // log frame result + console.log(txt_info + ": " + result_data); +}; + + +let txtInfoCommand = "Start Goto"; + +// create a packet message for the command, you can send a tabs of Packets also +let WS_Packet = messageAstroStartGotoDso( + RA_number, + declination_number, + targetName +); + +// prepre the messages to send +webSocketHandler.prepare( + WS_Packet, + txtInfoCommand, + // Tab of commands to listen to, can be "*" for getting All received Data + // the others are not sending back to customMessageHandler + [ + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO, + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_GOTO, + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_TRACKING, + ], + customMessageHandler +); +// start sending and receiving +if (!webSocketHandler.run()) { + console.error(" Can't launch Web Socket Run Action!"); +} -Example of sending a take astro photos command using the Dwarf in STA mode. You need to provide the IP of your Dwarf II. -```js -import { - wsURL, - socketSend, - binning2x2, - takeAstroPhoto, - fileFits, -} from "dwarfii_api"; - -let myIP = "192.123.45.6"; -const socket = new WebSocket(wsURL(myIP)); -socket.addEventListener("open", () => { - let RA = 10.6; - let dec = 41.2; - let exposure = 10; - let gain = 60; - let count = 100; - let options = takeAstroPhoto( - RA, - dec, - exposure, - gain, - binning2x2, - count, - fileFits - ); - socketSend(socket, options); -}); - -socket.addEventListener("message", (event) => { - let message = JSON.parse(event.data); - console.log(message); -}); - -socket.addEventListener("error", (message) => { - console.log("error:", message); -}); -``` diff --git a/dist/index.d.ts b/dist/index.d.ts index 2c12a889..d04a9199 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,12 +1,13 @@ export * from "./src/api_codes.js"; export * from "./src/api_utils.js"; export * from "./src/astro.js"; -export * from "./src/camera_settings.js"; -export * from "./src/image_transmission.js"; -export * from "./src/motion_control.js"; -export * from "./src/panoramic.js"; -export * from "./src/photo_video.js"; -export * from "./src/set_isp_settings.js"; -export * from "./src/system_settings.js"; -export * from "./src/tracking.js"; +export * from "./src/camera_tele.js"; +export * from "./src/camera_wide.js"; +export * from "./src/panorama.js"; +export * from "./src/focus.js"; +export * from "./src/rgb_power.js"; +export * from "./src/system.js"; +export * from "./src/websocket_class.js"; +export * from "./src/bluetooth.js"; +export * from "./src/motor.js"; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index b98e02f7..d8c2efc7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,11 +1,12 @@ export * from "./src/api_codes.js"; export * from "./src/api_utils.js"; export * from "./src/astro.js"; -export * from "./src/camera_settings.js"; -export * from "./src/image_transmission.js"; -export * from "./src/motion_control.js"; -export * from "./src/panoramic.js"; -export * from "./src/photo_video.js"; -export * from "./src/set_isp_settings.js"; -export * from "./src/system_settings.js"; -export * from "./src/tracking.js"; +export * from "./src/camera_tele.js"; +export * from "./src/camera_wide.js"; +export * from "./src/panorama.js"; +export * from "./src/focus.js"; +export * from "./src/rgb_power.js"; +export * from "./src/system.js"; +export * from "./src/websocket_class.js"; +export * from "./src/bluetooth.js"; +export * from "./src/motor.js"; diff --git a/dist/src/api_codes.d.ts b/dist/src/api_codes.d.ts index 49310887..4ef5abdf 100644 --- a/dist/src/api_codes.d.ts +++ b/dist/src/api_codes.d.ts @@ -1,40 +1,18 @@ /** @module api_codes */ export const DwarfIP: "192.168.88.1"; -export function wsURL(IP: string): string; +export function wsURL(IP: string, proxyURL?: any, useHttps?: boolean): string; export function wideangleURL(IP: string): string; export function telephotoURL(IP: string): string; export function rawPreviewURL(IP: string): string; -export function utcURL(IP: string): string; -export const turnOnCameraCmd: 10000; -export const turnOffCameraCmd: 10017; -export const telephotoCamera: 0; -export const wideangleCamera: 1; -export const previewImageQuality: 10016; -export const takePhotoCmd: 10006; -export const photoSingleShot: 0; -export const photoContinuous: 1; -export const startRecordingCmd: 10007; -export const stopRecordingCmd: 10009; -export const startTimelapseCmd: 10018; -export const stopTimelapseCmd: 10019; +export function firmwareVersion(IP: string): string; +export function getDefaultParamsConfig(IP: string): string; +export function deviceInfo(IP: string): string; export const modeAuto: 0; export const modeManual: 1; -export const setBrightnessValueCmd: 10204; -export const setContrastValueCmd: 10205; -export const setSaturationValueCmd: 10206; -export const setHueValueCmd: 10207; -export const setSharpnessValueCmd: 10208; -export const setExposureModeCmd: 10001; -export const setExposureValueCmd: 10003; -export const exposureTelephotoModeAuto: 0; -export const exposureWideangleModeAuto: 3; -export const setGainModeCmd: 10004; -export const setGainValueCmd: 10005; -export const autofocusCmd: 10211; export const autofocusGlobal: 0; export const autofocusArea: 1; -export const setWhiteBalanceModeCmd: 10212; -export const setWhiteBalanceScenceCmd: 10213; +export const exposureTelephotoModeAuto: 0; +export const exposureWideangleModeAuto: 3; export const whiteBalanceScenesIDValue: { 0: string; 1: string; @@ -45,81 +23,29 @@ export const whiteBalanceScenesIDValue: { 6: string; }; export const whiteBalanceScenesValueID: { - "incandescent lamp": number; - "fluorescent lamp": number; - "warm fluorescent lamp": number; + incandescent: number; + "warm fluorescent": number; + fluorescent: number; sunlight: number; - "overcast sky": number; - "evening twilight": number; + cloudy: number; shadow: number; + twilight: number; }; -export const setWhiteBalanceColorCmd: 10214; -export const setIRCmd: 10203; export const IRCut: 0; -export const IRPass: 3; -export const statusTelephotoCmd: 10215; -export const statusIRTelephotoCmd: 10216; -export const statusWorkingStateTelephotoCmd: 10022; -export const statusWideangleCmd: 10217; -export const calibrateGotoCmd: 11205; -export const startGotoCmd: 11203; -export namespace planetsValueId { - let Mercury: number; - let Venus: number; - let Mars: number; - let Jupiter: number; - let Saturn: number; - let Uranus: number; - let Neptune: number; - let Moon: number; -} -export const planetsIdValue: { - 0: string; - 1: string; - 2: string; - 3: string; - 4: string; - 5: string; - 6: string; - 7: string; -}; -export const takeAstroPhotoCmd: 10011; -export const stopAstroPhotoCmd: 10015; +export const IRPass: 1; export const binning1x1: 0; export const binning2x2: 1; export const fileFits: 0; export const fileTiff: 1; -export const numberRawImagesCmd: 10014; -export const numberSuperImposedImages: 10023; -export const setRAWPreviewCmd: 10020; export const rawPreviewContinousSuperimpose: 0; export const rawPreviewSingle15: 1; export const rawPreviewSingleComposite: 2; -export const takeAstroDarkFramesCmd: 10026; -export const darkGainDefault: 65528; -export const queryShotFieldCmd: 10027; -export const traceInitCmd: 11200; -export const startTrackingCmd: 11201; -export const stopTrackingCmd: 11202; -export const startPanoCmd: 10103; -export const stopPanoCmd: 10106; -export const startMotionCmd: 10100; export const continuous_mode: 1; export const pulse_mode: 2; -export const stopMotionCmd: 10101; -export const setSpeedCmd: 10107; export const speedDecelerate: 0; export const speedAccelerate: 1; -export const setDirectionCmd: 10108; export const anticlockwise: 0; export const clockwise: 1; -export const setSubdivideCmd: 10109; export const spinMotor: 1; export const pitchMotor: 2; -export const systemStatusCmd: 11407; -export const microsdStatusCmd: 11405; -export const microsdAvailableCmd: 11409; -export const dwarfSoftwareVersionCmd: 11410; -export const dwarfChargingStatusCmd: 11011; -export const shutDownCmd: 11004; //# sourceMappingURL=api_codes.d.ts.map \ No newline at end of file diff --git a/dist/src/api_codes.d.ts.map b/dist/src/api_codes.d.ts.map index 64a6b026..43fba942 100644 --- a/dist/src/api_codes.d.ts.map +++ b/dist/src/api_codes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAO5D,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;;;;;;;;;;;AAalC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file +{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAO/B,0BAJI,MAAM,uCACJ,MAAM,CAalB;AAMM,iCAHI,MAAM,GACJ,MAAM,CAEiD;AAM7D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAS3D,kCANI,MAAM,GACJ,MAAM,CAKgD;AAM5D,oCAHI,MAAM,GACJ,MAAM,CAEuD;AAMnE,2CAHI,MAAM,GACJ,MAAM,CAGyB;AASrC,+BAHI,MAAM,GACJ,MAAM,CAE6C;AAMhE,yBAA0B;AAC1B,2BAA4B;AAG5B,gCAAiC;AACjC,8BAA+B;AAE/B,0CAA2C;AAC3C,0CAA2C;AAG3C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AAGF,sBAAuB;AACvB,uBAAwB;AAExB,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAG1B,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAM3C,gCAAiC;AACjC,2BAA4B;AAE5B,gCAAiC;AACjC,gCAAiC;AAEjC,8BAA+B;AAC/B,0BAA2B;AAE3B,0BAA2B;AAC3B,2BAA4B"} \ No newline at end of file diff --git a/dist/src/api_codes.js b/dist/src/api_codes.js index 471132f6..aea58f7d 100644 --- a/dist/src/api_codes.js +++ b/dist/src/api_codes.js @@ -5,12 +5,21 @@ export const DwarfIP = "192.168.88.1"; * @param {string} IP * @returns {string} */ -export const wsURL = (IP) => `ws://${IP}:9900`; +//export const wsURL = (IP, PROXY, HTTPS) => `ws://${IP}:9900`; +export const wsURL = (IP, proxyURL = undefined, useHttps = false) => { + if (proxyURL) { + const protocol = useHttps ? "wss" : "ws"; + console.log(`Starting Web Socket : ${protocol}://${proxyURL}/?target=ws://${IP}:9900`); + return `${protocol}://${proxyURL}/?target=ws://${IP}:9900`; + } + console.log(`Starting Web Socket : ws://${IP}:9900`); + return `ws://${IP}:9900`; +}; /** * @param {string} IP * @returns {string} */ -export const wideangleURL = (IP) => `http://${IP}:8092/thirdstream`; +export const wideangleURL = (IP) => `http://${IP}:8092/secondstream`; /** * @param {string} IP * @returns {string} @@ -20,183 +29,75 @@ export const telephotoURL = (IP) => `http://${IP}:8092/mainstream`; * @param {string} IP * @returns {string} */ -export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; +// old ip : not working anymore in V2 +//export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; +export const rawPreviewURL = (IP) => `http://${IP}:8092/mainstream`; /** * @param {string} IP * @returns {string} */ -export const utcURL = (IP) => `http://${IP}:8092/date?date=`; -// =============== -// 3.1 image transmission -// =============== -// camera -export const turnOnCameraCmd = 10000; -export const turnOffCameraCmd = 10017; -export const telephotoCamera = 0; -export const wideangleCamera = 1; -export const previewImageQuality = 10016; -// =============== -// 3.2 photo and video -// =============== -// photo -export const takePhotoCmd = 10006; -export const photoSingleShot = 0; -export const photoContinuous = 1; -// video -export const startRecordingCmd = 10007; -export const stopRecordingCmd = 10009; -// timelapse photos -export const startTimelapseCmd = 10018; -export const stopTimelapseCmd = 10019; +export const firmwareVersion = (IP) => `http://${IP}:8082/firmwareVersion`; +/** + * @param {string} IP + * @returns {string} + */ +export const getDefaultParamsConfig = (IP) => `http://${IP}:8082/getDefaultParamsConfig`; +/** + * POST Request + * data.deviceID 1:DWARF II 2:DWARF3 + * data.deviceName 1:DWARF_XXXXXX 2:DWARF3_XXXXXX + * @param {string} IP + * @returns {string} + */ +export const deviceInfo = (IP) => `http://${IP}:8082/deviceInfo`; // =============== -// 3.3 ISP settings // =============== +// exposition - gain export const modeAuto = 0; export const modeManual = 1; -// brightness -export const setBrightnessValueCmd = 10204; -// contrast -export const setContrastValueCmd = 10205; -// saturation -export const setSaturationValueCmd = 10206; -// hue -export const setHueValueCmd = 10207; -// sharpness -export const setSharpnessValueCmd = 10208; -// exposure -export const setExposureModeCmd = 10001; -export const setExposureValueCmd = 10003; -export const exposureTelephotoModeAuto = 0; -export const exposureWideangleModeAuto = 3; -// gain -export const setGainModeCmd = 10004; -export const setGainValueCmd = 10005; // autofocus -export const autofocusCmd = 10211; export const autofocusGlobal = 0; export const autofocusArea = 1; +export const exposureTelephotoModeAuto = 0; +export const exposureWideangleModeAuto = 3; // whitebalance -export const setWhiteBalanceModeCmd = 10212; -export const setWhiteBalanceScenceCmd = 10213; export const whiteBalanceScenesIDValue = { - 0: "incandescent lamp", - 1: "fluorescent lamp", - 2: "warm fluorescent lamp", + 0: "incandescent", + 1: "warm fluorescent", + 2: "fluorescent", 3: "sunlight", - 4: "overcast sky", - 5: "evening twilight", - 6: "shadow", + 4: "cloudy", + 5: "shadow", + 6: "twilight", }; export const whiteBalanceScenesValueID = { - "incandescent lamp": 0, - "fluorescent lamp": 1, - "warm fluorescent lamp": 2, + incandescent: 0, + "warm fluorescent": 1, + fluorescent: 2, sunlight: 3, - "overcast sky": 4, - "evening twilight": 5, - shadow: 6, + cloudy: 4, + shadow: 5, + twilight: 6, }; -export const setWhiteBalanceColorCmd = 10214; // IR -export const setIRCmd = 10203; export const IRCut = 0; -export const IRPass = 3; -// =============== -// 3.4 status -// =============== -// telephoto -export const statusTelephotoCmd = 10215; -export const statusIRTelephotoCmd = 10216; -export const statusWorkingStateTelephotoCmd = 10022; -// wideangle -export const statusWideangleCmd = 10217; -// =============== -// 4.1 Astro -// =============== -// goto -export const calibrateGotoCmd = 11205; -export const startGotoCmd = 11203; -export const planetsValueId = { - Mercury: 0, - Venus: 1, - Mars: 2, - Jupiter: 3, - Saturn: 4, - Uranus: 5, - Neptune: 6, - Moon: 7, -}; -export const planetsIdValue = { - 0: "Mercury", - 1: "Venus", - 2: "Mars", - 3: "Jupiter", - 4: "Saturn", - 5: "Uranus", - 6: "Neptune", - 7: "Moon", -}; -// RAW astro photo -export const takeAstroPhotoCmd = 10011; -export const stopAstroPhotoCmd = 10015; +export const IRPass = 1; export const binning1x1 = 0; export const binning2x2 = 1; export const fileFits = 0; export const fileTiff = 1; -export const numberRawImagesCmd = 10014; -export const numberSuperImposedImages = 10023; // raw preview -export const setRAWPreviewCmd = 10020; export const rawPreviewContinousSuperimpose = 0; export const rawPreviewSingle15 = 1; export const rawPreviewSingleComposite = 2; -// astro dark frames -export const takeAstroDarkFramesCmd = 10026; -export const darkGainDefault = 65528; -// query shot field -export const queryShotFieldCmd = 10027; -// =============== -// 4.2 tracking -// =============== -export const traceInitCmd = 11200; -export const startTrackingCmd = 11201; -export const stopTrackingCmd = 11202; -// =============== -// 4.3 panoromic -// =============== -export const startPanoCmd = 10103; -export const stopPanoCmd = 10106; // =============== // 5 motion control // =============== -export const startMotionCmd = 10100; export const continuous_mode = 1; export const pulse_mode = 2; -export const stopMotionCmd = 10101; -export const setSpeedCmd = 10107; export const speedDecelerate = 0; export const speedAccelerate = 1; -export const setDirectionCmd = 10108; export const anticlockwise = 0; export const clockwise = 1; -export const setSubdivideCmd = 10109; export const spinMotor = 1; export const pitchMotor = 2; -// =============== -// 7.1 system status -// =============== -export const systemStatusCmd = 11407; -// =============== -// 7.2 microsd card status -// =============== -export const microsdStatusCmd = 11405; -export const microsdAvailableCmd = 11409; -// =============== -// 7.4 dwarf status -// =============== -export const dwarfSoftwareVersionCmd = 11410; -export const dwarfChargingStatusCmd = 11011; -// =============== -// 7.11 shut down -// =============== -export const shutDownCmd = 11004; diff --git a/dist/src/api_utils.d.ts b/dist/src/api_utils.d.ts index a2891ed9..8f3950ea 100644 --- a/dist/src/api_utils.d.ts +++ b/dist/src/api_utils.d.ts @@ -1,4 +1,13 @@ -/** @module api_utils */ +/** Set clientID value if need : defaut is "0000DAF2-0000-1000-8000-00805F9B34FB" + * @param {string} clientID + * @returns {boolean} + */ +export function setDwarfClientID(clientID: string): boolean; +/** Set Dwarf deviceID value upon value return by the dwarf + * @param {number} deviceID + * @returns {boolean} + */ +export function setDwarfDeviceID(deviceID: number): boolean; /** * Returns the now UTC time as 'yyyy-mm-dd hh:mm:ss' * @returns {string} @@ -20,9 +29,28 @@ export function nowUTCFileName(): string | undefined; */ export function nowLocalFileName(): string | undefined; /** - * Execute socket's send command - * @param {WebSocket} socket - * @param {Object} command + * Execute Decoding Received Packet from the Dwarf II + * @param {Uint8Array} WS_Packet + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} + */ +export function decodePacket(WS_Packet: Uint8Array, classDecode: any): any; +/** + * Generic Create Encoded Packet Function + * @param {Object} message + * @param {Object} class_message + * @param {number} module_id + * @param {number} interface_id instruction + * @param {number} type_id Message type + * @returns {Uint8Array} + */ +export function createPacket(message: any, class_message: any, module_id: number, interface_id: number, type_id: number): Uint8Array; +/** + * Generic Analysing Encoded Received Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} */ -export function socketSend(socket: WebSocket, command: any): void; +export function analyzePacket(message_buffer: ArrayBuffer | string, input_data_log?: boolean): string; +export const Dwarfii_Api: any; +export const DwarfClientID: string; //# sourceMappingURL=api_utils.d.ts.map \ No newline at end of file diff --git a/dist/src/api_utils.d.ts.map b/dist/src/api_utils.d.ts.map index 50330e88..27ef8ec5 100644 --- a/dist/src/api_utils.d.ts.map +++ b/dist/src/api_utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"api_utils.d.ts","sourceRoot":"","sources":["../../src/api_utils.js"],"names":[],"mappings":"AAAA,wBAAwB;AAExB;;;GAGG;AACH,0BAFa,MAAM,CAIlB;AAED;;;GAGG;AACH,4BAFa,MAAM,CAclB;AAED;;;GAGG;AACH,kCAFa,MAAM,GAAC,SAAS,CAQ5B;AAED;;;GAGG;AACH,oCAFa,MAAM,GAAC,SAAS,CAO5B;AAED;;;;GAIG;AACH,mCAHW,SAAS,sBAMnB"} \ No newline at end of file +{"version":3,"file":"api_utils.d.ts","sourceRoot":"","sources":["../../src/api_utils.js"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,2CAHW,MAAM,GACJ,OAAO,CAmBnB;AAID;;;GAGG;AACH,2CAHW,MAAM,GACJ,OAAO,CAenB;AAED;;;GAGG;AACH,0BAFa,MAAM,CAIlB;AACD;;;GAGG;AACH,4BAFa,MAAM,CAclB;AACD;;;GAGG;AACH,kCAFa,MAAM,GAAC,SAAS,CAQ5B;AACD;;;GAGG;AACH,oCAFa,MAAM,GAAC,SAAS,CAO5B;AACD;;;;;GAKG;AACH,wCAJW,UAAU,yBAUpB;AACD;;;;;;;;GAQG;AACH,0EALW,MAAM,gBACN,MAAM,WACN,MAAM,GACJ,UAAU,CA8CtB;AACD;;;;GAIG;AACH,8CAHW,WAAW,GAAC,MAAM,6BAChB,MAAM,CAqMlB;AArXD,8BAAiC;AAejC,mCAAkE"} \ No newline at end of file diff --git a/dist/src/api_utils.js b/dist/src/api_utils.js index 51d8dd0d..c12559c4 100644 --- a/dist/src/api_utils.js +++ b/dist/src/api_utils.js @@ -1,4 +1,49 @@ /** @module api_utils */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +export const Dwarfii_Api = $root; +import { cmdMapping, responseMapping, notifyMapping, notifyResponseMapping, getClassStateMappings, getClassModeMappings, } from "./cmd_mapping.js"; +import { cmdTxtMapping, errorTxtMapping, stateTxtMapping, } from "./txt_mapping.js"; +export var DwarfClientID = "0000DAF2-0000-1000-8000-00805F9B34FB"; +/** Set clientID value if need : defaut is "0000DAF2-0000-1000-8000-00805F9B34FB" + * @param {string} clientID + * @returns {boolean} + */ +export function setDwarfClientID(clientID) { + // Check if the value is a string + if (typeof clientID !== "string") { + return false; + } + // Define a regular expression pattern for the specified UUID format + const uuidPattern = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/; + // Test if the clientID matches the pattern + if (uuidPattern.test(clientID)) { + DwarfClientID = clientID; + return true; + } + else { + return false; + } +} +var DwarfDeviceID = 1; // DWARF II +/** Set Dwarf deviceID value upon value return by the dwarf + * @param {number} deviceID + * @returns {boolean} + */ +export function setDwarfDeviceID(deviceID) { + // Check if the value is a number + if (typeof deviceID !== "number") { + return false; + } + // Test if the deviceID greater than 0 + if (deviceID > 0) { + DwarfDeviceID = deviceID; + return true; + } + else { + return false; + } +} /** * Returns the now UTC time as 'yyyy-mm-dd hh:mm:ss' * @returns {string} @@ -43,11 +88,224 @@ export function nowLocalFileName() { } } /** - * Execute socket's send command - * @param {WebSocket} socket - * @param {Object} command + * Execute Decoding Received Packet from the Dwarf II + * @param {Uint8Array} WS_Packet + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} */ -export function socketSend(socket, command) { +export function decodePacket(WS_Packet, classDecode) { // eslint-disable-next-line no-undef - socket.send(JSON.stringify(command)); + // Obtain a message type + let decoded = classDecode.decode(WS_Packet); + console.log(`decoded data = ${JSON.stringify(decoded)}`); + return decoded; +} +/** + * Generic Create Encoded Packet Function + * @param {Object} message + * @param {Object} class_message + * @param {number} module_id + * @param {number} interface_id instruction + * @param {number} type_id Message type + * @returns {Uint8Array} + */ +export function createPacket(message, class_message, module_id, interface_id, type_id) { + let major_version = Dwarfii_Api.WsMajorVersion.WS_MAJOR_VERSION_NUMBER; + let minor_version = Dwarfii_Api.WsMinorVersion.WS_MINOR_VERSION_NUMBER; + let device_id = DwarfDeviceID; + // message + let message_buffer = undefined; + message_buffer = class_message.encode(message).finish(); + console.debug(`message_buffer = ${Array.prototype.toString.call(message_buffer)}`); + // payload + let payload = { + majorVersion: major_version, + minorVersion: minor_version, + deviceId: device_id, + moduleId: module_id, + cmd: interface_id, + type: type_id, + data: message_buffer, + clientId: DwarfClientID, + }; + console.log(`Packet payload = ${JSON.stringify(payload)}`); + // Verify the payload if necessary (i.e. when possibly incomplete or invalid) + let errMsg = Dwarfii_Api.WsPacket.verify(payload); + if (errMsg) + throw Error(errMsg); + // Create a new message + let message_payload = Dwarfii_Api.WsPacket.create(payload); // or use .fromObject if conversion is necessary + console.log(`Sending message_payload = ${JSON.stringify(message_payload)}`); + // Encode Final Buffer + let buffer = Dwarfii_Api.WsPacket.encode(message_payload).finish(); + console.debug(`buffer to Send = ${Array.prototype.toString.call(buffer)}`); + // For Testing Only : try to decode it + let result_buffer = analyzePacket(buffer, false); + return buffer; +} +/** + * Generic Analysing Encoded Received Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacket(message_buffer, input_data_log = true) { + // Check if binary message_buffer + if (message_buffer instanceof Uint8Array || + message_buffer instanceof ArrayBuffer) { + // binary frame + console.debug(" -> Binary data ....."); + } + else { + // text frame ping ? + if (message_buffer !== undefined && message_buffer !== null) { + console.debug(" -> Text data ....."); + console.debug(`Text Frame Received : ${message_buffer}`); + return JSON.stringify({ text: message_buffer }); + } + else { + // Handle the case where message_buffer is undefined or null + return JSON.stringify({ text: "" }); + } + } + // Get buffer received + let data_rcv = new Uint8Array(message_buffer); + console.debug(data_rcv); + // Obtain a message type + let decoded_message = {}; + let WsPacket_message = new Dwarfii_Api.WsPacket(); + let Response_message = {}; + let data_class = ""; + // Decoding buffer received + WsPacket_message = decodePacket(data_rcv, Dwarfii_Api.WsPacket); + console.debug(`receive message.majorVersion = ${WsPacket_message.majorVersion}`); + console.debug(`receive message.minorVersion = ${WsPacket_message.minorVersion}`); + console.debug(`receive message.deviceId = ${WsPacket_message.deviceId}`); + console.debug(`receive message.moduleId = ${WsPacket_message.moduleId}`); + console.debug(`=> ${Dwarfii_Api.ModuleId[WsPacket_message.moduleId]}`); + console.debug(`receive message.cmd = ${WsPacket_message.cmd}`); + console.debug(`=> ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`receive message.type = ${WsPacket_message.type}`); + console.debug(`receive message.clientId = ${WsPacket_message.clientId}`); + // Analyze Data : depends of cmd and type value of response packet. + const cmdClass = cmdMapping[WsPacket_message.cmd]; + console.debug(`cmdClass: ${cmdClass}`); + const responseClass = responseMapping[WsPacket_message.cmd]; + console.debug(`responseClass: ${responseClass}`); + const notifyClass = notifyMapping[WsPacket_message.cmd]; + console.debug(`notifyClass: ${notifyClass}`); + const notifyResponseClass = notifyResponseMapping[WsPacket_message.cmd]; + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + if ((WsPacket_message.type == 0 && cmdClass === undefined) || + (WsPacket_message.type == 1 && responseClass === undefined) || + (WsPacket_message.type == 2 && notifyClass === undefined) || + (WsPacket_message.type == 3 && notifyResponseClass === undefined)) { + // Error cmd not known, ignore it + console.error(`Ignore Command Message Unknown: ${WsPacket_message.cmd}`); + return JSON.stringify({}); + } + // Automatic Analyse Data + if (WsPacket_message.type == 0) { + // Request + console.debug(`Decoding Request Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + // Get Response Class Object + console.debug(`cmdClass: ${cmdClass}`); + data_class = "Dwarfii_Api." + cmdClass; + Response_message = eval(`new Dwarfii_Api.${cmdClass}()`); + Response_message = decodePacket(WsPacket_message.data, eval(`Dwarfii_Api.${cmdClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + else if (WsPacket_message.type == 1) { + // Response + console.debug(`Decoding Response Request Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`responseClass: ${responseClass}`); + data_class = "Dwarfii_Api." + responseClass; + Response_message = eval(`new Dwarfii_Api.${responseClass}()`); + Response_message = decodePacket(WsPacket_message.data, eval(`Dwarfii_Api.${responseClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + else if (WsPacket_message.type == 2) { + // Notification + console.debug(`Decoding Notification Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`notifyClass: ${notifyClass}`); + data_class = "Dwarfii_Api." + notifyClass; + Response_message = eval(`new Dwarfii_Api.${notifyClass}()`); + Response_message = decodePacket(WsPacket_message.data, eval(`Dwarfii_Api.${notifyClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + else if (WsPacket_message.type == 3) { + // Notification Response + console.debug(`Decoding Notification Response Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + data_class = "Dwarfii_Api." + notifyResponseClass; + Response_message = eval(`new Dwarfii_Api.${notifyResponseClass}()`); + Response_message = decodePacket(WsPacket_message.data, eval(`Dwarfii_Api.${notifyResponseClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + // replace data value with new keys and also prototype key assigned by default. + // escape toJSON property of object + decoded_message = Object.assign({}, WsPacket_message); + // Ensure 'data' property is defined + decoded_message.data = {}; + decoded_message.data.class = data_class; + for (let key in Response_message) { + if (key !== "toJSON") { + decoded_message.data[key] = Response_message[key]; + } + } + // add command in plain text + let value = ""; + if (decoded_message.cmd) { + decoded_message.data.cmdText = {}; + decoded_message.data.cmdText = Dwarfii_Api.DwarfCMD[decoded_message.cmd]; + decoded_message.data.cmdPlainTxt = {}; + if (cmdTxtMapping[decoded_message.cmd]) + decoded_message.data.cmdPlainTxt = cmdTxtMapping[decoded_message.cmd]; + } + // add mode response code in plain text + if (decoded_message.data.mode !== undefined) { + value = getClassModeMappings(data_class, decoded_message.data.mode); + if (value) { + decoded_message.data.modeText = {}; + decoded_message.data.modeText = value; + } + } + // add state response code in plain text + if (decoded_message.data.state !== undefined) { + value = getClassStateMappings(data_class, decoded_message.data.state); + if (value) { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } + else { + // Protobuf get the correct Txt value with toObject function except for 0 + value = JSON.parse(JSON.stringify(Response_message)).state; + if (value && typeof value == "string") { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } + } + decoded_message.data.statePlainTxt = {}; + if (stateTxtMapping[decoded_message.data.state]) + decoded_message.data.statePlainTxt = + stateTxtMapping[decoded_message.data.state]; + } + // add error code in plain text + if (decoded_message.data.hasOwnProperty("code")) { + decoded_message.data.errorTxt = {}; + if (Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]) + decoded_message.data.errorTxt = + Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]; + decoded_message.data.errorPlainTxt = {}; + if (decoded_message.data.code == 0) + decoded_message.data.errorPlainTxt = + errorTxtMapping[decoded_message.data.code]; + else if (errorTxtMapping[-decoded_message.data.code]) + decoded_message.data.errorPlainTxt = + errorTxtMapping[-decoded_message.data.code]; + } + if (input_data_log) + console.log(`End Analyze Input Packet >> ${JSON.stringify(decoded_message)}`); + else + console.log(`End Analyze Output Packet >> ${JSON.stringify(decoded_message)}`); + return JSON.stringify(decoded_message); } diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index 32114c26..69d73dcd 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -1,63 +1,203 @@ +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE ASTRO ---------------- ***/ +/*** ---------------------------------------------- ***/ /** - * 4.1.1 UTC+0 time - * @param {string} IP - * @returns {string} + * 4.10.2 Start calibration + * Create Encoded Packet for the command CMD_ASTRO_START_CALIBRATION + * @returns {Uint8Array} */ -export function formatUtcUrl(IP: string): string; +export function messageAstroStartCalibration(): Uint8Array; /** - * 4.1.2 correction - * @param {number} latitude - * @param {number} longitude - * @returns {Object} + * 4.10.3 Stop calibration + * Create Encoded Packet for the command CMD_ASTRO_STOP_CALIBRATION + * @returns {Uint8Array} */ -export function calibrateGoto(latitude: number, longitude: number): any; +export function messageAstroStopCalibration(): Uint8Array; /** - * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination - * @param {number} latitude - * @param {number} longitude - * @returns {Object} + * 4.10.4 Start GOTO and track deep space objects + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} */ -export function startGoto(planet: number | null, rightAscension: string, declination: string, latitude: number, longitude: number): any; +export function messageAstroStartGotoDso(ra: number, dec: number, target_name: string): Uint8Array; /** - * 4.1.4 Take raw pictures - * @param {string} rightAscension - * @param {string} declination - * @param {number} exposureTime - * @param {number} gain - * @param {number} binning - * @param {number} count - * @param {number} fileFormat - * @param {string} fileName - * @returns {Object} + * 4.10.5 Start GOTO and track solar system targets + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} */ -export function takeAstroPhoto(rightAscension: string, declination: string, exposureTime: number, gain: number, binning?: number, count?: number, fileFormat?: number, fileName?: string): any; +export function messageAstroStartGotoSolarSystem(index: number, lon: number, lat: number, targetName: string): Uint8Array; /** - * 4.1.7 Stop taking RAW images - * @returns {Object} + * 4.10.6 Stop GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_GOTO + * @returns {Uint8Array} */ -export function stopAstroPhoto(): any; +export function messageAstroStopGoto(): Uint8Array; /** - * 4.1.9 Switch the RAW preview source - * @param {number} source - * @returns {Object} + * 4.10.7 Start Sun track & & Moon track + * Create Encoded Packet for the command CMD_ASTRO_START_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} */ -export function updateRawPreviewSource(source?: number): any; +export function messageAstroStartTrackSpecialTarget(index: any, lon: any, lat: any): Uint8Array; /** - * 4.1.10 Taking dark field - * @param {number} binning - * @param {number} exposure - * @param {number} count - * @param {string} fileName - * @returns {Object} + * 4.10.8 Stop sun and moon tracking + * Create Encoded Packet for the command CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} */ -export function takeAstroDarks(binning: number, exposure: number, count?: number, fileName?: string): any; +export function messageAstroStopTrackSpecialTarget(): Uint8Array; /** - * 4.1.11 Query the shot field - * @param {number} binning - * @returns {Object} + * 4.10.9 Start stack + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} */ -export function queryShotField(binning: number): any; +export function messageAstroStartCaptureRawLiveStacking(): Uint8Array; +/** + * 4.10.10 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawLiveStacking(): Uint8Array; +/** + * 4.10.11 Start Wide stack + * Create Encoded Packet for the command CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStartWideCaptureLiveStacking(): Uint8Array; +/** + * 4.10.12 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopWideCaptureLiveStacking(): Uint8Array; +/** + * 4.10.13 Inquire about the dark field that has been shot + * Create Encoded Packet for the command CMD_ASTRO_CHECK_GOT_DARK + * @returns {Uint8Array} + */ +export function messageAstroCheckGotDark(): Uint8Array; +/** + * 4.10.14 Start shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK + * @param {number} reshoot // Whether to reshoot, 0: No; 1: Remake + * @returns {Uint8Array} + */ +export function messageAstroStartCaptureRawDark(reshoot: number): Uint8Array; +/** + * 4.10.15 Stop shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawDark(): Uint8Array; +/** + * 4.10.16 GO LIVE interface + * Create Encoded Packet for the command CMD_ASTRO_GO_LIVE + * @returns {Uint8Array} + */ +export function messageAstroGoLive(): Uint8Array; +/** + * 4.10.17 One-click GOTO deep space celestial body + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoDso(ra: number, dec: number, target_name: string): Uint8Array; +/** + * 4.10.18 One-click GOTO solar system target + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoSolarSystem(index: number, lon: number, lat: number, targetName: string): Uint8Array; +/** + * 4.10.19 Stop one-click GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_ONE_CLICK_GOTO + * @returns {Uint8Array} + */ +export function messageAstroStopOneClickGoto(): Uint8Array; +/** + * 4.10.20 Start EQ verification + * Create Encoded Packet for the command CMD_ASTRO_START_EQ_SOLVING + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @returns {Uint8Array} + */ +export function messageAstroStartEqSolving(lon: number, lat: number): Uint8Array; +/** + * 4.10.21 Stop EQ verification + * Create Encoded Packet for the command CMD_ASTRO_STOP_EQ_SOLVING + * @returns {Uint8Array} + */ +export function messageAstroStopEqSolving(): Uint8Array; +/** + * 4.10.22 Start shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureDarkFrameWithParam(exp_index: number, gain_index: number, bin_index: number, cap_size: number): Uint8Array; +/** + * 4.10.23 Stop shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureDarkFrameWithParam(): Uint8Array; +/** + * 4.10.24 Query the list of recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetDarkFrameList(): Uint8Array; +/** + * 4.10.25 Delete the specified dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelDarkFrameList(exp_index: number, gain_index: number, bin_index: number): Uint8Array; +/** + * 4.10.26 Start shooting wide-angle dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureWideDarkFrameWithParam(exp_index: number, gain_index: number, bin_index: number, cap_size: number): Uint8Array; +/** + * 4.10.27 Stop shooting the dark field with wide-angle specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureWideDarkFrameWithParam(): Uint8Array; +/** + * 4.10.28 Query the list of wide-angle recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetWideDarkFrameList(): Uint8Array; +/** + * 4.10.29 Delete the specified wide-angle dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelWideDarkFrameList(exp_index: number, gain_index: number, bin_index: number): Uint8Array; //# sourceMappingURL=astro.d.ts.map \ No newline at end of file diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 6f5024e2..45774b7f 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,kBACX,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAOA,wDAAwD;AACxD,wDAAwD;AACxD,wDAAwD;AACxD;;;;GAIG;AACH,gDAFa,UAAU,CAgBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAgBtB;AACD;;;;;;;GAOG;AACH,6CALW,MAAM,OACN,MAAM,eACN,MAAM,GACJ,UAAU,CAoBtB;AACD;;;;;;;;GAQG;AACH,wDANW,MAAM,OACN,MAAM,OACN,MAAM,cACN,MAAM,GACJ,UAAU,CAsBtB;AACD;;;;GAIG;AACH,wCAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,qFAFa,UAAU,CAqBtB;AACD;;;;GAIG;AACH,sDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,2DAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,0DAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,4DAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,2DAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,4CAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,yDAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,kDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,sCAFa,UAAU,CAiBtB;AACD;;;;;;;GAOG;AACH,qDALW,MAAM,OACN,MAAM,eACN,MAAM,GACJ,UAAU,CAoBtB;AACD;;;;;;;;GAQG;AACH,gEANW,MAAM,OACN,MAAM,OACN,MAAM,cACN,MAAM,GACJ,UAAU,CA4BtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;;;GAMG;AACH,gDAJW,MAAM,OACN,MAAM,GACJ,UAAU,CAoBtB;AACD;;;;GAIG;AACH,6CAFa,UAAU,CAiBtB;AACD;;;;;;;;GAQG;AACH,iEANW,MAAM,cACN,MAAM,aACN,MAAM,YACN,MAAM,GACJ,UAAU,CA4BtB;AACD;;;;GAIG;AACH,6DAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;;;;GAOG;AACH,wDALW,MAAM,cACN,MAAM,aACN,MAAM,GACJ,UAAU,CAqBtB;AACD;;;;;;;;GAQG;AACH,qEANW,MAAM,cACN,MAAM,aACN,MAAM,YACN,MAAM,GACJ,UAAU,CA4BtB;AACD;;;;GAIG;AACH,iEAFa,UAAU,CAkBtB;AACD;;;;GAIG;AACH,oDAFa,UAAU,CAiBtB;AACD;;;;;;;GAOG;AACH,4DALW,MAAM,cACN,MAAM,aACN,MAAM,GACJ,UAAU,CAyBtB"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index aae54a74..ddc7b166 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -1,144 +1,611 @@ /** @module astro */ -import { telephotoCamera, calibrateGotoCmd, startGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; -import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js"; -/** - * 4.1.1 UTC+0 time - * @param {string} IP - * @returns {string} - */ -export function formatUtcUrl(IP) { - return `${utcURL(IP)}${nowUTC()}`; -} -/** - * 4.1.2 correction - * @param {number} latitude - * @param {number} longitude - * @returns {Object} - */ -export function calibrateGoto(latitude, longitude) { - const options = { - interface: calibrateGotoCmd, - camId: telephotoCamera, - lon: longitude, - lat: latitude, - date: nowLocal(), - path: `DWARF_GOTO_${nowLocalFileName()}`, - }; - return options; -} -/** - * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination - * @param {number} latitude - * @param {number} longitude - * @returns {Object} - */ -export function startGoto(planet, rightAscension, declination, latitude, longitude) { - const options = { - interface: startGotoCmd, - camId: telephotoCamera, - lon: longitude, - lat: latitude, - date: nowLocal(), - path: `DWARF_GOTO_${nowLocalFileName()}`, - }; - if (planet !== undefined && planet !== null) { - options.planet = planet; - } - else { - options.ra = rightAscension; - options.dec = declination; - } - return options; -} -/** - * 4.1.4 Take raw pictures - * @param {string} rightAscension - * @param {string} declination - * @param {number} exposureTime - * @param {number} gain - * @param {number} binning - * @param {number} count - * @param {number} fileFormat - * @param {string} fileName - * @returns {Object} - */ -export function takeAstroPhoto(rightAscension, declination, exposureTime, gain, binning = binning2x2, count = 1, fileFormat = fileTiff, fileName = `DWARF_RAW_${nowLocalFileName()}`) { - const options = { - interface: takeAstroPhotoCmd, - camId: telephotoCamera, - target: "NULL", - RA: rightAscension, - DEC: declination, - exp: exposureTime, - gain: gain, - binning: binning, - count: count, - name: fileName, - overlayCount: 1, - format: fileFormat, - }; - return options; -} -/** - * 4.1.7 Stop taking RAW images - * @returns {Object} - */ -export function stopAstroPhoto() { - const options = { - interface: stopAstroPhotoCmd, - }; - return options; -} -/** - * 4.1.9 Switch the RAW preview source - * @param {number} source - * @returns {Object} - */ -export function updateRawPreviewSource(source = rawPreviewContinousSuperimpose) { - // 0:Continuous superposition graph - // 1:Single 15s exposure graph - // 2:Single sheet according to exposure time (more than 15s) composite image - const options = { - interface: setRAWPreviewCmd, - camId: telephotoCamera, - source, - }; - return options; -} -// BUG: response is {interface: 11003, value: 100, code: 0} when darks already exists -/** - * 4.1.10 Taking dark field - * @param {number} binning - * @param {number} exposure - * @param {number} count - * @param {string} fileName - * @returns {Object} - */ -export function takeAstroDarks(binning, exposure, count = 40, fileName = `DWARF_DARK_${nowLocalFileName()}`) { - const options = { - interface: takeAstroDarkFramesCmd, - camId: telephotoCamera, - count, - name: fileName, - binning: binning, - darkGain: darkGainDefault, - darkExposure: exposure, - }; - return options; -} -/** - * 4.1.11 Query the shot field - * @param {number} binning - * @returns {Object} - */ -export function queryShotField(binning) { - const options = { - interface: queryShotFieldCmd, - camId: telephotoCamera, - binning: binning, - }; - return options; +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE ASTRO ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 4.10.2 Start calibration + * Create Encoded Packet for the command CMD_ASTRO_START_CALIBRATION + * @returns {Uint8Array} + */ +export function messageAstroStartCalibration() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CALIBRATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.3 Stop calibration + * Create Encoded Packet for the command CMD_ASTRO_STOP_CALIBRATION + * @returns {Uint8Array} + */ +export function messageAstroStopCalibration() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CALIBRATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.4 Start GOTO and track deep space objects + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} + */ +export function messageAstroStartGotoDso(ra, dec, target_name) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + ra: ra, + dec: dec, + targetName: target_name, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.5 Start GOTO and track solar system targets + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} + */ +export function messageAstroStartGotoSolarSystem(index, lon, lat, targetName) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_SOLAR_SYSTEM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + targetName: targetName, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.6 Stop GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_GOTO + * @returns {Uint8Array} + */ +export function messageAstroStopGoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_GOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.7 Start Sun track & & Moon track + * Create Encoded Packet for the command CMD_ASTRO_START_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} + */ +export function messageAstroStartTrackSpecialTarget(index, lon, lat) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_TRACK_SPECIAL_TARGET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.8 Stop sun and moon tracking + * Create Encoded Packet for the command CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} + */ +export function messageAstroStopTrackSpecialTarget() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.9 Start stack + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStartCaptureRawLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.10 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.11 Start Wide stack + * Create Encoded Packet for the command CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStartWideCaptureLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.12 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopWideCaptureLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.13 Inquire about the dark field that has been shot + * Create Encoded Packet for the command CMD_ASTRO_CHECK_GOT_DARK + * @returns {Uint8Array} + */ +export function messageAstroCheckGotDark() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_CHECK_GOT_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.14 Start shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK + * @param {number} reshoot // Whether to reshoot, 0: No; 1: Remake + * @returns {Uint8Array} + */ +export function messageAstroStartCaptureRawDark(reshoot) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ reshoot: reshoot }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.15 Stop shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawDark() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.16 GO LIVE interface + * Create Encoded Packet for the command CMD_ASTRO_GO_LIVE + * @returns {Uint8Array} + */ +export function messageAstroGoLive() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GO_LIVE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.17 One-click GOTO deep space celestial body + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoDso(ra, dec, target_name) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_DSO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + ra: ra, + dec: dec, + targetName: target_name, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.18 One-click GOTO solar system target + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoSolarSystem(index, lon, lat, targetName) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + targetName: targetName, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.19 Stop one-click GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_ONE_CLICK_GOTO + * @returns {Uint8Array} + */ +export function messageAstroStopOneClickGoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_ONE_CLICK_GOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.20 Start EQ verification + * Create Encoded Packet for the command CMD_ASTRO_START_EQ_SOLVING + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @returns {Uint8Array} + */ +export function messageAstroStartEqSolving(lon, lat) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_EQ_SOLVING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + lon: lon, + lat: lat, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.21 Stop EQ verification + * Create Encoded Packet for the command CMD_ASTRO_STOP_EQ_SOLVING + * @returns {Uint8Array} + */ +export function messageAstroStopEqSolving() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_EQ_SOLVING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.22 Start shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureDarkFrameWithParam(exp_index, gain_index, bin_index, cap_size) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + capSize: cap_size, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.23 Stop shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureDarkFrameWithParam() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.24 Query the list of recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetDarkFrameList() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.25 Delete the specified dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelDarkFrameList(exp_index, gain_index, bin_index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.26 Start shooting wide-angle dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureWideDarkFrameWithParam(exp_index, gain_index, bin_index, cap_size) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + capSize: cap_size, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.27 Stop shooting the dark field with wide-angle specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureWideDarkFrameWithParam() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.28 Query the list of wide-angle recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetWideDarkFrameList() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.29 Delete the specified wide-angle dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelWideDarkFrameList(exp_index, gain_index, bin_index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } diff --git a/dist/src/bluetooth.d.ts b/dist/src/bluetooth.d.ts new file mode 100644 index 00000000..3150040a --- /dev/null +++ b/dist/src/bluetooth.d.ts @@ -0,0 +1,74 @@ +/** + * Execute Decoding Received Bluetooth Packet from the Dwarf II + * @param {Uint8Array} buffer + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} + */ +export function decodePacketBle(buffer: Uint8Array, classDecode: any): any; +/** + * Generic Create Encoded Bluetooth Packet Function + * @param {number} cmd + * @param {Object} message + * @param {Object} class_message + * @returns {Uint8Array} + */ +export function createPacketBle(cmd: number, message: any, class_message: any): Uint8Array; +/** + * Generic Analysing Encoded Received BLE Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacketBle(message_buffer: ArrayBuffer | string, input_data?: boolean): string; +/** + * 3.1.1 Request data + * Create Encoded Packet for the command Getconfig + * CMD instruction, value is 1 + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageGetconfig(ble_psd: string): Uint8Array; +/** + * 3.2 Configure WiFi AP mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} wifi_type ; // 0-5G 1-2.4G + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {Number} country_list ; // 0- do not configure country_list 1- configure country_list + * @param {string} country ; // + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageWifiAP(wifi_type: number, auto_start: number, country_list: number, country: string, ble_psd: string): Uint8Array; +/** + * 3.3 Configure WiFi STA mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {string} ble_psd ; // Default: "DWARF_12345678" + * @param {string} ssid ; // WiFi name of router to connect + * @param {string} psd ; // WiFi password of the router to be connected + * @returns {Uint8Array} + */ +export function messageWifiSTA(auto_start: number, ble_psd: string, ssid: string, psd: string): Uint8Array; +/** + * 3.4 Reset Bluetooth WiFi + * Create Encoded Packet for the command Reset Bluetooth WiFi + * CMD instruction, value is 5 + * @returns {Uint8Array} + */ +export function messageResetWifi(): Uint8Array; +/** + * 3.5 Get WiFi list + * Create Encoded Packet for the command Get WiFi list + * CMD instruction, value is 6 + * @returns {Uint8Array} + */ +export function messageGetWifiList(): Uint8Array; +/** + * 3.6 Obtain device information + * Create Encoded Packet for the command Get device information + * CMD instruction, value is 7 + * @returns {Uint8Array} + */ +export function messageGetSystemInfo(): Uint8Array; +//# sourceMappingURL=bluetooth.d.ts.map \ No newline at end of file diff --git a/dist/src/bluetooth.d.ts.map b/dist/src/bluetooth.d.ts.map new file mode 100644 index 00000000..16f42620 --- /dev/null +++ b/dist/src/bluetooth.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bluetooth.d.ts","sourceRoot":"","sources":["../../src/bluetooth.js"],"names":[],"mappings":"AAwFA;;;;;GAKG;AACH,wCAJW,UAAU,yBAUpB;AACD;;;;;;GAMG;AACH,qCALW,MAAM,qCAGJ,UAAU,CAkDtB;AACD;;;;GAIG;AACH,iDAHW,WAAW,GAAC,MAAM,yBAChB,MAAM,CA2ElB;AACD;;;;;;GAMG;AACH,0CAHW,MAAM,GACJ,UAAU,CAmBtB;AACD;;;;;;;;;;GAUG;AACH,oGAJW,MAAM,WACN,MAAM,GACJ,UAAU,CA4BtB;AACD;;;;;;;;;GASG;AACH,4DALW,MAAM,QACN,MAAM,OACN,MAAM,GACJ,UAAU,CAqBtB;AACD;;;;;GAKG;AACH,oCAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,sCAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,wCAFa,UAAU,CAiBtB"} \ No newline at end of file diff --git a/dist/src/bluetooth.js b/dist/src/bluetooth.js new file mode 100644 index 00000000..716b248b --- /dev/null +++ b/dist/src/bluetooth.js @@ -0,0 +1,354 @@ +/** @module ble */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { cmdMapping, responseMapping } from "./cmd_mapping.js"; +/*** -------------------------------------------- ***/ +/*** ---------------- MODULE_BLE ---------------- ***/ +/*** -------------------------------------------- ***/ +/** + * Calculates the buffers crc16. + * + * @param {any} buffer the data buffer. + * @return {number} the calculated crc16. + * + * Source: github.com/yaacov/node-modbus-serial + */ +function calculateCRC16(buffer) { + var crc = 0xffff; + var odd; + for (var i = 0; i < buffer.length; i++) { + crc = crc ^ buffer[i]; + for (var j = 0; j < 8; j++) { + odd = crc & 0x0001; + crc = crc >> 1; + if (odd) { + crc = crc ^ 0xa001; + } + } + } + return crc; +} +/** + * GetArrayFromHexString + * @param {string} data + * @returns {array} + */ +function getArrayFromHexString(data) { + let c = []; + while (data.length) { + let x = data.substr(0, 2); + let z = parseInt(x, 16); // hex string to int + z = (z + 0xff + 1) & 0xff; // twos complement + c.push(z); + data = data.substr(2); + } + return c; +} +/** + * getDecimalToHexString + * @param {number} number + * @returns {string} + */ +function getDecimalToHex16bString(number) { + let x = number + 0xffff + 1; // twos complement + let result = x.toString(16); // to hex + result = ("0000" + result).substr(-4); + return result; +} +/* +export function testEncode() { + let a = [128, -24, 255, 10]; + alert("Original is " + JSON.stringify(a)); // [3546,-24,99999,3322] + + let b = a + .map(function (x) { + x = x + 0xff + 1; // twos complement + x = x.toString(16); // to hex + x = ("00" + x).substr(-2); // zero-pad to 2-digits + return x; + }) + .join(""); + alert("Hex string " + b); // 00000ddaffffffe80001869f00000cfa + + c = []; + while (b.length) { + var x = b.substr(0, 2); + x = parseInt(x, 16); // hex string to int + x = (x + 0xff + 1) & 0xff; // twos complement + c.push(x); + b = b.substr(2); + } + alert("Converted back: " + JSON.stringify(c)); // [3546,-24,99999,3322] +} +*/ +/** + * Execute Decoding Received Bluetooth Packet from the Dwarf II + * @param {Uint8Array} buffer + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} + */ +export function decodePacketBle(buffer, classDecode) { + // eslint-disable-next-line no-undef + // Obtain a message type + let decoded = classDecode.decode(buffer); + console.log(`decoded data = ${JSON.stringify(decoded)}`); + return decoded; +} +/** + * Generic Create Encoded Bluetooth Packet Function + * @param {number} cmd + * @param {Object} message + * @param {Object} class_message + * @returns {Uint8Array} + */ +export function createPacketBle(cmd, message, class_message) { + let frame_header = 0xaa; + let frame_end = 0x0d; + let protocol_id = 0x01; + let package_id = 0x00; + let total_id = 0x01; + let reserved1_id = 0x00; + let reserved2_id = 0x00; + // message + let message_buffer = message; + message_buffer = class_message.encode(message).finish(); + let buffer = []; + // payload + let payload_init = [ + frame_header, + protocol_id, + cmd, + package_id, + total_id, + reserved1_id, + reserved2_id, + ]; + console.log(`Packet payload = ${JSON.stringify(payload_init)}`); + buffer.push(...payload_init); + // data lenght + let data_length = message_buffer.length; + let data_length_hexa = getDecimalToHex16bString(data_length); + let data_length_array = getArrayFromHexString(data_length_hexa); + console.log(`Data lenght = ${JSON.stringify(data_length_array)}`); + buffer.push(...data_length_array); + // data + console.debug(`message_buffer = ${Array.prototype.toString.call(message_buffer)}`); + buffer.push(...message_buffer); + let CRC16 = calculateCRC16(buffer); + let CRC16_array = getArrayFromHexString(getDecimalToHex16bString(CRC16)); + buffer.push(...CRC16_array); + buffer.push(frame_end); + console.debug(`buffer = ${Array.prototype.toString.call(buffer)}`); + return new Uint8Array(buffer); +} +/** + * Generic Analysing Encoded Received BLE Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacketBle(message_buffer, input_data = true) { + // Check if binary message_buffer + if (message_buffer instanceof Uint8Array || + message_buffer instanceof ArrayBuffer) { + // binary frame + console.debug(" -> Binary data ....."); + } + else { + // Handle the case where message_buffer is undefined or null + return JSON.stringify({ text: "" }); + } + // Get buffer received + let data_rcv = new Uint8Array(message_buffer); + console.debug(data_rcv); + // verify the data : 12 octets minimum + if (data_rcv.length < 12) { + console.error(`analyzePacketBle error Decoding not enought data received ! nb bytes: ${data_rcv.length}`); + return ""; + } + // Obtain a message type + let decoded_message = {}; + let Response_message = {}; + let data_class = ""; + // Decoding buffer received + let cmd = data_rcv[2]; + let data_length = data_rcv[7] * 256 + data_rcv[8]; + let data_buffer = new Uint8Array([]); + if (data_length > 0) + data_buffer = data_rcv.slice(9, 9 + data_length); + console.debug(`receive message cmd = ${cmd}`); + console.debug(`receive message data_length = ${data_length}`); + // Analyze Data : depends of cmd + const cmdClass = cmdMapping[cmd]; + console.debug(`cmdClass: ${cmdClass}`); + const responseClass = responseMapping[cmd]; + console.debug(`responseClass: ${responseClass}`); + // Automatic Analyse Data + // Get Response Class Object + if (input_data) { + console.debug(`cmdClass: ${cmdClass}`); + data_class = "Dwarfii_Api." + cmdClass; + Response_message = eval(`new Dwarfii_Api.${cmdClass}()`); + Response_message = decodePacketBle(data_buffer, eval(`Dwarfii_Api.${cmdClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + else { + // Response + console.debug(`responseClass: ${responseClass}`); + data_class = "Dwarfii_Api." + responseClass; + Response_message = eval(`new Dwarfii_Api.${responseClass}()`); + Response_message = decodePacketBle(data_buffer, eval(`Dwarfii_Api.${responseClass}`)); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + // replace data value with new keys and also prototype key assigned by default. + // escape toJSON property of object + decoded_message = Object.assign({}, Response_message); + for (let key in Response_message) { + if (key !== "toJSON") { + decoded_message[key] = Response_message[key]; + } + } + console.log(`End Analyze Packet >> ${JSON.stringify(decoded_message)}`); + return JSON.stringify(decoded_message); +} +/** + * 3.1.1 Request data + * Create Encoded Packet for the command Getconfig + * CMD instruction, value is 1 + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageGetconfig(ble_psd) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 1; + const cmdClass = cmdMapping[cmd]; + // let class_message = eval(`Dwarfii_Api.${cmdClass}`); // error in production! + let class_message = Dwarfii_Api.ReqGetconfig; + // Encode message + let message = class_message.create({ + cmd: cmd, + blePsd: ble_psd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.2 Configure WiFi AP mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} wifi_type ; // 0-5G 1-2.4G + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {Number} country_list ; // 0- do not configure country_list 1- configure country_list + * @param {string} country ; // + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageWifiAP(wifi_type, auto_start, country_list, country, ble_psd) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 2; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + wifiType: wifi_type, + autoStart: auto_start, + countryList: country_list, + country: country, + blePsd: ble_psd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.3 Configure WiFi STA mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {string} ble_psd ; // Default: "DWARF_12345678" + * @param {string} ssid ; // WiFi name of router to connect + * @param {string} psd ; // WiFi password of the router to be connected + * @returns {Uint8Array} + */ +export function messageWifiSTA(auto_start, ble_psd, ssid, psd) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 3; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + autoStart: auto_start, + blePsd: ble_psd, + ssid: ssid, + psd: psd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.4 Reset Bluetooth WiFi + * Create Encoded Packet for the command Reset Bluetooth WiFi + * CMD instruction, value is 5 + * @returns {Uint8Array} + */ +export function messageResetWifi() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 5; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.5 Get WiFi list + * Create Encoded Packet for the command Get WiFi list + * CMD instruction, value is 6 + * @returns {Uint8Array} + */ +export function messageGetWifiList() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 6; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.6 Obtain device information + * Create Encoded Packet for the command Get device information + * CMD instruction, value is 7 + * @returns {Uint8Array} + */ +export function messageGetSystemInfo() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 7; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} diff --git a/dist/src/camera_settings.d.ts b/dist/src/camera_settings.d.ts deleted file mode 100644 index 4493f3d9..00000000 --- a/dist/src/camera_settings.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * 3.4.1 Get telephoto ISP parameters - * 3.4.4 Returns the wide-angle ISP parameter - * @param {number} camera - * @returns {Object} - */ -export function cameraSettings(camera?: number): any; -/** - * 3.4.2 Get telephoto IRCUT state (when shooting raw) - * @returns {Object} - */ -export function iRSettings(): any; -/** - * 3.4.3 Returns to the camera working state - * @param {number} camera - * @returns {Object} - */ -export function cameraWorkingState(camera?: number): any; -//# sourceMappingURL=camera_settings.d.ts.map \ No newline at end of file diff --git a/dist/src/camera_settings.d.ts.map b/dist/src/camera_settings.d.ts.map deleted file mode 100644 index 63655dc7..00000000 --- a/dist/src/camera_settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"camera_settings.d.ts","sourceRoot":"","sources":["../../src/camera_settings.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,wCAHW,MAAM,OAYhB;AAED;;;GAGG;AACH,kCAGC;AAED;;;;GAIG;AACH,4CAHW,MAAM,OAWhB"} \ No newline at end of file diff --git a/dist/src/camera_settings.js b/dist/src/camera_settings.js deleted file mode 100644 index 5fd03e6c..00000000 --- a/dist/src/camera_settings.js +++ /dev/null @@ -1,41 +0,0 @@ -/** @module camera_settings */ -import { telephotoCamera, statusTelephotoCmd, statusWideangleCmd, statusIRTelephotoCmd, statusWorkingStateTelephotoCmd, } from "./api_codes.js"; -/** - * 3.4.1 Get telephoto ISP parameters - * 3.4.4 Returns the wide-angle ISP parameter - * @param {number} camera - * @returns {Object} - */ -export function cameraSettings(camera = telephotoCamera) { - let command; - if (camera === telephotoCamera) { - command = statusTelephotoCmd; - } - else { - command = statusWideangleCmd; - } - const options = { interface: command, camId: camera }; - return options; -} -/** - * 3.4.2 Get telephoto IRCUT state (when shooting raw) - * @returns {Object} - */ -export function iRSettings() { - const options = { interface: statusIRTelephotoCmd, camId: telephotoCamera }; - return options; -} -/** - * 3.4.3 Returns to the camera working state - * @param {number} camera - * @returns {Object} - */ -export function cameraWorkingState(camera = telephotoCamera) { - if (camera === telephotoCamera) { - const options = { - interface: statusWorkingStateTelephotoCmd, - camId: telephotoCamera, - }; - return options; - } -} diff --git a/dist/src/camera_tele.d.ts b/dist/src/camera_tele.d.ts new file mode 100644 index 00000000..6d42ce5e --- /dev/null +++ b/dist/src/camera_tele.d.ts @@ -0,0 +1,303 @@ +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA TELE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.7.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_OPEN_CAMERA + * @param {number} binning ; 0 : binning1x1 (default) 1: binning2x2 + * @param {number} rtsp_encode_type ; 0:H264 (default) 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleOpenCamera(binning?: number, rtsp_encode_type?: number): Uint8Array; +/** + * 4.7.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraTeleCloseCamera(): Uint8Array; +/** + * 4.7.5 Set all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetAllParams(exp_mode: number, exp_index: number, gain_mode: number, gain_index: number, ircut_value: number, wb_mode: number, wb_index_type: number, wb_index: number, brightness: number, contrast: number, hue: number, saturation: number, sharpness: number, jpg_quality: number): Uint8Array; +/** + * 4.7.6 Get all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllParams(): Uint8Array; +/** + * 4.7.7 Set feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_FEATURE_PARAM + * @param {boolean} has_auto + * @param {number} auto_mode + * @param {number} id + * @param {number} mode_index + * @param {number} index + * @param {number} continue_value + * @returns {Uint8Array} + */ +export function messageCameraTeleSetFeatureParams(has_auto: boolean, auto_mode: number, id: number, mode_index: number, index: number, continue_value: number): Uint8Array; +/** + * 4.7.8 Get all feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllFeatureParams(): Uint8Array; +/** + * 4.7.9 Get the working status of the whole machine + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSystemWorkingState(): Uint8Array; +/** + * 4.7.10 Take photos + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraTelePhotograph(): Uint8Array; +/** + * 4.7.11 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStartBurst(): Uint8Array; +/** + * 4.7.12 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStopBurst(): Uint8Array; +/** + * 4.7.13 Start recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStartRecord(): Uint8Array; +/** + * 4.7.14 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStopRecord(): Uint8Array; +/** + * 4.7.15 Start time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStartTimeLapsePhoto(): Uint8Array; +/** + * 4.7.16 Stop time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStopTimeLapsePhoto(): Uint8Array; +/** + * 4.7.17 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExpMode(mode: number): Uint8Array; +/** + * 4.7.18 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExpMode(): Uint8Array; +/** + * 4.7.19 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExp(index: number): Uint8Array; +/** + * 4.7.20 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExp(): Uint8Array; +/** + * 4.7.21 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGainMode(mode: number): Uint8Array; +/** + * 4.7.22 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGainMode(): Uint8Array; +/** + * 4.7.23 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGain(index: number): Uint8Array; +/** + * 4.7.24 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGain(): Uint8Array; +/** + * 4.7.25 Set IRCUT + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_IRCUT + * @param {number} value ; //IRCUT value 0: CUT 1: PASS + * @returns {Uint8Array} + */ +export function messageCameraTeleSetIRCut(value: number): Uint8Array; +/** + * 4.7.26 Get IRCUT status + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_IRCUT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetIRCut(): Uint8Array; +/** + * 4.7.27 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBMode(mode: number): Uint8Array; +/** + * 4.7.28 Acquire white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBMode(): Uint8Array; +/** + * 4.7.29 Set white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_SCENE + * @param {number} value ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBScene(value: number): Uint8Array; +/** + * 4.7.30 Get white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_SCENE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBScene(): Uint8Array; +/** + * 4.7.31 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_CT + * @param {number} index ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBColorTemp(index: number): Uint8Array; +/** + * 4.7.32 Obtain the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_CT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBColorTemp(): Uint8Array; +/** + * 4.7.33 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_BRIGHTNESS + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetBrightness(value: number): Uint8Array; +/** + * 4.7.34 Acquire brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_BRIGHTNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetBrightness(): Uint8Array; +/** + * 4.7.35 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetContrast(value: number): Uint8Array; +/** + * 4.7.36 Get contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_CONTRAST + * @returns {Uint8Array} + */ +export function messageCameraTeleGetContrast(): Uint8Array; +/** + * 4.7.37 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SATURATION + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSaturation(value: number): Uint8Array; +/** + * 4.7.38 Acquire saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SATURATION + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSaturation(): Uint8Array; +/** + * 4.7.39 Set tone + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B =(A + 180) * 255.0 / 360 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetHue(value: number): Uint8Array; +/** + * 4.7.40 Get hue + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_HUE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetHue(): Uint8Array; +/** + * 4.7.41 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SHARPNESS + * UI value (A) 0 100 50 (Default) + * @param {number} value ; B = A + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSharpness(value: number): Uint8Array; +/** + * 4.7.42 Acquire sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SHARPNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSharpness(): Uint8Array; +/** + * 4.7.43 Set jpg preview quality + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_JPG_QUALITY + * @param {number} quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetJPGQuality(quality: number): Uint8Array; +/** + * 4.7.44 Shoot RAW image + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTO_RAW + * @returns {Uint8Array} + */ +export function messageCameraTelePhotoRaw(): Uint8Array; +/** + * 4.7.45 Set rtsp preview bit rate type + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE + * @param {number} bitrate_type ; 0:H264 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetRTSPPreviewBitsRate(bitrate_type: number): Uint8Array; +//# sourceMappingURL=camera_tele.d.ts.map \ No newline at end of file diff --git a/dist/src/camera_tele.d.ts.map b/dist/src/camera_tele.d.ts.map new file mode 100644 index 00000000..326b9017 --- /dev/null +++ b/dist/src/camera_tele.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"camera_tele.d.ts","sourceRoot":"","sources":["../../src/camera_tele.js"],"names":[],"mappings":"AAQA,8DAA8D;AAC9D,8DAA8D;AAC9D,8DAA8D;AAC9D;;;;;;GAMG;AACH,sDAJW,MAAM,qBACN,MAAM,GACJ,UAAU,CAuBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wDAhBW,MAAM,aACN,MAAM,aACN,MAAM,cACN,MAAM,eACN,MAAM,WACN,MAAM,iBACN,MAAM,YACN,MAAM,cACN,MAAM,YACN,MAAM,OACN,MAAM,cACN,MAAM,aACN,MAAM,eACN,MAAM,GACJ,UAAU,CA8CtB;AACD;;;;GAIG;AACH,iDAFa,UAAU,CAgBtB;AACD;;;;;;;;;;GAUG;AACH,4DARW,OAAO,aACP,MAAM,MACN,MAAM,cACN,MAAM,SACN,MAAM,kBACN,MAAM,GACJ,UAAU,CAiCtB;AACD;;;;GAIG;AACH,wDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,0DAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,8CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,wDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,uDAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,kDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,+CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,2CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,mDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,4CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,iDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,6CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,iDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,8CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,mDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,uDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,mDAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,sDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,kDAFa,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,oDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,sDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,kDAFa,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,+CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,2CAFa,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,qDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,iDAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,wDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,6CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,sEAHW,MAAM,GACJ,UAAU,CAgBtB"} \ No newline at end of file diff --git a/dist/src/camera_tele.js b/dist/src/camera_tele.js new file mode 100644 index 00000000..30e96941 --- /dev/null +++ b/dist/src/camera_tele.js @@ -0,0 +1,862 @@ +/** @module camera_tele */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { binning1x1 } from "./api_codes.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA TELE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.7.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_OPEN_CAMERA + * @param {number} binning ; 0 : binning1x1 (default) 1: binning2x2 + * @param {number} rtsp_encode_type ; 0:H264 (default) 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleOpenCamera(binning = binning1x1, rtsp_encode_type = 0) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + binning: binning, + rtspEncodeType: rtsp_encode_type, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraTeleCloseCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_CLOSE_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.5 Set all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetAllParams(exp_mode, exp_index, gain_mode, gain_index, ircut_value, wb_mode, wb_index_type, wb_index, brightness, contrast, hue, saturation, sharpness, jpg_quality) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expMode: exp_mode, + expIndex: exp_index, + gainMode: gain_mode, + gainIndex: gain_index, + ircutValue: ircut_value, + wbMode: wb_mode, + wbIndexType: wb_index_type, + wbIndex: wb_index, + brightness: brightness, + contrast: contrast, + hue: hue, + saturation: saturation, + sharpness: sharpness, + jpgQuality: jpg_quality, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.6 Get all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.7 Set feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_FEATURE_PARAM + * @param {boolean} has_auto + * @param {number} auto_mode + * @param {number} id + * @param {number} mode_index + * @param {number} index + * @param {number} continue_value + * @returns {Uint8Array} + */ +export function messageCameraTeleSetFeatureParams(has_auto, auto_mode, id, mode_index, index, continue_value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_FEATURE_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let param = Dwarfii_Api.CommonParam.create({ + hasAuto: has_auto, + autoMode: auto_mode, + id: id, + modeIndex: mode_index, + index: index, + continueValue: continue_value, + }); + let message = class_message.create({ + param: param, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.8 Get all feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllFeatureParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.9 Get the working status of the whole machine + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSystemWorkingState() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.10 Take photos + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraTelePhotograph() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTOGRAPH; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.11 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStartBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.12 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStopBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.13 Start recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStartRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.14 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStopRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.15 Start time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStartTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.16 Stop time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStopTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.17 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.18 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExpMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.19 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.20 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.21 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGainMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.22 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGainMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.23 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGain(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.24 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGain() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.25 Set IRCUT + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_IRCUT + * @param {number} value ; //IRCUT value 0: CUT 1: PASS + * @returns {Uint8Array} + */ +export function messageCameraTeleSetIRCut(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_IRCUT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.26 Get IRCUT status + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_IRCUT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetIRCut() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_IRCUT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.27 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.28 Acquire white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.29 Set white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_SCENE + * @param {number} value ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBScene(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_SCENE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.30 Get white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_SCENE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBScene() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_SCENE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.31 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_CT + * @param {number} index ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBColorTemp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.32 Obtain the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_CT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBColorTemp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.33 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_BRIGHTNESS + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetBrightness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.34 Acquire brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_BRIGHTNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetBrightness() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.35 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetContrast(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.36 Get contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_CONTRAST + * @returns {Uint8Array} + */ +export function messageCameraTeleGetContrast() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.37 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SATURATION + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSaturation(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.38 Acquire saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SATURATION + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSaturation() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.39 Set tone + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B =(A + 180) * 255.0 / 360 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetHue(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.40 Get hue + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_HUE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetHue() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.41 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SHARPNESS + * UI value (A) 0 100 50 (Default) + * @param {number} value ; B = A + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSharpness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.42 Acquire sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SHARPNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSharpness() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.43 Set jpg preview quality + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_JPG_QUALITY + * @param {number} quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetJPGQuality(quality) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ quality: quality }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.44 Shoot RAW image + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTO_RAW + * @returns {Uint8Array} + */ +export function messageCameraTelePhotoRaw() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTO_RAW; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.45 Set rtsp preview bit rate type + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE + * @param {number} bitrate_type ; 0:H264 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetRTSPPreviewBitsRate(bitrate_type) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ bitrateType: bitrate_type }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/camera_wide.d.ts b/dist/src/camera_wide.d.ts new file mode 100644 index 00000000..281b3552 --- /dev/null +++ b/dist/src/camera_wide.d.ts @@ -0,0 +1,193 @@ +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA WIDE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.9.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideOpenCamera(): Uint8Array; +/** + * 4.9.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideCloseCamera(): Uint8Array; +/** + * 4.9.5 Take photos + * Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraWidePhotograph(): Uint8Array; +/** + * 4.9.6 Start recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStartRecord(): Uint8Array; +/** + * 4.9.7 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStopRecord(): Uint8Array; +/** + * 4.9.8 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStartBurst(): Uint8Array; +/** + * 4.9.9 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStopBurst(): Uint8Array; +/** + * 4.9.10 Get all parameters + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraWideGetAllParams(): Uint8Array; +/** + * 4.9.11 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExpMode(mode: number): Uint8Array; +/** + * 4.9.12 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetExpMode(): Uint8Array; +/** + * 4.9.13 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExp(index: number): Uint8Array; +/** + * 4.9.14 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraWideGetExp(): Uint8Array; +/** + * 4.9.15 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGainMode(mode: number): Uint8Array; +/** + * 4.9.16 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetGainMode(): Uint8Array; +/** + * 4.9.17 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGain(index: number): Uint8Array; +/** + * 4.9.18 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraWideGetGain(): Uint8Array; +/** + * 4.9.19 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBMode(mode: number): Uint8Array; +/** + * 4.9.20 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBColorTemp(index: number): Uint8Array; +/** + * 4.9.21 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = A * 64.0 / 10 + * @returns {Uint8Array} + */ +export function messageCameraWideSetBrightness(value: number): Uint8Array; +/** + * 4.9.22 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 95.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetContrast(value: number): Uint8Array; +/** + * 4.9.23 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION + * UI value (A) -100 100 60 (Default) + * @param {number} value ; B =(A + 100) * 100.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSaturation(value: number): Uint8Array; +/** + * 4.9.24 Set tone + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B = A * 2000.0 / 180 + * @returns {Uint8Array} + */ +export function messageCameraWideSetHue(value: number): Uint8Array; +/** + * 4.9.25 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS + * UI value (A) 0 100 17 (Default) + * @param {number} value ; B = A * 6.0 / 100 + 1 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSharpness(value: number): Uint8Array; +/** + * 4.9.26 Start time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStartTimeLapsePhoto(): Uint8Array; +/** + * 4.9.27 Stop time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStopTimeLapsePhoto(): Uint8Array; +/** + * 4.9.28 Set all camera parameters + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetAllParams(exp_mode: number, exp_index: number, gain_mode: number, gain_index: number, ircut_value: number, wb_mode: number, wb_index_type: number, wb_index: number, brightness: number, contrast: number, hue: number, saturation: number, sharpness: number, jpg_quality: number): Uint8Array; +//# sourceMappingURL=camera_wide.d.ts.map \ No newline at end of file diff --git a/dist/src/camera_wide.d.ts.map b/dist/src/camera_wide.d.ts.map new file mode 100644 index 00000000..0f98b09b --- /dev/null +++ b/dist/src/camera_wide.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"camera_wide.d.ts","sourceRoot":"","sources":["../../src/camera_wide.js"],"names":[],"mappings":"AAQA,8DAA8D;AAC9D,8DAA8D;AAC9D,8DAA8D;AAC9D;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,8CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,iDAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,kDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,+CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,+CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,2CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,mDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,gDAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;GAIG;AACH,4CAFa,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,iDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,uDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,sDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,oDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,sDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,+CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;;GAMG;AACH,qDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,wDAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,uDAFa,UAAU,CAiBtB;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wDAhBW,MAAM,aACN,MAAM,aACN,MAAM,cACN,MAAM,eACN,MAAM,WACN,MAAM,iBACN,MAAM,YACN,MAAM,cACN,MAAM,YACN,MAAM,OACN,MAAM,cACN,MAAM,aACN,MAAM,eACN,MAAM,GACJ,UAAU,CA8CtB"} \ No newline at end of file diff --git a/dist/src/camera_wide.js b/dist/src/camera_wide.js new file mode 100644 index 00000000..c18317d4 --- /dev/null +++ b/dist/src/camera_wide.js @@ -0,0 +1,535 @@ +/** @module camera_wide */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { binning2x2 } from "./api_codes.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA WIDE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.9.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideOpenCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ binning: binning2x2 }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideCloseCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_CLOSE_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.5 Take photos + * Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraWidePhotograph() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_PHOTOGRAPH; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.6 Start recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStartRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.7 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStopRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.8 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStartBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.9 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStopBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.10 Get all parameters + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraWideGetAllParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.11 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.12 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetExpMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.13 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.14 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraWideGetExp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.15 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGainMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.16 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetGainMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.17 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGain(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.18 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraWideGetGain() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.19 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.20 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBColorTemp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.21 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = A * 64.0 / 10 + * @returns {Uint8Array} + */ +export function messageCameraWideSetBrightness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.22 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 95.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetContrast(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.23 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION + * UI value (A) -100 100 60 (Default) + * @param {number} value ; B =(A + 100) * 100.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSaturation(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.24 Set tone + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B = A * 2000.0 / 180 + * @returns {Uint8Array} + */ +export function messageCameraWideSetHue(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.25 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS + * UI value (A) 0 100 17 (Default) + * @param {number} value ; B = A * 6.0 / 100 + 1 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSharpness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.26 Start time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStartTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.27 Stop time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStopTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.28 Set all camera parameters + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetAllParams(exp_mode, exp_index, gain_mode, gain_index, ircut_value, wb_mode, wb_index_type, wb_index, brightness, contrast, hue, saturation, sharpness, jpg_quality) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expMode: exp_mode, + expIndex: exp_index, + gainMode: gain_mode, + gainIndex: gain_index, + ircutValue: ircut_value, + wbMode: wb_mode, + wbIndex_type: wb_index_type, + wbIndex: wb_index, + brightness: brightness, + contrast: contrast, + hue: hue, + saturation: saturation, + sharpness: sharpness, + jpgQuality: jpg_quality, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/cmd_mapping.d.ts b/dist/src/cmd_mapping.d.ts new file mode 100644 index 00000000..479227f5 --- /dev/null +++ b/dist/src/cmd_mapping.d.ts @@ -0,0 +1,509 @@ +export function getClassStateMappings(className: any, value: any): any; +export function getClassModeMappings(className: any, value: any): any; +export const cmdMapping: { + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 10000: string; + 10001: string; + 10002: string; + 10003: string; + 10004: string; + 10005: string; + 10006: string; + 10007: string; + 10008: string; + 10009: string; + 10010: string; + 10011: string; + 10012: string; + 10013: string; + 10014: string; + 10015: string; + 10016: string; + 10017: string; + 10018: string; + 10019: string; + 10020: string; + 10021: string; + 10022: string; + 10023: string; + 10024: string; + 10025: string; + 10026: string; + 10027: string; + 10028: string; + 10029: string; + 10030: string; + 10031: string; + 10032: string; + 10033: string; + 10034: string; + 10035: string; + 10036: string; + 10037: string; + 10038: string; + 10039: string; + 10040: string; + 10041: string; + 10042: string; + 11000: string; + 11001: string; + 11002: string; + 11003: string; + 11004: string; + 11005: string; + 11006: string; + 11007: string; + 11008: string; + 11009: string; + 11010: string; + 11011: string; + 11012: string; + 11013: string; + 11014: string; + 11015: string; + 11016: string; + 11017: string; + 11018: string; + 11019: string; + 11020: string; + 11021: string; + 11022: string; + 11023: string; + 11024: string; + 11025: string; + 11026: string; + 11027: string; + 11028: string; + 12000: string; + 12001: string; + 12002: string; + 12003: string; + 12004: string; + 12005: string; + 12006: string; + 12007: string; + 12008: string; + 12009: string; + 12010: string; + 12011: string; + 12012: string; + 12013: string; + 12014: string; + 12015: string; + 12016: string; + 12017: string; + 12018: string; + 12019: string; + 12020: string; + 12021: string; + 12022: string; + 12023: string; + 12024: string; + 12025: string; + 12026: string; + 12027: string; + 12028: string; + 12030: string; + 12031: string; + 13000: string; + 13001: string; + 13002: string; + 13003: string; + 13004: string; + 13500: string; + 13501: string; + 13502: string; + 13503: string; + 13504: string; + 13505: string; + 14000: string; + 14001: string; + 14002: string; + 14003: string; + 14004: string; + 14005: string; + 14006: string; + 14007: string; + 14008: string; + 14009: string; + 14010: string; + 14011: string; + 14800: string; + 14801: string; + 14802: string; + 14803: string; + 14804: string; + 14805: string; + 14806: string; + 14807: string; + 14808: string; + 15000: string; + 15001: string; + 15002: string; + 15003: string; + 15004: string; + 15005: string; + 15500: string; + 15501: string; + 15502: string; +}; +export const responseMapping: { + 0: string; + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 10000: string; + 10001: string; + 10002: string; + 10003: string; + 10004: string; + 10005: string; + 10006: string; + 10007: string; + 10008: string; + 10009: string; + 10010: string; + 10011: string; + 10012: string; + 10013: string; + 10014: string; + 10015: string; + 10016: string; + 10017: string; + 10018: string; + 10019: string; + 10020: string; + 10021: string; + 10022: string; + 10023: string; + 10024: string; + 10025: string; + 10026: string; + 10027: string; + 10028: string; + 10029: string; + 10030: string; + 10031: string; + 10032: string; + 10033: string; + 10034: string; + 10035: string; + 10036: string; + 10037: string; + 10038: string; + 10039: string; + 10040: string; + 10041: string; + 10042: string; + 11000: string; + 11001: string; + 11002: string; + 11003: string; + 11004: string; + 11005: string; + 11006: string; + 11007: string; + 11008: string; + 11009: string; + 11010: string; + 11011: string; + 11012: string; + 11013: string; + 11014: string; + 11015: string; + 11016: string; + 11017: string; + 11018: string; + 11019: string; + 11020: string; + 11021: string; + 11022: string; + 11023: string; + 11024: string; + 11025: string; + 11026: string; + 11027: string; + 11028: string; + 12000: string; + 12001: string; + 12002: string; + 12003: string; + 12004: string; + 12005: string; + 12006: string; + 12007: string; + 12008: string; + 12009: string; + 12010: string; + 12011: string; + 12012: string; + 12013: string; + 12014: string; + 12015: string; + 12016: string; + 12017: string; + 12018: string; + 12019: string; + 12020: string; + 12021: string; + 12022: string; + 12023: string; + 12024: string; + 12025: string; + 12026: string; + 12027: string; + 12028: string; + 12030: string; + 12031: string; + 13000: string; + 13001: string; + 13002: string; + 13003: string; + 13004: string; + 13500: string; + 13501: string; + 13502: string; + 13503: string; + 13504: string; + 13505: string; + 14000: string; + 14001: string; + 14002: string; + 14003: string; + 14004: string; + 14005: string; + 14006: string; + 14007: string; + 14008: string; + 14009: string; + 14010: string; + 14011: string; + 14800: string; + 14801: string; + 14802: string; + 14803: string; + 14804: string; + 14805: string; + 14806: string; + 14807: string; + 14808: string; + 15000: string; + 15001: string; + 15002: string; + 15003: string; + 15004: string; + 15005: string; + 15500: string; + 15501: string; + 15502: string; +}; +export const notifyMapping: { + 15200: string; + 15201: string; + 15202: string; + 15203: string; + 15204: string; + 15205: string; + 15206: string; + 15207: string; + 15208: string; + 15209: string; + 15210: string; + 15211: string; + 15212: string; + 15213: string; + 15214: string; + 15215: string; + 15216: string; + 15217: string; + 15218: string; + 15219: string; + 15220: string; + 15221: string; + 15222: string; + 15223: string; + 15224: string; + 15225: string; + 15226: string; + 15227: string; + 15228: string; + 15229: string; + 15230: string; + 15231: string; + 15232: string; + 15233: string; + 15234: string; + 15235: string; + 15236: string; + 15237: string; + 15238: string; + 15239: string; + 15240: string; + 15241: string; + 15242: string; + 15243: string; + 15247: string; + 15248: string; + 15249: string; + 15250: string; + 15257: string; +}; +export const notifyResponseMapping: { + 10000: string; + 10001: string; + 10002: string; + 10003: string; + 10004: string; + 10005: string; + 10006: string; + 10007: string; + 10008: string; + 10009: string; + 10010: string; + 10011: string; + 10012: string; + 10013: string; + 10014: string; + 10015: string; + 10016: string; + 10017: string; + 10018: string; + 10019: string; + 10020: string; + 10021: string; + 10022: string; + 10023: string; + 10024: string; + 10025: string; + 10026: string; + 10027: string; + 10028: string; + 10029: string; + 10030: string; + 10031: string; + 10032: string; + 10033: string; + 10034: string; + 10035: string; + 10036: string; + 10037: string; + 10038: string; + 10039: string; + 10040: string; + 10041: string; + 10042: string; + 11000: string; + 11001: string; + 11002: string; + 11003: string; + 11004: string; + 11005: string; + 11006: string; + 11007: string; + 11008: string; + 11009: string; + 11010: string; + 11011: string; + 11012: string; + 11013: string; + 11014: string; + 11015: string; + 11016: string; + 11017: string; + 11018: string; + 11019: string; + 11020: string; + 11021: string; + 11022: string; + 11023: string; + 11024: string; + 11025: string; + 11026: string; + 11027: string; + 11028: string; + 12000: string; + 12001: string; + 12002: string; + 12003: string; + 12004: string; + 12005: string; + 12006: string; + 12007: string; + 12008: string; + 12009: string; + 12010: string; + 12011: string; + 12012: string; + 12013: string; + 12014: string; + 12015: string; + 12016: string; + 12017: string; + 12018: string; + 12019: string; + 12020: string; + 12021: string; + 12022: string; + 12023: string; + 12024: string; + 12025: string; + 12026: string; + 12027: string; + 12028: string; + 12030: string; + 12031: string; + 13000: string; + 13001: string; + 13002: string; + 13003: string; + 13004: string; + 13500: string; + 13501: string; + 13502: string; + 13503: string; + 13504: string; + 13505: string; + 14000: string; + 14001: string; + 14002: string; + 14003: string; + 14004: string; + 14005: string; + 14006: string; + 14007: string; + 14008: string; + 14009: string; + 14010: string; + 14011: string; + 14800: string; + 14801: string; + 14802: string; + 14803: string; + 14804: string; + 14805: string; + 14806: string; + 14807: string; + 14808: string; + 15000: string; + 15001: string; + 15002: string; + 15003: string; + 15004: string; + 15005: string; + 15500: string; + 15501: string; + 15502: string; +}; +//# sourceMappingURL=cmd_mapping.d.ts.map \ No newline at end of file diff --git a/dist/src/cmd_mapping.d.ts.map b/dist/src/cmd_mapping.d.ts.map new file mode 100644 index 00000000..953a9536 --- /dev/null +++ b/dist/src/cmd_mapping.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cmd_mapping.d.ts","sourceRoot":"","sources":["../../src/cmd_mapping.js"],"names":[],"mappings":"AAylBA,uEAGC;AAED,sEAGC;AA7lBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyKE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyKE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8JE"} \ No newline at end of file diff --git a/dist/src/cmd_mapping.js b/dist/src/cmd_mapping.js new file mode 100644 index 00000000..206795e6 --- /dev/null +++ b/dist/src/cmd_mapping.js @@ -0,0 +1,560 @@ +// Access the class name associated with a command +// const openCameraClass = cmdMapping[10000]; +// console.log(openCameraClass); // diplay "ReqOpenCamera" +export const cmdMapping = { + // BLE Class Command + 1: "ReqGetconfig", // Get WiFi configuration + 2: "ReqAp", // Configure WiFi AP mode + 3: "ReqSta", // Configure WiFi STA mode + 4: "ReqSetblewifi", // Configure BLE wifi + 5: "ReqReset", // Reset Bluetooth WiFi + 6: "ReqWifilist", // Get WiFi list + 7: "ReqGetsysteminfo", // Obtain device information + 8: "ReqCheckFile", // Check File + 10000: "ReqOpenCamera", // Turn on the camera + 10001: "ReqCloseCamera", // Turn off the camera + 10002: "ReqPhoto", // Take photos + 10003: "ReqBurstPhoto", // Start continuous shooting + 10004: "ReqStopBurstPhoto", // Stop continuous shooting + 10005: "ReqStartRecord", // Start recording + 10006: "ReqStopRecord", // Stop recording + 10007: "ReqSetExpMode", // Set exposure mode + 10008: "ReqGetExpMode", // Acquire exposure mode + 10009: "ReqSetExp", // Set exposure value + 10010: "ReqGetExp", // Get exposure value + 10011: "ReqSetGainMode", // Set gain mode + 10012: "ReqGetGainMode", // Acquisition gain mode + 10013: "ReqSetGain", // Set gain value + 10014: "ReqGetGain", // Get gain value + 10015: "ReqSetBrightness", // Set brightness + 10016: "ReqGetBrightness", // Acquire brightness + 10017: "ReqSetContrast", // Set contrast + 10018: "ReqGetContrast", // Get contrast + 10019: "ReqSetSaturation", // Set saturation + 10020: "ReqGetSaturation", // Acquire saturation + 10021: "ReqSetHue", // Set tone + 10022: "ReqGetHue", // Get hue + 10023: "ReqSetSharpness", // Set sharpness + 10024: "ReqGetSharpness", // Acquire sharpness + 10025: "ReqSetWBMode", // Set white balance mode + 10026: "ReqGetWBMode", // Acquire white balance mode + 10027: "ReqSetWBSence", // Set white balance scene + 10028: "ReqGetWBSence", // Get white balance scene + 10029: "ReqSetWBCT", // Set the white balance color temperature value + 10030: "ReqGetWBCT", // Obtain the white balance color temperature value + 10031: "ReqSetIrCut", // Set IRCUT + 10032: "ReqGetIrcut", // Get IRCUT status + 10033: "ReqStartTimeLapse", // Start time-lapse photography + 10034: "ReqStopTimeLapse", // Stop time-lapse photography + 10035: "ReqSetAllParams", // Set all parameters + 10036: "ReqGetAllParams", // Get all parameters + 10037: "ReqSetFeatureParams", // Set feature parameters + 10038: "ReqGetAllFeatureParams", // Get all feature parameters + 10039: "ReqGetSystemWorkingState", // Get the working status of the whole machine + 10040: "ReqSetJpgQuality", // Set jpg preview quality + 10041: "ReqPhotoRaw", // Shoot RAW image + 10042: "ReqSetRtspBitRateType", // Set rtsp preview bit rate type + 11000: "ReqStartCalibration", // Start calibration + 11001: "ReqStopCalibration", // Stop calibration + 11002: "ReqGotoDSO", // Start GOTO Deep Space Object + 11003: "ReqGotoSolarSystem", // Start GOTO Solar System Target + 11004: "ReqStopGoto", // Stop GOTO + 11005: "ReqCaptureRawLiveStacking", // Start stacking + 11006: "ReqStopCaptureRawLiveStacking", // Stop overlay + 11007: "ReqCaptureDarkFrame", // Start shooting dark scenes + 11008: "ReqStopCaptureDarkFrame", // Stop filming darkfield + 11009: "ReqCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ReqGoLive", // GO LIVE interface + 11011: "ReqTrackSpecialTarget", // Start tracking the sun and moon + 11012: "ReqStopTrackSpecialTarget", // Stop tracking the sun and moon + 11013: "ReqOneClickGotoDSO", // One-click GOTO deep space celestial body + 11014: "ReqOneClickGotoSolarSystem", // One-click GOTO solar system target + 11015: "ReqStopOneClickGoto", // Stop one-click GOTO + 11016: "ReqCaptureWideRawLiveStacking", // Start wide-angle overlay + 11017: "ReqStopCaptureWideRawLiveStacking", // Stop wide-angle overlay + 11018: "ReqStartEqSolving", // Start EQ verification + 11019: "ReqStopEqSolving", // Stop EQ verification + 11020: "ReqGoLive", // Wide-angle GO LIVE interface + 11021: "ReqCaptureDarkFrame", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ReqStopCaptureDarkFrame", // Stop shooting the dark field with specified parameters + 11023: "ReqCheckDarkFrame", // Query the list of recorded dark scenes + 11024: "ReqDelDarkFrame", // Delete the specified dark field list + 11025: "ReqCaptureWideDarkFrame", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ReqStopCaptureWideDarkFrame", // Stop shooting dark field with wide-angle specified parameters + 11027: "ReqCheckWideDarkFrame", // Query the list of wide-angle dark scenes taken + 11028: "ReqDelWideDarkFrame", // Delete the specified wide-angle dark field list + 12000: "ReqOpenCamera", // Turn on the camera + 12001: "ReqCloseCamera", // Turn off the camera + 12002: "ReqSetExpMode", // Set exposure mode + 12003: "ReqGetExpMode", // Acquire exposure mode + 12004: "ReqSetExp", // Set exposure value + 12005: "ReqGetExp", // Get exposure value + 12006: "ReqSetGain", // Set gain + 12007: "ReqGetGain", // Acquisition gain + 12008: "ReqSetBrightness", // Set brightness + 12009: "ReqGetBrightness", // Acquire brightness + 12010: "ReqSetContrast", // Set contrast + 12011: "ReqGetContrast", // Get contrast + 12012: "ReqSetSaturation", // Set saturation + 12013: "ReqGetSaturation", // Acquire saturation + 12014: "ReqSetHue", // Set tone + 12015: "ReqGetHue", // Get hue + 12016: "ReqSetSharpness", // Set sharpness + 12017: "ReqGetSharpness", // Acquire sharpness + 12018: "ReqSetWBMode", // Set white balance mode + 12019: "ReqGetWBMode", // Acquire white balance mode + 12020: "ReqSetWBCT", // Set white balance color temperature + 12021: "ReqGetWBCT", // Obtain white balance color temperature + 12022: "ReqPhoto", // Take photos + 12023: "ReqBurstPhoto", // Continuous shooting + 12024: "ReqStopBurstPhoto", // Stop continuous shooting + 12025: "ReqStartTimeLapse", // Start time-lapse photography + 12026: "ReqStopTimeLapse", // Stop time-lapse photography + 12027: "ReqGetAllParams", // Get all parameters + 12028: "ReqSetAllParams", // Set all parameters + 12030: "ReqStartRecord", // Start wide recording + 12031: "ReqStopRecord", // Stop wide recording + 13000: "ReqSetTime", // Set the system time + 13001: "ReqSetTimezone", // Set the time zone + 13002: "ReqSetMtpMode", // Set MTP mode + 13003: "ReqSetCpuMode", // Set CPU mode + 13004: "ReqsetMasterLock", // Set HOST SLAVE mode + 13500: "ReqOpenRgb", // Turn on the ring light + 13501: "ReqCloseRgb", // Turn off the ring light + 13502: "ReqPowerDown", // Shut down + 13503: "ReqOpenPowerInd", // Turn on the battery indicator + 13504: "ReqClosePowerInd", // Turn off battery indicator = + 13505: "ReqReboot", // Restart + 14000: "ReqMotorRun", // Motor motion + 14001: "ReqMotorRunTo", // Motor motion to + 14002: "ReqMotorStop", // Motor stop + 14003: "ReqMotorReset", // Motor Reset + 14004: "ReqMotorChangeSpeed", // Motor Change Speed + 14005: "ReqMotorChangeDirection", // Motor ChangeDirection + 14006: "ReqMotorServiceJoystick", // Joystick + 14007: "ReqMotorServiceJoystickFixedAngle", // Short press the arrow keys with the joystick + 14008: "ReqMotorServiceJoystickStop", // Stop joystick + 14009: "ReqDualCameraLinkage", // Dual camera linkage + 14010: "ReqMotorRunInPulse", // Motor run in pulse + 14011: "ReqMotorGetPosition", // Motor get Position + 14800: "ReqStartTrack", // Started tracking + 14801: "ReqStopTrack", // Stop tracking + 14802: "ReqStartSentryMode", // Start Sentinel Mode + 14803: "ReqStopSentryMode", // Stop Sentinel Mode + 14804: "ReqMOTTrack", // Start "Multi-Object Tracking" feature + 14805: "ReqMOTTrackOne", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ReqStartSentryMode", // Start sentinel UFO mode + 14807: "ReqStopSentryMode", // Stop Sentinel UFO Mode + 14808: "ReqMOTTrackOne", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + 15000: "ReqNormalAutoFocus", // Normal mode autofocus + 15001: "ReqManualSingleStepFocus", // Manual single-step focusing + 15002: "ReqManualContinuFocus", // Start manual continuous focus + 15003: "ReqStopManualContinuFocus", // Stop manual continuous focus + 15004: "ReqAstroAutoFocus", // Start astronomical autofocus + 15005: "ReqStopAstroAutoFocus", // Stop astronomical autofocus + 15500: "ReqStartPanoramaByGrid", // Start panorama + 15501: "ReqStopPanorama", // Stop panorama + 15502: "ReqStartPanoramaByEulerRange", // Start panorama Euler Range +}; +export const responseMapping = { + // BLE Class Response + 0: "ResReceiveDataError", // Get Error + 1: "ResGetconfig", // Get WiFi configuration + 2: "ResAp", // Configure WiFi AP mode + 3: "ResSta", // Configure WiFi STA mode + 4: "ResSetblewifi", // Configure BLE wifi + 5: "ResReset", // Reset Bluetooth WiFi + 6: "ResWifilist", // Get WiFi list + 7: "ResGetsysteminfo", // Obtain device information + 8: "ResCheckFile", // Check File + 10000: "ComResponse", // Turn on the camera + 10001: "ComResponse", // Turn off the camera + 10002: "ComResponse", // Take photos + 10003: "ComResponse", // Start continuous shooting + 10004: "ComResponse", // Stop continuous shooting + 10005: "ComResponse", // Start recording + 10006: "ComResponse", // Stop recording + 10007: "ComResponse", // Set exposure mode + 10008: "ComResponse", // Acquire exposure mode + 10009: "ComResponse", // Set exposure value + 10010: "ComResponse", // Get exposure value + 10011: "ComResponse", // Set gain mode + 10012: "ComResponse", // Acquisition gain mode + 10013: "ComResponse", // Set gain value + 10014: "ComResponse", // Get gain value + 10015: "ComResponse", // Set brightness + 10016: "ComResponse", // Acquire brightness + 10017: "ComResponse", // Set contrast + 10018: "ComResponse", // Get contrast + 10019: "ComResponse", // Set saturation + 10020: "ComResponse", // Acquire saturation + 10021: "ComResponse", // Set tone + 10022: "ComResponse", // Get hue + 10023: "ComResponse", // Set sharpness + 10024: "ComResponse", // Acquire sharpness + 10025: "ComResponse", // Set white balance mode + 10026: "ComResponse", // Acquire white balance mode + 10027: "ComResponse", // Set white balance scene + 10028: "ComResponse", // Get white balance scene + 10029: "ComResponse", // Set the white balance color temperature value + 10030: "ComResponse", // Obtain the white balance color temperature value + 10031: "ComResponse", // Set IRCUT + 10032: "ComResponse", // Get IRCUT status + 10033: "ComResponse", // Start time-lapse photography + 10034: "ComResponse", // Stop time-lapse photography + 10035: "ComResponse", // Set all parameters + 10036: "ResGetAllParams", // Get all parameters + 10037: "ComResponse", // Set feature parameters + 10038: "ResGetAllFeatureParams", // Get all feature parameters + 10039: "ComResponse", // Get the working status of the whole machine + 10040: "ComResponse", // Set jpg preview quality + 10041: "ComResponse", // Shoot RAW image + 10042: "ComResponse", // Set rtsp preview bit rate type + 11000: "ComResponse", // Start calibration + 11001: "ComResponse", // Stop calibration + 11002: "ComResponse", // Start GOTO Deep Space Object + 11003: "ComResponse", // Start GOTO Solar System Target + 11004: "ComResponse", // Stop GOTO + 11005: "ComResponse", // Start stacking + 11006: "ComResponse", // Stop overlay + 11007: "ComResponse", // Start shooting dark scenes + 11008: "ComResponse", // Stop filming darkfield + 11009: "ResCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ComResponse", // GO LIVE interface + 11011: "ComResponse", // Start tracking the sun and moon + 11012: "ComResponse", // Stop tracking the sun and moon + 11013: "ResOneClickGoto ", // One-click GOTO deep space celestial body + 11014: "ResOneClickGoto ", // One-click GOTO solar system target + 11015: "ComResponse", // Stop one-click GOTO + 11016: "ComResponse", // Start wide-angle overlay + 11017: "ComResponse", // Stop wide-angle overlay + 11018: "ResStartEqSolving ", // Start EQ verification + 11019: "ComResponse", // Stop EQ verification + 11020: "ComResponse", // Wide-angle GO LIVE interface + 11021: "ComResponse", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ComResponse", // Stop shooting the dark field with specified parameters + 11023: "ResGetDarkFrameInfoList", // Query the list of recorded dark scenes + 11024: "ResDelDarkFrameList", // Delete the specified dark field list + 11025: "ComResponse", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ComResponse", // Stop shooting dark field with wide-angle specified parameters + 11027: "ResGetWideDarkFrameInfoList", // Query the list of wide-angle dark scenes taken + 11028: "ResDelWideDarkFrameList", // Delete the specified wide-angle dark field list + 12000: "ComResponse", // Turn on the camera + 12001: "ComResponse", // Turn off the camera + 12002: "ComResponse", // Set exposure mode + 12003: "ComResponse", // Acquire exposure mode + 12004: "ComResponse", // Set exposure value + 12005: "ComResponse", // Get exposure value + 12006: "ComResponse", // Set gain + 12007: "ComResponse", // Acquisition gain + 12008: "ComResponse", // Set brightness + 12009: "ComResponse", // Acquire brightness + 12010: "ComResponse", // Set contrast + 12011: "ComResponse", // Get contrast + 12012: "ComResponse", // Set saturation + 12013: "ComResponse", // Acquire saturation + 12014: "ComResponse", // Set tone + 12015: "ComResponse", // Get hue + 12016: "ComResponse", // Set sharpness + 12017: "ComResponse", // Acquire sharpness + 12018: "ComResponse", // Set white balance mode + 12019: "ComResponse", // Acquire white balance mode + 12020: "ComResponse", // Set white balance color temperature + 12021: "ComResponse", // Obtain white balance color temperature + 12022: "ComResponse", // Take photos + 12023: "ComResponse", // Continuous shooting + 12024: "ComResponse", // Stop continuous shooting + 12025: "ComResponse", // Start time-lapse photography + 12026: "ComResponse", // Stop time-lapse photography + 12027: "ResGetAllParams", // Get all parameters + 12028: "ComResponse", // Set all parameters + 12030: "ComResponse", // Start wide recording + 12031: "ComResponse", // Stop wide recording + 13000: "ComResponse", // Set the system time + 13001: "ComResponse", // Set the time zone + 13002: "ComResponse", // Set MTP mode + 13003: "ComResponse", // Set CPU mode + 13004: "ComResponse", // Set HOST SLAVE mode + 13500: "ComResponse", // Turn on the ring light + 13501: "ComResponse", // Turn off the ring light + 13502: "ComResponse", // Shut down + 13503: "ComResponse", // Turn on the battery indicator + 13504: "ComResponse", // Turn off battery indicator = + 13505: "ComResponse", // Restart + 14000: "ResMotor", // Motor motion + 14001: "ResMotor", // Motor motion to + 14002: "ResMotor", // Motor stop + 14003: "ResMotor", // Motor Reset + 14004: "ResMotor", // Motor Change Speed + 14005: "ResMotor", // Motor ChangeDirection + 14006: "ComResponse", // Joystick + 14007: "ComResponse", // Short press the arrow keys with the joystick + 14008: "ComResponse", // Stop joystick + 14009: "ComResponse", // Dual camera linkage + 14010: "ResMotor", // Motor run in pulse + 14011: "ResMotorPosition", // Motor get Position + 14800: "ComResponse", // Started tracking + 14801: "ComResponse", // Stop tracking + 14802: "ComResponse", // Start Sentinel Mode + 14803: "ComResponse", // Stop Sentinel Mode + 14804: "ComResponse", // Start "Multi-Object Tracking" feature + 14805: "ComResponse", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ComResponse", // Start sentinel UFO mode + 14807: "ComResponse", // Stop Sentinel UFO Mode + 14808: "ComResponse", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + 15000: "ComResponse", // Normal mode autofocus + 15001: "ComResponse", // Manual single-step focusing + 15002: "ComResponse", // Start manual continuous focus + 15003: "ComResponse", // Stop manual continuous focus + 15004: "ComResponse", // Start astronomical autofocus + 15005: "ComResponse", // Stop astronomical autofocus + 15500: "ComResponse", // Start panorama + 15501: "ComResponse", // Stop panorama + 15502: "ComResponse", // Start panorama Euler Range +}; +export const notifyMapping = { + 15200: "ResNotifyPictureMatching", // Telephoto wide-angle image matching + 15201: "ComResWithInt", // Battery Notification + 15202: "ComResWithInt", // Charge status notification + 15203: "ResNotifySDcardInfo", // SD card capacity notification + 15204: "ResNotifyRecordTime", // Recording time + 15205: "ResNotifyTimeLapseOutTime", // Telephoto time-lapse photography time + 15206: "ResNotifyOperationState", // Dark field shooting state + 15207: "ResNotifyProgressCaptureRawDark", // Dark field shooting progress + 15208: "ResNotifyOperationState", // Astronomical overlay shooting status + 15209: "ResNotifyProgressCaptureRawLiveStacking", // Astronomical overlay shooting progress + 15210: "ResNotifyStateAstroCalibration", // Astronomical calibration status + 15211: "ResNotifyStateAstroGoto", // Astronomical GOTO status + 15212: "ResNotifyStateAstroTracking", // Astronomical tracking status + 15213: "ResNotifyParam", // Telephoto parameter echo + 15214: "ResNotifyParam", // Wide-angle parametric echo + 15215: "ResNotifyCamFunctionState", // Telephoto functional status + 15216: "ResNotifyCamFunctionState", // Wide-angle functional status + 15217: "ResNotifyParam", // Feature parameter echo + 15218: "ResNotifyBurstProgress", // Telephoto continuous shooting progress + 15219: "ResNotifyPanoramaProgress", // Telephoto panoramic shooting progress + 15220: "ResNotifyBurstProgress", // Wide-angle continuous shooting progress + 15221: "ResNotifyRgbState", // RGB Ring Light Status + 15222: "ResNotifyPowerIndState", // Power indicator status + 15223: "ResNotifyHostSlaveMode", // Leader/follower mode notification + 15224: "ResNotifyMTPState", // MTP mode notification + 15225: "ResNotifyTrackResult", // Tracking result notification + 15226: "ResNotifyTimeLapseOutTime", // Wide-angle time-lapse photography time + 15227: "ResNotifyCPUMode", // CPU mode + 15228: "ResNotifyStateAstroTrackingSpecial", // Sun and moon tracking status + 15229: "ResNotifyPowerOff", // Shutdown notification + 15230: "ResNotifyAlbumUpdate", // New Media Created + 15231: "ResNotifyStateSentryMode", // Sentinel mode status + 15232: "ResNotifyTrackResult", // Sentinel mode tracking box result notification + 15233: "ResNotifyOneClickGotoState", // One-click GOTO status + 15234: "ResNotifyStreamType", // Image type notification + 15235: "ResNotifyRecordTime", // Wide Recording time + 15236: "ResNotifyOperationState", // Astronomical overlay wide shooting status + 15237: "ResNotifyProgressCaptureRawLiveStacking", // Astronomical overlay wide shooting progress + 15238: "ResNotifyMultiTrackResult", // Multi-Object Tracking Result Notification + 15239: "ResNotifyEqSolvingState", // EQ check status + 15240: "ResNotifyStateSentryMode", // Sentinel-UFO Mode Status + 15241: "ResNotifyLongExpPhotoProgress", // Telephoto long exposure progress + 15242: "ResNotifyLongExpPhotoProgress", // Wide-angle long exposure progress + 15243: "ResNotifyTemperature", // Temperature + // CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS = 15244; // + // CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS = 15245; // + // CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE = 15246; // + 15247: "ResNotifyOperationState", // Wide-angle dark field shooting state + 15248: "ResNotifyShootingScheduleResultAndState", // Shooting plan results and status notifications + 15249: "ResNotifyShootingTaskState", // Shooting task status notification + 15250: "ResNotifySkySeacherState", // Sky detection status + // CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT = 15251; // Wide-angle multi-target box result notification + // CMD_NOTIFY_WIDE_TRACK_RESULT = 15252; // Wide-angle single target box result notification + 15257: "ResNotifyFocus", // Focus Position +}; +export const notifyResponseMapping = { + 10000: "ComResponse", // Turn on the camera + 10001: "ComResponse", // Turn off the camera + 10002: "ComResponse", // Take photos + 10003: "ComResponse", // Start continuous shooting + 10004: "ComResponse", // Stop continuous shooting + 10005: "ComResponse", // Start recording + 10006: "ComResponse", // Stop recording + 10007: "ComResponse", // Set exposure mode + 10008: "ComResWithInt", // Acquire exposure mode + 10009: "ComResponse", // Set exposure value + 10010: "ComResWithDouble", // Get exposure value + 10011: "ComResponse", // Set gain mode + 10012: "ComResWithInt", // Acquisition gain mode + 10013: "ComResponse", // Set gain value + 10014: "ComResWithInt", // Get gain value + 10015: "ComResponse", // Set brightness + 10016: "ComResWithInt", // Acquire brightness + 10017: "ComResponse", // Set contrast + 10018: "ComResWithInt", // Get contrast + 10019: "ComResponse", // Set saturation + 10020: "ComResWithInt", // Acquire saturation + 10021: "ComResponse", // Set tone + 10022: "ComResWithInt", // Get hue + 10023: "ComResponse", // Set sharpness + 10024: "ComResWithInt", // Acquire sharpness + 10025: "ComResponse", // Set white balance mode + 10026: "ComResWithInt", // Acquire white balance mode + 10027: "ComResponse", // Set white balance scene + 10028: "ComResWithInt", // Get white balance scene + 10029: "ComResponse", // Set the white balance color temperature value + 10030: "ComResWithInt", // Obtain the white balance color temperature value + 10031: "ComResponse", // Set IRCUT + 10032: "ComResWithInt", // Get IRCUT status + 10033: "ComResponse", // Start time-lapse photography + 10034: "ComResponse", // Stop time-lapse photography + 10035: "ComResponse", // Set all parameters + 10036: "ResGetAllParams", // Get all parameters + 10037: "ComResponse", // Set feature parameters + 10038: "ResGetAllFeatureParams", // Get all feature parameters + 10039: "ComResponse", // Get the working status of the whole machine + 10040: "ComResponse", // Set jpg preview quality + 10041: "ComResWithInt", // Shoot RAW image + 10042: "ComResponse", // Set rtsp preview bit rate type + 11000: "ComResponse", // Start calibration + 11001: "ComResponse", // Stop calibration + 11002: "ComResponse", // Start GOTO Deep Space Object + 11003: "ComResponse", // Start GOTO Solar System Target + 11004: "ComResponse", // Stop GOTO + 11005: "ComResponse", // Start stacking + 11006: "ComResponse", // Stop overlay + 11007: "ComResponse", // Start shooting dark scenes + 11008: "ComResponse", // Stop filming darkfield + 11009: "ResCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ComResponse", // GO LIVE interface + 11011: "ComResponse", // Start tracking the sun and moon + 11012: "ComResponse", // Stop tracking the sun and moon + 11013: "ResOneClickGoto", // One-click GOTO deep space celestial body + 11014: "ResOneClickGoto", // One-click GOTO solar system target + 11015: "ComResponse", // Stop one-click GOTO + 11016: "ComResponse", // Start wide-angle overlay + 11017: "ComResponse", // Stop wide-angle overlay + 11018: "ResStartEqSolving", // Start EQ verification + 11019: "ComResponse", // Stop EQ verification + 11020: "ComResponse", // Wide-angle GO LIVE interface + 11021: "ComResponse", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ComResponse", // Stop shooting the dark field with specified parameters + 11023: "ResGetDarkFrameInfoList", // Query the list of recorded dark scenes + 11024: "ResDelDarkFrameList", // Delete the specified dark field list + 11025: "ComResponse", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ComResponse", // Stop shooting dark field with wide-angle specified parameters + 11027: "ResGetWideDarkFrameInfoList", // Query the list of wide-angle dark scenes taken + 11028: "ResDelWideDarkFrameList", // Delete the specified wide-angle dark field list + 12000: "ComResponse", // Turn on the camera + 12001: "ComResponse", // Turn off the camera + 12002: "ComResponse", // Set exposure mode + 12003: "ComResWithInt", // Acquire exposure mode + 12004: "ComResponse", // Set exposure value + 12005: "ComResWithDouble", // Get exposure value + 12006: "ComResponse", // Set gain + 12007: "ComResWithInt", // Acquisition gain + 12008: "ComResponse", // Set brightness + 12009: "ComResWithInt", // Acquire brightness + 12010: "ComResponse", // Set contrast + 12011: "ComResWithInt", // Get contrast + 12012: "ComResponse", // Set saturation + 12013: "ComResWithInt", // Acquire saturation + 12014: "ComResponse", // Set tone + 12015: "ComResWithInt", // Get hue + 12016: "ComResponse", // Set sharpness + 12017: "ComResWithInt", // Acquire sharpness + 12018: "ComResponse", // Set white balance mode + 12019: "ComResWithInt", // Acquire white balance mode + 12020: "ComResponse", // Set white balance color temperature + 12021: "ComResWithInt", // Obtain white balance color temperature + 12022: "ComResponse", // Take photos + 12023: "ComResponse", // Continuous shooting + 12024: "ComResponse", // Stop continuous shooting + 12025: "ComResponse", // Start time-lapse photography + 12026: "ComResponse", // Stop time-lapse photography + 12027: "ResGetAllParams", // Get all parameters + 12028: "ComResponse", // Set all parameters + 12030: "ComResponse", // Start wide recording + 12031: "ComResponse", // Stop wide recording + 13000: "ComResponse", // Set the system time + 13001: "ComResponse", // Set the time zone + 13002: "ComResponse", // Set MTP mode + 13003: "ComResponse", // Set CPU mode + 13004: "ComResponse", // Set HOST SLAVE mode + 13500: "ComResponse", // Turn on the ring light + 13501: "ComResponse", // Turn off the ring light + 13502: "ComResponse", // Shut down + 13503: "ComResponse", // Turn on the battery indicator + 13504: "ComResponse", // Turn off battery indicator = + 13505: "ComResponse", // Restart + 14000: "ReqMotorRun", // Motor motion + 14001: "ResMotorPosition", // Motor motion to + 14002: "ResMotor", // Motor stop + 14003: "ResMotor", // Motor Reset + 14004: "ResMotor", // Motor Change Speed + 14005: "ResMotor", // Motor ChangeDirection + 14006: "ComResponse", // Joystick + 14007: "ComResponse", // Short press the arrow keys with the joystick + 14008: "ComResponse", // Stop joystick + 14009: "ComResponse", // Dual camera linkage + 14010: "ResMotor", // Motor run in pulse + 14011: "ResMotorPosition", // Motor get Position + 14800: "ComResponse", // Started tracking + 14801: "ComResponse", // Stop tracking + 14802: "ComResponse", // Start Sentinel Mode (Pack + 14803: "ComResponse", // Stop Sentinel Mode + 14804: "ComResponse", // Start "Multi-Object Tracking" feature + 14805: "ComResponse", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ComResponse", // Start sentinel UFO mode + 14807: "ComResponse", // Stop Sentinel UFO Mode + 14808: "ComResponse", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + 15000: "ComResponse", // Normal mode autofocus + 15001: "ComResponse", // Manual single-step focusing + 15002: "ComResponse", // Start manual continuous focus + 15003: "ComResponse", // Stop manual continuous focus + 15004: "ComResponse", // Start astronomical autofocus + 15005: "ComResponse", // Stop astronomical autofocus + 15500: "ComResponse", // Start panorama + 15501: "ComResponse", // Stop panorama + 15502: "ComResponse", // Start panorama Euler Range +}; +const classStateMappings = { + "Dwarfii_Api.ResNotifyStateAstroGoto:0": "ASTRO_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroCalibration:0": "ASTRO_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroTracking:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroTrackingSpecial:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyOperationState:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyCamFunctionState:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyRgbState:0": "OFF", + "Dwarfii_Api.ResNotifyRgbState:1": "ON", + "Dwarfii_Api.ResNotifyPowerIndState:0": "OFF", + "Dwarfii_Api.ResNotifyPowerIndState:1": "ON", +}; +const classModeMappings = { + "Dwarfii_Api.ResNotifyHostSlaveMode:0": "HOST", + "Dwarfii_Api.ResNotifyHostSlaveMode:1": "SLAVE", + "Dwarfii_Api.ResNotifyMTPState:0": "OFF", + "Dwarfii_Api.Dwarfii_Api.ResNotifyMTPState:1": "ON", + "Dwarfii_Api.ResNotifyCPUMode:0": "Normal", + "Dwarfii_Api.ResNotifyCPUMode:1": "Performance", + "Dwarfii_Api.ReqSetExpMod:0": "Auto", + "Dwarfii_Api.ReqSetExpMod:1": "Manual", + "Dwarfii_Api.ReqSetGainMode:0": "Auto", + "Dwarfii_Api.ReqSetGainMode:1": "Manual", + "Dwarfii_Api.ReqSetIrCut:0": "CUT", + "Dwarfii_Api.ReqSetIrCut:1": "PASS", + "Dwarfii_Api.ReqSetWBMode:0": "ColorTemperature", + "Dwarfii_Api.ReqSetWBMode:1": "SceneMode", + "Dwarfii_Api.ReqAstroAutoFocus:0": "Auto", + "Dwarfii_Api.ReqAstroAutoFocus:1": "Manual", + "Dwarfii_Api.Dwarfii_Api.ReqSetMtpMode:0": "OFF", + "Dwarfii_Api.ReqSetMtpMode:1": "ON", + "Dwarfii_Api.ReqSetCpuMode:0": "Normal", + "Dwarfii_Api.ReqSetCpuMode:1": "Performance", + "Dwarfii_Api.ReqSetHostSlaveMode:0": "HOST", + "Dwarfii_Api.ReqSetHostSlaveMode:1": "SLAVE", +}; +export function getClassStateMappings(className, value) { + const key = `${className + ":" + value}`; + return classStateMappings[key] || ""; +} +export function getClassModeMappings(className, value) { + const key = `${className + ":" + value}`; + return classModeMappings[key] || ""; +} diff --git a/dist/src/focus.d.ts b/dist/src/focus.d.ts new file mode 100644 index 00000000..3ce64e8b --- /dev/null +++ b/dist/src/focus.d.ts @@ -0,0 +1,46 @@ +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_FOCUS ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 3.8.3 Normal autofocus + * Create Encoded Packet for the command CMD_FOCUS_AUTO_FOCUS + * @param {number} mode ; //0: global focus 1: area focus + * @param {number} center_x ; //Area focus x coordinates + * @param {number} center_y ; //Area focus y coordinates + * @returns {Uint8Array} + */ +export function messageFocusAutoFocus(mode: number, center_x: number, center_y: number): Uint8Array; +/** + * Create Encoded Packet for the command CMD_FOCUS_START_ASTRO_AUTO_FOCUS + * 3.8.4 Start astronomical autofocus + * @param {number} mode ; 0: slow focus; 1: fast focus + * @returns {Uint8Array} + */ +export function messageFocusStartAstroAutoFocus(mode: number): Uint8Array; +/** + * 3.8.5 Stop astronomical autofocus + * Create Encoded Packet for the command CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopAstroAutoFocus(): Uint8Array; +/** + * 3.8.6 Manual single-step focusing + * Create Encoded Packet for the command CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusManualSingleStepFocus(direction: number): Uint8Array; +/** + * 3.8.7 Start manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_START_MANUAL_CONTINU_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusStartManualContinuFocus(direction: number): Uint8Array; +/** + * 3.8.8 Stop manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopManualContinuFocus(binning?: boolean): Uint8Array; +//# sourceMappingURL=focus.d.ts.map \ No newline at end of file diff --git a/dist/src/focus.d.ts.map b/dist/src/focus.d.ts.map new file mode 100644 index 00000000..fba5e3bd --- /dev/null +++ b/dist/src/focus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["../../src/focus.js"],"names":[],"mappings":"AAOA,wDAAwD;AACxD,wDAAwD;AACxD,wDAAwD;AACxD;;;;;;;GAOG;AACH,4CALW,MAAM,YACN,MAAM,YACN,MAAM,GACJ,UAAU,CAqBtB;AACD;;;;;GAKG;AACH,sDAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,kDAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,6DAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,+DAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,uEAFa,UAAU,CAiBtB"} \ No newline at end of file diff --git a/dist/src/focus.js b/dist/src/focus.js new file mode 100644 index 00000000..39985500 --- /dev/null +++ b/dist/src/focus.js @@ -0,0 +1,133 @@ +/** @module focus */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_FOCUS ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 3.8.3 Normal autofocus + * Create Encoded Packet for the command CMD_FOCUS_AUTO_FOCUS + * @param {number} mode ; //0: global focus 1: area focus + * @param {number} center_x ; //Area focus x coordinates + * @param {number} center_y ; //Area focus y coordinates + * @returns {Uint8Array} + */ +export function messageFocusAutoFocus(mode, center_x, center_y) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + mode: mode, + centerX: center_x, + centerY: center_y, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * Create Encoded Packet for the command CMD_FOCUS_START_ASTRO_AUTO_FOCUS + * 3.8.4 Start astronomical autofocus + * @param {number} mode ; 0: slow focus; 1: fast focus + * @returns {Uint8Array} + */ +export function messageFocusStartAstroAutoFocus(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_ASTRO_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.5 Stop astronomical autofocus + * Create Encoded Packet for the command CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopAstroAutoFocus() { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.6 Manual single-step focusing + * Create Encoded Packet for the command CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusManualSingleStepFocus(direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ direction: direction }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.7 Start manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_START_MANUAL_CONTINU_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusStartManualContinuFocus(direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_MANUAL_CONTINU_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ direction: direction }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.8 Stop manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopManualContinuFocus(binning = false) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/image_transmission.d.ts b/dist/src/image_transmission.d.ts deleted file mode 100644 index 9d49a236..00000000 --- a/dist/src/image_transmission.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 3.1.1 Turn on the camera - * @param {number} binning - * @param {number} camera - * @returns {Object} - */ -export function turnOnCamera(binning?: number, camera?: number): any; -/** - * 3.1.2 Turn off the camera - * @param {number} camera - * @returns {Object} - */ -export function turnOffCamera(camera?: number): any; -/** - * 3.1.4 Set preview image quality - * @param {number} previewQuality - * @returns {Object} - */ -export function setPreviewImageQuality(previewQuality: number): any; -//# sourceMappingURL=image_transmission.d.ts.map \ No newline at end of file diff --git a/dist/src/image_transmission.d.ts.map b/dist/src/image_transmission.d.ts.map deleted file mode 100644 index e9091a8c..00000000 --- a/dist/src/image_transmission.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"image_transmission.d.ts","sourceRoot":"","sources":["../../src/image_transmission.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,uCAJW,MAAM,WACN,MAAM,OAUhB;AAED;;;;GAIG;AACH,uCAHW,MAAM,OAMhB;AAED;;;;GAIG;AACH,uDAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/image_transmission.js b/dist/src/image_transmission.js deleted file mode 100644 index 572c9df3..00000000 --- a/dist/src/image_transmission.js +++ /dev/null @@ -1,38 +0,0 @@ -/** @module image_transmission */ -import { telephotoCamera, binning2x2, turnOnCameraCmd, turnOffCameraCmd, previewImageQuality, } from "./api_codes.js"; -/** - * 3.1.1 Turn on the camera - * @param {number} binning - * @param {number} camera - * @returns {Object} - */ -export function turnOnCamera(binning = binning2x2, camera = telephotoCamera) { - const options = { - interface: turnOnCameraCmd, - camId: camera, - binning: binning, - }; - return options; -} -/** - * 3.1.2 Turn off the camera - * @param {number} camera - * @returns {Object} - */ -export function turnOffCamera(camera = telephotoCamera) { - const options = { interface: turnOffCameraCmd, camId: camera }; - return options; -} -/** - * 3.1.4 Set preview image quality - * @param {number} previewQuality - * @returns {Object} - */ -export function setPreviewImageQuality(previewQuality) { - // previewQuality value: 30-85 - const options = { - interface: previewImageQuality, - value: previewQuality, - }; - return options; -} diff --git a/dist/src/motion_control.d.ts b/dist/src/motion_control.d.ts deleted file mode 100644 index 201ad50b..00000000 --- a/dist/src/motion_control.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * 5.1 Start - * @param {number} motor - * @param {number} mode - * @param {number} mStep - * @param {number} speed - * @param {number} direction - * @param {number} pulse - * @param {number} accelStep - * @returns {Object} - */ -export function startMotion(motor: number, mode: number, mStep: number, speed: number, direction: number, pulse: number, accelStep: number): any; -/** - * 5.2 Stop - * @param {number} motor - * @param {number} decelStep - * @returns {Object} - */ -export function stopMotion(motor: number, decelStep: number): any; -/** - * 5.3 Set speed - * @param {number} motor - * @param {number} speed - * @param {number} accelStep - * @param {number} trend - * @returns {Object} - */ -export function setSpeed(motor: number, speed: number, accelStep: number, trend: number): any; -/** - * 5.4 Set direction - * @param {number} motor - * @param {number} direction - * @returns {Object} - */ -export function setDirection(motor: number, direction: number): any; -/** - * 5.5 Set subdivide - * @param {number} motor - * @param {number} mStep - * @returns {Object} - */ -export function setSubdivide(motor: number, mStep: number): any; -//# sourceMappingURL=motion_control.d.ts.map \ No newline at end of file diff --git a/dist/src/motion_control.d.ts.map b/dist/src/motion_control.d.ts.map deleted file mode 100644 index 9f3ae14c..00000000 --- a/dist/src/motion_control.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"motion_control.d.ts","sourceRoot":"","sources":["../../src/motion_control.js"],"names":[],"mappings":"AAUA;;;;;;;;;;GAUG;AACH,mCATW,MAAM,QACN,MAAM,SACN,MAAM,SACN,MAAM,aACN,MAAM,SACN,MAAM,aACN,MAAM,OAiChB;AAED;;;;;GAKG;AACH,kCAJW,MAAM,aACN,MAAM,OAYhB;AAED;;;;;;;GAOG;AACH,gCANW,MAAM,SACN,MAAM,aACN,MAAM,SACN,MAAM,OAehB;AAED;;;;;GAKG;AACH,oCAJW,MAAM,aACN,MAAM,OAWhB;AAED;;;;;GAKG;AACH,oCAJW,MAAM,SACN,MAAM,OAWhB"} \ No newline at end of file diff --git a/dist/src/motion_control.js b/dist/src/motion_control.js deleted file mode 100644 index a89719b3..00000000 --- a/dist/src/motion_control.js +++ /dev/null @@ -1,100 +0,0 @@ -/** @module motion_control */ -import { startMotionCmd, stopMotionCmd, setSpeedCmd, setDirectionCmd, setSubdivideCmd, } from "./api_codes.js"; -/** - * 5.1 Start - * @param {number} motor - * @param {number} mode - * @param {number} mStep - * @param {number} speed - * @param {number} direction - * @param {number} pulse - * @param {number} accelStep - * @returns {Object} - */ -export function startMotion(motor, mode, mStep, speed, direction, pulse, accelStep) { - // motor: 1:spin 2:pitch - // mode: 1:continuous mode 2:pulse mode - // mStep: 1 2 4 8 16 32 64 128 256 - // speed: range:0-65536(1-50000&&<1000*mStep) - // direction: 0:anticlockwise 1:clockwise - // pulse: range:>=2(mStep<=32)>=5(mStep>32) - // accelStep: 0-1000 - const options = { - interface: startMotionCmd, - id: motor, - mode, - mStep, - speed, - accelStep, - direction, - pulse, - }; - return options; -} -/** - * 5.2 Stop - * @param {number} motor - * @param {number} decelStep - * @returns {Object} - */ -export function stopMotion(motor, decelStep) { - // motor: 1:spin 2:pitch - // decelStep: 0-1000 - const options = { - interface: stopMotionCmd, - id: motor, - decelStep, - }; - return options; -} -/** - * 5.3 Set speed - * @param {number} motor - * @param {number} speed - * @param {number} accelStep - * @param {number} trend - * @returns {Object} - */ -export function setSpeed(motor, speed, accelStep, trend) { - // speed: 0-50000 - // accelStep: 0-1000 - // trend: 0:decelerate 1:accelerate - const options = { - interface: setSpeedCmd, - id: motor, - speed, - accelStep, - trend, - }; - return options; -} -/** - * 5.4 Set direction - * @param {number} motor - * @param {number} direction - * @returns {Object} - */ -export function setDirection(motor, direction) { - // direction: 0:anticlockwise 1:clockwise - const options = { - interface: setDirectionCmd, - id: motor, - direction, - }; - return options; -} -/** - * 5.5 Set subdivide - * @param {number} motor - * @param {number} mStep - * @returns {Object} - */ -export function setSubdivide(motor, mStep) { - // 1 2 4 8 16 32 64 128 256 - const options = { - interface: setSubdivideCmd, - id: motor, - mStep, - }; - return options; -} diff --git a/dist/src/motor.d.ts b/dist/src/motor.d.ts new file mode 100644 index 00000000..d0cc3fd4 --- /dev/null +++ b/dist/src/motor.d.ts @@ -0,0 +1,107 @@ +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_MOTOR ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 4.13.3 Motor motion + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN + * @param {number} id ; //1 : Rotation axis 2: Pitch axis + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {boolean} direction ; //0: left/down 1: right/up + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + // Subdivision: + // 0:256 Subdivision + // 1:128 Subdivision + // 2:64 Subdivision + // 3:32 Subdivision + // 4:16 Subdivision + // 5:8 Subdivision + // 6:4 Subdivision + // 7:2 Subdivision + // 8:1 Subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotion(id: number, speed: number, direction: boolean, speed_ramping: number, resolution_level: number): Uint8Array; +/** + * Create Encoded Packet for the command CMD_STEP_MOTOR_STOP + * 4.13.4 Motor stop + * @param {number} id ; //0: Rotation axis 1: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorStop(id: number): Uint8Array; +/** + * 4.13.5 Joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + + */ +export function messageStepMotorServiceJoystick(vector_angle: number, vector_length: number, speed: number): Uint8Array; +/** + * 4.13.6 Short press the arrow keys with the joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickFixedAngle(vector_angle: number, vector_length: number, speed: number): Uint8Array; +/** + * 4.13.7 Stop joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickStop(): Uint8Array; +/** + * 4.13.8 Dual camera linkage + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE + * @param {number} x ; + * @param {number} y ; + * @returns {Uint8Array} + */ +export function messageStepMotorServiceDualCameraLinkage(x: number, y: number): Uint8Array; +/** + * 4.13.9 Motor Run To (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN_TO + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} end_position ; + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotionTo(id: number, end_position: number, speed: number, speed_ramping: number, resolution_level: number): Uint8Array; +/** + * 4.13.10 Motor Reset (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RESET + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction; //2 : 0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorReset(id: number, direction: boolean): Uint8Array; +/** + * 4.13.11 Motor Change Speed (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_SPEED + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} speed; //2 : 5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @returns {Uint8Array} + */ +export function messageStepMotorChangeSpeed(id: number, speed: number): Uint8Array; +/** + * 4.13.12 Motor Change direction (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_DIRECTION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction ; //0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorChangeDirection(id: number, direction: boolean): Uint8Array; +/** + * 4.13.14 Motor Get Position (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_GET_POSITION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorGetPosition(id: number): Uint8Array; +//# sourceMappingURL=motor.d.ts.map \ No newline at end of file diff --git a/dist/src/motor.d.ts.map b/dist/src/motor.d.ts.map new file mode 100644 index 00000000..8cf5f89d --- /dev/null +++ b/dist/src/motor.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"motor.d.ts","sourceRoot":"","sources":["../../src/motor.js"],"names":[],"mappings":"AAOA,wDAAwD;AACxD,wDAAwD;AACxD,wDAAwD;AACxD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2CAjBW,MAAM,SACN,MAAM,aACN,OAAO,iBACP,MAAM,oBACN,MAAM,GAWH,UAAU,CA6BvB;AACD;;;;;GAKG;AACH,yCAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;;;;;GAQG;AACH,8DANW,MAAM,iBACN,MAAM,SACN,MAAM,GACJ,UAAU,CA0BtB;AACD;;;;;;;GAOG;AACH,wEALW,MAAM,iBACN,MAAM,SACN,MAAM,GACJ,UAAU,CA0BtB;AACD;;;;GAIG;AACH,uDAFa,UAAU,CAiBtB;AACD;;;;;;GAMG;AACH,4DAJW,MAAM,KACN,MAAM,GACJ,UAAU,CAkBtB;AACD;;;;;;;;;GASG;AACH,6CAPW,MAAM,gBACN,MAAM,SACN,MAAM,iBACN,MAAM,oBACN,MAAM,GACJ,UAAU,CA6BtB;AACD;;;;;;GAMG;AACH,0CAJW,MAAM,aACN,OAAO,GACL,UAAU,CAoBtB;AACD;;;;;;GAMG;AACH,gDAJW,MAAM,SACN,MAAM,GACJ,UAAU,CAoBtB;AACD;;;;;;GAMG;AACH,oDAJW,MAAM,aACN,OAAO,GACL,UAAU,CAoBtB;AACD;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,UAAU,CAmBtB"} \ No newline at end of file diff --git a/dist/src/motor.js b/dist/src/motor.js new file mode 100644 index 00000000..c324ac22 --- /dev/null +++ b/dist/src/motor.js @@ -0,0 +1,286 @@ +/** @module motor */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_MOTOR ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 4.13.3 Motor motion + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN + * @param {number} id ; //1 : Rotation axis 2: Pitch axis + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {boolean} direction ; //0: left/down 1: right/up + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + // Subdivision: + // 0:256 Subdivision + // 1:128 Subdivision + // 2:64 Subdivision + // 3:32 Subdivision + // 4:16 Subdivision + // 5:8 Subdivision + // 6:4 Subdivision + // 7:2 Subdivision + // 8:1 Subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotion(id, speed, direction, speed_ramping, resolution_level) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + speed: speed, + direction: direction, + speedRamping: speed_ramping, + resolutionLevel: resolution_level, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * Create Encoded Packet for the command CMD_STEP_MOTOR_STOP + * 4.13.4 Motor stop + * @param {number} id ; //0: Rotation axis 1: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorStop(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ id: id }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.5 Joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + + */ +export function messageStepMotorServiceJoystick(vector_angle, vector_length, speed) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + vectorAngle: vector_angle, + vectorLength: vector_length, + speed: speed, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.6 Short press the arrow keys with the joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickFixedAngle(vector_angle, vector_length, speed) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + vectorAngle: vector_angle, + vectorLength: vector_length, + speed: speed, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.7 Stop joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.8 Dual camera linkage + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE + * @param {number} x ; + * @param {number} y ; + * @returns {Uint8Array} + */ +export function messageStepMotorServiceDualCameraLinkage(x, y) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ x: x, y: y }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.9 Motor Run To (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN_TO + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} end_position ; + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotionTo(id, end_position, speed, speed_ramping, resolution_level) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN_TO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + endPosition: end_position, + speed: speed, + speedRamping: speed_ramping, + resolutionLevel: resolution_level, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.10 Motor Reset (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RESET + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction; //2 : 0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorReset(id, direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RESET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + direction: direction, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.11 Motor Change Speed (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_SPEED + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} speed; //2 : 5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @returns {Uint8Array} + */ +export function messageStepMotorChangeSpeed(id, speed) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_SPEED; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + speed: speed, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.12 Motor Change direction (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_DIRECTION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction ; //0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorChangeDirection(id, direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_DIRECTION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + direction: direction, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.14 Motor Get Position (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_GET_POSITION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorGetPosition(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_GET_POSITION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/panorama.d.ts b/dist/src/panorama.d.ts new file mode 100644 index 00000000..4a91e576 --- /dev/null +++ b/dist/src/panorama.d.ts @@ -0,0 +1,24 @@ +/*** ------------------------------------------------ ***/ +/*** ---------------- MODULE PANORAMA---------------- ***/ +/*** ------------------------------------------------ ***/ +/** + * 3.15.3 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_GRID + * @returns {Uint8Array} + */ +export function messagePanoramaStartGrid(): Uint8Array; +/** + * 3.15.4 Stop Panorama + * Create Encoded Packet for the command CMD_PANORAMA_STOP + * @returns {Uint8Array} + */ +export function messagePanoramaStop(): Uint8Array; +/** + * 3.15.5 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_EULER_RANGE + * @param {number} yaw_range ; // yaw range + * @param {number} pitch_range ; // pitch range + * @returns {Uint8Array} + */ +export function messagePanoramaStartPanoramaByEulerRange(yaw_range: number, pitch_range: number): Uint8Array; +//# sourceMappingURL=panorama.d.ts.map \ No newline at end of file diff --git a/dist/src/panorama.d.ts.map b/dist/src/panorama.d.ts.map new file mode 100644 index 00000000..0095a7e9 --- /dev/null +++ b/dist/src/panorama.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"panorama.d.ts","sourceRoot":"","sources":["../../src/panorama.js"],"names":[],"mappings":"AAOA,0DAA0D;AAC1D,0DAA0D;AAC1D,0DAA0D;AAC1D;;;;GAIG;AACH,4CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,uCAFa,UAAU,CAiBtB;AACD;;;;;;GAMG;AACH,oEAJW,MAAM,eACN,MAAM,GACJ,UAAU,CAuBtB"} \ No newline at end of file diff --git a/dist/src/panorama.js b/dist/src/panorama.js new file mode 100644 index 00000000..3fc6b73c --- /dev/null +++ b/dist/src/panorama.js @@ -0,0 +1,71 @@ +/** @module panorama */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ------------------------------------------------ ***/ +/*** ---------------- MODULE PANORAMA---------------- ***/ +/*** ------------------------------------------------ ***/ +/** + * 3.15.3 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_GRID + * @returns {Uint8Array} + */ +export function messagePanoramaStartGrid() { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_GRID; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.15.4 Stop Panorama + * Create Encoded Packet for the command CMD_PANORAMA_STOP + * @returns {Uint8Array} + */ +export function messagePanoramaStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.15.5 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_EULER_RANGE + * @param {number} yaw_range ; // yaw range + * @param {number} pitch_range ; // pitch range + * @returns {Uint8Array} + */ +export function messagePanoramaStartPanoramaByEulerRange(yaw_range, pitch_range) { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_EULER_RANGE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + yawRange: yaw_range, + pitchRange: pitch_range, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/panoramic.d.ts b/dist/src/panoramic.d.ts deleted file mode 100644 index 4930279d..00000000 --- a/dist/src/panoramic.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * 4.3.1 Start panorama - * @param {number} numRows - * @param {number} numColumns - * @param {number} mStep1 - * @param {number} mStep2 - * @param {number} speed1 - * @param {number} speed2 - * @param {number} pulse1 - * @param {number} pulse2 - * @param {number} accelStep1 - * @param {number} accelStep2 - * @returns {Object} - */ -export function startPano(numRows: number, numColumns: number, mStep1: number, mStep2: number, speed1: number, speed2: number, pulse1: number, pulse2: number, accelStep1: number, accelStep2: number): any; -/** - * 4.3.2 Stop panorama - * @returns {Object} - */ -export function stopPano(): any; -//# sourceMappingURL=panoramic.d.ts.map \ No newline at end of file diff --git a/dist/src/panoramic.d.ts.map b/dist/src/panoramic.d.ts.map deleted file mode 100644 index b496abc1..00000000 --- a/dist/src/panoramic.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"panoramic.d.ts","sourceRoot":"","sources":["../../src/panoramic.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,mCAZW,MAAM,cACN,MAAM,UACN,MAAM,UACN,MAAM,UACN,MAAM,UACN,MAAM,UACN,MAAM,UACN,MAAM,cACN,MAAM,cACN,MAAM,OAkChB;AAED;;;GAGG;AACH,gCAKC"} \ No newline at end of file diff --git a/dist/src/panoramic.js b/dist/src/panoramic.js deleted file mode 100644 index 58a67304..00000000 --- a/dist/src/panoramic.js +++ /dev/null @@ -1,48 +0,0 @@ -/** @module panoramic */ -import { startPanoCmd, stopPanoCmd } from "./api_codes.js"; -import { nowLocalFileName } from "./api_utils.js"; -/** - * 4.3.1 Start panorama - * @param {number} numRows - * @param {number} numColumns - * @param {number} mStep1 - * @param {number} mStep2 - * @param {number} speed1 - * @param {number} speed2 - * @param {number} pulse1 - * @param {number} pulse2 - * @param {number} accelStep1 - * @param {number} accelStep2 - * @returns {Object} - */ -export function startPano(numRows, numColumns, mStep1, mStep2, speed1, speed2, pulse1, pulse2, accelStep1, accelStep2) { - // mStep 1 2 4 8 16 32 64 128 256 - // speed 0-1000*mStep - // pulse >=2 - // accelStep 0-1000 - const options = { - interface: startPanoCmd, - row: numRows, - col: numColumns, - mStep1, - mStep2, - speed1, - speed2, - pulse1, - pulse2, - imgPath: `DWARF_${nowLocalFileName()}`, - accelStep1, - accelStep2, - }; - return options; -} -/** - * 4.3.2 Stop panorama - * @returns {Object} - */ -export function stopPano() { - const options = { - interface: stopPanoCmd, - }; - return options; -} diff --git a/dist/src/photo_video.d.ts b/dist/src/photo_video.d.ts deleted file mode 100644 index 1fc60642..00000000 --- a/dist/src/photo_video.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * 3.2.1 Photograph - * @param {number} camera - * @param {number} photoMode - * @param {number} count - * @param {string} name - * @returns {Object} - */ -export function takePhoto(camera?: number, photoMode?: number, count?: number, name?: string): any; -/** - * 3.2.2 Start recording - * @param {string} name - * @returns {Object} - */ -export function startVideo(name?: string): any; -/** - * 3.2.3 Stop recording - * @returns {Object} - */ -export function stopVideo(): any; -/** - * 3.2.4 Start time lapse photography - * @param {number} intervalTime - * @param {number} outTime - * @param {string} name - * @returns {Object} - */ -export function startTimeLapse(intervalTime: number, outTime: number, name?: string): any; -/** - * 3.2.5 Stop time-lapse photography - * @returns {Object} - */ -export function stopTimeLapse(): any; -//# sourceMappingURL=photo_video.d.ts.map \ No newline at end of file diff --git a/dist/src/photo_video.d.ts.map b/dist/src/photo_video.d.ts.map deleted file mode 100644 index c35d010b..00000000 --- a/dist/src/photo_video.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"photo_video.d.ts","sourceRoot":"","sources":["../../src/photo_video.js"],"names":[],"mappings":"AAaA;;;;;;;GAOG;AACH,mCANW,MAAM,cACN,MAAM,UACN,MAAM,SACN,MAAM,OAiBhB;AAED;;;;GAIG;AACH,kCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,iCAMC;AAED;;;;;;GAMG;AACH,6CALW,MAAM,WACN,MAAM,SACN,MAAM,OAiBhB;AAED;;;GAGG;AACH,qCAMC"} \ No newline at end of file diff --git a/dist/src/photo_video.js b/dist/src/photo_video.js deleted file mode 100644 index f8c2f5a8..00000000 --- a/dist/src/photo_video.js +++ /dev/null @@ -1,74 +0,0 @@ -/** @module photo_video */ -import { telephotoCamera, photoSingleShot, takePhotoCmd, startRecordingCmd, stopRecordingCmd, startTimelapseCmd, stopTimelapseCmd, } from "./api_codes.js"; -import { nowLocalFileName } from "./api_utils.js"; -/** - * 3.2.1 Photograph - * @param {number} camera - * @param {number} photoMode - * @param {number} count - * @param {string} name - * @returns {Object} - */ -export function takePhoto(camera = telephotoCamera, photoMode = photoSingleShot, count = 1, name = `DWARF_${nowLocalFileName()}`) { - const options = { - interface: takePhotoCmd, - camId: camera, - mode: photoMode, - count: count, - name: name, - }; - return options; -} -/** - * 3.2.2 Start recording - * @param {string} name - * @returns {Object} - */ -export function startVideo(name = `DWARF_${nowLocalFileName()}`) { - const options = { - interface: startRecordingCmd, - camId: telephotoCamera, - name: name, - }; - return options; -} -/** - * 3.2.3 Stop recording - * @returns {Object} - */ -export function stopVideo() { - const options = { - interface: stopRecordingCmd, - camId: telephotoCamera, - }; - return options; -} -/** - * 3.2.4 Start time lapse photography - * @param {number} intervalTime - * @param {number} outTime - * @param {string} name - * @returns {Object} - */ -export function startTimeLapse(intervalTime, outTime, name = `DWARF_TL_${nowLocalFileName()}`) { - // intervalTime value: 1s-60s - const options = { - interface: startTimelapseCmd, - camId: telephotoCamera, - interval: intervalTime, - outTime: outTime, - name: name, - }; - return options; -} -/** - * 3.2.5 Stop time-lapse photography - * @returns {Object} - */ -export function stopTimeLapse() { - const options = { - interface: stopTimelapseCmd, - camId: telephotoCamera, - }; - return options; -} diff --git a/dist/src/proto/astro.proto b/dist/src/proto/astro.proto new file mode 100644 index 00000000..417cd69a --- /dev/null +++ b/dist/src/proto/astro.proto @@ -0,0 +1,237 @@ +syntax = "proto3"; + +// 开始校准 +message ReqStartCalibration { + +} + +// 停止校准 +message ReqStopCalibration { + +} + +// Goto深空天体 +message ReqGotoDSO { + double ra = 1; + double dec = 2; + string target_name = 3; +} + +// Goto太阳系 +message ReqGotoSolarSystem { + int32 index = 1; + double lon = 2; + double lat = 3; + string target_name = 4; +} + +// 停止Goto +message ReqStopGoto { + +} + +// 开始叠图 +message ReqCaptureRawLiveStacking { + +} + +// 停止叠图 +message ReqStopCaptureRawLiveStacking { + +} + +// 查询暗场进度 +message ReqCheckDarkFrame { + +} + +// 暗场进度返回 +message ResCheckDarkFrame { + int32 progress = 1; + int32 code = 2; +} + +// 开始拍摄暗场 +message ReqCaptureDarkFrame { + int32 reshoot = 1; +} + +// 停止拍摄暗场 +message ReqStopCaptureDarkFrame { + +} + +// 开始拍摄暗场带参数 +message ReqCaptureDarkFrameWithParam { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + int32 cap_size = 4; +} + +// 停止拍摄暗场 +message ReqStopCaptureDarkFrameWithParam { + +} + +// 获取暗场信息list +message ReqGetDarkFrameList { +} + +// 获取到的暗场信息 +message ResGetDarkFrameInfo { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + string exp_name = 4; + string gain_name = 5; + string bin_name = 6; + int32 temperature = 7; +} + +// 获取的暗场list +message ResGetDarkFrameInfoList { + int32 code = 1; + repeated ResGetDarkFrameInfo results = 2; +} + +// 删除暗场 +message ReqDelDarkFrame { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; +} + +// 删除暗场list +message ReqDelDarkFrameList { + repeated ReqDelDarkFrame dark_list = 1; +} + +// 删除暗场的结果返回 +message ResDelDarkFrameList { + int32 code = 1; +} + +// GO LIVE接口 +message ReqGoLive { + +} + +// 开始日月跟踪 +message ReqTrackSpecialTarget { + int32 index = 1; + double lon = 2; + double lat = 3; +} + +// 停止日月跟踪 +message ReqStopTrackSpecialTarget { + +} + +// 一键Goto深空天体 +message ReqOneClickGotoDSO { + double ra = 1; + double dec = 2; + string target_name = 3; +} + +// 一键Goto太阳系 +message ReqOneClickGotoSolarSystem { + int32 index = 1; + double lon = 2; + double lat = 3; + string target_name = 4; +} + +message ResOneClickGoto { + int32 step = 1; + int32 code = 2; + bool all_end = 3; +} + +// 停止一键GOTO +message ReqStopOneClickGoto { + +} + +// 开始广角叠图 +message ReqCaptureWideRawLiveStacking { + +} + +// 停止广角叠图 +message ReqStopCaptureWideRawLiveStacking { + +} + +// 开始EQ校验 +message ReqStartEqSolving { + double lon = 1; // GPS经度 + double lat = 2; // GPS纬度 +} + +// EQ校验返回 +message ResStartEqSolving { + double azi_err = 1; // 方位轴极轴误差,正顺时针,负逆时针 + double alt_err = 2; // 俯仰轴极轴误差,正向上,负向下 + int32 code = 3; // 错误码 +} + +// 停止EQ校验 +message ReqStopEqSolving { + +} + +// 开始拍摄暗场带参数 +message ReqCaptureWideDarkFrameWithParam { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + int32 cap_size = 4; +} + +// 停止拍摄暗场 +message ReqStopCaptureWideDarkFrameWithParam { + +} + +// 获取暗场信息list +message ReqGetWideDarkFrameList { +} + + +// 获取到的暗场信息 +message ResGetWideDarkFrameInfo { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + string exp_name = 4; + string gain_name = 5; + string bin_name = 6; + int32 temperature = 7; +} + +// 获取的暗场list +message ResGetWideDarkFrameInfoList { + int32 code = 1; + repeated ResGetDarkFrameInfo results = 2; +} + +// 删除暗场 +message ReqDelWideDarkFrame { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; +} + +// 删除暗场list +message ReqDelWideDarkFrameList { + repeated ReqDelDarkFrame dark_list = 1; +} + +// 删除暗场的结果返回 +message ResDelWideDarkFrameList { + int32 code = 1; +} + diff --git a/dist/src/proto/base.proto b/dist/src/proto/base.proto new file mode 100644 index 00000000..a4230a79 --- /dev/null +++ b/dist/src/proto/base.proto @@ -0,0 +1,51 @@ +syntax = "proto3"; + +enum WsMajorVersion { + WS_MAJOR_VERSION_UNKNOWN = 0; + WS_MAJOR_VERSION_NUMBER = 1; +} + +enum WsMinorVersion { + WS_MINOR_VERSION_UNKNOWN = 0; + WS_MINOR_VERSION_NUMBER = 9; +} + +message WsPacket { + uint32 major_version = 1; //协议主版本 + uint32 minor_version = 2; //协议次版本 + uint32 device_id = 3; //设备ID + uint32 module_id = 4; //模块ID + uint32 cmd = 5; //指令 + uint32 type = 6; //消息类型 0:请求 1:应答 2:通知 3:响应 + bytes data = 7; //请求、响应数据,对应具体的业务接口 + string client_id = 8; //ws客户端id +} + +message ComResponse { + int32 code = 1; +} + +message ComResWithInt { + int32 value = 1; + int32 code = 2; +} + +message ComResWithDouble { + double value = 1; + int32 code = 2; +} + +message ComResWithString { + string str = 1; + int32 code = 2; +} + +message CommonParam { + bool hasAuto = 1; + int32 auto_mode = 2; + int32 id = 3; + int32 mode_index = 4; + int32 index = 5; + double continue_value = 6; +} + diff --git a/dist/src/proto/ble.proto b/dist/src/proto/ble.proto new file mode 100644 index 00000000..8d3f9320 --- /dev/null +++ b/dist/src/proto/ble.proto @@ -0,0 +1,141 @@ +syntax = "proto3"; + +enum DwarfBleErrorCode { + BLE_OK = 0; // Normal return + BLE_PASSWORD_ERROR = -1; // Bluetooth password error + BLE_MESSAGE_MALLOC_ERROR = -2; // Bluetooth Communication Protocol Memory Error + BLE_MESSAGE_PARSE_ERROR = -3; // Bluetooth Communication Protocol Message Parsing Error + BLE_MESSAGE_CRC_ERROR = -4; // CRC check failed + BLE_WIFI_CONFIGING = -5; // Bluetooth configuration wifi + BLE_WIFI_CONFIGED = -6; // WiFi configuration is done + BLE_GET_WIFI_LIST_ERROR = -7; // Failed to get WiFi list + BLE_WIFI_STA_PASSWORD_EMPTY = -8; // STA password is empty + BLE_WIFI_STA_PASSWORD_ERROR = -9; // STA password error + BLE_WIFI_SET_SSID_PSD_ERROR = -10; // Failed to set name and password + BLE_WIFI_RESET_WAITING = -11; // Bluetooth wifi waiting for reset + BLE_WIFI_RESETED = -12; // Bluetooth wifi has been reset + BLE_GET_SYSTEM_INFO_ERROR = -13; // Failed to retrieve system information + BLE_RECEIVE_FRAME_HEAD_ERROR = -14; // Protocol header error + BLE_RECEIVE_FRAME_TAIL_ERROR = -15; // Protocol end-of-frame error + BLE_CHECK_FILE_NOT_EXIST = -16; // MD5 detection file does not exist + BLE_CHECK_FILE_MD5_ERROR = -17; // MD5 verification failed + BLE_WIFI_RESET_FAILED = -18; // Reset failed +} + +//ask +message ReqGetconfig { + int32 cmd = 1; //CMD instruction value is 1 + string ble_psd = 2; //Default: "DWARF_12345678" +} + +message ReqAp { + int32 cmd = 1; //CMD instruction value is 2 + int32 wifi_type = 2; //0-5G 1-2.4G + int32 auto_start = 3; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + int32 country_list = 4; //0-Do not configure country_list 1-Configure country_list + string country = 5; //Country code + string ble_psd = 6; //Default: "DWARF_12345678" +} + +message ReqSta { + int32 cmd =1; //CMD instruction value is 3 + int32 auto_start = 2; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + string ble_psd = 3; //Default: "DWARF_12345678" + string ssid = 4; //WiFi name of the router to be connected + string psd = 5; //WiFi password of the router to be connected +} + +message ReqSetblewifi { + int32 cmd = 1; //CMD instruction value is 4 + int32 mode = 2; //Modification type 0-Bluetooth name 1-Bluetooth naming 2-wifi name 3-wifi password + string ble_psd = 3; //Default: "DWARF_12345678" + string value = 4; //modified value +} + +message ReqReset { + int32 cmd = 1; //CMD instruction value is 5 +} + +message ReqGetwifilist { + int32 cmd = 1; //CMD instruction value is 6 +} + +message ReqGetsysteminfo { + int32 cmd = 1; //CMD instruction value is 7 +} + +message ReqCheckFile { + int32 cmd = 1; //CMD instruction value is 8 + string file_path = 2; //File path + string md5 = 3; //md5 value +} + + +//return +message ResGetconfig { + int32 cmd = 1; //CMD instruction value is 1 + int32 code = 2; //error code + int32 state = 3; //WiFi configuration status 0-Not configured 1-Configuring 2-Configuration completed + int32 wifi_mode = 4; //WiFi mode 0-NONE 1-AP 2-STA + int32 ap_mode = 5; //AP mode WiFi type 0-5G 1-2.4G + int32 auto_start = 6; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + int32 ap_country_list = 7; //Country code configuration file settings 0-Set country_list 1-Do not set country_list + string ssid = 8; //WiFi name + string psd = 9; //WiFi password + string ip = 10; //WiFi ip address + string ap_country = 11; //Country code +} + +message ResAp { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 mode = 3; //AP mode WiFi type 0-5G 1-2.4G + string ssid = 4; //WiFi name + string psd = 5; //WiFi password +} + +message ResSta { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + string ssid = 3; //WiFi name + string psd = 4; //WiFi password + string ip = 5; //WiFi ip address +} + +message ResSetblewifi { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 mode = 3; //Modification type 0-Bluetooth name 1-Bluetooth naming 2-wifi name 3-wifi password + string value = 4; //modified value +} + +message ResReset { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code +} + +message ResWifilist { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + repeated string ssid = 4; +} + +message ResGetsysteminfo { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 protocol_version = 3; //Bluetooth protocol + string device = 4; //Device name + string mac_address = 5; //MAC address + string dwarf_ota_version = 6; //dwarf firmware version +} + +message ResReceiveDataError { + int32 cmd = 1; //CMD instruction is 0 + int32 code = 2; //error code +} + +message ResCheckFile { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code +} + diff --git a/dist/src/proto/camera.proto b/dist/src/proto/camera.proto new file mode 100644 index 00000000..b17c0739 --- /dev/null +++ b/dist/src/proto/camera.proto @@ -0,0 +1,249 @@ +syntax = "proto3"; + +import "base.proto"; + + +//打开摄像头 +message ReqOpenCamera { + bool binning = 1; + int32 rtsp_encode_type = 2; +} + +//关闭摄像头 +message ReqCloseCamera { +} + +//拍照 +message ReqPhoto { +} + +//开始连拍 +message ReqBurstPhoto { + int32 count = 1; +} + +//停止连拍 +message ReqStopBurstPhoto { +} + +//开始录像 +message ReqStartRecord { + int32 encode_type = 1; +} + +//停止录像 +message ReqStopRecord { +} + +//设置曝光模式 +message ReqSetExpMode { + int32 mode = 1; +} + +//获取曝光模式 +message ReqGetExpMode { + +} + +//设置曝光 +message ReqSetExp { + int32 index = 1; +} + +//获取曝光 +message ReqGetExp { +} + +//设置增益模式 +message ReqSetGainMode { + int32 mode = 1; +} + +//获取增益模式 +message ReqGetGainMode { + +} + +//设置增益 +message ReqSetGain { + int32 index = 1; +} + +//获取增益 +message ReqGetGain { + +} + +//设置亮度 +message ReqSetBrightness { + int32 value = 1; +} + +//获取亮度 +message ReqGetBrightness { + +} + +//设置对比度 +message ReqSetContrast { + int32 value = 1; +} + +//获取对比度 +message ReqGetContrast { + +} + +//设置色调 +message ReqSetHue { + int32 value = 1; +} + +//获取色调 +message ReqGetHue { + +} + +//设置饱和度 +message ReqSetSaturation { + int32 value = 1; +} + +//获取饱和度 +message ReqGetSaturation { + +} + +//设置锐度 +message ReqSetSharpness { + int32 value = 1; +} + +//获取锐度 +message ReqGetSharpness { + +} + +//设置白平衡模式 +message ReqSetWBMode { + int32 mode = 1; +} + +//获取白平衡模式 +message ReqGetWBMode { + +} + +//设置白平衡场景 +message ReqSetWBSence { + int32 value = 1; +} + +//获取白平衡场景 +message ReqGetWBSence { + +} + +//设置白平衡色温 +message ReqSetWBCT { + int32 index = 1; +} + +//获取白平衡色温 +message ReqGetWBCT { + +} + +//设置IRCUT +message ReqSetIrCut { + int32 value = 1; +} + +//获取IRCUT状态 +message ReqGetIrcut { + +} + +//开始延时摄影 +message ReqStartTimeLapse { +} + +//停止延时摄影 +message ReqStopTimeLapse { + +} + +//设置所有参数 +message ReqSetAllParams { + int32 exp_mode = 1; + int32 exp_index = 2; + int32 gain_mode = 3; + int32 gain_index = 4; + int32 ircut_value = 5; + int32 wb_mode = 6; + int32 wb_index_type = 7; + int32 wb_index = 8; + int32 brightness = 9; + int32 contrast = 10; + int32 hue = 11; + int32 saturation = 12; + int32 sharpness = 13; + int32 jpg_quality = 14; +} + +// 获取所有参数 +message ReqGetAllParams { + +} + +// 返回所有参数结果 +message ResGetAllParams { + repeated CommonParam all_params = 1; + int32 code = 2; +} + +// 设置feature参数 +message ReqSetFeatureParams { + CommonParam param = 1; +} + +// 获取所有feature参数 +message ReqGetAllFeatureParams { +} + +// 返回所有feature参数 +message ResGetAllFeatureParams { + repeated CommonParam all_feature_params = 1; + int32 code = 2; +} + +// 获取整机工作状态 +message ReqGetSystemWorkingState { + +} + +// 设置预览jpg质量 +message ReqSetJpgQuality { + int32 quality = 1; +} + +// 获取预览jpg质量 +message ReqGetJpgQuality { +} + +// 拍摄RAW图 +message ReqPhotoRaw { +} + +// 设置rtsp 预览码率类型 +message ReqSetRtspBitRateType { + int32 bitrate_type = 1; +} + +// 禁用isp处理 +message ReqDisableAllIspProcessing { +} + +// 打开isp处理 +message ReqEnableAllIspProcessing { +} \ No newline at end of file diff --git a/dist/src/proto/focus.proto b/dist/src/proto/focus.proto new file mode 100644 index 00000000..5d82f063 --- /dev/null +++ b/dist/src/proto/focus.proto @@ -0,0 +1,33 @@ +syntax = "proto3"; + +// 手动单次对焦 +message ReqManualSingleStepFocus { + uint32 direction = 1; +} + +// 手动连续对焦 +message ReqManualContinuFocus { + uint32 direction = 1; +} + +// 停止手动连续对焦 +message ReqStopManualContinuFocus { + +} + +// 普通模式自动对焦 +message ReqNormalAutoFocus { + uint32 mode = 1; + uint32 center_x = 2; + uint32 center_y = 3; +} + +// 开始天文自动对焦 +message ReqAstroAutoFocus { + uint32 mode = 1; +} + +// 停止天文自动对焦 +message ReqStopAstroAutoFocus { + +} diff --git a/dist/src/proto/motor_control.proto b/dist/src/proto/motor_control.proto new file mode 100644 index 00000000..f764e01e --- /dev/null +++ b/dist/src/proto/motor_control.proto @@ -0,0 +1,83 @@ +syntax = "proto3"; + +message ReqMotorServiceJoystick { + double vector_angle = 1; + double vector_length = 2; + double speed = 3; +} + +message ReqMotorServiceJoystickFixedAngle { + double vector_angle = 1; + double vector_length = 2; + double speed = 3; +} + +message ReqMotorServiceJoystickStop { + +} + +message ReqMotorRun { + int32 id = 1; + double speed = 2; + bool direction = 3; + int32 speed_ramping = 4; + int32 resolution_level = 5; +} + +message ReqMotorRunInPulse { + int32 id = 1; // 电机ID:0:旋转轴 1:俯仰轴 + int32 frequency = 2; // 频率 + bool direction = 3; // 方向 + int32 speed_ramping = 4; // 加减速步数:0-1000 + int32 resolution = 5; // 细分 + int32 pulse = 6; // 脉冲数 + bool mode = 7; // 模式:连续/脉冲模式 +} + +message ReqMotorRunTo { + int32 id = 1; + double end_position = 2; + double speed = 3; + int32 speed_ramping = 4; + int32 resolution_level = 5; +} + +message ReqMotorGetPosition { + int32 id = 1; +} + +message ReqMotorStop { + int32 id = 1; +} + +message ReqMotorReset { + int32 id = 1; + bool direction = 2; +} + +message ReqMotorChangeSpeed { + int32 id = 1; + double speed = 2; +} + +message ReqMotorChangeDirection { + int32 id = 1; + bool direction = 2; +} + +message ResMotor { + int32 id = 1; + int32 code = 2; +} + +message ResMotorPosition { + int32 id = 1; + int32 code = 2; + double position = 3; +} + +// 双摄联动 +message ReqDualCameraLinkage { + int32 x = 1; + int32 y = 2; +} \ No newline at end of file diff --git a/dist/src/proto/notify.proto b/dist/src/proto/notify.proto new file mode 100644 index 00000000..40b8ed6e --- /dev/null +++ b/dist/src/proto/notify.proto @@ -0,0 +1,242 @@ +syntax = "proto3"; + +import "base.proto"; + +enum State { + STATE_IDLE = 0; // Idle state + STATE_RUNNING = 1; // Running + STATE_STOPPING = 2; // Is stopping + STATE_STOPPED = 3; // Has stopped + STATE_SUCCESS = 4; // Success + STATE_FAILED = 5; // Failure + STATE_ASTRO_PLATE_SOLVING = 6; // Astronomy is Plating Solving +} + +enum OperationState { + OPERATION_STATE_IDLE = 0; + OPERATION_STATE_RUNNING = 1; + OPERATION_STATE_STOPPING = 2; + OPERATION_STATE_STOPPED = 3; +} + +enum AstroState { + ASTRO_STATE_IDLE = 0; // Idle state + ASTRO_STATE_RUNNING = 1; // Running + ASTRO_STATE_STOPPING = 2; // Is stopping + ASTRO_STATE_STOPPED = 3; // Has stopped + ASTRO_STATE_PLATE_SOLVING = 4; // Astronomy is Plating Solving +} + +// 哨兵模式 +enum SentryModeState { + SENTRY_MODE_STATE_IDLE = 0; + SENTRY_MODE_STATE_INIT = 1; + SENTRY_MODE_STATE_DETECT = 2; + SENTRY_MODE_STATE_TRACK = 3; + SENTRY_MODE_STATE_TRACK_FINISH = 4; + SENTRY_MODE_STATE_STOPPING = 5; +}; + +// 长焦广角预览画面匹配结果 +message ResNotifyPictureMatching { + uint32 x = 1; + uint32 y = 2; + uint32 width = 3; + uint32 height = 4; + double value = 5; + int32 code = 6; +} + +// SD卡容量信息 +message ResNotifySDcardInfo { + uint32 available_size = 1; + uint32 total_size = 2; + int32 code = 3; +} + +// 机芯温度 +message ResNotifyTemperature { + int32 code = 1; + int32 temperature = 2; +} + +// 录像时间显示 +message ResNotifyRecordTime { + int32 record_time = 1; +} + +// 延时摄影时间显示 +message ResNotifyTimeLapseOutTime { + int32 interval = 1; + int32 out_time = 2; + int32 total_time = 3; +} + +// 运行状态 +message ResNotifyOperationState { + OperationState state = 1; +} + +// 天文校准状态 +message ResNotifyStateAstroCalibration { + AstroState state = 1; + int32 plate_solving_times = 2; +} + +// 天文GOTO状态 +message ResNotifyStateAstroGoto { + AstroState state = 1; +} + +// 天文跟踪状态 +message ResNotifyStateAstroTracking { + OperationState state = 1; + string target_name = 2; +} + +// 天文暗场拍摄进度 +message ResNotifyProgressCaptureRawDark { + int32 progress = 1; + int32 remaining_time = 2; +} + +// 天文叠图拍摄进度 +message ResNotifyProgressCaptureRawLiveStacking { + int32 total_count = 1; + int32 update_count_type = 2; + int32 current_count = 3; + int32 stacked_count = 4; + int32 exp_index = 5; + int32 gain_index = 6; + string target_name = 7; +} + +// 参数回显 +message ResNotifyParam { + repeated CommonParam param = 1; +} + +// 摄像头功能状态 +message ResNotifyCamFunctionState { + OperationState state = 1; + uint32 function_id = 2; +} + +// 连拍进度 +message ResNotifyBurstProgress { + uint32 total_count = 1; + uint32 completed_count = 2; +} + +// 全景拍摄进度 +message ResNotifyPanoramaProgress { + int32 total_count = 1; + int32 completed_count = 2; +} + +// 环形灯状态 +message ResNotifyRgbState { + int32 state = 1; +} + +// 电量指示灯状态 +message ResNotifyPowerIndState { + int32 state = 1; +} + +// websocket主机从机模式状态 +message ResNotifyHostSlaveMode { + int32 mode = 1; + bool lock = 2; +} + +// mtp模式通知 +message ResNotifyMTPState { + int32 mode = 1; +} + +// 跟踪结果通知 +message ResNotifyTrackResult { + int32 x = 1; + int32 y = 2; + int32 w = 3; + int32 h = 4; +} + +// cpu mode +message ResNotifyCPUMode { + int32 mode = 1; +} + +// 日月跟踪通知 +message ResNotifyStateAstroTrackingSpecial { + OperationState state = 1; + string target_name = 2; + int32 index = 3; +} + +// 关机通知 +message ResNotifyPowerOff { +} + +// 相册数据更新通知 +message ResNotifyAlbumUpdate { + int32 media_type = 1; +} + +// 哨兵模式状态 +message ResNotifyStateSentryMode { + SentryModeState state = 1; +} + +// 一键GOTO状态 +message ResNotifyOneClickGotoState { + OperationState state = 1; +} + +// 图传类型通知 +message ResNotifyStreamType { + int32 stream_type = 1; + int32 cam_id = 2; +} + +// EQ校验状态通知 +message ResNotifyEqSolvingState { + enum Action { + UNSPECIFIED = 0; + FOCUS = 1; // 对焦步骤 + SOLVING = 2; // 解算步骤 + } + Action step = 1; + OperationState state = 2; +} + +// 长曝光拍摄进度条通知 +message ResNotifyLongExpPhotoProgress { + uint32 function_id = 1; + double total_time = 2; + double exposured_time = 3; +} + +// 拍摄计划结果和状态通知 +message ResNotifyShootingScheduleResultAndState { + string schedule_id = 1; + int32 result = 2; + int32 state = 3; +} + +// 拍摄任务状态通知 +message ResNotifyShootingTaskState { + string schedule_task_id = 1; + int32 state = 2; + int32 code = 3; +} + +// 天空检测状态通知 +message ResNotifySkySeacherState { + OperationState state = 1; +} + +message ResNotifyFocus { + int32 focus = 1; +} diff --git a/dist/src/proto/panorama.proto b/dist/src/proto/panorama.proto new file mode 100644 index 00000000..d7d49b71 --- /dev/null +++ b/dist/src/proto/panorama.proto @@ -0,0 +1,69 @@ +syntax = "proto3"; + +message ReqStartPanoramaByGrid{ +} + +message ReqStartPanoramaByEulerRange{ + float yaw_range = 1; + float pitch_range = 2; +} + +message ReqStartPanoramaStitchUpload{ + string user_id = 1; + string busi_no = 2; + int32 app_platform = 3; + string panorama_name = 4; + string ak = 5; + string sk = 6; + string token = 7; +} + +message ReqStopPanorama{ + +} + +message ReqStopPanoramaStitchUpload{ + +} + +//全景图像上传完成时,发送的通知 +message ResNotifyPanoramaStitchUploadComplete{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + bool upload_res = 5; +} + +//全景图像压缩时的进度 +message ResNotifyPanoramaCompressionProgress{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + uint32 total_files_num = 5; + uint32 compressed_files_num = 6; +} + +//当前的全景图像上传进度 +message ResNotifyPanoramaUploadProgress{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + uint64 total_size = 5; + uint64 uploaded_size = 6; +} + +message ResGetStitchUploadState{ + int32 code = 1; + string user_id = 2; + string busi_no = 3; + string panorama_name = 4; + string mac = 5; + uint32 total_files_num = 6; + uint32 compressed_files_num = 7; + uint64 total_size = 8; + uint64 uploaded_size = 9; + uint32 step = 10; +} \ No newline at end of file diff --git a/dist/src/proto/protocol.proto b/dist/src/proto/protocol.proto new file mode 100644 index 00000000..8c80b016 --- /dev/null +++ b/dist/src/proto/protocol.proto @@ -0,0 +1,336 @@ +syntax = "proto3"; + +enum ModuleId { + MODULE_NONE = 0; // No + MODULE_CAMERA_TELE = 1; // 10000-10499 Telephoto camera module + MODULE_CAMERA_WIDE = 2; // 12000-12499 Wide-angle camera module + MODULE_ASTRO = 3; // 11000-11499 Astronomy module + MODULE_SYSTEM = 4; // 13000-13299 System modules + MODULE_RGB_POWER = 5; // 13500-13799 RGB & Power Management Modules + MODULE_MOTOR = 6; // 14000-14499 Motor module + MODULE_TRACK = 7; // 14800-14899 Tracking module + MODULE_FOCUS = 8; // 15000-15099 Focusing module + MODULE_NOTIFY = 9; // 15200-15499 Notification module + MODULE_PANORAMA = 10; // 15500-15599 Panoramic module + MODULE_SHOOTING_SCHEDULE = 13; // 16100-16300 Shooting schedule module +} + +enum MessageTypeId { + TYPE_REQUEST = 0; // Message Type Request + TYPE_REQUEST_RESPONSE = 1; // Message Type Request Response + TYPE_NOTIFICATION = 2; // Message Type Notification + TYPE_NOTIFICATION_RESPONSE = 3; // Message Type Notification Response +} + +enum DwarfCMD { + NO_CMD = 0; // No Cmd + + CMD_CAMERA_TELE_OPEN_CAMERA = 10000; // Turn on the camera + CMD_CAMERA_TELE_CLOSE_CAMERA = 10001; // Turn off the camera + CMD_CAMERA_TELE_PHOTOGRAPH = 10002; // Take photos + CMD_CAMERA_TELE_BURST = 10003; // Start continuous shooting + CMD_CAMERA_TELE_STOP_BURST = 10004; // Stop continuous shooting + CMD_CAMERA_TELE_START_RECORD = 10005; // Start recording + CMD_CAMERA_TELE_STOP_RECORD = 10006; // Stop recording + CMD_CAMERA_TELE_SET_EXP_MODE = 10007; // Set exposure mode + CMD_CAMERA_TELE_GET_EXP_MODE = 10008; // Acquire exposure mode + CMD_CAMERA_TELE_SET_EXP = 10009; // Set exposure value + CMD_CAMERA_TELE_GET_EXP = 10010; // Get exposure value + CMD_CAMERA_TELE_SET_GAIN_MODE = 10011; // Set gain mode + CMD_CAMERA_TELE_GET_GAIN_MODE = 10012; // Acquisition gain mode + CMD_CAMERA_TELE_SET_GAIN = 10013; // Set gain value + CMD_CAMERA_TELE_GET_GAIN = 10014; // Get gain value + CMD_CAMERA_TELE_SET_BRIGHTNESS = 10015; // Set brightness + CMD_CAMERA_TELE_GET_BRIGHTNESS = 10016; // Acquire brightness + CMD_CAMERA_TELE_SET_CONTRAST = 10017; // Set contrast + CMD_CAMERA_TELE_GET_CONTRAST = 10018; // Get contrast + CMD_CAMERA_TELE_SET_SATURATION = 10019; // Set saturation + CMD_CAMERA_TELE_GET_SATURATION = 10020; // Acquire saturation + CMD_CAMERA_TELE_SET_HUE = 10021; // Set tone + CMD_CAMERA_TELE_GET_HUE = 10022; // Get hue + CMD_CAMERA_TELE_SET_SHARPNESS = 10023; // Set sharpness + CMD_CAMERA_TELE_GET_SHARPNESS = 10024; // Acquire sharpness + CMD_CAMERA_TELE_SET_WB_MODE = 10025; // Set white balance mode + CMD_CAMERA_TELE_GET_WB_MODE = 10026; // Acquire white balance mode + CMD_CAMERA_TELE_SET_WB_SCENE = 10027; // Set white balance scene + CMD_CAMERA_TELE_GET_WB_SCENE = 10028; // Get white balance scene + CMD_CAMERA_TELE_SET_WB_CT = 10029; // Set the white balance color temperature value + CMD_CAMERA_TELE_GET_WB_CT = 10030; // Obtain the white balance color temperature value + CMD_CAMERA_TELE_SET_IRCUT = 10031; // Set IRCUT + CMD_CAMERA_TELE_GET_IRCUT = 10032; // Get IRCUT status + CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO = 10033; // Start time-lapse photography + CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO = 10034; // Stop time-lapse photography + CMD_CAMERA_TELE_SET_ALL_PARAMS = 10035; // Set all parameters + CMD_CAMERA_TELE_GET_ALL_PARAMS = 10036; // Get all parameters + CMD_CAMERA_TELE_SET_FEATURE_PARAM = 10037; // Set feature parameters + CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS = 10038; // Get all feature parameters + CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE = 10039; // Get the working status of the whole machine + CMD_CAMERA_TELE_SET_JPG_QUALITY = 10040; // Set jpg preview quality + + CMD_CAMERA_TELE_PHOTO_RAW = 10041; // Shoot RAW image + CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE = 10042; // Set rtsp preview bit rate type + + CMD_ASTRO_START_CALIBRATION = 11000; // Start calibration + CMD_ASTRO_STOP_CALIBRATION = 11001; // Stop calibration + CMD_ASTRO_START_GOTO_DSO = 11002; // Start GOTO Deep Space Object + CMD_ASTRO_START_GOTO_SOLAR_SYSTEM = 11003; // Start GOTO Solar System Target + CMD_ASTRO_STOP_GOTO = 11004; // Stop GOTO + CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING = 11005; // Start stacking + CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING = 11006; // Stop overlay + CMD_ASTRO_START_CAPTURE_RAW_DARK = 11007; // Start shooting dark scenes + CMD_ASTRO_STOP_CAPTURE_RAW_DARK = 11008; // Stop filming darkfield + CMD_ASTRO_CHECK_GOT_DARK = 11009; // Inquire about the dark field that has been shot + CMD_ASTRO_GO_LIVE = 11010; // GO LIVE interface + CMD_ASTRO_START_TRACK_SPECIAL_TARGET = 11011; // Start tracking the sun and moon + CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET = 11012; // Stop tracking the sun and moon + + CMD_ASTRO_START_ONE_CLICK_GOTO_DSO = 11013; // One-click GOTO deep space celestial body + CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM = 11014; // One-click GOTO solar system target + CMD_ASTRO_STOP_ONE_CLICK_GOTO = 11015; // Stop one-click GOTO + CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING = 11016; // Start wide-angle overlay + CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING = 11017; // Stop wide-angle overlay + CMD_ASTRO_START_EQ_SOLVING = 11018; // Start EQ verification + CMD_ASTRO_STOP_EQ_SOLVING = 11019; // Stop EQ verification + CMD_ASTRO_WIDE_GO_LIVE = 11020; // Wide-angle GO LIVE interface + + CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM = 11021; // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM = 11022; // Stop shooting the dark field with specified parameters + CMD_ASTRO_GET_DARK_FRAME_LIST = 11023; // Query the list of recorded dark scenes + CMD_ASTRO_DEL_DARK_FRAME_LIST = 11024; // Delete the specified dark field list + CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11025; // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11026; // Stop shooting dark field with wide-angle specified parameters + CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST = 11027; // Query the list of wide-angle dark scenes taken + CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST = 11028; // Delete the specified wide-angle dark field list + + CMD_CAMERA_WIDE_OPEN_CAMERA = 12000; // Turn on the camera + CMD_CAMERA_WIDE_CLOSE_CAMERA = 12001; // Turn off the camera + CMD_CAMERA_WIDE_SET_EXP_MODE = 12002; // Set exposure mode + CMD_CAMERA_WIDE_GET_EXP_MODE = 12003; // Acquire exposure mode + CMD_CAMERA_WIDE_SET_EXP = 12004; // Set exposure value + CMD_CAMERA_WIDE_GET_EXP = 12005; // Get exposure value + CMD_CAMERA_WIDE_SET_GAIN = 12006; // Set gain + CMD_CAMERA_WIDE_GET_GAIN = 12007; // Acquisition gain + CMD_CAMERA_WIDE_SET_BRIGHTNESS = 12008; // Set brightness + CMD_CAMERA_WIDE_GET_BRIGHTNESS = 12009; // Acquire brightness + CMD_CAMERA_WIDE_SET_CONTRAST = 12010; // Set contrast + CMD_CAMERA_WIDE_GET_CONTRAST = 12011; // Get contrast + CMD_CAMERA_WIDE_SET_SATURATION = 12012; // Set saturation + CMD_CAMERA_WIDE_GET_SATURATION = 12013; // Acquire saturation + CMD_CAMERA_WIDE_SET_HUE = 12014; // Set tone + CMD_CAMERA_WIDE_GET_HUE = 12015; // Get hue + CMD_CAMERA_WIDE_SET_SHARPNESS = 12016; // Set sharpness + CMD_CAMERA_WIDE_GET_SHARPNESS = 12017; // Acquire sharpness + CMD_CAMERA_WIDE_SET_WB_MODE = 12018; // Set white balance mode + CMD_CAMERA_WIDE_GET_WB_MODE = 12019; // Acquire white balance mode + CMD_CAMERA_WIDE_SET_WB_CT = 12020; // Set white balance color temperature + CMD_CAMERA_WIDE_GET_WB_CT = 12021; // Obtain white balance color temperature + CMD_CAMERA_WIDE_PHOTOGRAPH = 12022; // Take photos + CMD_CAMERA_WIDE_BURST = 12023; // Continuous shooting + CMD_CAMERA_WIDE_STOP_BURST = 12024; // Stop continuous shooting + CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO = 12025; // Start time-lapse photography + CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO = 12026; // Stop time-lapse photography + CMD_CAMERA_WIDE_GET_ALL_PARAMS = 12027; // Get all parameters + CMD_CAMERA_WIDE_SET_ALL_PARAMS = 12028; // Set all parameters + + CMD_CAMERA_WIDE_START_RECORD = 12030; // Start wide recording + CMD_CAMERA_WIDE_STOP_RECORD = 12031; // Stop wide recording + + CMD_SYSTEM_SET_TIME = 13000; // Set the system time + CMD_SYSTEM_SET_TIME_ZONE = 13001; // Set the time zone + CMD_SYSTEM_SET_MTP_MODE = 13002; // Set MTP mode + CMD_SYSTEM_SET_CPU_MODE = 13003; // Set CPU mode + CMD_SYSTEM_SET_MASTERLOCK = 13004; // Set HOST mode + + CMD_RGB_POWER_OPEN_RGB = 13500; // Turn on the ring light + CMD_RGB_POWER_CLOSE_RGB = 13501; // Turn off the ring light + CMD_RGB_POWER_POWER_DOWN = 13502; // Shut down + CMD_RGB_POWER_POWERIND_ON = 13503; // Turn on the battery indicator + CMD_RGB_POWER_POWERIND_OFF = 13504; // Turn off battery indicator = + CMD_RGB_POWER_REBOOT = 13505; // Restart + + CMD_STEP_MOTOR_RUN = 14000; // Motor motion + CMD_STEP_MOTOR_RUN_TO = 14001; // Motor motion to + CMD_STEP_MOTOR_STOP = 14002; // Motor stop + CMD_STEP_MOTOR_RESET = 14003; // Motor Reset + CMD_STEP_MOTOR_CHANGE_SPEED = 14004; // Motor Change Speed + CMD_STEP_MOTOR_CHANGE_DIRECTION = 14005; // Motor ChangeDirection + CMD_STEP_MOTOR_SERVICE_JOYSTICK = 14006; // Joystick + CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE = 14007; // Short press the arrow keys with the joystick + CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP = 14008; // Stop joystick + CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE = 14009; // Dual camera linkage + + CMD_STEP_MOTOR_RUN_IN_PULSE = 14010; // Motor run in pulse + CMD_STEP_MOTOR_GET_POSITION = 14011; // Motor get Position + + CMD_TRACK_START_TRACK = 14800; // Started tracking + CMD_TRACK_STOP_TRACK = 14801; // Stop tracking + + CMD_SENTRY_MODE_START = 14802; // Start Sentinel Mode (Pack + CMD_SENTRY_MODE_STOP = 14803; // Stop Sentinel Mode + CMD_MOT_START = 14804; // Start "Multi-Object Tracking" feature + CMD_MOT_TRACK_ONE = 14805; // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + CMD_UFOTRACK_MODE_START = 14806; // Start sentinel UFO mode + CMD_UFOTRACK_MODE_STOP = 14807; // Stop Sentinel UFO Mode + CMD_MOT_WIDE_TRACK_ONE = 14808; // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + CMD_WIDE_TELE_TRACK_SWITCH = 14809; // Object Detection with 30 classes for post-production non-sentinel mode. Choose between wide-angle and telephoto tracking button instructions + CMD_UFO_HAND_AOTO_MODE = 14810; // Used for post-UFO mode selection manual or automatic + + CMD_FOCUS_AUTO_FOCUS = 15000; // Normal mode autofocus + CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS = 15001; // Manual single-step focusing + CMD_FOCUS_START_MANUAL_CONTINU_FOCUS = 15002; // Start manual continuous focus + CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS = 15003; // Stop manual continuous focus + CMD_FOCUS_START_ASTRO_AUTO_FOCUS = 15004; // Start astronomical autofocus + CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS = 15005; // Stop astronomical autofocus + + CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING = 15200; // Telephoto wide-angle image matching + CMD_NOTIFY_ELE = 15201; // Battery Notification + CMD_NOTIFY_CHARGE = 15202; // Charge status notification + CMD_NOTIFY_SDCARD_INFO = 15203; // SD card capacity notification + CMD_NOTIFY_TELE_RECORD_TIME = 15204; // Recording time + CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME = 15205; // Telephoto time-lapse photography time + CMD_NOTIFY_STATE_CAPTURE_RAW_DARK = 15206; // Dark field shooting state + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK = 15207; // Dark field shooting progress + CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING = 15208; // Astronomical overlay shooting status + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING = 15209; // Astronomical overlay shooting progress + CMD_NOTIFY_STATE_ASTRO_CALIBRATION = 15210; // Astronomical calibration status + CMD_NOTIFY_STATE_ASTRO_GOTO = 15211; // Astronomical GOTO status + CMD_NOTIFY_STATE_ASTRO_TRACKING = 15212; // Astronomical tracking status + CMD_NOTIFY_TELE_SET_PARAM = 15213; // Telephoto parameter echo + CMD_NOTIFY_WIDE_SET_PARAM = 15214; // Wide-angle parametric echo + CMD_NOTIFY_TELE_FUNCTION_STATE = 15215; // Telephoto functional status + CMD_NOTIFY_WIDE_FUNCTION_STATE = 15216; // Wide-angle functional status + CMD_NOTIFY_SET_FEATURE_PARAM = 15217; // Feature parameter echo + CMD_NOTIFY_TELE_BURST_PROGRESS = 15218; // Telephoto continuous shooting progress + CMD_NOTIFY_PANORAMA_PROGRESS = 15219; // Telephoto panoramic shooting progress + CMD_NOTIFY_WIDE_BURST_PROGRESS = 15220; // Wide-angle continuous shooting progress + CMD_NOTIFY_RGB_STATE = 15221; // RGB Ring Light Status + CMD_NOTIFY_POWER_IND_STATE = 15222; // Power indicator status + CMD_NOTIFY_WS_HOST_SLAVE_MODE = 15223; // Leader/follower mode notification + CMD_NOTIFY_MTP_STATE = 15224; // MTP mode notification + CMD_NOTIFY_TRACK_RESULT = 15225; // Tracking result notification + CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME = 15226; // Wide-angle time-lapse photography time + CMD_NOTIFY_CPU_MODE = 15227; // CPU mode + CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL = 15228; // Sun and moon tracking status + CMD_NOTIFY_POWER_OFF = 15229; // Shutdown notification + CMD_NOTIFY_ALBUM_UPDATE = 15230; // Album update notification + CMD_NOTIFY_SENTRY_MODE_STATE = 15231; // Sentinel mode status + CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT = 15232; // Sentinel mode tracking box result notification + CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO = 15233; // One-click GOTO status + CMD_NOTIFY_STREAM_TYPE = 15234; // Image type notification + CMD_NOTIFY_WIDE_RECORD_TIME = 15235; // Wide-angle video recording time + CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING = 15236; // Wide-angle astronomical overlay shooting status + CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING = 15237; // Progress of wide-angle astronomical overlay photography + + CMD_NOTIFY_MULTI_TRACK_RESULT = 15238; // Multi-Object Tracking Result Notification + CMD_NOTIFY_EQ_SOLVING_STATE = 15239; // EQ check status + CMD_NOTIFY_UFO_MODE_STATE = 15240; // Sentinel-UFO Mode Status + CMD_NOTIFY_TELE_LONG_EXP_PROGRESS = 15241; // Telephoto long exposure progress + CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS = 15242; // Wide-angle long exposure progress + CMD_NOTIFY_TEMPERATURE = 15243; // Movement temperature + CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS = 15244; // + CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS = 15245; // + CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE = 15246; // + CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK = 15247; // Wide-angle dark field shooting state + CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE = 15248; // + CMD_NOTIFY_SHOOTING_TASK_STATE = 15249; // + CMD_NOTIFY_SKY_SEACHER_STATE = 15250; // Sky detection status + CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT = 15251; // Wide-angle multi-target box result notification + CMD_NOTIFY_WIDE_TRACK_RESULT = 15252; // Wide-angle single target box result notification + + CMD_NOTIFY_FOCUS = 15257; // Focus Position + + CMD_PANORAMA_START_GRID = 15500; // Start panorama + CMD_PANORAMA_STOP = 15501; // Stop panorama + CMD_PANORAMA_START_EULER_RANGE = 15502; // Start panorama Euler Range +} + +enum DwarfErrorCode { + OK = 0; // OK : No Error + WS_PARSE_PROTOBUF_ERROR = -1; // Protobuf parsing failed + WS_SDCARD_NOT_EXIST = -2; // SD card not detected + WS_INVALID_PARAM = -3; // Invalid parameter + WS_SDCARD_WRITE_ERROR = -4; // Image writing to SD card failed (maybe the card is full) + + CODE_CAMERA_TELE_OPENED = -10500; // Camera is turned on + CODE_CAMERA_TELE_CLOSED = -10501; // Camera is off + CODE_CAMERA_TELE_ISP_SET_FAILED = -10502; // ISP parameter settings failed + CODE_CAMERA_TELE_OPEN_FAILED = -10504; // Camera failed to open + CODE_CAMERA_TELE_RECORDING = -10506; // Recording + CODE_CAMERA_TELE_WORKING_BUSY_STACK = -10507; // The telephoto camera is busy. + CODE_CAMERA_TELE_CAPTURE_RAW_FAILED = -10510; // Failed to catch RAW image + CODE_CAMERA_TELE_WORKING_BUSY = -10511; // The telephoto camera is busy with work + + CODE_ASTRO_PLATE_SOLVING_FAILED = -11500; // Plate solving failed + CODE_ASTRO_FUNCTION_BUSY = -11501; // Astronomical function busy + CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE = -11502; // Gain beyond darkfield shooting range (darkfield coverage 30-150 gain) + CODE_ASTRO_DARK_NOT_FOUND = -11503; // Darkfield not found + CODE_ASTRO_CALIBRATION_FAILED = -11504; // Calibration failed + CODE_ASTRO_GOTO_FAILED = -11505; // GOTO failed + CODE_ASTRO_NEED_GOTO = -11513; // No GOTO + CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM = -11514; // Parameters are not suitable + + CODE_ASTRO_EQ_SOLVING_FAILED = -11516; // EQ calculation failed (only calculation failed to return) + CODE_ASTRO_SKY_SEARCH_FAILED = -11517; // Sky detection failed + + CODE_CAMERA_WIDE_OPENED = -12500; // Wide-angle camera turned on + CODE_CAMERA_WIDE_CLOSED = -12501; // The wide-angle camera is turned off + CODE_CAMERA_WIDE_CANNOT_FOUND = -12502; // Can't find the camera + CODE_CAMERA_WIDE_OPEN_FAILED = -12503; // Failed to open camera + CODE_CAMERA_WIDE_CLOSE_FAILED = -12504; // Failed to turn off camera + CODE_CAMERA_WIDE_SET_ISP_FAILED = -12505; // Failed to set ISP parameters + CODE_CAMERA_WIDE_PHOTOGRAPHING = -12506; // Taking pictures + CODE_CAMERA_WIDE_EXP_TOO_LONG = -12508; // The exposure time is too long, and recording is not supported. + + CODE_SYSTEM_SET_TIME_FAILED = -13300; // Set time failed + CODE_SYSTEM_SET_TIMEZONE_FAILED = -13301; // Failed to set time zone + CODE_SYSTEM_SETTING_TIMEZONE_FAILED = -13302; // Time zone setting failed + + CODE_RGB_POWER_UART_INIT_FAILED = -13800; // Serial port Initialization failed + + CODE_STEP_MOTOR_INVALID_PARAMETER_ID = -14504; // Motor Invalid Id Parameter + CODE_STEP_MOTOR_LIMIT_POSITION_WARNING = -14518; // GOTO limit warning + CODE_STEP_MOTOR_LIMIT_POSITION_HITTED = -14519; // Star collision limit + CODE_STEP_MOTOR_POSITION_NEED_RESET = -14520; // Motor Position need Reset + + CODE_TRACK_TRACKER_INITING = -14900; // Tracking is initializing + CODE_TRACK_TRACKER_FAILED = -14901; // Trace failed + + CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR = -15100; // Slow astronomical autofocus failed + CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR = -15101; // Fast astronomical autofocus failed, you need to perform a slow astronomical autofocus first + + CODE_PANORAMA_PHOTO_FAILED = -15600; // Panoramic shooting failed + CODE_PANORAMA_MOTOR_RESET_FAILED = -15601; // Panoramic shooting motor reset failed +} + +enum AstroTrackingSpecial { + TRACKING_SUN = 0; + TRACKING_MOON = 1; +} + +enum SolarSystemTarget { + Unknown = 0; + Mercury = 1; + Venus = 2; + Mars = 3; + Jupiter = 4; + Saturn = 5; + Uranus = 6; + Neptune = 7; + Moon = 8; + Sun = 9; +} + +enum PhotoMode { + Auto = 0; + Manual = 1; +} + +enum WBMode { + ColorTemperature = 0; + SceneMode = 1; +} + +enum IrCut { + CUT = 0; + PASS = 1; +} diff --git a/dist/src/proto/rgb.proto b/dist/src/proto/rgb.proto new file mode 100644 index 00000000..1da297c3 --- /dev/null +++ b/dist/src/proto/rgb.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + +//打开RGB +message ReqOpenRgb { +} + +//关闭RGB +message ReqCloseRgb { +} + +// 关机 +message ReqPowerDown { +} + + +// 打开电量指示灯 +message ReqOpenPowerInd { +} + +// 关闭电量指示灯 +message ReqClosePowerInd { +} + + +// 重启 +message ReqReboot { +} diff --git a/dist/src/proto/shooting_schedule.proto b/dist/src/proto/shooting_schedule.proto new file mode 100644 index 00000000..00a9f4df --- /dev/null +++ b/dist/src/proto/shooting_schedule.proto @@ -0,0 +1,181 @@ +syntax = "proto3"; + +// 拍摄计划状态 +enum ShootingScheduleState { + SHOOTING_SCHEDULE_STATE_INITIALIZED = 0; // 初始化 + SHOOTING_SCHEDULE_STATE_PENDING_SHOOT = 1; // 待开拍 + SHOOTING_SCHEDULE_STATE_SHOOTING = 2; // 拍摄中 + SHOOTING_SCHEDULE_STATE_COMPLETED = 3; // 已完成 + SHOOTING_SCHEDULE_STATE_EXPIRED = 4; // 已过期 +}; + +// 拍摄计划同步状态 +enum ShootingScheduleSyncState { + SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC = 0; // 待同步 + SHOOTING_SCHEDULE_SYNC_STATE_SYNCED = 1; // 已同步 +} + + +// 拍摄计划结果 +enum ShootingScheduleResult { + SHOOTING_SCHEDULE_RESULT_PENDING_START = 0; // 未开始 + SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED = 1; // 全部完成 + SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED = 2; // 部分完成 + SHOOTING_SCHEDULE_RESULT_ALL_FAILED = 3; // 全部失败 +}; + +// 拍摄任务状态 +enum ShootingTaskState { + SHOOTING_TASK_STATUS_IDLE = 0; // 未开拍 + SHOOTING_TASK_STATUS_SHOOTING = 1; // 拍摄中 + SHOOTING_TASK_STATUS_SUCCESS = 2; // 拍摄成功 + SHOOTING_TASK_STATUS_FAILED = 3; // 拍摄失败 + SHOOTING_TASK_STATUS_INTERRUPTED = 4; // 被中断 +}; + +// 拍摄计划模式 +enum ShootingScheduleMode { + SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY = 0; +}; + + +// 拍摄任务 +message ShootingTaskMsg { + string schedule_id = 1; + string params = 2; + ShootingTaskState state = 3; + int32 code = 4; + int64 created_time = 5; + int64 updated_time = 6; + string schedule_task_id = 7; + int32 param_mode = 8; + int32 param_version = 9; + int32 create_from = 10; +} + +// 拍摄计划 +message ShootingScheduleMsg { + string schedule_id = 1; + string schedule_name = 2; + int32 device_id = 3; + string mac_address = 4; + int64 start_time = 5; + int64 end_time = 6; + ShootingScheduleResult result = 7; + int64 created_time = 8; + int64 updated_time = 9; + ShootingScheduleState state = 10; + int32 lock = 11; + string password = 12; + repeated ShootingTaskMsg shooting_tasks = 13; + int32 param_mode = 14; + int32 param_version = 15; + string params = 16; + int64 schedule_time = 17; + ShootingScheduleSyncState sync_state = 18; +} + +// 同步拍摄计划 +message ReqSyncShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; +} + +// 同步拍摄计划返回 +message ResSyncShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; + repeated string time_conflict_schedule_ids = 2; + int32 code = 3; + bool can_replace = 4; +} + +// 取消同步拍摄计划 +message ReqCancelShootingSchedule { + string id = 1; + string password = 2; +} + +// 2. 取消同步拍摄计划返回 +message ResCancelShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 获取所有拍摄计划 +message ReqGetAllShootingSchedule { + +} + +// 获取所有拍摄计划返回 +message ResGetAllShootingSchedule { + repeated ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 获取指定拍摄计划请求 +message ReqGetShootingScheduleById { + string id = 1; +} + +// 获取指定拍摄计划返回 +message ResGetShootingScheduleById { + ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 获取指定拍摄任务请求 +message ReqGetShootingTaskById { + string id = 1; +} + +// 获取指定拍摄任务返回 +message ResGetShootingTaskById { + ShootingTaskMsg shooting_task = 1; + int32 code = 2; +} + +// 替换指定拍摄计划 +message ReqReplaceShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; +} + +// 替换指定拍摄计划返回 +message ResReplaceShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 解锁指定拍摄计划 +message ReqUnlockShootingSchedule { + string id = 1; + string password = 2; +} + +// 解锁指定拍摄计划返回 +message ResUnlockShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 锁定指定拍摄计划 +message ReqLockShootingSchedule { + string id = 1; + string password = 2; +} + +// 锁定指定拍摄计划返回 +message ResLockShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 删除指定拍摄计划 +message ReqDeleteShootingSchedule { + string id = 1; + string password = 2; +} + +// 删除指定拍摄计划返回 +message ResDeleteShootingSchedule { + string id = 1; + int32 code = 2; +} \ No newline at end of file diff --git a/dist/src/proto/system.proto b/dist/src/proto/system.proto new file mode 100644 index 00000000..67101552 --- /dev/null +++ b/dist/src/proto/system.proto @@ -0,0 +1,73 @@ +syntax = "proto3"; + +//设置系统时间 +message ReqSetTime { + uint64 timestamp = 1; + double timezone_offset = 2; +} + +//设置系统时区 +message ReqSetTimezone { + string timezone = 1; +} + +// 设置MTP模式 +message ReqSetMtpMode { + int32 mode = 1; +} + +// 设置CPU模式 +message ReqSetCpuMode { + int32 mode = 1; +} + +// 设置是否锁定主机 +message ReqsetMasterLock { + bool lock = 1; +} + +// 获取设备激活信息 +message ReqGetDeviceActivateInfo { + int32 issuer = 1; +} + +// 返回设备激活信息(未激活时带获取激活码的请求参数) +message ResDeviceActivateInfo { + int32 activate_state = 1; + int32 activate_process_state = 2; + string request_param = 3; +} + +// 写激活码文件 +message ReqDeviceActivateWriteFile { + string request_param = 1; +} + +// 写激活码文件接口返回 +message ResDeviceActivateWriteFile { + int32 code = 1; + string request_param = 2; +} + +// 激活成功接口(收到服务端激活成功通知后调用) +message ReqDeviceActivateSuccessfull { + string request_param = 1; +} + +// 激活成功接口返回 +message ResDeviceActivateSuccessfull { + int32 code = 1; + int32 activate_state = 2; +} + +// 去激活接口 +message ReqDisableDeviceActivate { + string request_param = 1; +} + +// 去激活接口返回 +message ResDisableDeviceActivate { + int32 code = 1; + int32 activate_state = 2; +} + diff --git a/dist/src/proto/track.proto b/dist/src/proto/track.proto new file mode 100644 index 00000000..4e758040 --- /dev/null +++ b/dist/src/proto/track.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + +// 开始跟踪 +message ReqStartTrack { + int32 x = 1; + int32 y = 2; + int32 w = 3; + int32 h = 4; +} + +// 停止跟踪 +message ReqStopTrack { +} + +// 暂停跟踪 +message ReqPauseTrack { +} + +// 继续跟踪 +message ReqContinueTrack { +} + +// 开始哨兵模式 +message ReqStartSentryMode { + int32 mode = 1; +} + +// 停止哨兵模式 +message ReqStopSentryMode { +} + +message ReqMOTTrack { +} + +message ReqMOTTrackOne { + int32 id = 1; +} + diff --git a/dist/src/protobuf/protobuf.d.ts b/dist/src/protobuf/protobuf.d.ts new file mode 100644 index 00000000..d157a65c --- /dev/null +++ b/dist/src/protobuf/protobuf.d.ts @@ -0,0 +1,21095 @@ +import * as $protobuf from "protobufjs"; +import Long = require("long"); +/** Properties of a ReqStartCalibration. */ +export interface IReqStartCalibration { +} + +/** Represents a ReqStartCalibration. */ +export class ReqStartCalibration implements IReqStartCalibration { + + /** + * Constructs a new ReqStartCalibration. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartCalibration); + + /** + * Creates a new ReqStartCalibration instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartCalibration instance + */ + public static create(properties?: IReqStartCalibration): ReqStartCalibration; + + /** + * Encodes the specified ReqStartCalibration message. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @param message ReqStartCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @param message ReqStartCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartCalibration; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartCalibration; + + /** + * Verifies a ReqStartCalibration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartCalibration + */ + public static fromObject(object: { [k: string]: any }): ReqStartCalibration; + + /** + * Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified. + * @param message ReqStartCalibration + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartCalibration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartCalibration to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartCalibration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCalibration. */ +export interface IReqStopCalibration { +} + +/** Represents a ReqStopCalibration. */ +export class ReqStopCalibration implements IReqStopCalibration { + + /** + * Constructs a new ReqStopCalibration. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCalibration); + + /** + * Creates a new ReqStopCalibration instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCalibration instance + */ + public static create(properties?: IReqStopCalibration): ReqStopCalibration; + + /** + * Encodes the specified ReqStopCalibration message. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @param message ReqStopCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @param message ReqStopCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCalibration; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCalibration; + + /** + * Verifies a ReqStopCalibration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCalibration + */ + public static fromObject(object: { [k: string]: any }): ReqStopCalibration; + + /** + * Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified. + * @param message ReqStopCalibration + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCalibration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCalibration to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCalibration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqGotoDSO. */ +export interface IReqGotoDSO { + + /** ReqGotoDSO ra */ + ra?: (number|null); + + /** ReqGotoDSO dec */ + dec?: (number|null); + + /** ReqGotoDSO targetName */ + targetName?: (string|null); +} + +/** Represents a ReqGotoDSO. */ +export class ReqGotoDSO implements IReqGotoDSO { + + /** + * Constructs a new ReqGotoDSO. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGotoDSO); + + /** ReqGotoDSO ra. */ + public ra: number; + + /** ReqGotoDSO dec. */ + public dec: number; + + /** ReqGotoDSO targetName. */ + public targetName: string; + + /** + * Creates a new ReqGotoDSO instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGotoDSO instance + */ + public static create(properties?: IReqGotoDSO): ReqGotoDSO; + + /** + * Encodes the specified ReqGotoDSO message. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @param message ReqGotoDSO message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGotoDSO, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @param message ReqGotoDSO message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGotoDSO, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGotoDSO; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGotoDSO; + + /** + * Verifies a ReqGotoDSO message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGotoDSO + */ + public static fromObject(object: { [k: string]: any }): ReqGotoDSO; + + /** + * Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified. + * @param message ReqGotoDSO + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGotoDSO, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGotoDSO to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGotoDSO + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqGotoSolarSystem. */ +export interface IReqGotoSolarSystem { + + /** ReqGotoSolarSystem index */ + index?: (number|null); + + /** ReqGotoSolarSystem lon */ + lon?: (number|null); + + /** ReqGotoSolarSystem lat */ + lat?: (number|null); + + /** ReqGotoSolarSystem targetName */ + targetName?: (string|null); +} + +/** Represents a ReqGotoSolarSystem. */ +export class ReqGotoSolarSystem implements IReqGotoSolarSystem { + + /** + * Constructs a new ReqGotoSolarSystem. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGotoSolarSystem); + + /** ReqGotoSolarSystem index. */ + public index: number; + + /** ReqGotoSolarSystem lon. */ + public lon: number; + + /** ReqGotoSolarSystem lat. */ + public lat: number; + + /** ReqGotoSolarSystem targetName. */ + public targetName: string; + + /** + * Creates a new ReqGotoSolarSystem instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGotoSolarSystem instance + */ + public static create(properties?: IReqGotoSolarSystem): ReqGotoSolarSystem; + + /** + * Encodes the specified ReqGotoSolarSystem message. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @param message ReqGotoSolarSystem message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGotoSolarSystem, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @param message ReqGotoSolarSystem message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGotoSolarSystem, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGotoSolarSystem; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGotoSolarSystem; + + /** + * Verifies a ReqGotoSolarSystem message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGotoSolarSystem + */ + public static fromObject(object: { [k: string]: any }): ReqGotoSolarSystem; + + /** + * Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified. + * @param message ReqGotoSolarSystem + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGotoSolarSystem, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGotoSolarSystem to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGotoSolarSystem + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopGoto. */ +export interface IReqStopGoto { +} + +/** Represents a ReqStopGoto. */ +export class ReqStopGoto implements IReqStopGoto { + + /** + * Constructs a new ReqStopGoto. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopGoto); + + /** + * Creates a new ReqStopGoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopGoto instance + */ + public static create(properties?: IReqStopGoto): ReqStopGoto; + + /** + * Encodes the specified ReqStopGoto message. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @param message ReqStopGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopGoto message, length delimited. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @param message ReqStopGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopGoto; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopGoto; + + /** + * Verifies a ReqStopGoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopGoto + */ + public static fromObject(object: { [k: string]: any }): ReqStopGoto; + + /** + * Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified. + * @param message ReqStopGoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopGoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopGoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopGoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCaptureRawLiveStacking. */ +export interface IReqCaptureRawLiveStacking { +} + +/** Represents a ReqCaptureRawLiveStacking. */ +export class ReqCaptureRawLiveStacking implements IReqCaptureRawLiveStacking { + + /** + * Constructs a new ReqCaptureRawLiveStacking. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCaptureRawLiveStacking); + + /** + * Creates a new ReqCaptureRawLiveStacking instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCaptureRawLiveStacking instance + */ + public static create(properties?: IReqCaptureRawLiveStacking): ReqCaptureRawLiveStacking; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @param message ReqCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @param message ReqCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCaptureRawLiveStacking; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCaptureRawLiveStacking; + + /** + * Verifies a ReqCaptureRawLiveStacking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCaptureRawLiveStacking + */ + public static fromObject(object: { [k: string]: any }): ReqCaptureRawLiveStacking; + + /** + * Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified. + * @param message ReqCaptureRawLiveStacking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCaptureRawLiveStacking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCaptureRawLiveStacking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCaptureRawLiveStacking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCaptureRawLiveStacking. */ +export interface IReqStopCaptureRawLiveStacking { +} + +/** Represents a ReqStopCaptureRawLiveStacking. */ +export class ReqStopCaptureRawLiveStacking implements IReqStopCaptureRawLiveStacking { + + /** + * Constructs a new ReqStopCaptureRawLiveStacking. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCaptureRawLiveStacking); + + /** + * Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCaptureRawLiveStacking instance + */ + public static create(properties?: IReqStopCaptureRawLiveStacking): ReqStopCaptureRawLiveStacking; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @param message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @param message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCaptureRawLiveStacking; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCaptureRawLiveStacking; + + /** + * Verifies a ReqStopCaptureRawLiveStacking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCaptureRawLiveStacking + */ + public static fromObject(object: { [k: string]: any }): ReqStopCaptureRawLiveStacking; + + /** + * Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified. + * @param message ReqStopCaptureRawLiveStacking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCaptureRawLiveStacking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCaptureRawLiveStacking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCaptureRawLiveStacking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCheckDarkFrame. */ +export interface IReqCheckDarkFrame { +} + +/** Represents a ReqCheckDarkFrame. */ +export class ReqCheckDarkFrame implements IReqCheckDarkFrame { + + /** + * Constructs a new ReqCheckDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCheckDarkFrame); + + /** + * Creates a new ReqCheckDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCheckDarkFrame instance + */ + public static create(properties?: IReqCheckDarkFrame): ReqCheckDarkFrame; + + /** + * Encodes the specified ReqCheckDarkFrame message. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @param message ReqCheckDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCheckDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @param message ReqCheckDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCheckDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCheckDarkFrame; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCheckDarkFrame; + + /** + * Verifies a ReqCheckDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCheckDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ReqCheckDarkFrame; + + /** + * Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified. + * @param message ReqCheckDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCheckDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCheckDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCheckDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResCheckDarkFrame. */ +export interface IResCheckDarkFrame { + + /** ResCheckDarkFrame progress */ + progress?: (number|null); + + /** ResCheckDarkFrame code */ + code?: (number|null); +} + +/** Represents a ResCheckDarkFrame. */ +export class ResCheckDarkFrame implements IResCheckDarkFrame { + + /** + * Constructs a new ResCheckDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IResCheckDarkFrame); + + /** ResCheckDarkFrame progress. */ + public progress: number; + + /** ResCheckDarkFrame code. */ + public code: number; + + /** + * Creates a new ResCheckDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ResCheckDarkFrame instance + */ + public static create(properties?: IResCheckDarkFrame): ResCheckDarkFrame; + + /** + * Encodes the specified ResCheckDarkFrame message. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @param message ResCheckDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResCheckDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @param message ResCheckDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResCheckDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResCheckDarkFrame; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResCheckDarkFrame; + + /** + * Verifies a ResCheckDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResCheckDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ResCheckDarkFrame; + + /** + * Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified. + * @param message ResCheckDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResCheckDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResCheckDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResCheckDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCaptureDarkFrame. */ +export interface IReqCaptureDarkFrame { + + /** ReqCaptureDarkFrame reshoot */ + reshoot?: (number|null); +} + +/** Represents a ReqCaptureDarkFrame. */ +export class ReqCaptureDarkFrame implements IReqCaptureDarkFrame { + + /** + * Constructs a new ReqCaptureDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCaptureDarkFrame); + + /** ReqCaptureDarkFrame reshoot. */ + public reshoot: number; + + /** + * Creates a new ReqCaptureDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCaptureDarkFrame instance + */ + public static create(properties?: IReqCaptureDarkFrame): ReqCaptureDarkFrame; + + /** + * Encodes the specified ReqCaptureDarkFrame message. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @param message ReqCaptureDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCaptureDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @param message ReqCaptureDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCaptureDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCaptureDarkFrame; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCaptureDarkFrame; + + /** + * Verifies a ReqCaptureDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCaptureDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ReqCaptureDarkFrame; + + /** + * Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified. + * @param message ReqCaptureDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCaptureDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCaptureDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCaptureDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCaptureDarkFrame. */ +export interface IReqStopCaptureDarkFrame { +} + +/** Represents a ReqStopCaptureDarkFrame. */ +export class ReqStopCaptureDarkFrame implements IReqStopCaptureDarkFrame { + + /** + * Constructs a new ReqStopCaptureDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCaptureDarkFrame); + + /** + * Creates a new ReqStopCaptureDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCaptureDarkFrame instance + */ + public static create(properties?: IReqStopCaptureDarkFrame): ReqStopCaptureDarkFrame; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @param message ReqStopCaptureDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCaptureDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @param message ReqStopCaptureDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCaptureDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCaptureDarkFrame; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCaptureDarkFrame; + + /** + * Verifies a ReqStopCaptureDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCaptureDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ReqStopCaptureDarkFrame; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified. + * @param message ReqStopCaptureDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCaptureDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCaptureDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCaptureDarkFrameWithParam. */ +export interface IReqCaptureDarkFrameWithParam { + + /** ReqCaptureDarkFrameWithParam expIndex */ + expIndex?: (number|null); + + /** ReqCaptureDarkFrameWithParam gainIndex */ + gainIndex?: (number|null); + + /** ReqCaptureDarkFrameWithParam binIndex */ + binIndex?: (number|null); + + /** ReqCaptureDarkFrameWithParam capSize */ + capSize?: (number|null); +} + +/** Represents a ReqCaptureDarkFrameWithParam. */ +export class ReqCaptureDarkFrameWithParam implements IReqCaptureDarkFrameWithParam { + + /** + * Constructs a new ReqCaptureDarkFrameWithParam. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCaptureDarkFrameWithParam); + + /** ReqCaptureDarkFrameWithParam expIndex. */ + public expIndex: number; + + /** ReqCaptureDarkFrameWithParam gainIndex. */ + public gainIndex: number; + + /** ReqCaptureDarkFrameWithParam binIndex. */ + public binIndex: number; + + /** ReqCaptureDarkFrameWithParam capSize. */ + public capSize: number; + + /** + * Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCaptureDarkFrameWithParam instance + */ + public static create(properties?: IReqCaptureDarkFrameWithParam): ReqCaptureDarkFrameWithParam; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @param message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCaptureDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @param message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCaptureDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCaptureDarkFrameWithParam; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCaptureDarkFrameWithParam; + + /** + * Verifies a ReqCaptureDarkFrameWithParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCaptureDarkFrameWithParam + */ + public static fromObject(object: { [k: string]: any }): ReqCaptureDarkFrameWithParam; + + /** + * Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @param message ReqCaptureDarkFrameWithParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCaptureDarkFrameWithParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCaptureDarkFrameWithParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCaptureDarkFrameWithParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCaptureDarkFrameWithParam. */ +export interface IReqStopCaptureDarkFrameWithParam { +} + +/** Represents a ReqStopCaptureDarkFrameWithParam. */ +export class ReqStopCaptureDarkFrameWithParam implements IReqStopCaptureDarkFrameWithParam { + + /** + * Constructs a new ReqStopCaptureDarkFrameWithParam. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCaptureDarkFrameWithParam); + + /** + * Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCaptureDarkFrameWithParam instance + */ + public static create(properties?: IReqStopCaptureDarkFrameWithParam): ReqStopCaptureDarkFrameWithParam; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @param message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCaptureDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @param message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCaptureDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCaptureDarkFrameWithParam; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCaptureDarkFrameWithParam; + + /** + * Verifies a ReqStopCaptureDarkFrameWithParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCaptureDarkFrameWithParam + */ + public static fromObject(object: { [k: string]: any }): ReqStopCaptureDarkFrameWithParam; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @param message ReqStopCaptureDarkFrameWithParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCaptureDarkFrameWithParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCaptureDarkFrameWithParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrameWithParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqGetDarkFrameList. */ +export interface IReqGetDarkFrameList { +} + +/** Represents a ReqGetDarkFrameList. */ +export class ReqGetDarkFrameList implements IReqGetDarkFrameList { + + /** + * Constructs a new ReqGetDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetDarkFrameList); + + /** + * Creates a new ReqGetDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetDarkFrameList instance + */ + public static create(properties?: IReqGetDarkFrameList): ReqGetDarkFrameList; + + /** + * Encodes the specified ReqGetDarkFrameList message. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @param message ReqGetDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @param message ReqGetDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetDarkFrameList; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetDarkFrameList; + + /** + * Verifies a ReqGetDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ReqGetDarkFrameList; + + /** + * Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified. + * @param message ReqGetDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResGetDarkFrameInfo. */ +export interface IResGetDarkFrameInfo { + + /** ResGetDarkFrameInfo expIndex */ + expIndex?: (number|null); + + /** ResGetDarkFrameInfo gainIndex */ + gainIndex?: (number|null); + + /** ResGetDarkFrameInfo binIndex */ + binIndex?: (number|null); + + /** ResGetDarkFrameInfo expName */ + expName?: (string|null); + + /** ResGetDarkFrameInfo gainName */ + gainName?: (string|null); + + /** ResGetDarkFrameInfo binName */ + binName?: (string|null); + + /** ResGetDarkFrameInfo temperature */ + temperature?: (number|null); +} + +/** Represents a ResGetDarkFrameInfo. */ +export class ResGetDarkFrameInfo implements IResGetDarkFrameInfo { + + /** + * Constructs a new ResGetDarkFrameInfo. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetDarkFrameInfo); + + /** ResGetDarkFrameInfo expIndex. */ + public expIndex: number; + + /** ResGetDarkFrameInfo gainIndex. */ + public gainIndex: number; + + /** ResGetDarkFrameInfo binIndex. */ + public binIndex: number; + + /** ResGetDarkFrameInfo expName. */ + public expName: string; + + /** ResGetDarkFrameInfo gainName. */ + public gainName: string; + + /** ResGetDarkFrameInfo binName. */ + public binName: string; + + /** ResGetDarkFrameInfo temperature. */ + public temperature: number; + + /** + * Creates a new ResGetDarkFrameInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetDarkFrameInfo instance + */ + public static create(properties?: IResGetDarkFrameInfo): ResGetDarkFrameInfo; + + /** + * Encodes the specified ResGetDarkFrameInfo message. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @param message ResGetDarkFrameInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetDarkFrameInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @param message ResGetDarkFrameInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetDarkFrameInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetDarkFrameInfo; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetDarkFrameInfo; + + /** + * Verifies a ResGetDarkFrameInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetDarkFrameInfo + */ + public static fromObject(object: { [k: string]: any }): ResGetDarkFrameInfo; + + /** + * Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified. + * @param message ResGetDarkFrameInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetDarkFrameInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetDarkFrameInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetDarkFrameInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResGetDarkFrameInfoList. */ +export interface IResGetDarkFrameInfoList { + + /** ResGetDarkFrameInfoList code */ + code?: (number|null); + + /** ResGetDarkFrameInfoList results */ + results?: (IResGetDarkFrameInfo[]|null); +} + +/** Represents a ResGetDarkFrameInfoList. */ +export class ResGetDarkFrameInfoList implements IResGetDarkFrameInfoList { + + /** + * Constructs a new ResGetDarkFrameInfoList. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetDarkFrameInfoList); + + /** ResGetDarkFrameInfoList code. */ + public code: number; + + /** ResGetDarkFrameInfoList results. */ + public results: IResGetDarkFrameInfo[]; + + /** + * Creates a new ResGetDarkFrameInfoList instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetDarkFrameInfoList instance + */ + public static create(properties?: IResGetDarkFrameInfoList): ResGetDarkFrameInfoList; + + /** + * Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @param message ResGetDarkFrameInfoList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetDarkFrameInfoList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @param message ResGetDarkFrameInfoList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetDarkFrameInfoList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetDarkFrameInfoList; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetDarkFrameInfoList; + + /** + * Verifies a ResGetDarkFrameInfoList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetDarkFrameInfoList + */ + public static fromObject(object: { [k: string]: any }): ResGetDarkFrameInfoList; + + /** + * Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified. + * @param message ResGetDarkFrameInfoList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetDarkFrameInfoList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetDarkFrameInfoList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetDarkFrameInfoList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqDelDarkFrame. */ +export interface IReqDelDarkFrame { + + /** ReqDelDarkFrame expIndex */ + expIndex?: (number|null); + + /** ReqDelDarkFrame gainIndex */ + gainIndex?: (number|null); + + /** ReqDelDarkFrame binIndex */ + binIndex?: (number|null); +} + +/** Represents a ReqDelDarkFrame. */ +export class ReqDelDarkFrame implements IReqDelDarkFrame { + + /** + * Constructs a new ReqDelDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDelDarkFrame); + + /** ReqDelDarkFrame expIndex. */ + public expIndex: number; + + /** ReqDelDarkFrame gainIndex. */ + public gainIndex: number; + + /** ReqDelDarkFrame binIndex. */ + public binIndex: number; + + /** + * Creates a new ReqDelDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDelDarkFrame instance + */ + public static create(properties?: IReqDelDarkFrame): ReqDelDarkFrame; + + /** + * Encodes the specified ReqDelDarkFrame message. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @param message ReqDelDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDelDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @param message ReqDelDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDelDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDelDarkFrame; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDelDarkFrame; + + /** + * Verifies a ReqDelDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDelDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ReqDelDarkFrame; + + /** + * Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified. + * @param message ReqDelDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDelDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDelDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDelDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqDelDarkFrameList. */ +export interface IReqDelDarkFrameList { + + /** ReqDelDarkFrameList darkList */ + darkList?: (IReqDelDarkFrame[]|null); +} + +/** Represents a ReqDelDarkFrameList. */ +export class ReqDelDarkFrameList implements IReqDelDarkFrameList { + + /** + * Constructs a new ReqDelDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDelDarkFrameList); + + /** ReqDelDarkFrameList darkList. */ + public darkList: IReqDelDarkFrame[]; + + /** + * Creates a new ReqDelDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDelDarkFrameList instance + */ + public static create(properties?: IReqDelDarkFrameList): ReqDelDarkFrameList; + + /** + * Encodes the specified ReqDelDarkFrameList message. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @param message ReqDelDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDelDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @param message ReqDelDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDelDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDelDarkFrameList; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDelDarkFrameList; + + /** + * Verifies a ReqDelDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDelDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ReqDelDarkFrameList; + + /** + * Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified. + * @param message ReqDelDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDelDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDelDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDelDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResDelDarkFrameList. */ +export interface IResDelDarkFrameList { + + /** ResDelDarkFrameList code */ + code?: (number|null); +} + +/** Represents a ResDelDarkFrameList. */ +export class ResDelDarkFrameList implements IResDelDarkFrameList { + + /** + * Constructs a new ResDelDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IResDelDarkFrameList); + + /** ResDelDarkFrameList code. */ + public code: number; + + /** + * Creates a new ResDelDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDelDarkFrameList instance + */ + public static create(properties?: IResDelDarkFrameList): ResDelDarkFrameList; + + /** + * Encodes the specified ResDelDarkFrameList message. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @param message ResDelDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDelDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @param message ResDelDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDelDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDelDarkFrameList; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDelDarkFrameList; + + /** + * Verifies a ResDelDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDelDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ResDelDarkFrameList; + + /** + * Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified. + * @param message ResDelDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDelDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDelDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDelDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqGoLive. */ +export interface IReqGoLive { +} + +/** Represents a ReqGoLive. */ +export class ReqGoLive implements IReqGoLive { + + /** + * Constructs a new ReqGoLive. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGoLive); + + /** + * Creates a new ReqGoLive instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGoLive instance + */ + public static create(properties?: IReqGoLive): ReqGoLive; + + /** + * Encodes the specified ReqGoLive message. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @param message ReqGoLive message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGoLive, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGoLive message, length delimited. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @param message ReqGoLive message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGoLive, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGoLive; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGoLive; + + /** + * Verifies a ReqGoLive message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGoLive + */ + public static fromObject(object: { [k: string]: any }): ReqGoLive; + + /** + * Creates a plain object from a ReqGoLive message. Also converts values to other types if specified. + * @param message ReqGoLive + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGoLive, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGoLive to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGoLive + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqTrackSpecialTarget. */ +export interface IReqTrackSpecialTarget { + + /** ReqTrackSpecialTarget index */ + index?: (number|null); + + /** ReqTrackSpecialTarget lon */ + lon?: (number|null); + + /** ReqTrackSpecialTarget lat */ + lat?: (number|null); +} + +/** Represents a ReqTrackSpecialTarget. */ +export class ReqTrackSpecialTarget implements IReqTrackSpecialTarget { + + /** + * Constructs a new ReqTrackSpecialTarget. + * @param [properties] Properties to set + */ + constructor(properties?: IReqTrackSpecialTarget); + + /** ReqTrackSpecialTarget index. */ + public index: number; + + /** ReqTrackSpecialTarget lon. */ + public lon: number; + + /** ReqTrackSpecialTarget lat. */ + public lat: number; + + /** + * Creates a new ReqTrackSpecialTarget instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqTrackSpecialTarget instance + */ + public static create(properties?: IReqTrackSpecialTarget): ReqTrackSpecialTarget; + + /** + * Encodes the specified ReqTrackSpecialTarget message. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @param message ReqTrackSpecialTarget message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqTrackSpecialTarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @param message ReqTrackSpecialTarget message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqTrackSpecialTarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqTrackSpecialTarget; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqTrackSpecialTarget; + + /** + * Verifies a ReqTrackSpecialTarget message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqTrackSpecialTarget + */ + public static fromObject(object: { [k: string]: any }): ReqTrackSpecialTarget; + + /** + * Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified. + * @param message ReqTrackSpecialTarget + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqTrackSpecialTarget, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqTrackSpecialTarget to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqTrackSpecialTarget + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopTrackSpecialTarget. */ +export interface IReqStopTrackSpecialTarget { +} + +/** Represents a ReqStopTrackSpecialTarget. */ +export class ReqStopTrackSpecialTarget implements IReqStopTrackSpecialTarget { + + /** + * Constructs a new ReqStopTrackSpecialTarget. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopTrackSpecialTarget); + + /** + * Creates a new ReqStopTrackSpecialTarget instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopTrackSpecialTarget instance + */ + public static create(properties?: IReqStopTrackSpecialTarget): ReqStopTrackSpecialTarget; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @param message ReqStopTrackSpecialTarget message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopTrackSpecialTarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @param message ReqStopTrackSpecialTarget message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopTrackSpecialTarget, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopTrackSpecialTarget; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopTrackSpecialTarget; + + /** + * Verifies a ReqStopTrackSpecialTarget message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopTrackSpecialTarget + */ + public static fromObject(object: { [k: string]: any }): ReqStopTrackSpecialTarget; + + /** + * Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified. + * @param message ReqStopTrackSpecialTarget + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopTrackSpecialTarget, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopTrackSpecialTarget to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopTrackSpecialTarget + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqOneClickGotoDSO. */ +export interface IReqOneClickGotoDSO { + + /** ReqOneClickGotoDSO ra */ + ra?: (number|null); + + /** ReqOneClickGotoDSO dec */ + dec?: (number|null); + + /** ReqOneClickGotoDSO targetName */ + targetName?: (string|null); +} + +/** Represents a ReqOneClickGotoDSO. */ +export class ReqOneClickGotoDSO implements IReqOneClickGotoDSO { + + /** + * Constructs a new ReqOneClickGotoDSO. + * @param [properties] Properties to set + */ + constructor(properties?: IReqOneClickGotoDSO); + + /** ReqOneClickGotoDSO ra. */ + public ra: number; + + /** ReqOneClickGotoDSO dec. */ + public dec: number; + + /** ReqOneClickGotoDSO targetName. */ + public targetName: string; + + /** + * Creates a new ReqOneClickGotoDSO instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqOneClickGotoDSO instance + */ + public static create(properties?: IReqOneClickGotoDSO): ReqOneClickGotoDSO; + + /** + * Encodes the specified ReqOneClickGotoDSO message. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @param message ReqOneClickGotoDSO message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqOneClickGotoDSO, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @param message ReqOneClickGotoDSO message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqOneClickGotoDSO, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqOneClickGotoDSO; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqOneClickGotoDSO; + + /** + * Verifies a ReqOneClickGotoDSO message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqOneClickGotoDSO + */ + public static fromObject(object: { [k: string]: any }): ReqOneClickGotoDSO; + + /** + * Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified. + * @param message ReqOneClickGotoDSO + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqOneClickGotoDSO, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqOneClickGotoDSO to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqOneClickGotoDSO + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqOneClickGotoSolarSystem. */ +export interface IReqOneClickGotoSolarSystem { + + /** ReqOneClickGotoSolarSystem index */ + index?: (number|null); + + /** ReqOneClickGotoSolarSystem lon */ + lon?: (number|null); + + /** ReqOneClickGotoSolarSystem lat */ + lat?: (number|null); + + /** ReqOneClickGotoSolarSystem targetName */ + targetName?: (string|null); +} + +/** Represents a ReqOneClickGotoSolarSystem. */ +export class ReqOneClickGotoSolarSystem implements IReqOneClickGotoSolarSystem { + + /** + * Constructs a new ReqOneClickGotoSolarSystem. + * @param [properties] Properties to set + */ + constructor(properties?: IReqOneClickGotoSolarSystem); + + /** ReqOneClickGotoSolarSystem index. */ + public index: number; + + /** ReqOneClickGotoSolarSystem lon. */ + public lon: number; + + /** ReqOneClickGotoSolarSystem lat. */ + public lat: number; + + /** ReqOneClickGotoSolarSystem targetName. */ + public targetName: string; + + /** + * Creates a new ReqOneClickGotoSolarSystem instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqOneClickGotoSolarSystem instance + */ + public static create(properties?: IReqOneClickGotoSolarSystem): ReqOneClickGotoSolarSystem; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @param message ReqOneClickGotoSolarSystem message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqOneClickGotoSolarSystem, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @param message ReqOneClickGotoSolarSystem message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqOneClickGotoSolarSystem, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqOneClickGotoSolarSystem; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqOneClickGotoSolarSystem; + + /** + * Verifies a ReqOneClickGotoSolarSystem message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqOneClickGotoSolarSystem + */ + public static fromObject(object: { [k: string]: any }): ReqOneClickGotoSolarSystem; + + /** + * Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified. + * @param message ReqOneClickGotoSolarSystem + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqOneClickGotoSolarSystem, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqOneClickGotoSolarSystem to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqOneClickGotoSolarSystem + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResOneClickGoto. */ +export interface IResOneClickGoto { + + /** ResOneClickGoto step */ + step?: (number|null); + + /** ResOneClickGoto code */ + code?: (number|null); + + /** ResOneClickGoto allEnd */ + allEnd?: (boolean|null); +} + +/** Represents a ResOneClickGoto. */ +export class ResOneClickGoto implements IResOneClickGoto { + + /** + * Constructs a new ResOneClickGoto. + * @param [properties] Properties to set + */ + constructor(properties?: IResOneClickGoto); + + /** ResOneClickGoto step. */ + public step: number; + + /** ResOneClickGoto code. */ + public code: number; + + /** ResOneClickGoto allEnd. */ + public allEnd: boolean; + + /** + * Creates a new ResOneClickGoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ResOneClickGoto instance + */ + public static create(properties?: IResOneClickGoto): ResOneClickGoto; + + /** + * Encodes the specified ResOneClickGoto message. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @param message ResOneClickGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResOneClickGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @param message ResOneClickGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResOneClickGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResOneClickGoto; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResOneClickGoto; + + /** + * Verifies a ResOneClickGoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResOneClickGoto + */ + public static fromObject(object: { [k: string]: any }): ResOneClickGoto; + + /** + * Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified. + * @param message ResOneClickGoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResOneClickGoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResOneClickGoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResOneClickGoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopOneClickGoto. */ +export interface IReqStopOneClickGoto { +} + +/** Represents a ReqStopOneClickGoto. */ +export class ReqStopOneClickGoto implements IReqStopOneClickGoto { + + /** + * Constructs a new ReqStopOneClickGoto. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopOneClickGoto); + + /** + * Creates a new ReqStopOneClickGoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopOneClickGoto instance + */ + public static create(properties?: IReqStopOneClickGoto): ReqStopOneClickGoto; + + /** + * Encodes the specified ReqStopOneClickGoto message. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @param message ReqStopOneClickGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopOneClickGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @param message ReqStopOneClickGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopOneClickGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopOneClickGoto; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopOneClickGoto; + + /** + * Verifies a ReqStopOneClickGoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopOneClickGoto + */ + public static fromObject(object: { [k: string]: any }): ReqStopOneClickGoto; + + /** + * Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified. + * @param message ReqStopOneClickGoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopOneClickGoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopOneClickGoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopOneClickGoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCaptureWideRawLiveStacking. */ +export interface IReqCaptureWideRawLiveStacking { +} + +/** Represents a ReqCaptureWideRawLiveStacking. */ +export class ReqCaptureWideRawLiveStacking implements IReqCaptureWideRawLiveStacking { + + /** + * Constructs a new ReqCaptureWideRawLiveStacking. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCaptureWideRawLiveStacking); + + /** + * Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCaptureWideRawLiveStacking instance + */ + public static create(properties?: IReqCaptureWideRawLiveStacking): ReqCaptureWideRawLiveStacking; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @param message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCaptureWideRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @param message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCaptureWideRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCaptureWideRawLiveStacking; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCaptureWideRawLiveStacking; + + /** + * Verifies a ReqCaptureWideRawLiveStacking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCaptureWideRawLiveStacking + */ + public static fromObject(object: { [k: string]: any }): ReqCaptureWideRawLiveStacking; + + /** + * Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @param message ReqCaptureWideRawLiveStacking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCaptureWideRawLiveStacking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCaptureWideRawLiveStacking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCaptureWideRawLiveStacking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCaptureWideRawLiveStacking. */ +export interface IReqStopCaptureWideRawLiveStacking { +} + +/** Represents a ReqStopCaptureWideRawLiveStacking. */ +export class ReqStopCaptureWideRawLiveStacking implements IReqStopCaptureWideRawLiveStacking { + + /** + * Constructs a new ReqStopCaptureWideRawLiveStacking. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCaptureWideRawLiveStacking); + + /** + * Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCaptureWideRawLiveStacking instance + */ + public static create(properties?: IReqStopCaptureWideRawLiveStacking): ReqStopCaptureWideRawLiveStacking; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @param message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCaptureWideRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @param message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCaptureWideRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCaptureWideRawLiveStacking; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCaptureWideRawLiveStacking; + + /** + * Verifies a ReqStopCaptureWideRawLiveStacking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCaptureWideRawLiveStacking + */ + public static fromObject(object: { [k: string]: any }): ReqStopCaptureWideRawLiveStacking; + + /** + * Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @param message ReqStopCaptureWideRawLiveStacking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCaptureWideRawLiveStacking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCaptureWideRawLiveStacking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCaptureWideRawLiveStacking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStartEqSolving. */ +export interface IReqStartEqSolving { + + /** ReqStartEqSolving lon */ + lon?: (number|null); + + /** ReqStartEqSolving lat */ + lat?: (number|null); +} + +/** Represents a ReqStartEqSolving. */ +export class ReqStartEqSolving implements IReqStartEqSolving { + + /** + * Constructs a new ReqStartEqSolving. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartEqSolving); + + /** ReqStartEqSolving lon. */ + public lon: number; + + /** ReqStartEqSolving lat. */ + public lat: number; + + /** + * Creates a new ReqStartEqSolving instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartEqSolving instance + */ + public static create(properties?: IReqStartEqSolving): ReqStartEqSolving; + + /** + * Encodes the specified ReqStartEqSolving message. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @param message ReqStartEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @param message ReqStartEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartEqSolving; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartEqSolving; + + /** + * Verifies a ReqStartEqSolving message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartEqSolving + */ + public static fromObject(object: { [k: string]: any }): ReqStartEqSolving; + + /** + * Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified. + * @param message ReqStartEqSolving + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartEqSolving, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartEqSolving to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartEqSolving + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResStartEqSolving. */ +export interface IResStartEqSolving { + + /** ResStartEqSolving aziErr */ + aziErr?: (number|null); + + /** ResStartEqSolving altErr */ + altErr?: (number|null); + + /** ResStartEqSolving code */ + code?: (number|null); +} + +/** Represents a ResStartEqSolving. */ +export class ResStartEqSolving implements IResStartEqSolving { + + /** + * Constructs a new ResStartEqSolving. + * @param [properties] Properties to set + */ + constructor(properties?: IResStartEqSolving); + + /** ResStartEqSolving aziErr. */ + public aziErr: number; + + /** ResStartEqSolving altErr. */ + public altErr: number; + + /** ResStartEqSolving code. */ + public code: number; + + /** + * Creates a new ResStartEqSolving instance using the specified properties. + * @param [properties] Properties to set + * @returns ResStartEqSolving instance + */ + public static create(properties?: IResStartEqSolving): ResStartEqSolving; + + /** + * Encodes the specified ResStartEqSolving message. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @param message ResStartEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResStartEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @param message ResStartEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResStartEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResStartEqSolving; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResStartEqSolving; + + /** + * Verifies a ResStartEqSolving message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResStartEqSolving + */ + public static fromObject(object: { [k: string]: any }): ResStartEqSolving; + + /** + * Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified. + * @param message ResStartEqSolving + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResStartEqSolving, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResStartEqSolving to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResStartEqSolving + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopEqSolving. */ +export interface IReqStopEqSolving { +} + +/** Represents a ReqStopEqSolving. */ +export class ReqStopEqSolving implements IReqStopEqSolving { + + /** + * Constructs a new ReqStopEqSolving. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopEqSolving); + + /** + * Creates a new ReqStopEqSolving instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopEqSolving instance + */ + public static create(properties?: IReqStopEqSolving): ReqStopEqSolving; + + /** + * Encodes the specified ReqStopEqSolving message. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @param message ReqStopEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @param message ReqStopEqSolving message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopEqSolving, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopEqSolving; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopEqSolving; + + /** + * Verifies a ReqStopEqSolving message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopEqSolving + */ + public static fromObject(object: { [k: string]: any }): ReqStopEqSolving; + + /** + * Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified. + * @param message ReqStopEqSolving + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopEqSolving, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopEqSolving to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopEqSolving + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqCaptureWideDarkFrameWithParam. */ +export interface IReqCaptureWideDarkFrameWithParam { + + /** ReqCaptureWideDarkFrameWithParam expIndex */ + expIndex?: (number|null); + + /** ReqCaptureWideDarkFrameWithParam gainIndex */ + gainIndex?: (number|null); + + /** ReqCaptureWideDarkFrameWithParam binIndex */ + binIndex?: (number|null); + + /** ReqCaptureWideDarkFrameWithParam capSize */ + capSize?: (number|null); +} + +/** Represents a ReqCaptureWideDarkFrameWithParam. */ +export class ReqCaptureWideDarkFrameWithParam implements IReqCaptureWideDarkFrameWithParam { + + /** + * Constructs a new ReqCaptureWideDarkFrameWithParam. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCaptureWideDarkFrameWithParam); + + /** ReqCaptureWideDarkFrameWithParam expIndex. */ + public expIndex: number; + + /** ReqCaptureWideDarkFrameWithParam gainIndex. */ + public gainIndex: number; + + /** ReqCaptureWideDarkFrameWithParam binIndex. */ + public binIndex: number; + + /** ReqCaptureWideDarkFrameWithParam capSize. */ + public capSize: number; + + /** + * Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCaptureWideDarkFrameWithParam instance + */ + public static create(properties?: IReqCaptureWideDarkFrameWithParam): ReqCaptureWideDarkFrameWithParam; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @param message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCaptureWideDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @param message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCaptureWideDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCaptureWideDarkFrameWithParam; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCaptureWideDarkFrameWithParam; + + /** + * Verifies a ReqCaptureWideDarkFrameWithParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCaptureWideDarkFrameWithParam + */ + public static fromObject(object: { [k: string]: any }): ReqCaptureWideDarkFrameWithParam; + + /** + * Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @param message ReqCaptureWideDarkFrameWithParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCaptureWideDarkFrameWithParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCaptureWideDarkFrameWithParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCaptureWideDarkFrameWithParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqStopCaptureWideDarkFrameWithParam. */ +export interface IReqStopCaptureWideDarkFrameWithParam { +} + +/** Represents a ReqStopCaptureWideDarkFrameWithParam. */ +export class ReqStopCaptureWideDarkFrameWithParam implements IReqStopCaptureWideDarkFrameWithParam { + + /** + * Constructs a new ReqStopCaptureWideDarkFrameWithParam. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopCaptureWideDarkFrameWithParam); + + /** + * Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopCaptureWideDarkFrameWithParam instance + */ + public static create(properties?: IReqStopCaptureWideDarkFrameWithParam): ReqStopCaptureWideDarkFrameWithParam; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @param message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopCaptureWideDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @param message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopCaptureWideDarkFrameWithParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopCaptureWideDarkFrameWithParam; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopCaptureWideDarkFrameWithParam; + + /** + * Verifies a ReqStopCaptureWideDarkFrameWithParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopCaptureWideDarkFrameWithParam + */ + public static fromObject(object: { [k: string]: any }): ReqStopCaptureWideDarkFrameWithParam; + + /** + * Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @param message ReqStopCaptureWideDarkFrameWithParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopCaptureWideDarkFrameWithParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopCaptureWideDarkFrameWithParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopCaptureWideDarkFrameWithParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqGetWideDarkFrameList. */ +export interface IReqGetWideDarkFrameList { +} + +/** Represents a ReqGetWideDarkFrameList. */ +export class ReqGetWideDarkFrameList implements IReqGetWideDarkFrameList { + + /** + * Constructs a new ReqGetWideDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetWideDarkFrameList); + + /** + * Creates a new ReqGetWideDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetWideDarkFrameList instance + */ + public static create(properties?: IReqGetWideDarkFrameList): ReqGetWideDarkFrameList; + + /** + * Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @param message ReqGetWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @param message ReqGetWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetWideDarkFrameList; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetWideDarkFrameList; + + /** + * Verifies a ReqGetWideDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetWideDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ReqGetWideDarkFrameList; + + /** + * Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified. + * @param message ReqGetWideDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetWideDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetWideDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetWideDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResGetWideDarkFrameInfo. */ +export interface IResGetWideDarkFrameInfo { + + /** ResGetWideDarkFrameInfo expIndex */ + expIndex?: (number|null); + + /** ResGetWideDarkFrameInfo gainIndex */ + gainIndex?: (number|null); + + /** ResGetWideDarkFrameInfo binIndex */ + binIndex?: (number|null); + + /** ResGetWideDarkFrameInfo expName */ + expName?: (string|null); + + /** ResGetWideDarkFrameInfo gainName */ + gainName?: (string|null); + + /** ResGetWideDarkFrameInfo binName */ + binName?: (string|null); + + /** ResGetWideDarkFrameInfo temperature */ + temperature?: (number|null); +} + +/** Represents a ResGetWideDarkFrameInfo. */ +export class ResGetWideDarkFrameInfo implements IResGetWideDarkFrameInfo { + + /** + * Constructs a new ResGetWideDarkFrameInfo. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetWideDarkFrameInfo); + + /** ResGetWideDarkFrameInfo expIndex. */ + public expIndex: number; + + /** ResGetWideDarkFrameInfo gainIndex. */ + public gainIndex: number; + + /** ResGetWideDarkFrameInfo binIndex. */ + public binIndex: number; + + /** ResGetWideDarkFrameInfo expName. */ + public expName: string; + + /** ResGetWideDarkFrameInfo gainName. */ + public gainName: string; + + /** ResGetWideDarkFrameInfo binName. */ + public binName: string; + + /** ResGetWideDarkFrameInfo temperature. */ + public temperature: number; + + /** + * Creates a new ResGetWideDarkFrameInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetWideDarkFrameInfo instance + */ + public static create(properties?: IResGetWideDarkFrameInfo): ResGetWideDarkFrameInfo; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @param message ResGetWideDarkFrameInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetWideDarkFrameInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @param message ResGetWideDarkFrameInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetWideDarkFrameInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetWideDarkFrameInfo; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetWideDarkFrameInfo; + + /** + * Verifies a ResGetWideDarkFrameInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetWideDarkFrameInfo + */ + public static fromObject(object: { [k: string]: any }): ResGetWideDarkFrameInfo; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified. + * @param message ResGetWideDarkFrameInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetWideDarkFrameInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetWideDarkFrameInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResGetWideDarkFrameInfoList. */ +export interface IResGetWideDarkFrameInfoList { + + /** ResGetWideDarkFrameInfoList code */ + code?: (number|null); + + /** ResGetWideDarkFrameInfoList results */ + results?: (IResGetDarkFrameInfo[]|null); +} + +/** Represents a ResGetWideDarkFrameInfoList. */ +export class ResGetWideDarkFrameInfoList implements IResGetWideDarkFrameInfoList { + + /** + * Constructs a new ResGetWideDarkFrameInfoList. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetWideDarkFrameInfoList); + + /** ResGetWideDarkFrameInfoList code. */ + public code: number; + + /** ResGetWideDarkFrameInfoList results. */ + public results: IResGetDarkFrameInfo[]; + + /** + * Creates a new ResGetWideDarkFrameInfoList instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetWideDarkFrameInfoList instance + */ + public static create(properties?: IResGetWideDarkFrameInfoList): ResGetWideDarkFrameInfoList; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @param message ResGetWideDarkFrameInfoList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetWideDarkFrameInfoList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @param message ResGetWideDarkFrameInfoList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetWideDarkFrameInfoList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetWideDarkFrameInfoList; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetWideDarkFrameInfoList; + + /** + * Verifies a ResGetWideDarkFrameInfoList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetWideDarkFrameInfoList + */ + public static fromObject(object: { [k: string]: any }): ResGetWideDarkFrameInfoList; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified. + * @param message ResGetWideDarkFrameInfoList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetWideDarkFrameInfoList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetWideDarkFrameInfoList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfoList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqDelWideDarkFrame. */ +export interface IReqDelWideDarkFrame { + + /** ReqDelWideDarkFrame expIndex */ + expIndex?: (number|null); + + /** ReqDelWideDarkFrame gainIndex */ + gainIndex?: (number|null); + + /** ReqDelWideDarkFrame binIndex */ + binIndex?: (number|null); +} + +/** Represents a ReqDelWideDarkFrame. */ +export class ReqDelWideDarkFrame implements IReqDelWideDarkFrame { + + /** + * Constructs a new ReqDelWideDarkFrame. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDelWideDarkFrame); + + /** ReqDelWideDarkFrame expIndex. */ + public expIndex: number; + + /** ReqDelWideDarkFrame gainIndex. */ + public gainIndex: number; + + /** ReqDelWideDarkFrame binIndex. */ + public binIndex: number; + + /** + * Creates a new ReqDelWideDarkFrame instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDelWideDarkFrame instance + */ + public static create(properties?: IReqDelWideDarkFrame): ReqDelWideDarkFrame; + + /** + * Encodes the specified ReqDelWideDarkFrame message. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @param message ReqDelWideDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDelWideDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @param message ReqDelWideDarkFrame message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDelWideDarkFrame, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDelWideDarkFrame; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDelWideDarkFrame; + + /** + * Verifies a ReqDelWideDarkFrame message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDelWideDarkFrame + */ + public static fromObject(object: { [k: string]: any }): ReqDelWideDarkFrame; + + /** + * Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified. + * @param message ReqDelWideDarkFrame + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDelWideDarkFrame, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDelWideDarkFrame to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDelWideDarkFrame + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ReqDelWideDarkFrameList. */ +export interface IReqDelWideDarkFrameList { + + /** ReqDelWideDarkFrameList darkList */ + darkList?: (IReqDelDarkFrame[]|null); +} + +/** Represents a ReqDelWideDarkFrameList. */ +export class ReqDelWideDarkFrameList implements IReqDelWideDarkFrameList { + + /** + * Constructs a new ReqDelWideDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDelWideDarkFrameList); + + /** ReqDelWideDarkFrameList darkList. */ + public darkList: IReqDelDarkFrame[]; + + /** + * Creates a new ReqDelWideDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDelWideDarkFrameList instance + */ + public static create(properties?: IReqDelWideDarkFrameList): ReqDelWideDarkFrameList; + + /** + * Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @param message ReqDelWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDelWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @param message ReqDelWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDelWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDelWideDarkFrameList; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDelWideDarkFrameList; + + /** + * Verifies a ReqDelWideDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDelWideDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ReqDelWideDarkFrameList; + + /** + * Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified. + * @param message ReqDelWideDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDelWideDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDelWideDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDelWideDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Properties of a ResDelWideDarkFrameList. */ +export interface IResDelWideDarkFrameList { + + /** ResDelWideDarkFrameList code */ + code?: (number|null); +} + +/** Represents a ResDelWideDarkFrameList. */ +export class ResDelWideDarkFrameList implements IResDelWideDarkFrameList { + + /** + * Constructs a new ResDelWideDarkFrameList. + * @param [properties] Properties to set + */ + constructor(properties?: IResDelWideDarkFrameList); + + /** ResDelWideDarkFrameList code. */ + public code: number; + + /** + * Creates a new ResDelWideDarkFrameList instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDelWideDarkFrameList instance + */ + public static create(properties?: IResDelWideDarkFrameList): ResDelWideDarkFrameList; + + /** + * Encodes the specified ResDelWideDarkFrameList message. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @param message ResDelWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDelWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @param message ResDelWideDarkFrameList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDelWideDarkFrameList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDelWideDarkFrameList; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDelWideDarkFrameList; + + /** + * Verifies a ResDelWideDarkFrameList message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDelWideDarkFrameList + */ + public static fromObject(object: { [k: string]: any }): ResDelWideDarkFrameList; + + /** + * Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified. + * @param message ResDelWideDarkFrameList + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDelWideDarkFrameList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDelWideDarkFrameList to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDelWideDarkFrameList + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** WsMajorVersion enum. */ +export enum WsMajorVersion { + WS_MAJOR_VERSION_UNKNOWN = 0, + WS_MAJOR_VERSION_NUMBER = 1 +} + +/** WsMinorVersion enum. */ +export enum WsMinorVersion { + WS_MINOR_VERSION_UNKNOWN = 0, + WS_MINOR_VERSION_NUMBER = 9 +} + +/** Represents a WsPacket. */ +export class WsPacket implements IWsPacket { + + /** + * Constructs a new WsPacket. + * @param [properties] Properties to set + */ + constructor(properties?: IWsPacket); + + /** WsPacket majorVersion. */ + public majorVersion: number; + + /** WsPacket minorVersion. */ + public minorVersion: number; + + /** WsPacket deviceId. */ + public deviceId: number; + + /** WsPacket moduleId. */ + public moduleId: number; + + /** WsPacket cmd. */ + public cmd: number; + + /** WsPacket type. */ + public type: number; + + /** WsPacket data. */ + public data: Uint8Array; + + /** WsPacket clientId. */ + public clientId: string; + + /** + * Creates a new WsPacket instance using the specified properties. + * @param [properties] Properties to set + * @returns WsPacket instance + */ + public static create(properties?: IWsPacket): WsPacket; + + /** + * Encodes the specified WsPacket message. Does not implicitly {@link WsPacket.verify|verify} messages. + * @param message WsPacket message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IWsPacket, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified WsPacket message, length delimited. Does not implicitly {@link WsPacket.verify|verify} messages. + * @param message WsPacket message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IWsPacket, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WsPacket message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): WsPacket; + + /** + * Decodes a WsPacket message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): WsPacket; + + /** + * Verifies a WsPacket message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a WsPacket message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns WsPacket + */ + public static fromObject(object: { [k: string]: any }): WsPacket; + + /** + * Creates a plain object from a WsPacket message. Also converts values to other types if specified. + * @param message WsPacket + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: WsPacket, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this WsPacket to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WsPacket + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ComResponse. */ +export class ComResponse implements IComResponse { + + /** + * Constructs a new ComResponse. + * @param [properties] Properties to set + */ + constructor(properties?: IComResponse); + + /** ComResponse code. */ + public code: number; + + /** + * Creates a new ComResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ComResponse instance + */ + public static create(properties?: IComResponse): ComResponse; + + /** + * Encodes the specified ComResponse message. Does not implicitly {@link ComResponse.verify|verify} messages. + * @param message ComResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IComResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ComResponse message, length delimited. Does not implicitly {@link ComResponse.verify|verify} messages. + * @param message ComResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IComResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ComResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ComResponse; + + /** + * Decodes a ComResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ComResponse; + + /** + * Verifies a ComResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ComResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ComResponse + */ + public static fromObject(object: { [k: string]: any }): ComResponse; + + /** + * Creates a plain object from a ComResponse message. Also converts values to other types if specified. + * @param message ComResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ComResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ComResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ComResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ComResWithInt. */ +export class ComResWithInt implements IComResWithInt { + + /** + * Constructs a new ComResWithInt. + * @param [properties] Properties to set + */ + constructor(properties?: IComResWithInt); + + /** ComResWithInt value. */ + public value: number; + + /** ComResWithInt code. */ + public code: number; + + /** + * Creates a new ComResWithInt instance using the specified properties. + * @param [properties] Properties to set + * @returns ComResWithInt instance + */ + public static create(properties?: IComResWithInt): ComResWithInt; + + /** + * Encodes the specified ComResWithInt message. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @param message ComResWithInt message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IComResWithInt, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ComResWithInt message, length delimited. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @param message ComResWithInt message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IComResWithInt, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ComResWithInt; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ComResWithInt; + + /** + * Verifies a ComResWithInt message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ComResWithInt + */ + public static fromObject(object: { [k: string]: any }): ComResWithInt; + + /** + * Creates a plain object from a ComResWithInt message. Also converts values to other types if specified. + * @param message ComResWithInt + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ComResWithInt, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ComResWithInt to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ComResWithInt + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ComResWithDouble. */ +export class ComResWithDouble implements IComResWithDouble { + + /** + * Constructs a new ComResWithDouble. + * @param [properties] Properties to set + */ + constructor(properties?: IComResWithDouble); + + /** ComResWithDouble value. */ + public value: number; + + /** ComResWithDouble code. */ + public code: number; + + /** + * Creates a new ComResWithDouble instance using the specified properties. + * @param [properties] Properties to set + * @returns ComResWithDouble instance + */ + public static create(properties?: IComResWithDouble): ComResWithDouble; + + /** + * Encodes the specified ComResWithDouble message. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @param message ComResWithDouble message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IComResWithDouble, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ComResWithDouble message, length delimited. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @param message ComResWithDouble message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IComResWithDouble, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ComResWithDouble; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ComResWithDouble; + + /** + * Verifies a ComResWithDouble message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ComResWithDouble + */ + public static fromObject(object: { [k: string]: any }): ComResWithDouble; + + /** + * Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified. + * @param message ComResWithDouble + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ComResWithDouble, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ComResWithDouble to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ComResWithDouble + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ComResWithString. */ +export class ComResWithString implements IComResWithString { + + /** + * Constructs a new ComResWithString. + * @param [properties] Properties to set + */ + constructor(properties?: IComResWithString); + + /** ComResWithString str. */ + public str: string; + + /** ComResWithString code. */ + public code: number; + + /** + * Creates a new ComResWithString instance using the specified properties. + * @param [properties] Properties to set + * @returns ComResWithString instance + */ + public static create(properties?: IComResWithString): ComResWithString; + + /** + * Encodes the specified ComResWithString message. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @param message ComResWithString message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IComResWithString, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ComResWithString message, length delimited. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @param message ComResWithString message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IComResWithString, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ComResWithString message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ComResWithString; + + /** + * Decodes a ComResWithString message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ComResWithString; + + /** + * Verifies a ComResWithString message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ComResWithString message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ComResWithString + */ + public static fromObject(object: { [k: string]: any }): ComResWithString; + + /** + * Creates a plain object from a ComResWithString message. Also converts values to other types if specified. + * @param message ComResWithString + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ComResWithString, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ComResWithString to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ComResWithString + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a CommonParam. */ +export class CommonParam implements ICommonParam { + + /** + * Constructs a new CommonParam. + * @param [properties] Properties to set + */ + constructor(properties?: ICommonParam); + + /** CommonParam hasAuto. */ + public hasAuto: boolean; + + /** CommonParam autoMode. */ + public autoMode: number; + + /** CommonParam id. */ + public id: number; + + /** CommonParam modeIndex. */ + public modeIndex: number; + + /** CommonParam index. */ + public index: number; + + /** CommonParam continueValue. */ + public continueValue: number; + + /** + * Creates a new CommonParam instance using the specified properties. + * @param [properties] Properties to set + * @returns CommonParam instance + */ + public static create(properties?: ICommonParam): CommonParam; + + /** + * Encodes the specified CommonParam message. Does not implicitly {@link CommonParam.verify|verify} messages. + * @param message CommonParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: ICommonParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CommonParam message, length delimited. Does not implicitly {@link CommonParam.verify|verify} messages. + * @param message CommonParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: ICommonParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CommonParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CommonParam; + + /** + * Decodes a CommonParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CommonParam; + + /** + * Verifies a CommonParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a CommonParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CommonParam + */ + public static fromObject(object: { [k: string]: any }): CommonParam; + + /** + * Creates a plain object from a CommonParam message. Also converts values to other types if specified. + * @param message CommonParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: CommonParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CommonParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommonParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** DwarfBleErrorCode enum. */ +export enum DwarfBleErrorCode { + BLE_OK = 0, + BLE_PASSWORD_ERROR = -1, + BLE_MESSAGE_MALLOC_ERROR = -2, + BLE_MESSAGE_PARSE_ERROR = -3, + BLE_MESSAGE_CRC_ERROR = -4, + BLE_WIFI_CONFIGING = -5, + BLE_WIFI_CONFIGED = -6, + BLE_GET_WIFI_LIST_ERROR = -7, + BLE_WIFI_STA_PASSWORD_EMPTY = -8, + BLE_WIFI_STA_PASSWORD_ERROR = -9, + BLE_WIFI_SET_SSID_PSD_ERROR = -10, + BLE_WIFI_RESET_WAITING = -11, + BLE_WIFI_RESETED = -12, + BLE_GET_SYSTEM_INFO_ERROR = -13, + BLE_RECEIVE_FRAME_HEAD_ERROR = -14, + BLE_RECEIVE_FRAME_TAIL_ERROR = -15, + BLE_CHECK_FILE_NOT_EXIST = -16, + BLE_CHECK_FILE_MD5_ERROR = -17, + BLE_WIFI_RESET_FAILED = -18 +} + +/** Represents a ReqGetconfig. */ +export class ReqGetconfig implements IReqGetconfig { + + /** + * Constructs a new ReqGetconfig. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetconfig); + + /** ReqGetconfig cmd. */ + public cmd: number; + + /** ReqGetconfig blePsd. */ + public blePsd: string; + + /** + * Creates a new ReqGetconfig instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetconfig instance + */ + public static create(properties?: IReqGetconfig): ReqGetconfig; + + /** + * Encodes the specified ReqGetconfig message. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @param message ReqGetconfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetconfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetconfig message, length delimited. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @param message ReqGetconfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetconfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetconfig; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetconfig; + + /** + * Verifies a ReqGetconfig message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetconfig + */ + public static fromObject(object: { [k: string]: any }): ReqGetconfig; + + /** + * Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified. + * @param message ReqGetconfig + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetconfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetconfig to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetconfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqAp. */ +export class ReqAp implements IReqAp { + + /** + * Constructs a new ReqAp. + * @param [properties] Properties to set + */ + constructor(properties?: IReqAp); + + /** ReqAp cmd. */ + public cmd: number; + + /** ReqAp wifiType. */ + public wifiType: number; + + /** ReqAp autoStart. */ + public autoStart: number; + + /** ReqAp countryList. */ + public countryList: number; + + /** ReqAp country. */ + public country: string; + + /** ReqAp blePsd. */ + public blePsd: string; + + /** + * Creates a new ReqAp instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqAp instance + */ + public static create(properties?: IReqAp): ReqAp; + + /** + * Encodes the specified ReqAp message. Does not implicitly {@link ReqAp.verify|verify} messages. + * @param message ReqAp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqAp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqAp message, length delimited. Does not implicitly {@link ReqAp.verify|verify} messages. + * @param message ReqAp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqAp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqAp message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqAp; + + /** + * Decodes a ReqAp message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqAp; + + /** + * Verifies a ReqAp message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqAp message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqAp + */ + public static fromObject(object: { [k: string]: any }): ReqAp; + + /** + * Creates a plain object from a ReqAp message. Also converts values to other types if specified. + * @param message ReqAp + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqAp, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqAp to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqAp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSta. */ +export class ReqSta implements IReqSta { + + /** + * Constructs a new ReqSta. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSta); + + /** ReqSta cmd. */ + public cmd: number; + + /** ReqSta autoStart. */ + public autoStart: number; + + /** ReqSta blePsd. */ + public blePsd: string; + + /** ReqSta ssid. */ + public ssid: string; + + /** ReqSta psd. */ + public psd: string; + + /** + * Creates a new ReqSta instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSta instance + */ + public static create(properties?: IReqSta): ReqSta; + + /** + * Encodes the specified ReqSta message. Does not implicitly {@link ReqSta.verify|verify} messages. + * @param message ReqSta message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSta, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSta message, length delimited. Does not implicitly {@link ReqSta.verify|verify} messages. + * @param message ReqSta message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSta, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSta message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSta; + + /** + * Decodes a ReqSta message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSta; + + /** + * Verifies a ReqSta message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSta message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSta + */ + public static fromObject(object: { [k: string]: any }): ReqSta; + + /** + * Creates a plain object from a ReqSta message. Also converts values to other types if specified. + * @param message ReqSta + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSta, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSta to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSta + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetblewifi. */ +export class ReqSetblewifi implements IReqSetblewifi { + + /** + * Constructs a new ReqSetblewifi. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetblewifi); + + /** ReqSetblewifi cmd. */ + public cmd: number; + + /** ReqSetblewifi mode. */ + public mode: number; + + /** ReqSetblewifi blePsd. */ + public blePsd: string; + + /** ReqSetblewifi value. */ + public value: string; + + /** + * Creates a new ReqSetblewifi instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetblewifi instance + */ + public static create(properties?: IReqSetblewifi): ReqSetblewifi; + + /** + * Encodes the specified ReqSetblewifi message. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @param message ReqSetblewifi message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetblewifi, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @param message ReqSetblewifi message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetblewifi, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetblewifi; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetblewifi; + + /** + * Verifies a ReqSetblewifi message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetblewifi + */ + public static fromObject(object: { [k: string]: any }): ReqSetblewifi; + + /** + * Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified. + * @param message ReqSetblewifi + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetblewifi, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetblewifi to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetblewifi + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqReset. */ +export class ReqReset implements IReqReset { + + /** + * Constructs a new ReqReset. + * @param [properties] Properties to set + */ + constructor(properties?: IReqReset); + + /** ReqReset cmd. */ + public cmd: number; + + /** + * Creates a new ReqReset instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqReset instance + */ + public static create(properties?: IReqReset): ReqReset; + + /** + * Encodes the specified ReqReset message. Does not implicitly {@link ReqReset.verify|verify} messages. + * @param message ReqReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqReset message, length delimited. Does not implicitly {@link ReqReset.verify|verify} messages. + * @param message ReqReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqReset message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqReset; + + /** + * Decodes a ReqReset message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqReset; + + /** + * Verifies a ReqReset message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqReset message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqReset + */ + public static fromObject(object: { [k: string]: any }): ReqReset; + + /** + * Creates a plain object from a ReqReset message. Also converts values to other types if specified. + * @param message ReqReset + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqReset, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqReset to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqReset + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetwifilist. */ +export class ReqGetwifilist implements IReqGetwifilist { + + /** + * Constructs a new ReqGetwifilist. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetwifilist); + + /** ReqGetwifilist cmd. */ + public cmd: number; + + /** + * Creates a new ReqGetwifilist instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetwifilist instance + */ + public static create(properties?: IReqGetwifilist): ReqGetwifilist; + + /** + * Encodes the specified ReqGetwifilist message. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @param message ReqGetwifilist message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetwifilist, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @param message ReqGetwifilist message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetwifilist, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetwifilist; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetwifilist; + + /** + * Verifies a ReqGetwifilist message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetwifilist + */ + public static fromObject(object: { [k: string]: any }): ReqGetwifilist; + + /** + * Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified. + * @param message ReqGetwifilist + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetwifilist, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetwifilist to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetwifilist + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetsysteminfo. */ +export class ReqGetsysteminfo implements IReqGetsysteminfo { + + /** + * Constructs a new ReqGetsysteminfo. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetsysteminfo); + + /** ReqGetsysteminfo cmd. */ + public cmd: number; + + /** + * Creates a new ReqGetsysteminfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetsysteminfo instance + */ + public static create(properties?: IReqGetsysteminfo): ReqGetsysteminfo; + + /** + * Encodes the specified ReqGetsysteminfo message. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @param message ReqGetsysteminfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetsysteminfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @param message ReqGetsysteminfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetsysteminfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetsysteminfo; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetsysteminfo; + + /** + * Verifies a ReqGetsysteminfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetsysteminfo + */ + public static fromObject(object: { [k: string]: any }): ReqGetsysteminfo; + + /** + * Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified. + * @param message ReqGetsysteminfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetsysteminfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetsysteminfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetsysteminfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqCheckFile. */ +export class ReqCheckFile implements IReqCheckFile { + + /** + * Constructs a new ReqCheckFile. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCheckFile); + + /** ReqCheckFile cmd. */ + public cmd: number; + + /** ReqCheckFile filePath. */ + public filePath: string; + + /** ReqCheckFile md5. */ + public md5: string; + + /** + * Creates a new ReqCheckFile instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCheckFile instance + */ + public static create(properties?: IReqCheckFile): ReqCheckFile; + + /** + * Encodes the specified ReqCheckFile message. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @param message ReqCheckFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCheckFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCheckFile message, length delimited. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @param message ReqCheckFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCheckFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCheckFile; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCheckFile; + + /** + * Verifies a ReqCheckFile message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCheckFile + */ + public static fromObject(object: { [k: string]: any }): ReqCheckFile; + + /** + * Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified. + * @param message ReqCheckFile + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCheckFile, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCheckFile to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCheckFile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetconfig. */ +export class ResGetconfig implements IResGetconfig { + + /** + * Constructs a new ResGetconfig. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetconfig); + + /** ResGetconfig cmd. */ + public cmd: number; + + /** ResGetconfig code. */ + public code: number; + + /** ResGetconfig state. */ + public state: number; + + /** ResGetconfig wifiMode. */ + public wifiMode: number; + + /** ResGetconfig apMode. */ + public apMode: number; + + /** ResGetconfig autoStart. */ + public autoStart: number; + + /** ResGetconfig apCountryList. */ + public apCountryList: number; + + /** ResGetconfig ssid. */ + public ssid: string; + + /** ResGetconfig psd. */ + public psd: string; + + /** ResGetconfig ip. */ + public ip: string; + + /** ResGetconfig apCountry. */ + public apCountry: string; + + /** + * Creates a new ResGetconfig instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetconfig instance + */ + public static create(properties?: IResGetconfig): ResGetconfig; + + /** + * Encodes the specified ResGetconfig message. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @param message ResGetconfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetconfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetconfig message, length delimited. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @param message ResGetconfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetconfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetconfig; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetconfig; + + /** + * Verifies a ResGetconfig message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetconfig + */ + public static fromObject(object: { [k: string]: any }): ResGetconfig; + + /** + * Creates a plain object from a ResGetconfig message. Also converts values to other types if specified. + * @param message ResGetconfig + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetconfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetconfig to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetconfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResAp. */ +export class ResAp implements IResAp { + + /** + * Constructs a new ResAp. + * @param [properties] Properties to set + */ + constructor(properties?: IResAp); + + /** ResAp cmd. */ + public cmd: number; + + /** ResAp code. */ + public code: number; + + /** ResAp mode. */ + public mode: number; + + /** ResAp ssid. */ + public ssid: string; + + /** ResAp psd. */ + public psd: string; + + /** + * Creates a new ResAp instance using the specified properties. + * @param [properties] Properties to set + * @returns ResAp instance + */ + public static create(properties?: IResAp): ResAp; + + /** + * Encodes the specified ResAp message. Does not implicitly {@link ResAp.verify|verify} messages. + * @param message ResAp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResAp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResAp message, length delimited. Does not implicitly {@link ResAp.verify|verify} messages. + * @param message ResAp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResAp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResAp message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResAp; + + /** + * Decodes a ResAp message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResAp; + + /** + * Verifies a ResAp message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResAp message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResAp + */ + public static fromObject(object: { [k: string]: any }): ResAp; + + /** + * Creates a plain object from a ResAp message. Also converts values to other types if specified. + * @param message ResAp + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResAp, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResAp to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResAp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResSta. */ +export class ResSta implements IResSta { + + /** + * Constructs a new ResSta. + * @param [properties] Properties to set + */ + constructor(properties?: IResSta); + + /** ResSta cmd. */ + public cmd: number; + + /** ResSta code. */ + public code: number; + + /** ResSta ssid. */ + public ssid: string; + + /** ResSta psd. */ + public psd: string; + + /** ResSta ip. */ + public ip: string; + + /** + * Creates a new ResSta instance using the specified properties. + * @param [properties] Properties to set + * @returns ResSta instance + */ + public static create(properties?: IResSta): ResSta; + + /** + * Encodes the specified ResSta message. Does not implicitly {@link ResSta.verify|verify} messages. + * @param message ResSta message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResSta, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResSta message, length delimited. Does not implicitly {@link ResSta.verify|verify} messages. + * @param message ResSta message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResSta, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResSta message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResSta; + + /** + * Decodes a ResSta message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResSta; + + /** + * Verifies a ResSta message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResSta message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResSta + */ + public static fromObject(object: { [k: string]: any }): ResSta; + + /** + * Creates a plain object from a ResSta message. Also converts values to other types if specified. + * @param message ResSta + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResSta, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResSta to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResSta + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResSetblewifi. */ +export class ResSetblewifi implements IResSetblewifi { + + /** + * Constructs a new ResSetblewifi. + * @param [properties] Properties to set + */ + constructor(properties?: IResSetblewifi); + + /** ResSetblewifi cmd. */ + public cmd: number; + + /** ResSetblewifi code. */ + public code: number; + + /** ResSetblewifi mode. */ + public mode: number; + + /** ResSetblewifi value. */ + public value: string; + + /** + * Creates a new ResSetblewifi instance using the specified properties. + * @param [properties] Properties to set + * @returns ResSetblewifi instance + */ + public static create(properties?: IResSetblewifi): ResSetblewifi; + + /** + * Encodes the specified ResSetblewifi message. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @param message ResSetblewifi message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResSetblewifi, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResSetblewifi message, length delimited. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @param message ResSetblewifi message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResSetblewifi, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResSetblewifi; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResSetblewifi; + + /** + * Verifies a ResSetblewifi message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResSetblewifi + */ + public static fromObject(object: { [k: string]: any }): ResSetblewifi; + + /** + * Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified. + * @param message ResSetblewifi + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResSetblewifi, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResSetblewifi to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResSetblewifi + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResReset. */ +export class ResReset implements IResReset { + + /** + * Constructs a new ResReset. + * @param [properties] Properties to set + */ + constructor(properties?: IResReset); + + /** ResReset cmd. */ + public cmd: number; + + /** ResReset code. */ + public code: number; + + /** + * Creates a new ResReset instance using the specified properties. + * @param [properties] Properties to set + * @returns ResReset instance + */ + public static create(properties?: IResReset): ResReset; + + /** + * Encodes the specified ResReset message. Does not implicitly {@link ResReset.verify|verify} messages. + * @param message ResReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResReset message, length delimited. Does not implicitly {@link ResReset.verify|verify} messages. + * @param message ResReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResReset message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResReset; + + /** + * Decodes a ResReset message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResReset; + + /** + * Verifies a ResReset message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResReset message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResReset + */ + public static fromObject(object: { [k: string]: any }): ResReset; + + /** + * Creates a plain object from a ResReset message. Also converts values to other types if specified. + * @param message ResReset + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResReset, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResReset to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResReset + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResWifilist. */ +export class ResWifilist implements IResWifilist { + + /** + * Constructs a new ResWifilist. + * @param [properties] Properties to set + */ + constructor(properties?: IResWifilist); + + /** ResWifilist cmd. */ + public cmd: number; + + /** ResWifilist code. */ + public code: number; + + /** ResWifilist ssid. */ + public ssid: string[]; + + /** + * Creates a new ResWifilist instance using the specified properties. + * @param [properties] Properties to set + * @returns ResWifilist instance + */ + public static create(properties?: IResWifilist): ResWifilist; + + /** + * Encodes the specified ResWifilist message. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @param message ResWifilist message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResWifilist, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResWifilist message, length delimited. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @param message ResWifilist message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResWifilist, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResWifilist message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResWifilist; + + /** + * Decodes a ResWifilist message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResWifilist; + + /** + * Verifies a ResWifilist message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResWifilist message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResWifilist + */ + public static fromObject(object: { [k: string]: any }): ResWifilist; + + /** + * Creates a plain object from a ResWifilist message. Also converts values to other types if specified. + * @param message ResWifilist + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResWifilist, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResWifilist to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResWifilist + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetsysteminfo. */ +export class ResGetsysteminfo implements IResGetsysteminfo { + + /** + * Constructs a new ResGetsysteminfo. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetsysteminfo); + + /** ResGetsysteminfo cmd. */ + public cmd: number; + + /** ResGetsysteminfo code. */ + public code: number; + + /** ResGetsysteminfo protocolVersion. */ + public protocolVersion: number; + + /** ResGetsysteminfo device. */ + public device: string; + + /** ResGetsysteminfo macAddress. */ + public macAddress: string; + + /** ResGetsysteminfo dwarfOtaVersion. */ + public dwarfOtaVersion: string; + + /** + * Creates a new ResGetsysteminfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetsysteminfo instance + */ + public static create(properties?: IResGetsysteminfo): ResGetsysteminfo; + + /** + * Encodes the specified ResGetsysteminfo message. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @param message ResGetsysteminfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetsysteminfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @param message ResGetsysteminfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetsysteminfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetsysteminfo; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetsysteminfo; + + /** + * Verifies a ResGetsysteminfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetsysteminfo + */ + public static fromObject(object: { [k: string]: any }): ResGetsysteminfo; + + /** + * Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified. + * @param message ResGetsysteminfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetsysteminfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetsysteminfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetsysteminfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResReceiveDataError. */ +export class ResReceiveDataError implements IResReceiveDataError { + + /** + * Constructs a new ResReceiveDataError. + * @param [properties] Properties to set + */ + constructor(properties?: IResReceiveDataError); + + /** ResReceiveDataError cmd. */ + public cmd: number; + + /** ResReceiveDataError code. */ + public code: number; + + /** + * Creates a new ResReceiveDataError instance using the specified properties. + * @param [properties] Properties to set + * @returns ResReceiveDataError instance + */ + public static create(properties?: IResReceiveDataError): ResReceiveDataError; + + /** + * Encodes the specified ResReceiveDataError message. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @param message ResReceiveDataError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResReceiveDataError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @param message ResReceiveDataError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResReceiveDataError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResReceiveDataError; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResReceiveDataError; + + /** + * Verifies a ResReceiveDataError message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResReceiveDataError + */ + public static fromObject(object: { [k: string]: any }): ResReceiveDataError; + + /** + * Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified. + * @param message ResReceiveDataError + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResReceiveDataError, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResReceiveDataError to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResReceiveDataError + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResCheckFile. */ +export class ResCheckFile implements IResCheckFile { + + /** + * Constructs a new ResCheckFile. + * @param [properties] Properties to set + */ + constructor(properties?: IResCheckFile); + + /** ResCheckFile cmd. */ + public cmd: number; + + /** ResCheckFile code. */ + public code: number; + + /** + * Creates a new ResCheckFile instance using the specified properties. + * @param [properties] Properties to set + * @returns ResCheckFile instance + */ + public static create(properties?: IResCheckFile): ResCheckFile; + + /** + * Encodes the specified ResCheckFile message. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @param message ResCheckFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResCheckFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResCheckFile message, length delimited. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @param message ResCheckFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResCheckFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResCheckFile; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResCheckFile; + + /** + * Verifies a ResCheckFile message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResCheckFile + */ + public static fromObject(object: { [k: string]: any }): ResCheckFile; + + /** + * Creates a plain object from a ResCheckFile message. Also converts values to other types if specified. + * @param message ResCheckFile + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResCheckFile, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResCheckFile to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResCheckFile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqOpenCamera. */ +export class ReqOpenCamera implements IReqOpenCamera { + + /** + * Constructs a new ReqOpenCamera. + * @param [properties] Properties to set + */ + constructor(properties?: IReqOpenCamera); + + /** ReqOpenCamera binning. */ + public binning: boolean; + + /** ReqOpenCamera rtspEncodeType. */ + public rtspEncodeType: number; + + /** + * Creates a new ReqOpenCamera instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqOpenCamera instance + */ + public static create(properties?: IReqOpenCamera): ReqOpenCamera; + + /** + * Encodes the specified ReqOpenCamera message. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @param message ReqOpenCamera message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqOpenCamera, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @param message ReqOpenCamera message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqOpenCamera, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqOpenCamera; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqOpenCamera; + + /** + * Verifies a ReqOpenCamera message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqOpenCamera + */ + public static fromObject(object: { [k: string]: any }): ReqOpenCamera; + + /** + * Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified. + * @param message ReqOpenCamera + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqOpenCamera, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqOpenCamera to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqOpenCamera + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqCloseCamera. */ +export class ReqCloseCamera implements IReqCloseCamera { + + /** + * Constructs a new ReqCloseCamera. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCloseCamera); + + /** + * Creates a new ReqCloseCamera instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCloseCamera instance + */ + public static create(properties?: IReqCloseCamera): ReqCloseCamera; + + /** + * Encodes the specified ReqCloseCamera message. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @param message ReqCloseCamera message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCloseCamera, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @param message ReqCloseCamera message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCloseCamera, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCloseCamera; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCloseCamera; + + /** + * Verifies a ReqCloseCamera message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCloseCamera + */ + public static fromObject(object: { [k: string]: any }): ReqCloseCamera; + + /** + * Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified. + * @param message ReqCloseCamera + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCloseCamera, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCloseCamera to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCloseCamera + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqPhoto. */ +export class ReqPhoto implements IReqPhoto { + + /** + * Constructs a new ReqPhoto. + * @param [properties] Properties to set + */ + constructor(properties?: IReqPhoto); + + /** + * Creates a new ReqPhoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqPhoto instance + */ + public static create(properties?: IReqPhoto): ReqPhoto; + + /** + * Encodes the specified ReqPhoto message. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @param message ReqPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqPhoto message, length delimited. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @param message ReqPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqPhoto; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqPhoto; + + /** + * Verifies a ReqPhoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqPhoto + */ + public static fromObject(object: { [k: string]: any }): ReqPhoto; + + /** + * Creates a plain object from a ReqPhoto message. Also converts values to other types if specified. + * @param message ReqPhoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqPhoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqPhoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqPhoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqBurstPhoto. */ +export class ReqBurstPhoto implements IReqBurstPhoto { + + /** + * Constructs a new ReqBurstPhoto. + * @param [properties] Properties to set + */ + constructor(properties?: IReqBurstPhoto); + + /** ReqBurstPhoto count. */ + public count: number; + + /** + * Creates a new ReqBurstPhoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqBurstPhoto instance + */ + public static create(properties?: IReqBurstPhoto): ReqBurstPhoto; + + /** + * Encodes the specified ReqBurstPhoto message. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @param message ReqBurstPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqBurstPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @param message ReqBurstPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqBurstPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqBurstPhoto; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqBurstPhoto; + + /** + * Verifies a ReqBurstPhoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqBurstPhoto + */ + public static fromObject(object: { [k: string]: any }): ReqBurstPhoto; + + /** + * Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified. + * @param message ReqBurstPhoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqBurstPhoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqBurstPhoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqBurstPhoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopBurstPhoto. */ +export class ReqStopBurstPhoto implements IReqStopBurstPhoto { + + /** + * Constructs a new ReqStopBurstPhoto. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopBurstPhoto); + + /** + * Creates a new ReqStopBurstPhoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopBurstPhoto instance + */ + public static create(properties?: IReqStopBurstPhoto): ReqStopBurstPhoto; + + /** + * Encodes the specified ReqStopBurstPhoto message. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @param message ReqStopBurstPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopBurstPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @param message ReqStopBurstPhoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopBurstPhoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopBurstPhoto; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopBurstPhoto; + + /** + * Verifies a ReqStopBurstPhoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopBurstPhoto + */ + public static fromObject(object: { [k: string]: any }): ReqStopBurstPhoto; + + /** + * Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified. + * @param message ReqStopBurstPhoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopBurstPhoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopBurstPhoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopBurstPhoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartRecord. */ +export class ReqStartRecord implements IReqStartRecord { + + /** + * Constructs a new ReqStartRecord. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartRecord); + + /** ReqStartRecord encodeType. */ + public encodeType: number; + + /** + * Creates a new ReqStartRecord instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartRecord instance + */ + public static create(properties?: IReqStartRecord): ReqStartRecord; + + /** + * Encodes the specified ReqStartRecord message. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @param message ReqStartRecord message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartRecord, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartRecord message, length delimited. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @param message ReqStartRecord message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartRecord, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartRecord; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartRecord; + + /** + * Verifies a ReqStartRecord message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartRecord + */ + public static fromObject(object: { [k: string]: any }): ReqStartRecord; + + /** + * Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified. + * @param message ReqStartRecord + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartRecord to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopRecord. */ +export class ReqStopRecord implements IReqStopRecord { + + /** + * Constructs a new ReqStopRecord. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopRecord); + + /** + * Creates a new ReqStopRecord instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopRecord instance + */ + public static create(properties?: IReqStopRecord): ReqStopRecord; + + /** + * Encodes the specified ReqStopRecord message. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @param message ReqStopRecord message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopRecord, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopRecord message, length delimited. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @param message ReqStopRecord message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopRecord, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopRecord; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopRecord; + + /** + * Verifies a ReqStopRecord message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopRecord + */ + public static fromObject(object: { [k: string]: any }): ReqStopRecord; + + /** + * Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified. + * @param message ReqStopRecord + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopRecord to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetExpMode. */ +export class ReqSetExpMode implements IReqSetExpMode { + + /** + * Constructs a new ReqSetExpMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetExpMode); + + /** ReqSetExpMode mode. */ + public mode: number; + + /** + * Creates a new ReqSetExpMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetExpMode instance + */ + public static create(properties?: IReqSetExpMode): ReqSetExpMode; + + /** + * Encodes the specified ReqSetExpMode message. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @param message ReqSetExpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetExpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @param message ReqSetExpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetExpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetExpMode; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetExpMode; + + /** + * Verifies a ReqSetExpMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetExpMode + */ + public static fromObject(object: { [k: string]: any }): ReqSetExpMode; + + /** + * Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified. + * @param message ReqSetExpMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetExpMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetExpMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetExpMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetExpMode. */ +export class ReqGetExpMode implements IReqGetExpMode { + + /** + * Constructs a new ReqGetExpMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetExpMode); + + /** + * Creates a new ReqGetExpMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetExpMode instance + */ + public static create(properties?: IReqGetExpMode): ReqGetExpMode; + + /** + * Encodes the specified ReqGetExpMode message. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @param message ReqGetExpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetExpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @param message ReqGetExpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetExpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetExpMode; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetExpMode; + + /** + * Verifies a ReqGetExpMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetExpMode + */ + public static fromObject(object: { [k: string]: any }): ReqGetExpMode; + + /** + * Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified. + * @param message ReqGetExpMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetExpMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetExpMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetExpMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetExp. */ +export class ReqSetExp implements IReqSetExp { + + /** + * Constructs a new ReqSetExp. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetExp); + + /** ReqSetExp index. */ + public index: number; + + /** + * Creates a new ReqSetExp instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetExp instance + */ + public static create(properties?: IReqSetExp): ReqSetExp; + + /** + * Encodes the specified ReqSetExp message. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @param message ReqSetExp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetExp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetExp message, length delimited. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @param message ReqSetExp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetExp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetExp; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetExp; + + /** + * Verifies a ReqSetExp message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetExp + */ + public static fromObject(object: { [k: string]: any }): ReqSetExp; + + /** + * Creates a plain object from a ReqSetExp message. Also converts values to other types if specified. + * @param message ReqSetExp + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetExp, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetExp to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetExp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetExp. */ +export class ReqGetExp implements IReqGetExp { + + /** + * Constructs a new ReqGetExp. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetExp); + + /** + * Creates a new ReqGetExp instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetExp instance + */ + public static create(properties?: IReqGetExp): ReqGetExp; + + /** + * Encodes the specified ReqGetExp message. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @param message ReqGetExp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetExp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetExp message, length delimited. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @param message ReqGetExp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetExp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetExp; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetExp; + + /** + * Verifies a ReqGetExp message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetExp + */ + public static fromObject(object: { [k: string]: any }): ReqGetExp; + + /** + * Creates a plain object from a ReqGetExp message. Also converts values to other types if specified. + * @param message ReqGetExp + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetExp, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetExp to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetExp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetGainMode. */ +export class ReqSetGainMode implements IReqSetGainMode { + + /** + * Constructs a new ReqSetGainMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetGainMode); + + /** ReqSetGainMode mode. */ + public mode: number; + + /** + * Creates a new ReqSetGainMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetGainMode instance + */ + public static create(properties?: IReqSetGainMode): ReqSetGainMode; + + /** + * Encodes the specified ReqSetGainMode message. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @param message ReqSetGainMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetGainMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @param message ReqSetGainMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetGainMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetGainMode; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetGainMode; + + /** + * Verifies a ReqSetGainMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetGainMode + */ + public static fromObject(object: { [k: string]: any }): ReqSetGainMode; + + /** + * Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified. + * @param message ReqSetGainMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetGainMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetGainMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetGainMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetGainMode. */ +export class ReqGetGainMode implements IReqGetGainMode { + + /** + * Constructs a new ReqGetGainMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetGainMode); + + /** + * Creates a new ReqGetGainMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetGainMode instance + */ + public static create(properties?: IReqGetGainMode): ReqGetGainMode; + + /** + * Encodes the specified ReqGetGainMode message. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @param message ReqGetGainMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetGainMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @param message ReqGetGainMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetGainMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetGainMode; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetGainMode; + + /** + * Verifies a ReqGetGainMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetGainMode + */ + public static fromObject(object: { [k: string]: any }): ReqGetGainMode; + + /** + * Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified. + * @param message ReqGetGainMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetGainMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetGainMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetGainMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetGain. */ +export class ReqSetGain implements IReqSetGain { + + /** + * Constructs a new ReqSetGain. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetGain); + + /** ReqSetGain index. */ + public index: number; + + /** + * Creates a new ReqSetGain instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetGain instance + */ + public static create(properties?: IReqSetGain): ReqSetGain; + + /** + * Encodes the specified ReqSetGain message. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @param message ReqSetGain message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetGain, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetGain message, length delimited. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @param message ReqSetGain message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetGain, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetGain; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetGain; + + /** + * Verifies a ReqSetGain message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetGain + */ + public static fromObject(object: { [k: string]: any }): ReqSetGain; + + /** + * Creates a plain object from a ReqSetGain message. Also converts values to other types if specified. + * @param message ReqSetGain + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetGain, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetGain to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetGain + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetGain. */ +export class ReqGetGain implements IReqGetGain { + + /** + * Constructs a new ReqGetGain. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetGain); + + /** + * Creates a new ReqGetGain instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetGain instance + */ + public static create(properties?: IReqGetGain): ReqGetGain; + + /** + * Encodes the specified ReqGetGain message. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @param message ReqGetGain message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetGain, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetGain message, length delimited. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @param message ReqGetGain message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetGain, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetGain; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetGain; + + /** + * Verifies a ReqGetGain message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetGain + */ + public static fromObject(object: { [k: string]: any }): ReqGetGain; + + /** + * Creates a plain object from a ReqGetGain message. Also converts values to other types if specified. + * @param message ReqGetGain + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetGain, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetGain to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetGain + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetBrightness. */ +export class ReqSetBrightness implements IReqSetBrightness { + + /** + * Constructs a new ReqSetBrightness. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetBrightness); + + /** ReqSetBrightness value. */ + public value: number; + + /** + * Creates a new ReqSetBrightness instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetBrightness instance + */ + public static create(properties?: IReqSetBrightness): ReqSetBrightness; + + /** + * Encodes the specified ReqSetBrightness message. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @param message ReqSetBrightness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetBrightness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @param message ReqSetBrightness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetBrightness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetBrightness; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetBrightness; + + /** + * Verifies a ReqSetBrightness message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetBrightness + */ + public static fromObject(object: { [k: string]: any }): ReqSetBrightness; + + /** + * Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified. + * @param message ReqSetBrightness + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetBrightness, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetBrightness to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetBrightness + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetBrightness. */ +export class ReqGetBrightness implements IReqGetBrightness { + + /** + * Constructs a new ReqGetBrightness. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetBrightness); + + /** + * Creates a new ReqGetBrightness instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetBrightness instance + */ + public static create(properties?: IReqGetBrightness): ReqGetBrightness; + + /** + * Encodes the specified ReqGetBrightness message. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @param message ReqGetBrightness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetBrightness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @param message ReqGetBrightness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetBrightness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetBrightness; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetBrightness; + + /** + * Verifies a ReqGetBrightness message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetBrightness + */ + public static fromObject(object: { [k: string]: any }): ReqGetBrightness; + + /** + * Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified. + * @param message ReqGetBrightness + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetBrightness, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetBrightness to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetBrightness + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetContrast. */ +export class ReqSetContrast implements IReqSetContrast { + + /** + * Constructs a new ReqSetContrast. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetContrast); + + /** ReqSetContrast value. */ + public value: number; + + /** + * Creates a new ReqSetContrast instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetContrast instance + */ + public static create(properties?: IReqSetContrast): ReqSetContrast; + + /** + * Encodes the specified ReqSetContrast message. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @param message ReqSetContrast message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetContrast, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetContrast message, length delimited. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @param message ReqSetContrast message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetContrast, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetContrast; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetContrast; + + /** + * Verifies a ReqSetContrast message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetContrast + */ + public static fromObject(object: { [k: string]: any }): ReqSetContrast; + + /** + * Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified. + * @param message ReqSetContrast + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetContrast, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetContrast to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetContrast + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetContrast. */ +export class ReqGetContrast implements IReqGetContrast { + + /** + * Constructs a new ReqGetContrast. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetContrast); + + /** + * Creates a new ReqGetContrast instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetContrast instance + */ + public static create(properties?: IReqGetContrast): ReqGetContrast; + + /** + * Encodes the specified ReqGetContrast message. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @param message ReqGetContrast message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetContrast, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetContrast message, length delimited. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @param message ReqGetContrast message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetContrast, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetContrast; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetContrast; + + /** + * Verifies a ReqGetContrast message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetContrast + */ + public static fromObject(object: { [k: string]: any }): ReqGetContrast; + + /** + * Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified. + * @param message ReqGetContrast + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetContrast, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetContrast to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetContrast + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetHue. */ +export class ReqSetHue implements IReqSetHue { + + /** + * Constructs a new ReqSetHue. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetHue); + + /** ReqSetHue value. */ + public value: number; + + /** + * Creates a new ReqSetHue instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetHue instance + */ + public static create(properties?: IReqSetHue): ReqSetHue; + + /** + * Encodes the specified ReqSetHue message. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @param message ReqSetHue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetHue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetHue message, length delimited. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @param message ReqSetHue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetHue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetHue; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetHue; + + /** + * Verifies a ReqSetHue message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetHue + */ + public static fromObject(object: { [k: string]: any }): ReqSetHue; + + /** + * Creates a plain object from a ReqSetHue message. Also converts values to other types if specified. + * @param message ReqSetHue + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetHue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetHue to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetHue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetHue. */ +export class ReqGetHue implements IReqGetHue { + + /** + * Constructs a new ReqGetHue. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetHue); + + /** + * Creates a new ReqGetHue instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetHue instance + */ + public static create(properties?: IReqGetHue): ReqGetHue; + + /** + * Encodes the specified ReqGetHue message. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @param message ReqGetHue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetHue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetHue message, length delimited. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @param message ReqGetHue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetHue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetHue; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetHue; + + /** + * Verifies a ReqGetHue message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetHue + */ + public static fromObject(object: { [k: string]: any }): ReqGetHue; + + /** + * Creates a plain object from a ReqGetHue message. Also converts values to other types if specified. + * @param message ReqGetHue + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetHue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetHue to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetHue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetSaturation. */ +export class ReqSetSaturation implements IReqSetSaturation { + + /** + * Constructs a new ReqSetSaturation. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetSaturation); + + /** ReqSetSaturation value. */ + public value: number; + + /** + * Creates a new ReqSetSaturation instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetSaturation instance + */ + public static create(properties?: IReqSetSaturation): ReqSetSaturation; + + /** + * Encodes the specified ReqSetSaturation message. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @param message ReqSetSaturation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetSaturation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @param message ReqSetSaturation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetSaturation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetSaturation; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetSaturation; + + /** + * Verifies a ReqSetSaturation message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetSaturation + */ + public static fromObject(object: { [k: string]: any }): ReqSetSaturation; + + /** + * Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified. + * @param message ReqSetSaturation + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetSaturation, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetSaturation to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetSaturation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetSaturation. */ +export class ReqGetSaturation implements IReqGetSaturation { + + /** + * Constructs a new ReqGetSaturation. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetSaturation); + + /** + * Creates a new ReqGetSaturation instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetSaturation instance + */ + public static create(properties?: IReqGetSaturation): ReqGetSaturation; + + /** + * Encodes the specified ReqGetSaturation message. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @param message ReqGetSaturation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetSaturation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @param message ReqGetSaturation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetSaturation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetSaturation; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetSaturation; + + /** + * Verifies a ReqGetSaturation message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetSaturation + */ + public static fromObject(object: { [k: string]: any }): ReqGetSaturation; + + /** + * Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified. + * @param message ReqGetSaturation + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetSaturation, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetSaturation to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetSaturation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetSharpness. */ +export class ReqSetSharpness implements IReqSetSharpness { + + /** + * Constructs a new ReqSetSharpness. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetSharpness); + + /** ReqSetSharpness value. */ + public value: number; + + /** + * Creates a new ReqSetSharpness instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetSharpness instance + */ + public static create(properties?: IReqSetSharpness): ReqSetSharpness; + + /** + * Encodes the specified ReqSetSharpness message. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @param message ReqSetSharpness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetSharpness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @param message ReqSetSharpness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetSharpness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetSharpness; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetSharpness; + + /** + * Verifies a ReqSetSharpness message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetSharpness + */ + public static fromObject(object: { [k: string]: any }): ReqSetSharpness; + + /** + * Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified. + * @param message ReqSetSharpness + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetSharpness, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetSharpness to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetSharpness + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetSharpness. */ +export class ReqGetSharpness implements IReqGetSharpness { + + /** + * Constructs a new ReqGetSharpness. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetSharpness); + + /** + * Creates a new ReqGetSharpness instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetSharpness instance + */ + public static create(properties?: IReqGetSharpness): ReqGetSharpness; + + /** + * Encodes the specified ReqGetSharpness message. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @param message ReqGetSharpness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetSharpness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @param message ReqGetSharpness message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetSharpness, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetSharpness; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetSharpness; + + /** + * Verifies a ReqGetSharpness message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetSharpness + */ + public static fromObject(object: { [k: string]: any }): ReqGetSharpness; + + /** + * Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified. + * @param message ReqGetSharpness + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetSharpness, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetSharpness to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetSharpness + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetWBMode. */ +export class ReqSetWBMode implements IReqSetWBMode { + + /** + * Constructs a new ReqSetWBMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetWBMode); + + /** ReqSetWBMode mode. */ + public mode: number; + + /** + * Creates a new ReqSetWBMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetWBMode instance + */ + public static create(properties?: IReqSetWBMode): ReqSetWBMode; + + /** + * Encodes the specified ReqSetWBMode message. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @param message ReqSetWBMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetWBMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @param message ReqSetWBMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetWBMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetWBMode; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetWBMode; + + /** + * Verifies a ReqSetWBMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetWBMode + */ + public static fromObject(object: { [k: string]: any }): ReqSetWBMode; + + /** + * Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified. + * @param message ReqSetWBMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetWBMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetWBMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetWBMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetWBMode. */ +export class ReqGetWBMode implements IReqGetWBMode { + + /** + * Constructs a new ReqGetWBMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetWBMode); + + /** + * Creates a new ReqGetWBMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetWBMode instance + */ + public static create(properties?: IReqGetWBMode): ReqGetWBMode; + + /** + * Encodes the specified ReqGetWBMode message. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @param message ReqGetWBMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetWBMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @param message ReqGetWBMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetWBMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetWBMode; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetWBMode; + + /** + * Verifies a ReqGetWBMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetWBMode + */ + public static fromObject(object: { [k: string]: any }): ReqGetWBMode; + + /** + * Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified. + * @param message ReqGetWBMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetWBMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetWBMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetWBMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetWBSence. */ +export class ReqSetWBSence implements IReqSetWBSence { + + /** + * Constructs a new ReqSetWBSence. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetWBSence); + + /** ReqSetWBSence value. */ + public value: number; + + /** + * Creates a new ReqSetWBSence instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetWBSence instance + */ + public static create(properties?: IReqSetWBSence): ReqSetWBSence; + + /** + * Encodes the specified ReqSetWBSence message. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @param message ReqSetWBSence message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetWBSence, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @param message ReqSetWBSence message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetWBSence, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetWBSence; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetWBSence; + + /** + * Verifies a ReqSetWBSence message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetWBSence + */ + public static fromObject(object: { [k: string]: any }): ReqSetWBSence; + + /** + * Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified. + * @param message ReqSetWBSence + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetWBSence, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetWBSence to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetWBSence + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetWBSence. */ +export class ReqGetWBSence implements IReqGetWBSence { + + /** + * Constructs a new ReqGetWBSence. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetWBSence); + + /** + * Creates a new ReqGetWBSence instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetWBSence instance + */ + public static create(properties?: IReqGetWBSence): ReqGetWBSence; + + /** + * Encodes the specified ReqGetWBSence message. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @param message ReqGetWBSence message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetWBSence, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @param message ReqGetWBSence message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetWBSence, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetWBSence; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetWBSence; + + /** + * Verifies a ReqGetWBSence message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetWBSence + */ + public static fromObject(object: { [k: string]: any }): ReqGetWBSence; + + /** + * Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified. + * @param message ReqGetWBSence + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetWBSence, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetWBSence to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetWBSence + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetWBCT. */ +export class ReqSetWBCT implements IReqSetWBCT { + + /** + * Constructs a new ReqSetWBCT. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetWBCT); + + /** ReqSetWBCT index. */ + public index: number; + + /** + * Creates a new ReqSetWBCT instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetWBCT instance + */ + public static create(properties?: IReqSetWBCT): ReqSetWBCT; + + /** + * Encodes the specified ReqSetWBCT message. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @param message ReqSetWBCT message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetWBCT, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @param message ReqSetWBCT message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetWBCT, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetWBCT; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetWBCT; + + /** + * Verifies a ReqSetWBCT message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetWBCT + */ + public static fromObject(object: { [k: string]: any }): ReqSetWBCT; + + /** + * Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified. + * @param message ReqSetWBCT + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetWBCT, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetWBCT to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetWBCT + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetWBCT. */ +export class ReqGetWBCT implements IReqGetWBCT { + + /** + * Constructs a new ReqGetWBCT. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetWBCT); + + /** + * Creates a new ReqGetWBCT instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetWBCT instance + */ + public static create(properties?: IReqGetWBCT): ReqGetWBCT; + + /** + * Encodes the specified ReqGetWBCT message. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @param message ReqGetWBCT message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetWBCT, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @param message ReqGetWBCT message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetWBCT, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetWBCT; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetWBCT; + + /** + * Verifies a ReqGetWBCT message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetWBCT + */ + public static fromObject(object: { [k: string]: any }): ReqGetWBCT; + + /** + * Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified. + * @param message ReqGetWBCT + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetWBCT, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetWBCT to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetWBCT + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetIrCut. */ +export class ReqSetIrCut implements IReqSetIrCut { + + /** + * Constructs a new ReqSetIrCut. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetIrCut); + + /** ReqSetIrCut value. */ + public value: number; + + /** + * Creates a new ReqSetIrCut instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetIrCut instance + */ + public static create(properties?: IReqSetIrCut): ReqSetIrCut; + + /** + * Encodes the specified ReqSetIrCut message. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @param message ReqSetIrCut message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetIrCut, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @param message ReqSetIrCut message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetIrCut, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetIrCut; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetIrCut; + + /** + * Verifies a ReqSetIrCut message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetIrCut + */ + public static fromObject(object: { [k: string]: any }): ReqSetIrCut; + + /** + * Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified. + * @param message ReqSetIrCut + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetIrCut, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetIrCut to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetIrCut + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetIrcut. */ +export class ReqGetIrcut implements IReqGetIrcut { + + /** + * Constructs a new ReqGetIrcut. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetIrcut); + + /** + * Creates a new ReqGetIrcut instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetIrcut instance + */ + public static create(properties?: IReqGetIrcut): ReqGetIrcut; + + /** + * Encodes the specified ReqGetIrcut message. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @param message ReqGetIrcut message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetIrcut, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @param message ReqGetIrcut message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetIrcut, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetIrcut; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetIrcut; + + /** + * Verifies a ReqGetIrcut message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetIrcut + */ + public static fromObject(object: { [k: string]: any }): ReqGetIrcut; + + /** + * Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified. + * @param message ReqGetIrcut + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetIrcut, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetIrcut to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetIrcut + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartTimeLapse. */ +export class ReqStartTimeLapse implements IReqStartTimeLapse { + + /** + * Constructs a new ReqStartTimeLapse. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartTimeLapse); + + /** + * Creates a new ReqStartTimeLapse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartTimeLapse instance + */ + public static create(properties?: IReqStartTimeLapse): ReqStartTimeLapse; + + /** + * Encodes the specified ReqStartTimeLapse message. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @param message ReqStartTimeLapse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartTimeLapse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @param message ReqStartTimeLapse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartTimeLapse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartTimeLapse; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartTimeLapse; + + /** + * Verifies a ReqStartTimeLapse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartTimeLapse + */ + public static fromObject(object: { [k: string]: any }): ReqStartTimeLapse; + + /** + * Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified. + * @param message ReqStartTimeLapse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartTimeLapse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartTimeLapse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartTimeLapse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopTimeLapse. */ +export class ReqStopTimeLapse implements IReqStopTimeLapse { + + /** + * Constructs a new ReqStopTimeLapse. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopTimeLapse); + + /** + * Creates a new ReqStopTimeLapse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopTimeLapse instance + */ + public static create(properties?: IReqStopTimeLapse): ReqStopTimeLapse; + + /** + * Encodes the specified ReqStopTimeLapse message. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @param message ReqStopTimeLapse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopTimeLapse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @param message ReqStopTimeLapse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopTimeLapse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopTimeLapse; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopTimeLapse; + + /** + * Verifies a ReqStopTimeLapse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopTimeLapse + */ + public static fromObject(object: { [k: string]: any }): ReqStopTimeLapse; + + /** + * Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified. + * @param message ReqStopTimeLapse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopTimeLapse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopTimeLapse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopTimeLapse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetAllParams. */ +export class ReqSetAllParams implements IReqSetAllParams { + + /** + * Constructs a new ReqSetAllParams. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetAllParams); + + /** ReqSetAllParams expMode. */ + public expMode: number; + + /** ReqSetAllParams expIndex. */ + public expIndex: number; + + /** ReqSetAllParams gainMode. */ + public gainMode: number; + + /** ReqSetAllParams gainIndex. */ + public gainIndex: number; + + /** ReqSetAllParams ircutValue. */ + public ircutValue: number; + + /** ReqSetAllParams wbMode. */ + public wbMode: number; + + /** ReqSetAllParams wbIndexType. */ + public wbIndexType: number; + + /** ReqSetAllParams wbIndex. */ + public wbIndex: number; + + /** ReqSetAllParams brightness. */ + public brightness: number; + + /** ReqSetAllParams contrast. */ + public contrast: number; + + /** ReqSetAllParams hue. */ + public hue: number; + + /** ReqSetAllParams saturation. */ + public saturation: number; + + /** ReqSetAllParams sharpness. */ + public sharpness: number; + + /** ReqSetAllParams jpgQuality. */ + public jpgQuality: number; + + /** + * Creates a new ReqSetAllParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetAllParams instance + */ + public static create(properties?: IReqSetAllParams): ReqSetAllParams; + + /** + * Encodes the specified ReqSetAllParams message. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @param message ReqSetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @param message ReqSetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetAllParams; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetAllParams; + + /** + * Verifies a ReqSetAllParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetAllParams + */ + public static fromObject(object: { [k: string]: any }): ReqSetAllParams; + + /** + * Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified. + * @param message ReqSetAllParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetAllParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetAllParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetAllParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetAllParams. */ +export class ReqGetAllParams implements IReqGetAllParams { + + /** + * Constructs a new ReqGetAllParams. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetAllParams); + + /** + * Creates a new ReqGetAllParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetAllParams instance + */ + public static create(properties?: IReqGetAllParams): ReqGetAllParams; + + /** + * Encodes the specified ReqGetAllParams message. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @param message ReqGetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @param message ReqGetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetAllParams; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetAllParams; + + /** + * Verifies a ReqGetAllParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetAllParams + */ + public static fromObject(object: { [k: string]: any }): ReqGetAllParams; + + /** + * Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified. + * @param message ReqGetAllParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetAllParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetAllParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetAllParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetAllParams. */ +export class ResGetAllParams implements IResGetAllParams { + + /** + * Constructs a new ResGetAllParams. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetAllParams); + + /** ResGetAllParams allParams. */ + public allParams: ICommonParam[]; + + /** ResGetAllParams code. */ + public code: number; + + /** + * Creates a new ResGetAllParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetAllParams instance + */ + public static create(properties?: IResGetAllParams): ResGetAllParams; + + /** + * Encodes the specified ResGetAllParams message. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @param message ResGetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetAllParams message, length delimited. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @param message ResGetAllParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetAllParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetAllParams; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetAllParams; + + /** + * Verifies a ResGetAllParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetAllParams + */ + public static fromObject(object: { [k: string]: any }): ResGetAllParams; + + /** + * Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified. + * @param message ResGetAllParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetAllParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetAllParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetAllParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetFeatureParams. */ +export class ReqSetFeatureParams implements IReqSetFeatureParams { + + /** + * Constructs a new ReqSetFeatureParams. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetFeatureParams); + + /** ReqSetFeatureParams param. */ + public param?: (ICommonParam|null); + + /** + * Creates a new ReqSetFeatureParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetFeatureParams instance + */ + public static create(properties?: IReqSetFeatureParams): ReqSetFeatureParams; + + /** + * Encodes the specified ReqSetFeatureParams message. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @param message ReqSetFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @param message ReqSetFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetFeatureParams; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetFeatureParams; + + /** + * Verifies a ReqSetFeatureParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetFeatureParams + */ + public static fromObject(object: { [k: string]: any }): ReqSetFeatureParams; + + /** + * Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified. + * @param message ReqSetFeatureParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetFeatureParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetFeatureParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetFeatureParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetAllFeatureParams. */ +export class ReqGetAllFeatureParams implements IReqGetAllFeatureParams { + + /** + * Constructs a new ReqGetAllFeatureParams. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetAllFeatureParams); + + /** + * Creates a new ReqGetAllFeatureParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetAllFeatureParams instance + */ + public static create(properties?: IReqGetAllFeatureParams): ReqGetAllFeatureParams; + + /** + * Encodes the specified ReqGetAllFeatureParams message. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @param message ReqGetAllFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetAllFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @param message ReqGetAllFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetAllFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetAllFeatureParams; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetAllFeatureParams; + + /** + * Verifies a ReqGetAllFeatureParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetAllFeatureParams + */ + public static fromObject(object: { [k: string]: any }): ReqGetAllFeatureParams; + + /** + * Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified. + * @param message ReqGetAllFeatureParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetAllFeatureParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetAllFeatureParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetAllFeatureParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetAllFeatureParams. */ +export class ResGetAllFeatureParams implements IResGetAllFeatureParams { + + /** + * Constructs a new ResGetAllFeatureParams. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetAllFeatureParams); + + /** ResGetAllFeatureParams allFeatureParams. */ + public allFeatureParams: ICommonParam[]; + + /** ResGetAllFeatureParams code. */ + public code: number; + + /** + * Creates a new ResGetAllFeatureParams instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetAllFeatureParams instance + */ + public static create(properties?: IResGetAllFeatureParams): ResGetAllFeatureParams; + + /** + * Encodes the specified ResGetAllFeatureParams message. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @param message ResGetAllFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetAllFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @param message ResGetAllFeatureParams message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetAllFeatureParams, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetAllFeatureParams; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetAllFeatureParams; + + /** + * Verifies a ResGetAllFeatureParams message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetAllFeatureParams + */ + public static fromObject(object: { [k: string]: any }): ResGetAllFeatureParams; + + /** + * Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified. + * @param message ResGetAllFeatureParams + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetAllFeatureParams, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetAllFeatureParams to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetAllFeatureParams + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetSystemWorkingState. */ +export class ReqGetSystemWorkingState implements IReqGetSystemWorkingState { + + /** + * Constructs a new ReqGetSystemWorkingState. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetSystemWorkingState); + + /** + * Creates a new ReqGetSystemWorkingState instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetSystemWorkingState instance + */ + public static create(properties?: IReqGetSystemWorkingState): ReqGetSystemWorkingState; + + /** + * Encodes the specified ReqGetSystemWorkingState message. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @param message ReqGetSystemWorkingState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetSystemWorkingState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @param message ReqGetSystemWorkingState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetSystemWorkingState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetSystemWorkingState; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetSystemWorkingState; + + /** + * Verifies a ReqGetSystemWorkingState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetSystemWorkingState + */ + public static fromObject(object: { [k: string]: any }): ReqGetSystemWorkingState; + + /** + * Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified. + * @param message ReqGetSystemWorkingState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetSystemWorkingState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetSystemWorkingState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetSystemWorkingState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetJpgQuality. */ +export class ReqSetJpgQuality implements IReqSetJpgQuality { + + /** + * Constructs a new ReqSetJpgQuality. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetJpgQuality); + + /** ReqSetJpgQuality quality. */ + public quality: number; + + /** + * Creates a new ReqSetJpgQuality instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetJpgQuality instance + */ + public static create(properties?: IReqSetJpgQuality): ReqSetJpgQuality; + + /** + * Encodes the specified ReqSetJpgQuality message. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @param message ReqSetJpgQuality message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetJpgQuality, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @param message ReqSetJpgQuality message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetJpgQuality, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetJpgQuality; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetJpgQuality; + + /** + * Verifies a ReqSetJpgQuality message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetJpgQuality + */ + public static fromObject(object: { [k: string]: any }): ReqSetJpgQuality; + + /** + * Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified. + * @param message ReqSetJpgQuality + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetJpgQuality, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetJpgQuality to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetJpgQuality + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetJpgQuality. */ +export class ReqGetJpgQuality implements IReqGetJpgQuality { + + /** + * Constructs a new ReqGetJpgQuality. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetJpgQuality); + + /** + * Creates a new ReqGetJpgQuality instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetJpgQuality instance + */ + public static create(properties?: IReqGetJpgQuality): ReqGetJpgQuality; + + /** + * Encodes the specified ReqGetJpgQuality message. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @param message ReqGetJpgQuality message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetJpgQuality, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @param message ReqGetJpgQuality message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetJpgQuality, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetJpgQuality; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetJpgQuality; + + /** + * Verifies a ReqGetJpgQuality message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetJpgQuality + */ + public static fromObject(object: { [k: string]: any }): ReqGetJpgQuality; + + /** + * Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified. + * @param message ReqGetJpgQuality + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetJpgQuality, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetJpgQuality to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetJpgQuality + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqPhotoRaw. */ +export class ReqPhotoRaw implements IReqPhotoRaw { + + /** + * Constructs a new ReqPhotoRaw. + * @param [properties] Properties to set + */ + constructor(properties?: IReqPhotoRaw); + + /** + * Creates a new ReqPhotoRaw instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqPhotoRaw instance + */ + public static create(properties?: IReqPhotoRaw): ReqPhotoRaw; + + /** + * Encodes the specified ReqPhotoRaw message. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @param message ReqPhotoRaw message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqPhotoRaw, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @param message ReqPhotoRaw message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqPhotoRaw, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqPhotoRaw; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqPhotoRaw; + + /** + * Verifies a ReqPhotoRaw message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqPhotoRaw + */ + public static fromObject(object: { [k: string]: any }): ReqPhotoRaw; + + /** + * Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified. + * @param message ReqPhotoRaw + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqPhotoRaw, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqPhotoRaw to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqPhotoRaw + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetRtspBitRateType. */ +export class ReqSetRtspBitRateType implements IReqSetRtspBitRateType { + + /** + * Constructs a new ReqSetRtspBitRateType. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetRtspBitRateType); + + /** ReqSetRtspBitRateType bitrateType. */ + public bitrateType: number; + + /** + * Creates a new ReqSetRtspBitRateType instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetRtspBitRateType instance + */ + public static create(properties?: IReqSetRtspBitRateType): ReqSetRtspBitRateType; + + /** + * Encodes the specified ReqSetRtspBitRateType message. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @param message ReqSetRtspBitRateType message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetRtspBitRateType, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @param message ReqSetRtspBitRateType message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetRtspBitRateType, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetRtspBitRateType; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetRtspBitRateType; + + /** + * Verifies a ReqSetRtspBitRateType message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetRtspBitRateType + */ + public static fromObject(object: { [k: string]: any }): ReqSetRtspBitRateType; + + /** + * Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified. + * @param message ReqSetRtspBitRateType + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetRtspBitRateType, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetRtspBitRateType to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetRtspBitRateType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDisableAllIspProcessing. */ +export class ReqDisableAllIspProcessing implements IReqDisableAllIspProcessing { + + /** + * Constructs a new ReqDisableAllIspProcessing. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDisableAllIspProcessing); + + /** + * Creates a new ReqDisableAllIspProcessing instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDisableAllIspProcessing instance + */ + public static create(properties?: IReqDisableAllIspProcessing): ReqDisableAllIspProcessing; + + /** + * Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @param message ReqDisableAllIspProcessing message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDisableAllIspProcessing, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @param message ReqDisableAllIspProcessing message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDisableAllIspProcessing, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDisableAllIspProcessing; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDisableAllIspProcessing; + + /** + * Verifies a ReqDisableAllIspProcessing message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDisableAllIspProcessing + */ + public static fromObject(object: { [k: string]: any }): ReqDisableAllIspProcessing; + + /** + * Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified. + * @param message ReqDisableAllIspProcessing + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDisableAllIspProcessing, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDisableAllIspProcessing to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDisableAllIspProcessing + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqEnableAllIspProcessing. */ +export class ReqEnableAllIspProcessing implements IReqEnableAllIspProcessing { + + /** + * Constructs a new ReqEnableAllIspProcessing. + * @param [properties] Properties to set + */ + constructor(properties?: IReqEnableAllIspProcessing); + + /** + * Creates a new ReqEnableAllIspProcessing instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqEnableAllIspProcessing instance + */ + public static create(properties?: IReqEnableAllIspProcessing): ReqEnableAllIspProcessing; + + /** + * Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @param message ReqEnableAllIspProcessing message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqEnableAllIspProcessing, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @param message ReqEnableAllIspProcessing message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqEnableAllIspProcessing, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqEnableAllIspProcessing; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqEnableAllIspProcessing; + + /** + * Verifies a ReqEnableAllIspProcessing message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqEnableAllIspProcessing + */ + public static fromObject(object: { [k: string]: any }): ReqEnableAllIspProcessing; + + /** + * Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified. + * @param message ReqEnableAllIspProcessing + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqEnableAllIspProcessing, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqEnableAllIspProcessing to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqEnableAllIspProcessing + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqManualSingleStepFocus. */ +export class ReqManualSingleStepFocus implements IReqManualSingleStepFocus { + + /** + * Constructs a new ReqManualSingleStepFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqManualSingleStepFocus); + + /** ReqManualSingleStepFocus direction. */ + public direction: number; + + /** + * Creates a new ReqManualSingleStepFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqManualSingleStepFocus instance + */ + public static create(properties?: IReqManualSingleStepFocus): ReqManualSingleStepFocus; + + /** + * Encodes the specified ReqManualSingleStepFocus message. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @param message ReqManualSingleStepFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqManualSingleStepFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @param message ReqManualSingleStepFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqManualSingleStepFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqManualSingleStepFocus; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqManualSingleStepFocus; + + /** + * Verifies a ReqManualSingleStepFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqManualSingleStepFocus + */ + public static fromObject(object: { [k: string]: any }): ReqManualSingleStepFocus; + + /** + * Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified. + * @param message ReqManualSingleStepFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqManualSingleStepFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqManualSingleStepFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqManualSingleStepFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqManualContinuFocus. */ +export class ReqManualContinuFocus implements IReqManualContinuFocus { + + /** + * Constructs a new ReqManualContinuFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqManualContinuFocus); + + /** ReqManualContinuFocus direction. */ + public direction: number; + + /** + * Creates a new ReqManualContinuFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqManualContinuFocus instance + */ + public static create(properties?: IReqManualContinuFocus): ReqManualContinuFocus; + + /** + * Encodes the specified ReqManualContinuFocus message. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @param message ReqManualContinuFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqManualContinuFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @param message ReqManualContinuFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqManualContinuFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqManualContinuFocus; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqManualContinuFocus; + + /** + * Verifies a ReqManualContinuFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqManualContinuFocus + */ + public static fromObject(object: { [k: string]: any }): ReqManualContinuFocus; + + /** + * Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified. + * @param message ReqManualContinuFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqManualContinuFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqManualContinuFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqManualContinuFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopManualContinuFocus. */ +export class ReqStopManualContinuFocus implements IReqStopManualContinuFocus { + + /** + * Constructs a new ReqStopManualContinuFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopManualContinuFocus); + + /** + * Creates a new ReqStopManualContinuFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopManualContinuFocus instance + */ + public static create(properties?: IReqStopManualContinuFocus): ReqStopManualContinuFocus; + + /** + * Encodes the specified ReqStopManualContinuFocus message. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @param message ReqStopManualContinuFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopManualContinuFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @param message ReqStopManualContinuFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopManualContinuFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopManualContinuFocus; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopManualContinuFocus; + + /** + * Verifies a ReqStopManualContinuFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopManualContinuFocus + */ + public static fromObject(object: { [k: string]: any }): ReqStopManualContinuFocus; + + /** + * Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified. + * @param message ReqStopManualContinuFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopManualContinuFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopManualContinuFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopManualContinuFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqNormalAutoFocus. */ +export class ReqNormalAutoFocus implements IReqNormalAutoFocus { + + /** + * Constructs a new ReqNormalAutoFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqNormalAutoFocus); + + /** ReqNormalAutoFocus mode. */ + public mode: number; + + /** ReqNormalAutoFocus centerX. */ + public centerX: number; + + /** ReqNormalAutoFocus centerY. */ + public centerY: number; + + /** + * Creates a new ReqNormalAutoFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqNormalAutoFocus instance + */ + public static create(properties?: IReqNormalAutoFocus): ReqNormalAutoFocus; + + /** + * Encodes the specified ReqNormalAutoFocus message. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @param message ReqNormalAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqNormalAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @param message ReqNormalAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqNormalAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqNormalAutoFocus; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqNormalAutoFocus; + + /** + * Verifies a ReqNormalAutoFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqNormalAutoFocus + */ + public static fromObject(object: { [k: string]: any }): ReqNormalAutoFocus; + + /** + * Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified. + * @param message ReqNormalAutoFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqNormalAutoFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqNormalAutoFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqNormalAutoFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqAstroAutoFocus. */ +export class ReqAstroAutoFocus implements IReqAstroAutoFocus { + + /** + * Constructs a new ReqAstroAutoFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqAstroAutoFocus); + + /** ReqAstroAutoFocus mode. */ + public mode: number; + + /** + * Creates a new ReqAstroAutoFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqAstroAutoFocus instance + */ + public static create(properties?: IReqAstroAutoFocus): ReqAstroAutoFocus; + + /** + * Encodes the specified ReqAstroAutoFocus message. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @param message ReqAstroAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqAstroAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @param message ReqAstroAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqAstroAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqAstroAutoFocus; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqAstroAutoFocus; + + /** + * Verifies a ReqAstroAutoFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqAstroAutoFocus + */ + public static fromObject(object: { [k: string]: any }): ReqAstroAutoFocus; + + /** + * Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified. + * @param message ReqAstroAutoFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqAstroAutoFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqAstroAutoFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqAstroAutoFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopAstroAutoFocus. */ +export class ReqStopAstroAutoFocus implements IReqStopAstroAutoFocus { + + /** + * Constructs a new ReqStopAstroAutoFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopAstroAutoFocus); + + /** + * Creates a new ReqStopAstroAutoFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopAstroAutoFocus instance + */ + public static create(properties?: IReqStopAstroAutoFocus): ReqStopAstroAutoFocus; + + /** + * Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @param message ReqStopAstroAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopAstroAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @param message ReqStopAstroAutoFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopAstroAutoFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopAstroAutoFocus; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopAstroAutoFocus; + + /** + * Verifies a ReqStopAstroAutoFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopAstroAutoFocus + */ + public static fromObject(object: { [k: string]: any }): ReqStopAstroAutoFocus; + + /** + * Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified. + * @param message ReqStopAstroAutoFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopAstroAutoFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopAstroAutoFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopAstroAutoFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorServiceJoystick. */ +export class ReqMotorServiceJoystick implements IReqMotorServiceJoystick { + + /** + * Constructs a new ReqMotorServiceJoystick. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorServiceJoystick); + + /** ReqMotorServiceJoystick vectorAngle. */ + public vectorAngle: number; + + /** ReqMotorServiceJoystick vectorLength. */ + public vectorLength: number; + + /** ReqMotorServiceJoystick speed. */ + public speed: number; + + /** + * Creates a new ReqMotorServiceJoystick instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorServiceJoystick instance + */ + public static create(properties?: IReqMotorServiceJoystick): ReqMotorServiceJoystick; + + /** + * Encodes the specified ReqMotorServiceJoystick message. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @param message ReqMotorServiceJoystick message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorServiceJoystick, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @param message ReqMotorServiceJoystick message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorServiceJoystick, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorServiceJoystick; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorServiceJoystick; + + /** + * Verifies a ReqMotorServiceJoystick message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorServiceJoystick + */ + public static fromObject(object: { [k: string]: any }): ReqMotorServiceJoystick; + + /** + * Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified. + * @param message ReqMotorServiceJoystick + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorServiceJoystick, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorServiceJoystick to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorServiceJoystick + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorServiceJoystickFixedAngle. */ +export class ReqMotorServiceJoystickFixedAngle implements IReqMotorServiceJoystickFixedAngle { + + /** + * Constructs a new ReqMotorServiceJoystickFixedAngle. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorServiceJoystickFixedAngle); + + /** ReqMotorServiceJoystickFixedAngle vectorAngle. */ + public vectorAngle: number; + + /** ReqMotorServiceJoystickFixedAngle vectorLength. */ + public vectorLength: number; + + /** ReqMotorServiceJoystickFixedAngle speed. */ + public speed: number; + + /** + * Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorServiceJoystickFixedAngle instance + */ + public static create(properties?: IReqMotorServiceJoystickFixedAngle): ReqMotorServiceJoystickFixedAngle; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @param message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorServiceJoystickFixedAngle, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @param message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorServiceJoystickFixedAngle, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorServiceJoystickFixedAngle; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorServiceJoystickFixedAngle; + + /** + * Verifies a ReqMotorServiceJoystickFixedAngle message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorServiceJoystickFixedAngle + */ + public static fromObject(object: { [k: string]: any }): ReqMotorServiceJoystickFixedAngle; + + /** + * Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified. + * @param message ReqMotorServiceJoystickFixedAngle + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorServiceJoystickFixedAngle, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorServiceJoystickFixedAngle to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorServiceJoystickFixedAngle + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorServiceJoystickStop. */ +export class ReqMotorServiceJoystickStop implements IReqMotorServiceJoystickStop { + + /** + * Constructs a new ReqMotorServiceJoystickStop. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorServiceJoystickStop); + + /** + * Creates a new ReqMotorServiceJoystickStop instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorServiceJoystickStop instance + */ + public static create(properties?: IReqMotorServiceJoystickStop): ReqMotorServiceJoystickStop; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @param message ReqMotorServiceJoystickStop message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorServiceJoystickStop, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @param message ReqMotorServiceJoystickStop message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorServiceJoystickStop, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorServiceJoystickStop; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorServiceJoystickStop; + + /** + * Verifies a ReqMotorServiceJoystickStop message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorServiceJoystickStop + */ + public static fromObject(object: { [k: string]: any }): ReqMotorServiceJoystickStop; + + /** + * Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified. + * @param message ReqMotorServiceJoystickStop + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorServiceJoystickStop, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorServiceJoystickStop to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorServiceJoystickStop + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorRun. */ +export class ReqMotorRun implements IReqMotorRun { + + /** + * Constructs a new ReqMotorRun. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorRun); + + /** ReqMotorRun id. */ + public id: number; + + /** ReqMotorRun speed. */ + public speed: number; + + /** ReqMotorRun direction. */ + public direction: boolean; + + /** ReqMotorRun speedRamping. */ + public speedRamping: number; + + /** ReqMotorRun resolutionLevel. */ + public resolutionLevel: number; + + /** + * Creates a new ReqMotorRun instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorRun instance + */ + public static create(properties?: IReqMotorRun): ReqMotorRun; + + /** + * Encodes the specified ReqMotorRun message. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @param message ReqMotorRun message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorRun, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorRun message, length delimited. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @param message ReqMotorRun message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorRun, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorRun; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorRun; + + /** + * Verifies a ReqMotorRun message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorRun + */ + public static fromObject(object: { [k: string]: any }): ReqMotorRun; + + /** + * Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified. + * @param message ReqMotorRun + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorRun, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorRun to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorRun + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorRunInPulse. */ +export class ReqMotorRunInPulse implements IReqMotorRunInPulse { + + /** + * Constructs a new ReqMotorRunInPulse. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorRunInPulse); + + /** ReqMotorRunInPulse id. */ + public id: number; + + /** ReqMotorRunInPulse frequency. */ + public frequency: number; + + /** ReqMotorRunInPulse direction. */ + public direction: boolean; + + /** ReqMotorRunInPulse speedRamping. */ + public speedRamping: number; + + /** ReqMotorRunInPulse resolution. */ + public resolution: number; + + /** ReqMotorRunInPulse pulse. */ + public pulse: number; + + /** ReqMotorRunInPulse mode. */ + public mode: boolean; + + /** + * Creates a new ReqMotorRunInPulse instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorRunInPulse instance + */ + public static create(properties?: IReqMotorRunInPulse): ReqMotorRunInPulse; + + /** + * Encodes the specified ReqMotorRunInPulse message. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @param message ReqMotorRunInPulse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorRunInPulse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @param message ReqMotorRunInPulse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorRunInPulse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorRunInPulse; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorRunInPulse; + + /** + * Verifies a ReqMotorRunInPulse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorRunInPulse + */ + public static fromObject(object: { [k: string]: any }): ReqMotorRunInPulse; + + /** + * Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified. + * @param message ReqMotorRunInPulse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorRunInPulse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorRunInPulse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorRunInPulse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorRunTo. */ +export class ReqMotorRunTo implements IReqMotorRunTo { + + /** + * Constructs a new ReqMotorRunTo. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorRunTo); + + /** ReqMotorRunTo id. */ + public id: number; + + /** ReqMotorRunTo endPosition. */ + public endPosition: number; + + /** ReqMotorRunTo speed. */ + public speed: number; + + /** ReqMotorRunTo speedRamping. */ + public speedRamping: number; + + /** ReqMotorRunTo resolutionLevel. */ + public resolutionLevel: number; + + /** + * Creates a new ReqMotorRunTo instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorRunTo instance + */ + public static create(properties?: IReqMotorRunTo): ReqMotorRunTo; + + /** + * Encodes the specified ReqMotorRunTo message. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @param message ReqMotorRunTo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorRunTo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @param message ReqMotorRunTo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorRunTo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorRunTo; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorRunTo; + + /** + * Verifies a ReqMotorRunTo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorRunTo + */ + public static fromObject(object: { [k: string]: any }): ReqMotorRunTo; + + /** + * Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified. + * @param message ReqMotorRunTo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorRunTo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorRunTo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorRunTo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorGetPosition. */ +export class ReqMotorGetPosition implements IReqMotorGetPosition { + + /** + * Constructs a new ReqMotorGetPosition. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorGetPosition); + + /** ReqMotorGetPosition id. */ + public id: number; + + /** + * Creates a new ReqMotorGetPosition instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorGetPosition instance + */ + public static create(properties?: IReqMotorGetPosition): ReqMotorGetPosition; + + /** + * Encodes the specified ReqMotorGetPosition message. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @param message ReqMotorGetPosition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorGetPosition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @param message ReqMotorGetPosition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorGetPosition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorGetPosition; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorGetPosition; + + /** + * Verifies a ReqMotorGetPosition message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorGetPosition + */ + public static fromObject(object: { [k: string]: any }): ReqMotorGetPosition; + + /** + * Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified. + * @param message ReqMotorGetPosition + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorGetPosition, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorGetPosition to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorGetPosition + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorStop. */ +export class ReqMotorStop implements IReqMotorStop { + + /** + * Constructs a new ReqMotorStop. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorStop); + + /** ReqMotorStop id. */ + public id: number; + + /** + * Creates a new ReqMotorStop instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorStop instance + */ + public static create(properties?: IReqMotorStop): ReqMotorStop; + + /** + * Encodes the specified ReqMotorStop message. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @param message ReqMotorStop message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorStop, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorStop message, length delimited. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @param message ReqMotorStop message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorStop, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorStop; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorStop; + + /** + * Verifies a ReqMotorStop message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorStop + */ + public static fromObject(object: { [k: string]: any }): ReqMotorStop; + + /** + * Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified. + * @param message ReqMotorStop + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorStop, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorStop to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorStop + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorReset. */ +export class ReqMotorReset implements IReqMotorReset { + + /** + * Constructs a new ReqMotorReset. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorReset); + + /** ReqMotorReset id. */ + public id: number; + + /** ReqMotorReset direction. */ + public direction: boolean; + + /** + * Creates a new ReqMotorReset instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorReset instance + */ + public static create(properties?: IReqMotorReset): ReqMotorReset; + + /** + * Encodes the specified ReqMotorReset message. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @param message ReqMotorReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorReset message, length delimited. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @param message ReqMotorReset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorReset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorReset; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorReset; + + /** + * Verifies a ReqMotorReset message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorReset + */ + public static fromObject(object: { [k: string]: any }): ReqMotorReset; + + /** + * Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified. + * @param message ReqMotorReset + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorReset, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorReset to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorReset + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorChangeSpeed. */ +export class ReqMotorChangeSpeed implements IReqMotorChangeSpeed { + + /** + * Constructs a new ReqMotorChangeSpeed. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorChangeSpeed); + + /** ReqMotorChangeSpeed id. */ + public id: number; + + /** ReqMotorChangeSpeed speed. */ + public speed: number; + + /** + * Creates a new ReqMotorChangeSpeed instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorChangeSpeed instance + */ + public static create(properties?: IReqMotorChangeSpeed): ReqMotorChangeSpeed; + + /** + * Encodes the specified ReqMotorChangeSpeed message. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @param message ReqMotorChangeSpeed message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorChangeSpeed, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @param message ReqMotorChangeSpeed message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorChangeSpeed, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorChangeSpeed; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorChangeSpeed; + + /** + * Verifies a ReqMotorChangeSpeed message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorChangeSpeed + */ + public static fromObject(object: { [k: string]: any }): ReqMotorChangeSpeed; + + /** + * Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified. + * @param message ReqMotorChangeSpeed + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorChangeSpeed, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorChangeSpeed to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorChangeSpeed + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMotorChangeDirection. */ +export class ReqMotorChangeDirection implements IReqMotorChangeDirection { + + /** + * Constructs a new ReqMotorChangeDirection. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMotorChangeDirection); + + /** ReqMotorChangeDirection id. */ + public id: number; + + /** ReqMotorChangeDirection direction. */ + public direction: boolean; + + /** + * Creates a new ReqMotorChangeDirection instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMotorChangeDirection instance + */ + public static create(properties?: IReqMotorChangeDirection): ReqMotorChangeDirection; + + /** + * Encodes the specified ReqMotorChangeDirection message. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @param message ReqMotorChangeDirection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMotorChangeDirection, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @param message ReqMotorChangeDirection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMotorChangeDirection, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMotorChangeDirection; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMotorChangeDirection; + + /** + * Verifies a ReqMotorChangeDirection message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMotorChangeDirection + */ + public static fromObject(object: { [k: string]: any }): ReqMotorChangeDirection; + + /** + * Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified. + * @param message ReqMotorChangeDirection + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMotorChangeDirection, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMotorChangeDirection to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMotorChangeDirection + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResMotor. */ +export class ResMotor implements IResMotor { + + /** + * Constructs a new ResMotor. + * @param [properties] Properties to set + */ + constructor(properties?: IResMotor); + + /** ResMotor id. */ + public id: number; + + /** ResMotor code. */ + public code: number; + + /** + * Creates a new ResMotor instance using the specified properties. + * @param [properties] Properties to set + * @returns ResMotor instance + */ + public static create(properties?: IResMotor): ResMotor; + + /** + * Encodes the specified ResMotor message. Does not implicitly {@link ResMotor.verify|verify} messages. + * @param message ResMotor message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResMotor, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResMotor message, length delimited. Does not implicitly {@link ResMotor.verify|verify} messages. + * @param message ResMotor message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResMotor, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResMotor message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResMotor; + + /** + * Decodes a ResMotor message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResMotor; + + /** + * Verifies a ResMotor message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResMotor message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResMotor + */ + public static fromObject(object: { [k: string]: any }): ResMotor; + + /** + * Creates a plain object from a ResMotor message. Also converts values to other types if specified. + * @param message ResMotor + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResMotor, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResMotor to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResMotor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResMotorPosition. */ +export class ResMotorPosition implements IResMotorPosition { + + /** + * Constructs a new ResMotorPosition. + * @param [properties] Properties to set + */ + constructor(properties?: IResMotorPosition); + + /** ResMotorPosition id. */ + public id: number; + + /** ResMotorPosition code. */ + public code: number; + + /** ResMotorPosition position. */ + public position: number; + + /** + * Creates a new ResMotorPosition instance using the specified properties. + * @param [properties] Properties to set + * @returns ResMotorPosition instance + */ + public static create(properties?: IResMotorPosition): ResMotorPosition; + + /** + * Encodes the specified ResMotorPosition message. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @param message ResMotorPosition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResMotorPosition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResMotorPosition message, length delimited. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @param message ResMotorPosition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResMotorPosition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResMotorPosition; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResMotorPosition; + + /** + * Verifies a ResMotorPosition message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResMotorPosition + */ + public static fromObject(object: { [k: string]: any }): ResMotorPosition; + + /** + * Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified. + * @param message ResMotorPosition + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResMotorPosition, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResMotorPosition to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResMotorPosition + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDualCameraLinkage. */ +export class ReqDualCameraLinkage implements IReqDualCameraLinkage { + + /** + * Constructs a new ReqDualCameraLinkage. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDualCameraLinkage); + + /** ReqDualCameraLinkage x. */ + public x: number; + + /** ReqDualCameraLinkage y. */ + public y: number; + + /** + * Creates a new ReqDualCameraLinkage instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDualCameraLinkage instance + */ + public static create(properties?: IReqDualCameraLinkage): ReqDualCameraLinkage; + + /** + * Encodes the specified ReqDualCameraLinkage message. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @param message ReqDualCameraLinkage message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDualCameraLinkage, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @param message ReqDualCameraLinkage message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDualCameraLinkage, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDualCameraLinkage; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDualCameraLinkage; + + /** + * Verifies a ReqDualCameraLinkage message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDualCameraLinkage + */ + public static fromObject(object: { [k: string]: any }): ReqDualCameraLinkage; + + /** + * Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified. + * @param message ReqDualCameraLinkage + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDualCameraLinkage, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDualCameraLinkage to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDualCameraLinkage + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** State enum. */ +export enum State { + STATE_IDLE = 0, + STATE_RUNNING = 1, + STATE_STOPPING = 2, + STATE_STOPPED = 3, + STATE_SUCCESS = 4, + STATE_FAILED = 5, + STATE_ASTRO_PLATE_SOLVING = 6 +} + +/** OperationState enum. */ +export enum OperationState { + OPERATION_STATE_IDLE = 0, + OPERATION_STATE_RUNNING = 1, + OPERATION_STATE_STOPPING = 2, + OPERATION_STATE_STOPPED = 3 +} + +/** AstroState enum. */ +export enum AstroState { + ASTRO_STATE_IDLE = 0, + ASTRO_STATE_RUNNING = 1, + ASTRO_STATE_STOPPING = 2, + ASTRO_STATE_STOPPED = 3, + ASTRO_STATE_PLATE_SOLVING = 4 +} + +/** SentryModeState enum. */ +export enum SentryModeState { + SENTRY_MODE_STATE_IDLE = 0, + SENTRY_MODE_STATE_INIT = 1, + SENTRY_MODE_STATE_DETECT = 2, + SENTRY_MODE_STATE_TRACK = 3, + SENTRY_MODE_STATE_TRACK_FINISH = 4, + SENTRY_MODE_STATE_STOPPING = 5 +} + +/** Represents a ResNotifyPictureMatching. */ +export class ResNotifyPictureMatching implements IResNotifyPictureMatching { + + /** + * Constructs a new ResNotifyPictureMatching. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPictureMatching); + + /** ResNotifyPictureMatching x. */ + public x: number; + + /** ResNotifyPictureMatching y. */ + public y: number; + + /** ResNotifyPictureMatching width. */ + public width: number; + + /** ResNotifyPictureMatching height. */ + public height: number; + + /** ResNotifyPictureMatching value. */ + public value: number; + + /** ResNotifyPictureMatching code. */ + public code: number; + + /** + * Creates a new ResNotifyPictureMatching instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPictureMatching instance + */ + public static create(properties?: IResNotifyPictureMatching): ResNotifyPictureMatching; + + /** + * Encodes the specified ResNotifyPictureMatching message. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @param message ResNotifyPictureMatching message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPictureMatching, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @param message ResNotifyPictureMatching message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPictureMatching, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPictureMatching; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPictureMatching; + + /** + * Verifies a ResNotifyPictureMatching message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPictureMatching + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPictureMatching; + + /** + * Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified. + * @param message ResNotifyPictureMatching + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPictureMatching, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPictureMatching to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPictureMatching + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifySDcardInfo. */ +export class ResNotifySDcardInfo implements IResNotifySDcardInfo { + + /** + * Constructs a new ResNotifySDcardInfo. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifySDcardInfo); + + /** ResNotifySDcardInfo availableSize. */ + public availableSize: number; + + /** ResNotifySDcardInfo totalSize. */ + public totalSize: number; + + /** ResNotifySDcardInfo code. */ + public code: number; + + /** + * Creates a new ResNotifySDcardInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifySDcardInfo instance + */ + public static create(properties?: IResNotifySDcardInfo): ResNotifySDcardInfo; + + /** + * Encodes the specified ResNotifySDcardInfo message. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @param message ResNotifySDcardInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifySDcardInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @param message ResNotifySDcardInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifySDcardInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifySDcardInfo; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifySDcardInfo; + + /** + * Verifies a ResNotifySDcardInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifySDcardInfo + */ + public static fromObject(object: { [k: string]: any }): ResNotifySDcardInfo; + + /** + * Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified. + * @param message ResNotifySDcardInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifySDcardInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifySDcardInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifySDcardInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyTemperature. */ +export class ResNotifyTemperature implements IResNotifyTemperature { + + /** + * Constructs a new ResNotifyTemperature. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyTemperature); + + /** ResNotifyTemperature code. */ + public code: number; + + /** ResNotifyTemperature temperature. */ + public temperature: number; + + /** + * Creates a new ResNotifyTemperature instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyTemperature instance + */ + public static create(properties?: IResNotifyTemperature): ResNotifyTemperature; + + /** + * Encodes the specified ResNotifyTemperature message. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @param message ResNotifyTemperature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyTemperature, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @param message ResNotifyTemperature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyTemperature, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyTemperature; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyTemperature; + + /** + * Verifies a ResNotifyTemperature message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyTemperature + */ + public static fromObject(object: { [k: string]: any }): ResNotifyTemperature; + + /** + * Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified. + * @param message ResNotifyTemperature + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyTemperature, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyTemperature to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyTemperature + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyRecordTime. */ +export class ResNotifyRecordTime implements IResNotifyRecordTime { + + /** + * Constructs a new ResNotifyRecordTime. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyRecordTime); + + /** ResNotifyRecordTime recordTime. */ + public recordTime: number; + + /** + * Creates a new ResNotifyRecordTime instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyRecordTime instance + */ + public static create(properties?: IResNotifyRecordTime): ResNotifyRecordTime; + + /** + * Encodes the specified ResNotifyRecordTime message. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @param message ResNotifyRecordTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyRecordTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @param message ResNotifyRecordTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyRecordTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyRecordTime; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyRecordTime; + + /** + * Verifies a ResNotifyRecordTime message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyRecordTime + */ + public static fromObject(object: { [k: string]: any }): ResNotifyRecordTime; + + /** + * Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified. + * @param message ResNotifyRecordTime + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyRecordTime, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyRecordTime to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyRecordTime + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyTimeLapseOutTime. */ +export class ResNotifyTimeLapseOutTime implements IResNotifyTimeLapseOutTime { + + /** + * Constructs a new ResNotifyTimeLapseOutTime. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyTimeLapseOutTime); + + /** ResNotifyTimeLapseOutTime interval. */ + public interval: number; + + /** ResNotifyTimeLapseOutTime outTime. */ + public outTime: number; + + /** ResNotifyTimeLapseOutTime totalTime. */ + public totalTime: number; + + /** + * Creates a new ResNotifyTimeLapseOutTime instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyTimeLapseOutTime instance + */ + public static create(properties?: IResNotifyTimeLapseOutTime): ResNotifyTimeLapseOutTime; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @param message ResNotifyTimeLapseOutTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyTimeLapseOutTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @param message ResNotifyTimeLapseOutTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyTimeLapseOutTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyTimeLapseOutTime; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyTimeLapseOutTime; + + /** + * Verifies a ResNotifyTimeLapseOutTime message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyTimeLapseOutTime + */ + public static fromObject(object: { [k: string]: any }): ResNotifyTimeLapseOutTime; + + /** + * Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified. + * @param message ResNotifyTimeLapseOutTime + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyTimeLapseOutTime, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyTimeLapseOutTime to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyTimeLapseOutTime + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyOperationState. */ +export class ResNotifyOperationState implements IResNotifyOperationState { + + /** + * Constructs a new ResNotifyOperationState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyOperationState); + + /** ResNotifyOperationState state. */ + public state: OperationState; + + /** + * Creates a new ResNotifyOperationState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyOperationState instance + */ + public static create(properties?: IResNotifyOperationState): ResNotifyOperationState; + + /** + * Encodes the specified ResNotifyOperationState message. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @param message ResNotifyOperationState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyOperationState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @param message ResNotifyOperationState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyOperationState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyOperationState; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyOperationState; + + /** + * Verifies a ResNotifyOperationState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyOperationState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyOperationState; + + /** + * Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified. + * @param message ResNotifyOperationState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyOperationState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyOperationState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyOperationState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStateAstroCalibration. */ +export class ResNotifyStateAstroCalibration implements IResNotifyStateAstroCalibration { + + /** + * Constructs a new ResNotifyStateAstroCalibration. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStateAstroCalibration); + + /** ResNotifyStateAstroCalibration state. */ + public state: AstroState; + + /** ResNotifyStateAstroCalibration plateSolvingTimes. */ + public plateSolvingTimes: number; + + /** + * Creates a new ResNotifyStateAstroCalibration instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStateAstroCalibration instance + */ + public static create(properties?: IResNotifyStateAstroCalibration): ResNotifyStateAstroCalibration; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @param message ResNotifyStateAstroCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStateAstroCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @param message ResNotifyStateAstroCalibration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStateAstroCalibration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStateAstroCalibration; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStateAstroCalibration; + + /** + * Verifies a ResNotifyStateAstroCalibration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStateAstroCalibration + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStateAstroCalibration; + + /** + * Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified. + * @param message ResNotifyStateAstroCalibration + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStateAstroCalibration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStateAstroCalibration to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStateAstroCalibration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStateAstroGoto. */ +export class ResNotifyStateAstroGoto implements IResNotifyStateAstroGoto { + + /** + * Constructs a new ResNotifyStateAstroGoto. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStateAstroGoto); + + /** ResNotifyStateAstroGoto state. */ + public state: AstroState; + + /** + * Creates a new ResNotifyStateAstroGoto instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStateAstroGoto instance + */ + public static create(properties?: IResNotifyStateAstroGoto): ResNotifyStateAstroGoto; + + /** + * Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @param message ResNotifyStateAstroGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStateAstroGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @param message ResNotifyStateAstroGoto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStateAstroGoto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStateAstroGoto; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStateAstroGoto; + + /** + * Verifies a ResNotifyStateAstroGoto message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStateAstroGoto + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStateAstroGoto; + + /** + * Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified. + * @param message ResNotifyStateAstroGoto + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStateAstroGoto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStateAstroGoto to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStateAstroGoto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStateAstroTracking. */ +export class ResNotifyStateAstroTracking implements IResNotifyStateAstroTracking { + + /** + * Constructs a new ResNotifyStateAstroTracking. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStateAstroTracking); + + /** ResNotifyStateAstroTracking state. */ + public state: OperationState; + + /** ResNotifyStateAstroTracking targetName. */ + public targetName: string; + + /** + * Creates a new ResNotifyStateAstroTracking instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStateAstroTracking instance + */ + public static create(properties?: IResNotifyStateAstroTracking): ResNotifyStateAstroTracking; + + /** + * Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @param message ResNotifyStateAstroTracking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStateAstroTracking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @param message ResNotifyStateAstroTracking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStateAstroTracking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStateAstroTracking; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStateAstroTracking; + + /** + * Verifies a ResNotifyStateAstroTracking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStateAstroTracking + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStateAstroTracking; + + /** + * Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified. + * @param message ResNotifyStateAstroTracking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStateAstroTracking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStateAstroTracking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStateAstroTracking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyProgressCaptureRawDark. */ +export class ResNotifyProgressCaptureRawDark implements IResNotifyProgressCaptureRawDark { + + /** + * Constructs a new ResNotifyProgressCaptureRawDark. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyProgressCaptureRawDark); + + /** ResNotifyProgressCaptureRawDark progress. */ + public progress: number; + + /** ResNotifyProgressCaptureRawDark remainingTime. */ + public remainingTime: number; + + /** + * Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyProgressCaptureRawDark instance + */ + public static create(properties?: IResNotifyProgressCaptureRawDark): ResNotifyProgressCaptureRawDark; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @param message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyProgressCaptureRawDark, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @param message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyProgressCaptureRawDark, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyProgressCaptureRawDark; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyProgressCaptureRawDark; + + /** + * Verifies a ResNotifyProgressCaptureRawDark message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyProgressCaptureRawDark + */ + public static fromObject(object: { [k: string]: any }): ResNotifyProgressCaptureRawDark; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified. + * @param message ResNotifyProgressCaptureRawDark + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyProgressCaptureRawDark, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyProgressCaptureRawDark to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawDark + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyProgressCaptureRawLiveStacking. */ +export class ResNotifyProgressCaptureRawLiveStacking implements IResNotifyProgressCaptureRawLiveStacking { + + /** + * Constructs a new ResNotifyProgressCaptureRawLiveStacking. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyProgressCaptureRawLiveStacking); + + /** ResNotifyProgressCaptureRawLiveStacking totalCount. */ + public totalCount: number; + + /** ResNotifyProgressCaptureRawLiveStacking updateCountType. */ + public updateCountType: number; + + /** ResNotifyProgressCaptureRawLiveStacking currentCount. */ + public currentCount: number; + + /** ResNotifyProgressCaptureRawLiveStacking stackedCount. */ + public stackedCount: number; + + /** ResNotifyProgressCaptureRawLiveStacking expIndex. */ + public expIndex: number; + + /** ResNotifyProgressCaptureRawLiveStacking gainIndex. */ + public gainIndex: number; + + /** ResNotifyProgressCaptureRawLiveStacking targetName. */ + public targetName: string; + + /** + * Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyProgressCaptureRawLiveStacking instance + */ + public static create(properties?: IResNotifyProgressCaptureRawLiveStacking): ResNotifyProgressCaptureRawLiveStacking; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @param message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyProgressCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @param message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyProgressCaptureRawLiveStacking, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyProgressCaptureRawLiveStacking; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyProgressCaptureRawLiveStacking; + + /** + * Verifies a ResNotifyProgressCaptureRawLiveStacking message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyProgressCaptureRawLiveStacking + */ + public static fromObject(object: { [k: string]: any }): ResNotifyProgressCaptureRawLiveStacking; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified. + * @param message ResNotifyProgressCaptureRawLiveStacking + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyProgressCaptureRawLiveStacking, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyProgressCaptureRawLiveStacking to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawLiveStacking + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyParam. */ +export class ResNotifyParam implements IResNotifyParam { + + /** + * Constructs a new ResNotifyParam. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyParam); + + /** ResNotifyParam param. */ + public param: ICommonParam[]; + + /** + * Creates a new ResNotifyParam instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyParam instance + */ + public static create(properties?: IResNotifyParam): ResNotifyParam; + + /** + * Encodes the specified ResNotifyParam message. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @param message ResNotifyParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyParam message, length delimited. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @param message ResNotifyParam message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyParam, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyParam; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyParam; + + /** + * Verifies a ResNotifyParam message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyParam + */ + public static fromObject(object: { [k: string]: any }): ResNotifyParam; + + /** + * Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified. + * @param message ResNotifyParam + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyParam to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyParam + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyCamFunctionState. */ +export class ResNotifyCamFunctionState implements IResNotifyCamFunctionState { + + /** + * Constructs a new ResNotifyCamFunctionState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyCamFunctionState); + + /** ResNotifyCamFunctionState state. */ + public state: OperationState; + + /** ResNotifyCamFunctionState functionId. */ + public functionId: number; + + /** + * Creates a new ResNotifyCamFunctionState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyCamFunctionState instance + */ + public static create(properties?: IResNotifyCamFunctionState): ResNotifyCamFunctionState; + + /** + * Encodes the specified ResNotifyCamFunctionState message. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @param message ResNotifyCamFunctionState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyCamFunctionState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @param message ResNotifyCamFunctionState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyCamFunctionState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyCamFunctionState; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyCamFunctionState; + + /** + * Verifies a ResNotifyCamFunctionState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyCamFunctionState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyCamFunctionState; + + /** + * Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified. + * @param message ResNotifyCamFunctionState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyCamFunctionState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyCamFunctionState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyCamFunctionState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyBurstProgress. */ +export class ResNotifyBurstProgress implements IResNotifyBurstProgress { + + /** + * Constructs a new ResNotifyBurstProgress. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyBurstProgress); + + /** ResNotifyBurstProgress totalCount. */ + public totalCount: number; + + /** ResNotifyBurstProgress completedCount. */ + public completedCount: number; + + /** + * Creates a new ResNotifyBurstProgress instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyBurstProgress instance + */ + public static create(properties?: IResNotifyBurstProgress): ResNotifyBurstProgress; + + /** + * Encodes the specified ResNotifyBurstProgress message. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @param message ResNotifyBurstProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyBurstProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @param message ResNotifyBurstProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyBurstProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyBurstProgress; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyBurstProgress; + + /** + * Verifies a ResNotifyBurstProgress message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyBurstProgress + */ + public static fromObject(object: { [k: string]: any }): ResNotifyBurstProgress; + + /** + * Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified. + * @param message ResNotifyBurstProgress + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyBurstProgress, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyBurstProgress to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyBurstProgress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPanoramaProgress. */ +export class ResNotifyPanoramaProgress implements IResNotifyPanoramaProgress { + + /** + * Constructs a new ResNotifyPanoramaProgress. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPanoramaProgress); + + /** ResNotifyPanoramaProgress totalCount. */ + public totalCount: number; + + /** ResNotifyPanoramaProgress completedCount. */ + public completedCount: number; + + /** + * Creates a new ResNotifyPanoramaProgress instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPanoramaProgress instance + */ + public static create(properties?: IResNotifyPanoramaProgress): ResNotifyPanoramaProgress; + + /** + * Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @param message ResNotifyPanoramaProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPanoramaProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @param message ResNotifyPanoramaProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPanoramaProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPanoramaProgress; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPanoramaProgress; + + /** + * Verifies a ResNotifyPanoramaProgress message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPanoramaProgress + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPanoramaProgress; + + /** + * Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified. + * @param message ResNotifyPanoramaProgress + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPanoramaProgress, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPanoramaProgress to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPanoramaProgress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyRgbState. */ +export class ResNotifyRgbState implements IResNotifyRgbState { + + /** + * Constructs a new ResNotifyRgbState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyRgbState); + + /** ResNotifyRgbState state. */ + public state: number; + + /** + * Creates a new ResNotifyRgbState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyRgbState instance + */ + public static create(properties?: IResNotifyRgbState): ResNotifyRgbState; + + /** + * Encodes the specified ResNotifyRgbState message. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @param message ResNotifyRgbState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyRgbState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @param message ResNotifyRgbState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyRgbState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyRgbState; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyRgbState; + + /** + * Verifies a ResNotifyRgbState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyRgbState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyRgbState; + + /** + * Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified. + * @param message ResNotifyRgbState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyRgbState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyRgbState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyRgbState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPowerIndState. */ +export class ResNotifyPowerIndState implements IResNotifyPowerIndState { + + /** + * Constructs a new ResNotifyPowerIndState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPowerIndState); + + /** ResNotifyPowerIndState state. */ + public state: number; + + /** + * Creates a new ResNotifyPowerIndState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPowerIndState instance + */ + public static create(properties?: IResNotifyPowerIndState): ResNotifyPowerIndState; + + /** + * Encodes the specified ResNotifyPowerIndState message. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @param message ResNotifyPowerIndState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPowerIndState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @param message ResNotifyPowerIndState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPowerIndState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPowerIndState; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPowerIndState; + + /** + * Verifies a ResNotifyPowerIndState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPowerIndState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPowerIndState; + + /** + * Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified. + * @param message ResNotifyPowerIndState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPowerIndState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPowerIndState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPowerIndState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyHostSlaveMode. */ +export class ResNotifyHostSlaveMode implements IResNotifyHostSlaveMode { + + /** + * Constructs a new ResNotifyHostSlaveMode. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyHostSlaveMode); + + /** ResNotifyHostSlaveMode mode. */ + public mode: number; + + /** ResNotifyHostSlaveMode lock. */ + public lock: boolean; + + /** + * Creates a new ResNotifyHostSlaveMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyHostSlaveMode instance + */ + public static create(properties?: IResNotifyHostSlaveMode): ResNotifyHostSlaveMode; + + /** + * Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @param message ResNotifyHostSlaveMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyHostSlaveMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @param message ResNotifyHostSlaveMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyHostSlaveMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyHostSlaveMode; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyHostSlaveMode; + + /** + * Verifies a ResNotifyHostSlaveMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyHostSlaveMode + */ + public static fromObject(object: { [k: string]: any }): ResNotifyHostSlaveMode; + + /** + * Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified. + * @param message ResNotifyHostSlaveMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyHostSlaveMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyHostSlaveMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyHostSlaveMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyMTPState. */ +export class ResNotifyMTPState implements IResNotifyMTPState { + + /** + * Constructs a new ResNotifyMTPState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyMTPState); + + /** ResNotifyMTPState mode. */ + public mode: number; + + /** + * Creates a new ResNotifyMTPState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyMTPState instance + */ + public static create(properties?: IResNotifyMTPState): ResNotifyMTPState; + + /** + * Encodes the specified ResNotifyMTPState message. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @param message ResNotifyMTPState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyMTPState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @param message ResNotifyMTPState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyMTPState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyMTPState; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyMTPState; + + /** + * Verifies a ResNotifyMTPState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyMTPState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyMTPState; + + /** + * Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified. + * @param message ResNotifyMTPState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyMTPState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyMTPState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyMTPState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyTrackResult. */ +export class ResNotifyTrackResult implements IResNotifyTrackResult { + + /** + * Constructs a new ResNotifyTrackResult. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyTrackResult); + + /** ResNotifyTrackResult x. */ + public x: number; + + /** ResNotifyTrackResult y. */ + public y: number; + + /** ResNotifyTrackResult w. */ + public w: number; + + /** ResNotifyTrackResult h. */ + public h: number; + + /** + * Creates a new ResNotifyTrackResult instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyTrackResult instance + */ + public static create(properties?: IResNotifyTrackResult): ResNotifyTrackResult; + + /** + * Encodes the specified ResNotifyTrackResult message. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @param message ResNotifyTrackResult message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyTrackResult, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @param message ResNotifyTrackResult message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyTrackResult, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyTrackResult; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyTrackResult; + + /** + * Verifies a ResNotifyTrackResult message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyTrackResult + */ + public static fromObject(object: { [k: string]: any }): ResNotifyTrackResult; + + /** + * Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified. + * @param message ResNotifyTrackResult + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyTrackResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyTrackResult to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyTrackResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyCPUMode. */ +export class ResNotifyCPUMode implements IResNotifyCPUMode { + + /** + * Constructs a new ResNotifyCPUMode. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyCPUMode); + + /** ResNotifyCPUMode mode. */ + public mode: number; + + /** + * Creates a new ResNotifyCPUMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyCPUMode instance + */ + public static create(properties?: IResNotifyCPUMode): ResNotifyCPUMode; + + /** + * Encodes the specified ResNotifyCPUMode message. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @param message ResNotifyCPUMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyCPUMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @param message ResNotifyCPUMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyCPUMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyCPUMode; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyCPUMode; + + /** + * Verifies a ResNotifyCPUMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyCPUMode + */ + public static fromObject(object: { [k: string]: any }): ResNotifyCPUMode; + + /** + * Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified. + * @param message ResNotifyCPUMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyCPUMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyCPUMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyCPUMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStateAstroTrackingSpecial. */ +export class ResNotifyStateAstroTrackingSpecial implements IResNotifyStateAstroTrackingSpecial { + + /** + * Constructs a new ResNotifyStateAstroTrackingSpecial. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStateAstroTrackingSpecial); + + /** ResNotifyStateAstroTrackingSpecial state. */ + public state: OperationState; + + /** ResNotifyStateAstroTrackingSpecial targetName. */ + public targetName: string; + + /** ResNotifyStateAstroTrackingSpecial index. */ + public index: number; + + /** + * Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStateAstroTrackingSpecial instance + */ + public static create(properties?: IResNotifyStateAstroTrackingSpecial): ResNotifyStateAstroTrackingSpecial; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @param message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStateAstroTrackingSpecial, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @param message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStateAstroTrackingSpecial, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStateAstroTrackingSpecial; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStateAstroTrackingSpecial; + + /** + * Verifies a ResNotifyStateAstroTrackingSpecial message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStateAstroTrackingSpecial + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStateAstroTrackingSpecial; + + /** + * Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified. + * @param message ResNotifyStateAstroTrackingSpecial + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStateAstroTrackingSpecial, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStateAstroTrackingSpecial to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStateAstroTrackingSpecial + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPowerOff. */ +export class ResNotifyPowerOff implements IResNotifyPowerOff { + + /** + * Constructs a new ResNotifyPowerOff. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPowerOff); + + /** + * Creates a new ResNotifyPowerOff instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPowerOff instance + */ + public static create(properties?: IResNotifyPowerOff): ResNotifyPowerOff; + + /** + * Encodes the specified ResNotifyPowerOff message. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @param message ResNotifyPowerOff message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPowerOff, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @param message ResNotifyPowerOff message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPowerOff, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPowerOff; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPowerOff; + + /** + * Verifies a ResNotifyPowerOff message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPowerOff + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPowerOff; + + /** + * Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified. + * @param message ResNotifyPowerOff + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPowerOff, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPowerOff to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPowerOff + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyAlbumUpdate. */ +export class ResNotifyAlbumUpdate implements IResNotifyAlbumUpdate { + + /** + * Constructs a new ResNotifyAlbumUpdate. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyAlbumUpdate); + + /** ResNotifyAlbumUpdate mediaType. */ + public mediaType: number; + + /** + * Creates a new ResNotifyAlbumUpdate instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyAlbumUpdate instance + */ + public static create(properties?: IResNotifyAlbumUpdate): ResNotifyAlbumUpdate; + + /** + * Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @param message ResNotifyAlbumUpdate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyAlbumUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @param message ResNotifyAlbumUpdate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyAlbumUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyAlbumUpdate; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyAlbumUpdate; + + /** + * Verifies a ResNotifyAlbumUpdate message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyAlbumUpdate + */ + public static fromObject(object: { [k: string]: any }): ResNotifyAlbumUpdate; + + /** + * Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified. + * @param message ResNotifyAlbumUpdate + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyAlbumUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyAlbumUpdate to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyAlbumUpdate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStateSentryMode. */ +export class ResNotifyStateSentryMode implements IResNotifyStateSentryMode { + + /** + * Constructs a new ResNotifyStateSentryMode. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStateSentryMode); + + /** ResNotifyStateSentryMode state. */ + public state: SentryModeState; + + /** + * Creates a new ResNotifyStateSentryMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStateSentryMode instance + */ + public static create(properties?: IResNotifyStateSentryMode): ResNotifyStateSentryMode; + + /** + * Encodes the specified ResNotifyStateSentryMode message. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @param message ResNotifyStateSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStateSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @param message ResNotifyStateSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStateSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStateSentryMode; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStateSentryMode; + + /** + * Verifies a ResNotifyStateSentryMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStateSentryMode + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStateSentryMode; + + /** + * Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified. + * @param message ResNotifyStateSentryMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStateSentryMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStateSentryMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStateSentryMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyOneClickGotoState. */ +export class ResNotifyOneClickGotoState implements IResNotifyOneClickGotoState { + + /** + * Constructs a new ResNotifyOneClickGotoState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyOneClickGotoState); + + /** ResNotifyOneClickGotoState state. */ + public state: OperationState; + + /** + * Creates a new ResNotifyOneClickGotoState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyOneClickGotoState instance + */ + public static create(properties?: IResNotifyOneClickGotoState): ResNotifyOneClickGotoState; + + /** + * Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @param message ResNotifyOneClickGotoState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyOneClickGotoState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @param message ResNotifyOneClickGotoState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyOneClickGotoState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyOneClickGotoState; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyOneClickGotoState; + + /** + * Verifies a ResNotifyOneClickGotoState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyOneClickGotoState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyOneClickGotoState; + + /** + * Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified. + * @param message ResNotifyOneClickGotoState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyOneClickGotoState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyOneClickGotoState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyOneClickGotoState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyStreamType. */ +export class ResNotifyStreamType implements IResNotifyStreamType { + + /** + * Constructs a new ResNotifyStreamType. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyStreamType); + + /** ResNotifyStreamType streamType. */ + public streamType: number; + + /** ResNotifyStreamType camId. */ + public camId: number; + + /** + * Creates a new ResNotifyStreamType instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyStreamType instance + */ + public static create(properties?: IResNotifyStreamType): ResNotifyStreamType; + + /** + * Encodes the specified ResNotifyStreamType message. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @param message ResNotifyStreamType message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyStreamType, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @param message ResNotifyStreamType message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyStreamType, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyStreamType; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyStreamType; + + /** + * Verifies a ResNotifyStreamType message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyStreamType + */ + public static fromObject(object: { [k: string]: any }): ResNotifyStreamType; + + /** + * Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified. + * @param message ResNotifyStreamType + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyStreamType, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyStreamType to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyStreamType + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyEqSolvingState. */ +export class ResNotifyEqSolvingState implements IResNotifyEqSolvingState { + + /** + * Constructs a new ResNotifyEqSolvingState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyEqSolvingState); + + /** ResNotifyEqSolvingState step. */ + public step: ResNotifyEqSolvingState.Action; + + /** ResNotifyEqSolvingState state. */ + public state: OperationState; + + /** + * Creates a new ResNotifyEqSolvingState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyEqSolvingState instance + */ + public static create(properties?: IResNotifyEqSolvingState): ResNotifyEqSolvingState; + + /** + * Encodes the specified ResNotifyEqSolvingState message. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @param message ResNotifyEqSolvingState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyEqSolvingState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @param message ResNotifyEqSolvingState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyEqSolvingState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyEqSolvingState; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyEqSolvingState; + + /** + * Verifies a ResNotifyEqSolvingState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyEqSolvingState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyEqSolvingState; + + /** + * Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified. + * @param message ResNotifyEqSolvingState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyEqSolvingState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyEqSolvingState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyEqSolvingState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +export namespace ResNotifyEqSolvingState { + + /** Action enum. */ + enum Action { + UNSPECIFIED = 0, + FOCUS = 1, + SOLVING = 2 + } +} + +/** Represents a ResNotifyLongExpPhotoProgress. */ +export class ResNotifyLongExpPhotoProgress implements IResNotifyLongExpPhotoProgress { + + /** + * Constructs a new ResNotifyLongExpPhotoProgress. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyLongExpPhotoProgress); + + /** ResNotifyLongExpPhotoProgress functionId. */ + public functionId: number; + + /** ResNotifyLongExpPhotoProgress totalTime. */ + public totalTime: number; + + /** ResNotifyLongExpPhotoProgress exposuredTime. */ + public exposuredTime: number; + + /** + * Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyLongExpPhotoProgress instance + */ + public static create(properties?: IResNotifyLongExpPhotoProgress): ResNotifyLongExpPhotoProgress; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @param message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyLongExpPhotoProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @param message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyLongExpPhotoProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyLongExpPhotoProgress; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyLongExpPhotoProgress; + + /** + * Verifies a ResNotifyLongExpPhotoProgress message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyLongExpPhotoProgress + */ + public static fromObject(object: { [k: string]: any }): ResNotifyLongExpPhotoProgress; + + /** + * Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified. + * @param message ResNotifyLongExpPhotoProgress + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyLongExpPhotoProgress, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyLongExpPhotoProgress to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyLongExpPhotoProgress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyShootingScheduleResultAndState. */ +export class ResNotifyShootingScheduleResultAndState implements IResNotifyShootingScheduleResultAndState { + + /** + * Constructs a new ResNotifyShootingScheduleResultAndState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyShootingScheduleResultAndState); + + /** ResNotifyShootingScheduleResultAndState scheduleId. */ + public scheduleId: string; + + /** ResNotifyShootingScheduleResultAndState result. */ + public result: number; + + /** ResNotifyShootingScheduleResultAndState state. */ + public state: number; + + /** + * Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyShootingScheduleResultAndState instance + */ + public static create(properties?: IResNotifyShootingScheduleResultAndState): ResNotifyShootingScheduleResultAndState; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @param message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyShootingScheduleResultAndState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @param message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyShootingScheduleResultAndState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyShootingScheduleResultAndState; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyShootingScheduleResultAndState; + + /** + * Verifies a ResNotifyShootingScheduleResultAndState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyShootingScheduleResultAndState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyShootingScheduleResultAndState; + + /** + * Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified. + * @param message ResNotifyShootingScheduleResultAndState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyShootingScheduleResultAndState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyShootingScheduleResultAndState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyShootingScheduleResultAndState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyShootingTaskState. */ +export class ResNotifyShootingTaskState implements IResNotifyShootingTaskState { + + /** + * Constructs a new ResNotifyShootingTaskState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyShootingTaskState); + + /** ResNotifyShootingTaskState scheduleTaskId. */ + public scheduleTaskId: string; + + /** ResNotifyShootingTaskState state. */ + public state: number; + + /** ResNotifyShootingTaskState code. */ + public code: number; + + /** + * Creates a new ResNotifyShootingTaskState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyShootingTaskState instance + */ + public static create(properties?: IResNotifyShootingTaskState): ResNotifyShootingTaskState; + + /** + * Encodes the specified ResNotifyShootingTaskState message. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @param message ResNotifyShootingTaskState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyShootingTaskState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @param message ResNotifyShootingTaskState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyShootingTaskState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyShootingTaskState; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyShootingTaskState; + + /** + * Verifies a ResNotifyShootingTaskState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyShootingTaskState + */ + public static fromObject(object: { [k: string]: any }): ResNotifyShootingTaskState; + + /** + * Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified. + * @param message ResNotifyShootingTaskState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyShootingTaskState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyShootingTaskState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyShootingTaskState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifySkySeacherState. */ +export class ResNotifySkySeacherState implements IResNotifySkySeacherState { + + /** + * Constructs a new ResNotifySkySeacherState. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifySkySeacherState); + + /** ResNotifySkySeacherState state. */ + public state: OperationState; + + /** + * Creates a new ResNotifySkySeacherState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifySkySeacherState instance + */ + public static create(properties?: IResNotifySkySeacherState): ResNotifySkySeacherState; + + /** + * Encodes the specified ResNotifySkySeacherState message. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @param message ResNotifySkySeacherState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifySkySeacherState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @param message ResNotifySkySeacherState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifySkySeacherState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifySkySeacherState; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifySkySeacherState; + + /** + * Verifies a ResNotifySkySeacherState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifySkySeacherState + */ + public static fromObject(object: { [k: string]: any }): ResNotifySkySeacherState; + + /** + * Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified. + * @param message ResNotifySkySeacherState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifySkySeacherState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifySkySeacherState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifySkySeacherState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyFocus. */ +export class ResNotifyFocus implements IResNotifyFocus { + + /** + * Constructs a new ResNotifyFocus. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyFocus); + + /** ResNotifyFocus focus. */ + public focus: number; + + /** + * Creates a new ResNotifyFocus instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyFocus instance + */ + public static create(properties?: IResNotifyFocus): ResNotifyFocus; + + /** + * Encodes the specified ResNotifyFocus message. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @param message ResNotifyFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @param message ResNotifyFocus message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyFocus, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyFocus; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyFocus; + + /** + * Verifies a ResNotifyFocus message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyFocus + */ + public static fromObject(object: { [k: string]: any }): ResNotifyFocus; + + /** + * Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified. + * @param message ResNotifyFocus + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyFocus, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyFocus to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyFocus + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartPanoramaByGrid. */ +export class ReqStartPanoramaByGrid implements IReqStartPanoramaByGrid { + + /** + * Constructs a new ReqStartPanoramaByGrid. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartPanoramaByGrid); + + /** + * Creates a new ReqStartPanoramaByGrid instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartPanoramaByGrid instance + */ + public static create(properties?: IReqStartPanoramaByGrid): ReqStartPanoramaByGrid; + + /** + * Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @param message ReqStartPanoramaByGrid message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartPanoramaByGrid, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @param message ReqStartPanoramaByGrid message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartPanoramaByGrid, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartPanoramaByGrid; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartPanoramaByGrid; + + /** + * Verifies a ReqStartPanoramaByGrid message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartPanoramaByGrid + */ + public static fromObject(object: { [k: string]: any }): ReqStartPanoramaByGrid; + + /** + * Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified. + * @param message ReqStartPanoramaByGrid + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartPanoramaByGrid, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartPanoramaByGrid to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartPanoramaByGrid + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartPanoramaByEulerRange. */ +export class ReqStartPanoramaByEulerRange implements IReqStartPanoramaByEulerRange { + + /** + * Constructs a new ReqStartPanoramaByEulerRange. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartPanoramaByEulerRange); + + /** ReqStartPanoramaByEulerRange yawRange. */ + public yawRange: number; + + /** ReqStartPanoramaByEulerRange pitchRange. */ + public pitchRange: number; + + /** + * Creates a new ReqStartPanoramaByEulerRange instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartPanoramaByEulerRange instance + */ + public static create(properties?: IReqStartPanoramaByEulerRange): ReqStartPanoramaByEulerRange; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @param message ReqStartPanoramaByEulerRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartPanoramaByEulerRange, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @param message ReqStartPanoramaByEulerRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartPanoramaByEulerRange, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartPanoramaByEulerRange; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartPanoramaByEulerRange; + + /** + * Verifies a ReqStartPanoramaByEulerRange message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartPanoramaByEulerRange + */ + public static fromObject(object: { [k: string]: any }): ReqStartPanoramaByEulerRange; + + /** + * Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified. + * @param message ReqStartPanoramaByEulerRange + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartPanoramaByEulerRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartPanoramaByEulerRange to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartPanoramaByEulerRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartPanoramaStitchUpload. */ +export class ReqStartPanoramaStitchUpload implements IReqStartPanoramaStitchUpload { + + /** + * Constructs a new ReqStartPanoramaStitchUpload. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartPanoramaStitchUpload); + + /** ReqStartPanoramaStitchUpload userId. */ + public userId: string; + + /** ReqStartPanoramaStitchUpload busiNo. */ + public busiNo: string; + + /** ReqStartPanoramaStitchUpload appPlatform. */ + public appPlatform: number; + + /** ReqStartPanoramaStitchUpload panoramaName. */ + public panoramaName: string; + + /** ReqStartPanoramaStitchUpload ak. */ + public ak: string; + + /** ReqStartPanoramaStitchUpload sk. */ + public sk: string; + + /** ReqStartPanoramaStitchUpload token. */ + public token: string; + + /** + * Creates a new ReqStartPanoramaStitchUpload instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartPanoramaStitchUpload instance + */ + public static create(properties?: IReqStartPanoramaStitchUpload): ReqStartPanoramaStitchUpload; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @param message ReqStartPanoramaStitchUpload message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartPanoramaStitchUpload, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @param message ReqStartPanoramaStitchUpload message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartPanoramaStitchUpload, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartPanoramaStitchUpload; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartPanoramaStitchUpload; + + /** + * Verifies a ReqStartPanoramaStitchUpload message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartPanoramaStitchUpload + */ + public static fromObject(object: { [k: string]: any }): ReqStartPanoramaStitchUpload; + + /** + * Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified. + * @param message ReqStartPanoramaStitchUpload + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartPanoramaStitchUpload, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartPanoramaStitchUpload to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartPanoramaStitchUpload + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopPanorama. */ +export class ReqStopPanorama implements IReqStopPanorama { + + /** + * Constructs a new ReqStopPanorama. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopPanorama); + + /** + * Creates a new ReqStopPanorama instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopPanorama instance + */ + public static create(properties?: IReqStopPanorama): ReqStopPanorama; + + /** + * Encodes the specified ReqStopPanorama message. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @param message ReqStopPanorama message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopPanorama, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @param message ReqStopPanorama message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopPanorama, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopPanorama; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopPanorama; + + /** + * Verifies a ReqStopPanorama message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopPanorama + */ + public static fromObject(object: { [k: string]: any }): ReqStopPanorama; + + /** + * Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified. + * @param message ReqStopPanorama + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopPanorama, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopPanorama to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopPanorama + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopPanoramaStitchUpload. */ +export class ReqStopPanoramaStitchUpload implements IReqStopPanoramaStitchUpload { + + /** + * Constructs a new ReqStopPanoramaStitchUpload. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopPanoramaStitchUpload); + + /** + * Creates a new ReqStopPanoramaStitchUpload instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopPanoramaStitchUpload instance + */ + public static create(properties?: IReqStopPanoramaStitchUpload): ReqStopPanoramaStitchUpload; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @param message ReqStopPanoramaStitchUpload message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopPanoramaStitchUpload, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @param message ReqStopPanoramaStitchUpload message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopPanoramaStitchUpload, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopPanoramaStitchUpload; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopPanoramaStitchUpload; + + /** + * Verifies a ReqStopPanoramaStitchUpload message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopPanoramaStitchUpload + */ + public static fromObject(object: { [k: string]: any }): ReqStopPanoramaStitchUpload; + + /** + * Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified. + * @param message ReqStopPanoramaStitchUpload + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopPanoramaStitchUpload, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopPanoramaStitchUpload to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopPanoramaStitchUpload + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPanoramaStitchUploadComplete. */ +export class ResNotifyPanoramaStitchUploadComplete implements IResNotifyPanoramaStitchUploadComplete { + + /** + * Constructs a new ResNotifyPanoramaStitchUploadComplete. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPanoramaStitchUploadComplete); + + /** ResNotifyPanoramaStitchUploadComplete userId. */ + public userId: string; + + /** ResNotifyPanoramaStitchUploadComplete busiNo. */ + public busiNo: string; + + /** ResNotifyPanoramaStitchUploadComplete panoramaName. */ + public panoramaName: string; + + /** ResNotifyPanoramaStitchUploadComplete mac. */ + public mac: string; + + /** ResNotifyPanoramaStitchUploadComplete uploadRes. */ + public uploadRes: boolean; + + /** + * Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPanoramaStitchUploadComplete instance + */ + public static create(properties?: IResNotifyPanoramaStitchUploadComplete): ResNotifyPanoramaStitchUploadComplete; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @param message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPanoramaStitchUploadComplete, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @param message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPanoramaStitchUploadComplete, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPanoramaStitchUploadComplete; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPanoramaStitchUploadComplete; + + /** + * Verifies a ResNotifyPanoramaStitchUploadComplete message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPanoramaStitchUploadComplete + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPanoramaStitchUploadComplete; + + /** + * Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified. + * @param message ResNotifyPanoramaStitchUploadComplete + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPanoramaStitchUploadComplete, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPanoramaStitchUploadComplete to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPanoramaStitchUploadComplete + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPanoramaCompressionProgress. */ +export class ResNotifyPanoramaCompressionProgress implements IResNotifyPanoramaCompressionProgress { + + /** + * Constructs a new ResNotifyPanoramaCompressionProgress. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPanoramaCompressionProgress); + + /** ResNotifyPanoramaCompressionProgress userId. */ + public userId: string; + + /** ResNotifyPanoramaCompressionProgress busiNo. */ + public busiNo: string; + + /** ResNotifyPanoramaCompressionProgress panoramaName. */ + public panoramaName: string; + + /** ResNotifyPanoramaCompressionProgress mac. */ + public mac: string; + + /** ResNotifyPanoramaCompressionProgress totalFilesNum. */ + public totalFilesNum: number; + + /** ResNotifyPanoramaCompressionProgress compressedFilesNum. */ + public compressedFilesNum: number; + + /** + * Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPanoramaCompressionProgress instance + */ + public static create(properties?: IResNotifyPanoramaCompressionProgress): ResNotifyPanoramaCompressionProgress; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @param message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPanoramaCompressionProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @param message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPanoramaCompressionProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPanoramaCompressionProgress; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPanoramaCompressionProgress; + + /** + * Verifies a ResNotifyPanoramaCompressionProgress message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPanoramaCompressionProgress + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPanoramaCompressionProgress; + + /** + * Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified. + * @param message ResNotifyPanoramaCompressionProgress + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPanoramaCompressionProgress, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPanoramaCompressionProgress to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPanoramaCompressionProgress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResNotifyPanoramaUploadProgress. */ +export class ResNotifyPanoramaUploadProgress implements IResNotifyPanoramaUploadProgress { + + /** + * Constructs a new ResNotifyPanoramaUploadProgress. + * @param [properties] Properties to set + */ + constructor(properties?: IResNotifyPanoramaUploadProgress); + + /** ResNotifyPanoramaUploadProgress userId. */ + public userId: string; + + /** ResNotifyPanoramaUploadProgress busiNo. */ + public busiNo: string; + + /** ResNotifyPanoramaUploadProgress panoramaName. */ + public panoramaName: string; + + /** ResNotifyPanoramaUploadProgress mac. */ + public mac: string; + + /** ResNotifyPanoramaUploadProgress totalSize. */ + public totalSize: (number|Long); + + /** ResNotifyPanoramaUploadProgress uploadedSize. */ + public uploadedSize: (number|Long); + + /** + * Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties. + * @param [properties] Properties to set + * @returns ResNotifyPanoramaUploadProgress instance + */ + public static create(properties?: IResNotifyPanoramaUploadProgress): ResNotifyPanoramaUploadProgress; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @param message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResNotifyPanoramaUploadProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @param message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResNotifyPanoramaUploadProgress, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResNotifyPanoramaUploadProgress; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResNotifyPanoramaUploadProgress; + + /** + * Verifies a ResNotifyPanoramaUploadProgress message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResNotifyPanoramaUploadProgress + */ + public static fromObject(object: { [k: string]: any }): ResNotifyPanoramaUploadProgress; + + /** + * Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified. + * @param message ResNotifyPanoramaUploadProgress + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResNotifyPanoramaUploadProgress, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResNotifyPanoramaUploadProgress to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResNotifyPanoramaUploadProgress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetStitchUploadState. */ +export class ResGetStitchUploadState implements IResGetStitchUploadState { + + /** + * Constructs a new ResGetStitchUploadState. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetStitchUploadState); + + /** ResGetStitchUploadState code. */ + public code: number; + + /** ResGetStitchUploadState userId. */ + public userId: string; + + /** ResGetStitchUploadState busiNo. */ + public busiNo: string; + + /** ResGetStitchUploadState panoramaName. */ + public panoramaName: string; + + /** ResGetStitchUploadState mac. */ + public mac: string; + + /** ResGetStitchUploadState totalFilesNum. */ + public totalFilesNum: number; + + /** ResGetStitchUploadState compressedFilesNum. */ + public compressedFilesNum: number; + + /** ResGetStitchUploadState totalSize. */ + public totalSize: (number|Long); + + /** ResGetStitchUploadState uploadedSize. */ + public uploadedSize: (number|Long); + + /** ResGetStitchUploadState step. */ + public step: number; + + /** + * Creates a new ResGetStitchUploadState instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetStitchUploadState instance + */ + public static create(properties?: IResGetStitchUploadState): ResGetStitchUploadState; + + /** + * Encodes the specified ResGetStitchUploadState message. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @param message ResGetStitchUploadState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetStitchUploadState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @param message ResGetStitchUploadState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetStitchUploadState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetStitchUploadState; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetStitchUploadState; + + /** + * Verifies a ResGetStitchUploadState message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetStitchUploadState + */ + public static fromObject(object: { [k: string]: any }): ResGetStitchUploadState; + + /** + * Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified. + * @param message ResGetStitchUploadState + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetStitchUploadState, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetStitchUploadState to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetStitchUploadState + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** ModuleId enum. */ +export enum ModuleId { + MODULE_NONE = 0, + MODULE_CAMERA_TELE = 1, + MODULE_CAMERA_WIDE = 2, + MODULE_ASTRO = 3, + MODULE_SYSTEM = 4, + MODULE_RGB_POWER = 5, + MODULE_MOTOR = 6, + MODULE_TRACK = 7, + MODULE_FOCUS = 8, + MODULE_NOTIFY = 9, + MODULE_PANORAMA = 10, + MODULE_SHOOTING_SCHEDULE = 13 +} + +/** MessageTypeId enum. */ +export enum MessageTypeId { + TYPE_REQUEST = 0, + TYPE_REQUEST_RESPONSE = 1, + TYPE_NOTIFICATION = 2, + TYPE_NOTIFICATION_RESPONSE = 3 +} + +/** DwarfCMD enum. */ +export enum DwarfCMD { + NO_CMD = 0, + CMD_CAMERA_TELE_OPEN_CAMERA = 10000, + CMD_CAMERA_TELE_CLOSE_CAMERA = 10001, + CMD_CAMERA_TELE_PHOTOGRAPH = 10002, + CMD_CAMERA_TELE_BURST = 10003, + CMD_CAMERA_TELE_STOP_BURST = 10004, + CMD_CAMERA_TELE_START_RECORD = 10005, + CMD_CAMERA_TELE_STOP_RECORD = 10006, + CMD_CAMERA_TELE_SET_EXP_MODE = 10007, + CMD_CAMERA_TELE_GET_EXP_MODE = 10008, + CMD_CAMERA_TELE_SET_EXP = 10009, + CMD_CAMERA_TELE_GET_EXP = 10010, + CMD_CAMERA_TELE_SET_GAIN_MODE = 10011, + CMD_CAMERA_TELE_GET_GAIN_MODE = 10012, + CMD_CAMERA_TELE_SET_GAIN = 10013, + CMD_CAMERA_TELE_GET_GAIN = 10014, + CMD_CAMERA_TELE_SET_BRIGHTNESS = 10015, + CMD_CAMERA_TELE_GET_BRIGHTNESS = 10016, + CMD_CAMERA_TELE_SET_CONTRAST = 10017, + CMD_CAMERA_TELE_GET_CONTRAST = 10018, + CMD_CAMERA_TELE_SET_SATURATION = 10019, + CMD_CAMERA_TELE_GET_SATURATION = 10020, + CMD_CAMERA_TELE_SET_HUE = 10021, + CMD_CAMERA_TELE_GET_HUE = 10022, + CMD_CAMERA_TELE_SET_SHARPNESS = 10023, + CMD_CAMERA_TELE_GET_SHARPNESS = 10024, + CMD_CAMERA_TELE_SET_WB_MODE = 10025, + CMD_CAMERA_TELE_GET_WB_MODE = 10026, + CMD_CAMERA_TELE_SET_WB_SCENE = 10027, + CMD_CAMERA_TELE_GET_WB_SCENE = 10028, + CMD_CAMERA_TELE_SET_WB_CT = 10029, + CMD_CAMERA_TELE_GET_WB_CT = 10030, + CMD_CAMERA_TELE_SET_IRCUT = 10031, + CMD_CAMERA_TELE_GET_IRCUT = 10032, + CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO = 10033, + CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO = 10034, + CMD_CAMERA_TELE_SET_ALL_PARAMS = 10035, + CMD_CAMERA_TELE_GET_ALL_PARAMS = 10036, + CMD_CAMERA_TELE_SET_FEATURE_PARAM = 10037, + CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS = 10038, + CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE = 10039, + CMD_CAMERA_TELE_SET_JPG_QUALITY = 10040, + CMD_CAMERA_TELE_PHOTO_RAW = 10041, + CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE = 10042, + CMD_ASTRO_START_CALIBRATION = 11000, + CMD_ASTRO_STOP_CALIBRATION = 11001, + CMD_ASTRO_START_GOTO_DSO = 11002, + CMD_ASTRO_START_GOTO_SOLAR_SYSTEM = 11003, + CMD_ASTRO_STOP_GOTO = 11004, + CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING = 11005, + CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING = 11006, + CMD_ASTRO_START_CAPTURE_RAW_DARK = 11007, + CMD_ASTRO_STOP_CAPTURE_RAW_DARK = 11008, + CMD_ASTRO_CHECK_GOT_DARK = 11009, + CMD_ASTRO_GO_LIVE = 11010, + CMD_ASTRO_START_TRACK_SPECIAL_TARGET = 11011, + CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET = 11012, + CMD_ASTRO_START_ONE_CLICK_GOTO_DSO = 11013, + CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM = 11014, + CMD_ASTRO_STOP_ONE_CLICK_GOTO = 11015, + CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING = 11016, + CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING = 11017, + CMD_ASTRO_START_EQ_SOLVING = 11018, + CMD_ASTRO_STOP_EQ_SOLVING = 11019, + CMD_ASTRO_WIDE_GO_LIVE = 11020, + CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM = 11021, + CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM = 11022, + CMD_ASTRO_GET_DARK_FRAME_LIST = 11023, + CMD_ASTRO_DEL_DARK_FRAME_LIST = 11024, + CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11025, + CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11026, + CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST = 11027, + CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST = 11028, + CMD_CAMERA_WIDE_OPEN_CAMERA = 12000, + CMD_CAMERA_WIDE_CLOSE_CAMERA = 12001, + CMD_CAMERA_WIDE_SET_EXP_MODE = 12002, + CMD_CAMERA_WIDE_GET_EXP_MODE = 12003, + CMD_CAMERA_WIDE_SET_EXP = 12004, + CMD_CAMERA_WIDE_GET_EXP = 12005, + CMD_CAMERA_WIDE_SET_GAIN = 12006, + CMD_CAMERA_WIDE_GET_GAIN = 12007, + CMD_CAMERA_WIDE_SET_BRIGHTNESS = 12008, + CMD_CAMERA_WIDE_GET_BRIGHTNESS = 12009, + CMD_CAMERA_WIDE_SET_CONTRAST = 12010, + CMD_CAMERA_WIDE_GET_CONTRAST = 12011, + CMD_CAMERA_WIDE_SET_SATURATION = 12012, + CMD_CAMERA_WIDE_GET_SATURATION = 12013, + CMD_CAMERA_WIDE_SET_HUE = 12014, + CMD_CAMERA_WIDE_GET_HUE = 12015, + CMD_CAMERA_WIDE_SET_SHARPNESS = 12016, + CMD_CAMERA_WIDE_GET_SHARPNESS = 12017, + CMD_CAMERA_WIDE_SET_WB_MODE = 12018, + CMD_CAMERA_WIDE_GET_WB_MODE = 12019, + CMD_CAMERA_WIDE_SET_WB_CT = 12020, + CMD_CAMERA_WIDE_GET_WB_CT = 12021, + CMD_CAMERA_WIDE_PHOTOGRAPH = 12022, + CMD_CAMERA_WIDE_BURST = 12023, + CMD_CAMERA_WIDE_STOP_BURST = 12024, + CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO = 12025, + CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO = 12026, + CMD_CAMERA_WIDE_GET_ALL_PARAMS = 12027, + CMD_CAMERA_WIDE_SET_ALL_PARAMS = 12028, + CMD_CAMERA_WIDE_START_RECORD = 12030, + CMD_CAMERA_WIDE_STOP_RECORD = 12031, + CMD_SYSTEM_SET_TIME = 13000, + CMD_SYSTEM_SET_TIME_ZONE = 13001, + CMD_SYSTEM_SET_MTP_MODE = 13002, + CMD_SYSTEM_SET_CPU_MODE = 13003, + CMD_SYSTEM_SET_MASTERLOCK = 13004, + CMD_RGB_POWER_OPEN_RGB = 13500, + CMD_RGB_POWER_CLOSE_RGB = 13501, + CMD_RGB_POWER_POWER_DOWN = 13502, + CMD_RGB_POWER_POWERIND_ON = 13503, + CMD_RGB_POWER_POWERIND_OFF = 13504, + CMD_RGB_POWER_REBOOT = 13505, + CMD_STEP_MOTOR_RUN = 14000, + CMD_STEP_MOTOR_RUN_TO = 14001, + CMD_STEP_MOTOR_STOP = 14002, + CMD_STEP_MOTOR_RESET = 14003, + CMD_STEP_MOTOR_CHANGE_SPEED = 14004, + CMD_STEP_MOTOR_CHANGE_DIRECTION = 14005, + CMD_STEP_MOTOR_SERVICE_JOYSTICK = 14006, + CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE = 14007, + CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP = 14008, + CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE = 14009, + CMD_STEP_MOTOR_RUN_IN_PULSE = 14010, + CMD_STEP_MOTOR_GET_POSITION = 14011, + CMD_TRACK_START_TRACK = 14800, + CMD_TRACK_STOP_TRACK = 14801, + CMD_SENTRY_MODE_START = 14802, + CMD_SENTRY_MODE_STOP = 14803, + CMD_MOT_START = 14804, + CMD_MOT_TRACK_ONE = 14805, + CMD_UFOTRACK_MODE_START = 14806, + CMD_UFOTRACK_MODE_STOP = 14807, + CMD_MOT_WIDE_TRACK_ONE = 14808, + CMD_WIDE_TELE_TRACK_SWITCH = 14809, + CMD_UFO_HAND_AOTO_MODE = 14810, + CMD_FOCUS_AUTO_FOCUS = 15000, + CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS = 15001, + CMD_FOCUS_START_MANUAL_CONTINU_FOCUS = 15002, + CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS = 15003, + CMD_FOCUS_START_ASTRO_AUTO_FOCUS = 15004, + CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS = 15005, + CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING = 15200, + CMD_NOTIFY_ELE = 15201, + CMD_NOTIFY_CHARGE = 15202, + CMD_NOTIFY_SDCARD_INFO = 15203, + CMD_NOTIFY_TELE_RECORD_TIME = 15204, + CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME = 15205, + CMD_NOTIFY_STATE_CAPTURE_RAW_DARK = 15206, + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK = 15207, + CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING = 15208, + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING = 15209, + CMD_NOTIFY_STATE_ASTRO_CALIBRATION = 15210, + CMD_NOTIFY_STATE_ASTRO_GOTO = 15211, + CMD_NOTIFY_STATE_ASTRO_TRACKING = 15212, + CMD_NOTIFY_TELE_SET_PARAM = 15213, + CMD_NOTIFY_WIDE_SET_PARAM = 15214, + CMD_NOTIFY_TELE_FUNCTION_STATE = 15215, + CMD_NOTIFY_WIDE_FUNCTION_STATE = 15216, + CMD_NOTIFY_SET_FEATURE_PARAM = 15217, + CMD_NOTIFY_TELE_BURST_PROGRESS = 15218, + CMD_NOTIFY_PANORAMA_PROGRESS = 15219, + CMD_NOTIFY_WIDE_BURST_PROGRESS = 15220, + CMD_NOTIFY_RGB_STATE = 15221, + CMD_NOTIFY_POWER_IND_STATE = 15222, + CMD_NOTIFY_WS_HOST_SLAVE_MODE = 15223, + CMD_NOTIFY_MTP_STATE = 15224, + CMD_NOTIFY_TRACK_RESULT = 15225, + CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME = 15226, + CMD_NOTIFY_CPU_MODE = 15227, + CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL = 15228, + CMD_NOTIFY_POWER_OFF = 15229, + CMD_NOTIFY_ALBUM_UPDATE = 15230, + CMD_NOTIFY_SENTRY_MODE_STATE = 15231, + CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT = 15232, + CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO = 15233, + CMD_NOTIFY_STREAM_TYPE = 15234, + CMD_NOTIFY_WIDE_RECORD_TIME = 15235, + CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING = 15236, + CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING = 15237, + CMD_NOTIFY_MULTI_TRACK_RESULT = 15238, + CMD_NOTIFY_EQ_SOLVING_STATE = 15239, + CMD_NOTIFY_UFO_MODE_STATE = 15240, + CMD_NOTIFY_TELE_LONG_EXP_PROGRESS = 15241, + CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS = 15242, + CMD_NOTIFY_TEMPERATURE = 15243, + CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS = 15244, + CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS = 15245, + CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE = 15246, + CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK = 15247, + CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE = 15248, + CMD_NOTIFY_SHOOTING_TASK_STATE = 15249, + CMD_NOTIFY_SKY_SEACHER_STATE = 15250, + CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT = 15251, + CMD_NOTIFY_WIDE_TRACK_RESULT = 15252, + CMD_NOTIFY_FOCUS = 15257, + CMD_PANORAMA_START_GRID = 15500, + CMD_PANORAMA_STOP = 15501, + CMD_PANORAMA_START_EULER_RANGE = 15502 +} + +/** DwarfErrorCode enum. */ +export enum DwarfErrorCode { + OK = 0, + WS_PARSE_PROTOBUF_ERROR = -1, + WS_SDCARD_NOT_EXIST = -2, + WS_INVALID_PARAM = -3, + WS_SDCARD_WRITE_ERROR = -4, + CODE_CAMERA_TELE_OPENED = -10500, + CODE_CAMERA_TELE_CLOSED = -10501, + CODE_CAMERA_TELE_ISP_SET_FAILED = -10502, + CODE_CAMERA_TELE_OPEN_FAILED = -10504, + CODE_CAMERA_TELE_RECORDING = -10506, + CODE_CAMERA_TELE_WORKING_BUSY_STACK = -10507, + CODE_CAMERA_TELE_CAPTURE_RAW_FAILED = -10510, + CODE_CAMERA_TELE_WORKING_BUSY = -10511, + CODE_ASTRO_PLATE_SOLVING_FAILED = -11500, + CODE_ASTRO_FUNCTION_BUSY = -11501, + CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE = -11502, + CODE_ASTRO_DARK_NOT_FOUND = -11503, + CODE_ASTRO_CALIBRATION_FAILED = -11504, + CODE_ASTRO_GOTO_FAILED = -11505, + CODE_ASTRO_NEED_GOTO = -11513, + CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM = -11514, + CODE_ASTRO_EQ_SOLVING_FAILED = -11516, + CODE_ASTRO_SKY_SEARCH_FAILED = -11517, + CODE_CAMERA_WIDE_OPENED = -12500, + CODE_CAMERA_WIDE_CLOSED = -12501, + CODE_CAMERA_WIDE_CANNOT_FOUND = -12502, + CODE_CAMERA_WIDE_OPEN_FAILED = -12503, + CODE_CAMERA_WIDE_CLOSE_FAILED = -12504, + CODE_CAMERA_WIDE_SET_ISP_FAILED = -12505, + CODE_CAMERA_WIDE_PHOTOGRAPHING = -12506, + CODE_CAMERA_WIDE_EXP_TOO_LONG = -12508, + CODE_SYSTEM_SET_TIME_FAILED = -13300, + CODE_SYSTEM_SET_TIMEZONE_FAILED = -13301, + CODE_SYSTEM_SETTING_TIMEZONE_FAILED = -13302, + CODE_RGB_POWER_UART_INIT_FAILED = -13800, + CODE_STEP_MOTOR_INVALID_PARAMETER_ID = -14504, + CODE_STEP_MOTOR_LIMIT_POSITION_WARNING = -14518, + CODE_STEP_MOTOR_LIMIT_POSITION_HITTED = -14519, + CODE_STEP_MOTOR_POSITION_NEED_RESET = -14520, + CODE_TRACK_TRACKER_INITING = -14900, + CODE_TRACK_TRACKER_FAILED = -14901, + CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR = -15100, + CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR = -15101, + CODE_PANORAMA_PHOTO_FAILED = -15600, + CODE_PANORAMA_MOTOR_RESET_FAILED = -15601 +} + +/** AstroTrackingSpecial enum. */ +export enum AstroTrackingSpecial { + TRACKING_SUN = 0, + TRACKING_MOON = 1 +} + +/** SolarSystemTarget enum. */ +export enum SolarSystemTarget { + Unknown = 0, + Mercury = 1, + Venus = 2, + Mars = 3, + Jupiter = 4, + Saturn = 5, + Uranus = 6, + Neptune = 7, + Moon = 8, + Sun = 9 +} + +/** PhotoMode enum. */ +export enum PhotoMode { + Auto = 0, + Manual = 1 +} + +/** WBMode enum. */ +export enum WBMode { + ColorTemperature = 0, + SceneMode = 1 +} + +/** IrCut enum. */ +export enum IrCut { + CUT = 0, + PASS = 1 +} + +/** Represents a ReqOpenRgb. */ +export class ReqOpenRgb implements IReqOpenRgb { + + /** + * Constructs a new ReqOpenRgb. + * @param [properties] Properties to set + */ + constructor(properties?: IReqOpenRgb); + + /** + * Creates a new ReqOpenRgb instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqOpenRgb instance + */ + public static create(properties?: IReqOpenRgb): ReqOpenRgb; + + /** + * Encodes the specified ReqOpenRgb message. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @param message ReqOpenRgb message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqOpenRgb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @param message ReqOpenRgb message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqOpenRgb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqOpenRgb; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqOpenRgb; + + /** + * Verifies a ReqOpenRgb message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqOpenRgb + */ + public static fromObject(object: { [k: string]: any }): ReqOpenRgb; + + /** + * Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified. + * @param message ReqOpenRgb + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqOpenRgb, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqOpenRgb to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqOpenRgb + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqCloseRgb. */ +export class ReqCloseRgb implements IReqCloseRgb { + + /** + * Constructs a new ReqCloseRgb. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCloseRgb); + + /** + * Creates a new ReqCloseRgb instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCloseRgb instance + */ + public static create(properties?: IReqCloseRgb): ReqCloseRgb; + + /** + * Encodes the specified ReqCloseRgb message. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @param message ReqCloseRgb message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCloseRgb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @param message ReqCloseRgb message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCloseRgb, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCloseRgb; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCloseRgb; + + /** + * Verifies a ReqCloseRgb message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCloseRgb + */ + public static fromObject(object: { [k: string]: any }): ReqCloseRgb; + + /** + * Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified. + * @param message ReqCloseRgb + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCloseRgb, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCloseRgb to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCloseRgb + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqPowerDown. */ +export class ReqPowerDown implements IReqPowerDown { + + /** + * Constructs a new ReqPowerDown. + * @param [properties] Properties to set + */ + constructor(properties?: IReqPowerDown); + + /** + * Creates a new ReqPowerDown instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqPowerDown instance + */ + public static create(properties?: IReqPowerDown): ReqPowerDown; + + /** + * Encodes the specified ReqPowerDown message. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @param message ReqPowerDown message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqPowerDown, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqPowerDown message, length delimited. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @param message ReqPowerDown message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqPowerDown, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqPowerDown; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqPowerDown; + + /** + * Verifies a ReqPowerDown message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqPowerDown + */ + public static fromObject(object: { [k: string]: any }): ReqPowerDown; + + /** + * Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified. + * @param message ReqPowerDown + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqPowerDown, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqPowerDown to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqPowerDown + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqOpenPowerInd. */ +export class ReqOpenPowerInd implements IReqOpenPowerInd { + + /** + * Constructs a new ReqOpenPowerInd. + * @param [properties] Properties to set + */ + constructor(properties?: IReqOpenPowerInd); + + /** + * Creates a new ReqOpenPowerInd instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqOpenPowerInd instance + */ + public static create(properties?: IReqOpenPowerInd): ReqOpenPowerInd; + + /** + * Encodes the specified ReqOpenPowerInd message. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @param message ReqOpenPowerInd message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqOpenPowerInd, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @param message ReqOpenPowerInd message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqOpenPowerInd, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqOpenPowerInd; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqOpenPowerInd; + + /** + * Verifies a ReqOpenPowerInd message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqOpenPowerInd + */ + public static fromObject(object: { [k: string]: any }): ReqOpenPowerInd; + + /** + * Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified. + * @param message ReqOpenPowerInd + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqOpenPowerInd, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqOpenPowerInd to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqOpenPowerInd + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqClosePowerInd. */ +export class ReqClosePowerInd implements IReqClosePowerInd { + + /** + * Constructs a new ReqClosePowerInd. + * @param [properties] Properties to set + */ + constructor(properties?: IReqClosePowerInd); + + /** + * Creates a new ReqClosePowerInd instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqClosePowerInd instance + */ + public static create(properties?: IReqClosePowerInd): ReqClosePowerInd; + + /** + * Encodes the specified ReqClosePowerInd message. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @param message ReqClosePowerInd message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqClosePowerInd, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @param message ReqClosePowerInd message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqClosePowerInd, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqClosePowerInd; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqClosePowerInd; + + /** + * Verifies a ReqClosePowerInd message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqClosePowerInd + */ + public static fromObject(object: { [k: string]: any }): ReqClosePowerInd; + + /** + * Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified. + * @param message ReqClosePowerInd + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqClosePowerInd, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqClosePowerInd to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqClosePowerInd + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqReboot. */ +export class ReqReboot implements IReqReboot { + + /** + * Constructs a new ReqReboot. + * @param [properties] Properties to set + */ + constructor(properties?: IReqReboot); + + /** + * Creates a new ReqReboot instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqReboot instance + */ + public static create(properties?: IReqReboot): ReqReboot; + + /** + * Encodes the specified ReqReboot message. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @param message ReqReboot message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqReboot, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqReboot message, length delimited. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @param message ReqReboot message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqReboot, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqReboot message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqReboot; + + /** + * Decodes a ReqReboot message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqReboot; + + /** + * Verifies a ReqReboot message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqReboot message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqReboot + */ + public static fromObject(object: { [k: string]: any }): ReqReboot; + + /** + * Creates a plain object from a ReqReboot message. Also converts values to other types if specified. + * @param message ReqReboot + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqReboot, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqReboot to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqReboot + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** ShootingScheduleState enum. */ +export enum ShootingScheduleState { + SHOOTING_SCHEDULE_STATE_INITIALIZED = 0, + SHOOTING_SCHEDULE_STATE_PENDING_SHOOT = 1, + SHOOTING_SCHEDULE_STATE_SHOOTING = 2, + SHOOTING_SCHEDULE_STATE_COMPLETED = 3, + SHOOTING_SCHEDULE_STATE_EXPIRED = 4 +} + +/** ShootingScheduleSyncState enum. */ +export enum ShootingScheduleSyncState { + SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC = 0, + SHOOTING_SCHEDULE_SYNC_STATE_SYNCED = 1 +} + +/** ShootingScheduleResult enum. */ +export enum ShootingScheduleResult { + SHOOTING_SCHEDULE_RESULT_PENDING_START = 0, + SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED = 1, + SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED = 2, + SHOOTING_SCHEDULE_RESULT_ALL_FAILED = 3 +} + +/** ShootingTaskState enum. */ +export enum ShootingTaskState { + SHOOTING_TASK_STATUS_IDLE = 0, + SHOOTING_TASK_STATUS_SHOOTING = 1, + SHOOTING_TASK_STATUS_SUCCESS = 2, + SHOOTING_TASK_STATUS_FAILED = 3, + SHOOTING_TASK_STATUS_INTERRUPTED = 4 +} + +/** ShootingScheduleMode enum. */ +export enum ShootingScheduleMode { + SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY = 0 +} + +/** Represents a ShootingTaskMsg. */ +export class ShootingTaskMsg implements IShootingTaskMsg { + + /** + * Constructs a new ShootingTaskMsg. + * @param [properties] Properties to set + */ + constructor(properties?: IShootingTaskMsg); + + /** ShootingTaskMsg scheduleId. */ + public scheduleId: string; + + /** ShootingTaskMsg params. */ + public params: string; + + /** ShootingTaskMsg state. */ + public state: ShootingTaskState; + + /** ShootingTaskMsg code. */ + public code: number; + + /** ShootingTaskMsg createdTime. */ + public createdTime: (number|Long); + + /** ShootingTaskMsg updatedTime. */ + public updatedTime: (number|Long); + + /** ShootingTaskMsg scheduleTaskId. */ + public scheduleTaskId: string; + + /** ShootingTaskMsg paramMode. */ + public paramMode: number; + + /** ShootingTaskMsg paramVersion. */ + public paramVersion: number; + + /** ShootingTaskMsg createFrom. */ + public createFrom: number; + + /** + * Creates a new ShootingTaskMsg instance using the specified properties. + * @param [properties] Properties to set + * @returns ShootingTaskMsg instance + */ + public static create(properties?: IShootingTaskMsg): ShootingTaskMsg; + + /** + * Encodes the specified ShootingTaskMsg message. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @param message ShootingTaskMsg message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IShootingTaskMsg, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @param message ShootingTaskMsg message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IShootingTaskMsg, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ShootingTaskMsg; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ShootingTaskMsg; + + /** + * Verifies a ShootingTaskMsg message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShootingTaskMsg + */ + public static fromObject(object: { [k: string]: any }): ShootingTaskMsg; + + /** + * Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified. + * @param message ShootingTaskMsg + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ShootingTaskMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShootingTaskMsg to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShootingTaskMsg + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ShootingScheduleMsg. */ +export class ShootingScheduleMsg implements IShootingScheduleMsg { + + /** + * Constructs a new ShootingScheduleMsg. + * @param [properties] Properties to set + */ + constructor(properties?: IShootingScheduleMsg); + + /** ShootingScheduleMsg scheduleId. */ + public scheduleId: string; + + /** ShootingScheduleMsg scheduleName. */ + public scheduleName: string; + + /** ShootingScheduleMsg deviceId. */ + public deviceId: number; + + /** ShootingScheduleMsg macAddress. */ + public macAddress: string; + + /** ShootingScheduleMsg startTime. */ + public startTime: (number|Long); + + /** ShootingScheduleMsg endTime. */ + public endTime: (number|Long); + + /** ShootingScheduleMsg result. */ + public result: ShootingScheduleResult; + + /** ShootingScheduleMsg createdTime. */ + public createdTime: (number|Long); + + /** ShootingScheduleMsg updatedTime. */ + public updatedTime: (number|Long); + + /** ShootingScheduleMsg state. */ + public state: ShootingScheduleState; + + /** ShootingScheduleMsg lock. */ + public lock: number; + + /** ShootingScheduleMsg password. */ + public password: string; + + /** ShootingScheduleMsg shootingTasks. */ + public shootingTasks: IShootingTaskMsg[]; + + /** ShootingScheduleMsg paramMode. */ + public paramMode: number; + + /** ShootingScheduleMsg paramVersion. */ + public paramVersion: number; + + /** ShootingScheduleMsg params. */ + public params: string; + + /** ShootingScheduleMsg scheduleTime. */ + public scheduleTime: (number|Long); + + /** ShootingScheduleMsg syncState. */ + public syncState: ShootingScheduleSyncState; + + /** + * Creates a new ShootingScheduleMsg instance using the specified properties. + * @param [properties] Properties to set + * @returns ShootingScheduleMsg instance + */ + public static create(properties?: IShootingScheduleMsg): ShootingScheduleMsg; + + /** + * Encodes the specified ShootingScheduleMsg message. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @param message ShootingScheduleMsg message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IShootingScheduleMsg, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @param message ShootingScheduleMsg message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IShootingScheduleMsg, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ShootingScheduleMsg; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ShootingScheduleMsg; + + /** + * Verifies a ShootingScheduleMsg message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ShootingScheduleMsg + */ + public static fromObject(object: { [k: string]: any }): ShootingScheduleMsg; + + /** + * Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified. + * @param message ShootingScheduleMsg + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ShootingScheduleMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ShootingScheduleMsg to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ShootingScheduleMsg + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSyncShootingSchedule. */ +export class ReqSyncShootingSchedule implements IReqSyncShootingSchedule { + + /** + * Constructs a new ReqSyncShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSyncShootingSchedule); + + /** ReqSyncShootingSchedule shootingSchedule. */ + public shootingSchedule?: (IShootingScheduleMsg|null); + + /** + * Creates a new ReqSyncShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSyncShootingSchedule instance + */ + public static create(properties?: IReqSyncShootingSchedule): ReqSyncShootingSchedule; + + /** + * Encodes the specified ReqSyncShootingSchedule message. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @param message ReqSyncShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSyncShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @param message ReqSyncShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSyncShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSyncShootingSchedule; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSyncShootingSchedule; + + /** + * Verifies a ReqSyncShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSyncShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqSyncShootingSchedule; + + /** + * Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified. + * @param message ReqSyncShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSyncShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSyncShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSyncShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResSyncShootingSchedule. */ +export class ResSyncShootingSchedule implements IResSyncShootingSchedule { + + /** + * Constructs a new ResSyncShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResSyncShootingSchedule); + + /** ResSyncShootingSchedule shootingSchedule. */ + public shootingSchedule?: (IShootingScheduleMsg|null); + + /** ResSyncShootingSchedule timeConflictScheduleIds. */ + public timeConflictScheduleIds: string[]; + + /** ResSyncShootingSchedule code. */ + public code: number; + + /** ResSyncShootingSchedule canReplace. */ + public canReplace: boolean; + + /** + * Creates a new ResSyncShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResSyncShootingSchedule instance + */ + public static create(properties?: IResSyncShootingSchedule): ResSyncShootingSchedule; + + /** + * Encodes the specified ResSyncShootingSchedule message. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @param message ResSyncShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResSyncShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @param message ResSyncShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResSyncShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResSyncShootingSchedule; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResSyncShootingSchedule; + + /** + * Verifies a ResSyncShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResSyncShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResSyncShootingSchedule; + + /** + * Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified. + * @param message ResSyncShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResSyncShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResSyncShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResSyncShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqCancelShootingSchedule. */ +export class ReqCancelShootingSchedule implements IReqCancelShootingSchedule { + + /** + * Constructs a new ReqCancelShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqCancelShootingSchedule); + + /** ReqCancelShootingSchedule id. */ + public id: string; + + /** ReqCancelShootingSchedule password. */ + public password: string; + + /** + * Creates a new ReqCancelShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqCancelShootingSchedule instance + */ + public static create(properties?: IReqCancelShootingSchedule): ReqCancelShootingSchedule; + + /** + * Encodes the specified ReqCancelShootingSchedule message. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @param message ReqCancelShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqCancelShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @param message ReqCancelShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqCancelShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqCancelShootingSchedule; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqCancelShootingSchedule; + + /** + * Verifies a ReqCancelShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqCancelShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqCancelShootingSchedule; + + /** + * Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified. + * @param message ReqCancelShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqCancelShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqCancelShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqCancelShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResCancelShootingSchedule. */ +export class ResCancelShootingSchedule implements IResCancelShootingSchedule { + + /** + * Constructs a new ResCancelShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResCancelShootingSchedule); + + /** ResCancelShootingSchedule id. */ + public id: string; + + /** ResCancelShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResCancelShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResCancelShootingSchedule instance + */ + public static create(properties?: IResCancelShootingSchedule): ResCancelShootingSchedule; + + /** + * Encodes the specified ResCancelShootingSchedule message. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @param message ResCancelShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResCancelShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @param message ResCancelShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResCancelShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResCancelShootingSchedule; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResCancelShootingSchedule; + + /** + * Verifies a ResCancelShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResCancelShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResCancelShootingSchedule; + + /** + * Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified. + * @param message ResCancelShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResCancelShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResCancelShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResCancelShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetAllShootingSchedule. */ +export class ReqGetAllShootingSchedule implements IReqGetAllShootingSchedule { + + /** + * Constructs a new ReqGetAllShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetAllShootingSchedule); + + /** + * Creates a new ReqGetAllShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetAllShootingSchedule instance + */ + public static create(properties?: IReqGetAllShootingSchedule): ReqGetAllShootingSchedule; + + /** + * Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @param message ReqGetAllShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetAllShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @param message ReqGetAllShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetAllShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetAllShootingSchedule; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetAllShootingSchedule; + + /** + * Verifies a ReqGetAllShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetAllShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqGetAllShootingSchedule; + + /** + * Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified. + * @param message ReqGetAllShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetAllShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetAllShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetAllShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetAllShootingSchedule. */ +export class ResGetAllShootingSchedule implements IResGetAllShootingSchedule { + + /** + * Constructs a new ResGetAllShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetAllShootingSchedule); + + /** ResGetAllShootingSchedule shootingSchedule. */ + public shootingSchedule: IShootingScheduleMsg[]; + + /** ResGetAllShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResGetAllShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetAllShootingSchedule instance + */ + public static create(properties?: IResGetAllShootingSchedule): ResGetAllShootingSchedule; + + /** + * Encodes the specified ResGetAllShootingSchedule message. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @param message ResGetAllShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetAllShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @param message ResGetAllShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetAllShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetAllShootingSchedule; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetAllShootingSchedule; + + /** + * Verifies a ResGetAllShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetAllShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResGetAllShootingSchedule; + + /** + * Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified. + * @param message ResGetAllShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetAllShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetAllShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetAllShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetShootingScheduleById. */ +export class ReqGetShootingScheduleById implements IReqGetShootingScheduleById { + + /** + * Constructs a new ReqGetShootingScheduleById. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetShootingScheduleById); + + /** ReqGetShootingScheduleById id. */ + public id: string; + + /** + * Creates a new ReqGetShootingScheduleById instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetShootingScheduleById instance + */ + public static create(properties?: IReqGetShootingScheduleById): ReqGetShootingScheduleById; + + /** + * Encodes the specified ReqGetShootingScheduleById message. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @param message ReqGetShootingScheduleById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetShootingScheduleById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @param message ReqGetShootingScheduleById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetShootingScheduleById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetShootingScheduleById; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetShootingScheduleById; + + /** + * Verifies a ReqGetShootingScheduleById message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetShootingScheduleById + */ + public static fromObject(object: { [k: string]: any }): ReqGetShootingScheduleById; + + /** + * Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified. + * @param message ReqGetShootingScheduleById + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetShootingScheduleById, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetShootingScheduleById to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetShootingScheduleById + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetShootingScheduleById. */ +export class ResGetShootingScheduleById implements IResGetShootingScheduleById { + + /** + * Constructs a new ResGetShootingScheduleById. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetShootingScheduleById); + + /** ResGetShootingScheduleById shootingSchedule. */ + public shootingSchedule?: (IShootingScheduleMsg|null); + + /** ResGetShootingScheduleById code. */ + public code: number; + + /** + * Creates a new ResGetShootingScheduleById instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetShootingScheduleById instance + */ + public static create(properties?: IResGetShootingScheduleById): ResGetShootingScheduleById; + + /** + * Encodes the specified ResGetShootingScheduleById message. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @param message ResGetShootingScheduleById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetShootingScheduleById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @param message ResGetShootingScheduleById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetShootingScheduleById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetShootingScheduleById; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetShootingScheduleById; + + /** + * Verifies a ResGetShootingScheduleById message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetShootingScheduleById + */ + public static fromObject(object: { [k: string]: any }): ResGetShootingScheduleById; + + /** + * Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified. + * @param message ResGetShootingScheduleById + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetShootingScheduleById, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetShootingScheduleById to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetShootingScheduleById + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetShootingTaskById. */ +export class ReqGetShootingTaskById implements IReqGetShootingTaskById { + + /** + * Constructs a new ReqGetShootingTaskById. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetShootingTaskById); + + /** ReqGetShootingTaskById id. */ + public id: string; + + /** + * Creates a new ReqGetShootingTaskById instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetShootingTaskById instance + */ + public static create(properties?: IReqGetShootingTaskById): ReqGetShootingTaskById; + + /** + * Encodes the specified ReqGetShootingTaskById message. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @param message ReqGetShootingTaskById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetShootingTaskById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @param message ReqGetShootingTaskById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetShootingTaskById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetShootingTaskById; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetShootingTaskById; + + /** + * Verifies a ReqGetShootingTaskById message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetShootingTaskById + */ + public static fromObject(object: { [k: string]: any }): ReqGetShootingTaskById; + + /** + * Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified. + * @param message ReqGetShootingTaskById + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetShootingTaskById, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetShootingTaskById to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetShootingTaskById + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResGetShootingTaskById. */ +export class ResGetShootingTaskById implements IResGetShootingTaskById { + + /** + * Constructs a new ResGetShootingTaskById. + * @param [properties] Properties to set + */ + constructor(properties?: IResGetShootingTaskById); + + /** ResGetShootingTaskById shootingTask. */ + public shootingTask?: (IShootingTaskMsg|null); + + /** ResGetShootingTaskById code. */ + public code: number; + + /** + * Creates a new ResGetShootingTaskById instance using the specified properties. + * @param [properties] Properties to set + * @returns ResGetShootingTaskById instance + */ + public static create(properties?: IResGetShootingTaskById): ResGetShootingTaskById; + + /** + * Encodes the specified ResGetShootingTaskById message. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @param message ResGetShootingTaskById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResGetShootingTaskById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @param message ResGetShootingTaskById message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResGetShootingTaskById, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResGetShootingTaskById; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResGetShootingTaskById; + + /** + * Verifies a ResGetShootingTaskById message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResGetShootingTaskById + */ + public static fromObject(object: { [k: string]: any }): ResGetShootingTaskById; + + /** + * Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified. + * @param message ResGetShootingTaskById + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResGetShootingTaskById, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResGetShootingTaskById to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResGetShootingTaskById + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqReplaceShootingSchedule. */ +export class ReqReplaceShootingSchedule implements IReqReplaceShootingSchedule { + + /** + * Constructs a new ReqReplaceShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqReplaceShootingSchedule); + + /** ReqReplaceShootingSchedule shootingSchedule. */ + public shootingSchedule?: (IShootingScheduleMsg|null); + + /** + * Creates a new ReqReplaceShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqReplaceShootingSchedule instance + */ + public static create(properties?: IReqReplaceShootingSchedule): ReqReplaceShootingSchedule; + + /** + * Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @param message ReqReplaceShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqReplaceShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @param message ReqReplaceShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqReplaceShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqReplaceShootingSchedule; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqReplaceShootingSchedule; + + /** + * Verifies a ReqReplaceShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqReplaceShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqReplaceShootingSchedule; + + /** + * Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified. + * @param message ReqReplaceShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqReplaceShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqReplaceShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqReplaceShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResReplaceShootingSchedule. */ +export class ResReplaceShootingSchedule implements IResReplaceShootingSchedule { + + /** + * Constructs a new ResReplaceShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResReplaceShootingSchedule); + + /** ResReplaceShootingSchedule shootingSchedule. */ + public shootingSchedule?: (IShootingScheduleMsg|null); + + /** ResReplaceShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResReplaceShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResReplaceShootingSchedule instance + */ + public static create(properties?: IResReplaceShootingSchedule): ResReplaceShootingSchedule; + + /** + * Encodes the specified ResReplaceShootingSchedule message. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @param message ResReplaceShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResReplaceShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @param message ResReplaceShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResReplaceShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResReplaceShootingSchedule; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResReplaceShootingSchedule; + + /** + * Verifies a ResReplaceShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResReplaceShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResReplaceShootingSchedule; + + /** + * Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified. + * @param message ResReplaceShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResReplaceShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResReplaceShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResReplaceShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqUnlockShootingSchedule. */ +export class ReqUnlockShootingSchedule implements IReqUnlockShootingSchedule { + + /** + * Constructs a new ReqUnlockShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqUnlockShootingSchedule); + + /** ReqUnlockShootingSchedule id. */ + public id: string; + + /** ReqUnlockShootingSchedule password. */ + public password: string; + + /** + * Creates a new ReqUnlockShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqUnlockShootingSchedule instance + */ + public static create(properties?: IReqUnlockShootingSchedule): ReqUnlockShootingSchedule; + + /** + * Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @param message ReqUnlockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqUnlockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @param message ReqUnlockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqUnlockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqUnlockShootingSchedule; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqUnlockShootingSchedule; + + /** + * Verifies a ReqUnlockShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqUnlockShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqUnlockShootingSchedule; + + /** + * Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified. + * @param message ReqUnlockShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqUnlockShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqUnlockShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqUnlockShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResUnlockShootingSchedule. */ +export class ResUnlockShootingSchedule implements IResUnlockShootingSchedule { + + /** + * Constructs a new ResUnlockShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResUnlockShootingSchedule); + + /** ResUnlockShootingSchedule id. */ + public id: string; + + /** ResUnlockShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResUnlockShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResUnlockShootingSchedule instance + */ + public static create(properties?: IResUnlockShootingSchedule): ResUnlockShootingSchedule; + + /** + * Encodes the specified ResUnlockShootingSchedule message. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @param message ResUnlockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResUnlockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @param message ResUnlockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResUnlockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResUnlockShootingSchedule; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResUnlockShootingSchedule; + + /** + * Verifies a ResUnlockShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResUnlockShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResUnlockShootingSchedule; + + /** + * Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified. + * @param message ResUnlockShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResUnlockShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResUnlockShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResUnlockShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqLockShootingSchedule. */ +export class ReqLockShootingSchedule implements IReqLockShootingSchedule { + + /** + * Constructs a new ReqLockShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqLockShootingSchedule); + + /** ReqLockShootingSchedule id. */ + public id: string; + + /** ReqLockShootingSchedule password. */ + public password: string; + + /** + * Creates a new ReqLockShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqLockShootingSchedule instance + */ + public static create(properties?: IReqLockShootingSchedule): ReqLockShootingSchedule; + + /** + * Encodes the specified ReqLockShootingSchedule message. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @param message ReqLockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqLockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @param message ReqLockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqLockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqLockShootingSchedule; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqLockShootingSchedule; + + /** + * Verifies a ReqLockShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqLockShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqLockShootingSchedule; + + /** + * Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified. + * @param message ReqLockShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqLockShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqLockShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqLockShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResLockShootingSchedule. */ +export class ResLockShootingSchedule implements IResLockShootingSchedule { + + /** + * Constructs a new ResLockShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResLockShootingSchedule); + + /** ResLockShootingSchedule id. */ + public id: string; + + /** ResLockShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResLockShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResLockShootingSchedule instance + */ + public static create(properties?: IResLockShootingSchedule): ResLockShootingSchedule; + + /** + * Encodes the specified ResLockShootingSchedule message. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @param message ResLockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResLockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @param message ResLockShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResLockShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResLockShootingSchedule; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResLockShootingSchedule; + + /** + * Verifies a ResLockShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResLockShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResLockShootingSchedule; + + /** + * Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified. + * @param message ResLockShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResLockShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResLockShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResLockShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDeleteShootingSchedule. */ +export class ReqDeleteShootingSchedule implements IReqDeleteShootingSchedule { + + /** + * Constructs a new ReqDeleteShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDeleteShootingSchedule); + + /** ReqDeleteShootingSchedule id. */ + public id: string; + + /** ReqDeleteShootingSchedule password. */ + public password: string; + + /** + * Creates a new ReqDeleteShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDeleteShootingSchedule instance + */ + public static create(properties?: IReqDeleteShootingSchedule): ReqDeleteShootingSchedule; + + /** + * Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @param message ReqDeleteShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDeleteShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @param message ReqDeleteShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDeleteShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDeleteShootingSchedule; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDeleteShootingSchedule; + + /** + * Verifies a ReqDeleteShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDeleteShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ReqDeleteShootingSchedule; + + /** + * Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified. + * @param message ReqDeleteShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDeleteShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDeleteShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDeleteShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResDeleteShootingSchedule. */ +export class ResDeleteShootingSchedule implements IResDeleteShootingSchedule { + + /** + * Constructs a new ResDeleteShootingSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: IResDeleteShootingSchedule); + + /** ResDeleteShootingSchedule id. */ + public id: string; + + /** ResDeleteShootingSchedule code. */ + public code: number; + + /** + * Creates a new ResDeleteShootingSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDeleteShootingSchedule instance + */ + public static create(properties?: IResDeleteShootingSchedule): ResDeleteShootingSchedule; + + /** + * Encodes the specified ResDeleteShootingSchedule message. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @param message ResDeleteShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDeleteShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @param message ResDeleteShootingSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDeleteShootingSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDeleteShootingSchedule; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDeleteShootingSchedule; + + /** + * Verifies a ResDeleteShootingSchedule message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDeleteShootingSchedule + */ + public static fromObject(object: { [k: string]: any }): ResDeleteShootingSchedule; + + /** + * Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified. + * @param message ResDeleteShootingSchedule + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDeleteShootingSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDeleteShootingSchedule to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDeleteShootingSchedule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetTime. */ +export class ReqSetTime implements IReqSetTime { + + /** + * Constructs a new ReqSetTime. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetTime); + + /** ReqSetTime timestamp. */ + public timestamp: (number|Long); + + /** ReqSetTime timezoneOffset. */ + public timezoneOffset: number; + + /** + * Creates a new ReqSetTime instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetTime instance + */ + public static create(properties?: IReqSetTime): ReqSetTime; + + /** + * Encodes the specified ReqSetTime message. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @param message ReqSetTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetTime message, length delimited. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @param message ReqSetTime message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetTime, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetTime; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetTime; + + /** + * Verifies a ReqSetTime message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetTime + */ + public static fromObject(object: { [k: string]: any }): ReqSetTime; + + /** + * Creates a plain object from a ReqSetTime message. Also converts values to other types if specified. + * @param message ReqSetTime + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetTime, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetTime to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetTime + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetTimezone. */ +export class ReqSetTimezone implements IReqSetTimezone { + + /** + * Constructs a new ReqSetTimezone. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetTimezone); + + /** ReqSetTimezone timezone. */ + public timezone: string; + + /** + * Creates a new ReqSetTimezone instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetTimezone instance + */ + public static create(properties?: IReqSetTimezone): ReqSetTimezone; + + /** + * Encodes the specified ReqSetTimezone message. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @param message ReqSetTimezone message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetTimezone, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @param message ReqSetTimezone message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetTimezone, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetTimezone; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetTimezone; + + /** + * Verifies a ReqSetTimezone message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetTimezone + */ + public static fromObject(object: { [k: string]: any }): ReqSetTimezone; + + /** + * Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified. + * @param message ReqSetTimezone + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetTimezone, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetTimezone to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetTimezone + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetMtpMode. */ +export class ReqSetMtpMode implements IReqSetMtpMode { + + /** + * Constructs a new ReqSetMtpMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetMtpMode); + + /** ReqSetMtpMode mode. */ + public mode: number; + + /** + * Creates a new ReqSetMtpMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetMtpMode instance + */ + public static create(properties?: IReqSetMtpMode): ReqSetMtpMode; + + /** + * Encodes the specified ReqSetMtpMode message. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @param message ReqSetMtpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetMtpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @param message ReqSetMtpMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetMtpMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetMtpMode; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetMtpMode; + + /** + * Verifies a ReqSetMtpMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetMtpMode + */ + public static fromObject(object: { [k: string]: any }): ReqSetMtpMode; + + /** + * Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified. + * @param message ReqSetMtpMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetMtpMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetMtpMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetMtpMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqSetCpuMode. */ +export class ReqSetCpuMode implements IReqSetCpuMode { + + /** + * Constructs a new ReqSetCpuMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqSetCpuMode); + + /** ReqSetCpuMode mode. */ + public mode: number; + + /** + * Creates a new ReqSetCpuMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqSetCpuMode instance + */ + public static create(properties?: IReqSetCpuMode): ReqSetCpuMode; + + /** + * Encodes the specified ReqSetCpuMode message. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @param message ReqSetCpuMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqSetCpuMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @param message ReqSetCpuMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqSetCpuMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqSetCpuMode; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqSetCpuMode; + + /** + * Verifies a ReqSetCpuMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqSetCpuMode + */ + public static fromObject(object: { [k: string]: any }): ReqSetCpuMode; + + /** + * Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified. + * @param message ReqSetCpuMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqSetCpuMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqSetCpuMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqSetCpuMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqsetMasterLock. */ +export class ReqsetMasterLock implements IReqsetMasterLock { + + /** + * Constructs a new ReqsetMasterLock. + * @param [properties] Properties to set + */ + constructor(properties?: IReqsetMasterLock); + + /** ReqsetMasterLock lock. */ + public lock: boolean; + + /** + * Creates a new ReqsetMasterLock instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqsetMasterLock instance + */ + public static create(properties?: IReqsetMasterLock): ReqsetMasterLock; + + /** + * Encodes the specified ReqsetMasterLock message. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @param message ReqsetMasterLock message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqsetMasterLock, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @param message ReqsetMasterLock message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqsetMasterLock, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqsetMasterLock; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqsetMasterLock; + + /** + * Verifies a ReqsetMasterLock message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqsetMasterLock + */ + public static fromObject(object: { [k: string]: any }): ReqsetMasterLock; + + /** + * Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified. + * @param message ReqsetMasterLock + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqsetMasterLock, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqsetMasterLock to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqsetMasterLock + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqGetDeviceActivateInfo. */ +export class ReqGetDeviceActivateInfo implements IReqGetDeviceActivateInfo { + + /** + * Constructs a new ReqGetDeviceActivateInfo. + * @param [properties] Properties to set + */ + constructor(properties?: IReqGetDeviceActivateInfo); + + /** ReqGetDeviceActivateInfo issuer. */ + public issuer: number; + + /** + * Creates a new ReqGetDeviceActivateInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqGetDeviceActivateInfo instance + */ + public static create(properties?: IReqGetDeviceActivateInfo): ReqGetDeviceActivateInfo; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @param message ReqGetDeviceActivateInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqGetDeviceActivateInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @param message ReqGetDeviceActivateInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqGetDeviceActivateInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqGetDeviceActivateInfo; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqGetDeviceActivateInfo; + + /** + * Verifies a ReqGetDeviceActivateInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqGetDeviceActivateInfo + */ + public static fromObject(object: { [k: string]: any }): ReqGetDeviceActivateInfo; + + /** + * Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified. + * @param message ReqGetDeviceActivateInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqGetDeviceActivateInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqGetDeviceActivateInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqGetDeviceActivateInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResDeviceActivateInfo. */ +export class ResDeviceActivateInfo implements IResDeviceActivateInfo { + + /** + * Constructs a new ResDeviceActivateInfo. + * @param [properties] Properties to set + */ + constructor(properties?: IResDeviceActivateInfo); + + /** ResDeviceActivateInfo activateState. */ + public activateState: number; + + /** ResDeviceActivateInfo activateProcessState. */ + public activateProcessState: number; + + /** ResDeviceActivateInfo requestParam. */ + public requestParam: string; + + /** + * Creates a new ResDeviceActivateInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDeviceActivateInfo instance + */ + public static create(properties?: IResDeviceActivateInfo): ResDeviceActivateInfo; + + /** + * Encodes the specified ResDeviceActivateInfo message. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @param message ResDeviceActivateInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDeviceActivateInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @param message ResDeviceActivateInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDeviceActivateInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDeviceActivateInfo; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDeviceActivateInfo; + + /** + * Verifies a ResDeviceActivateInfo message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDeviceActivateInfo + */ + public static fromObject(object: { [k: string]: any }): ResDeviceActivateInfo; + + /** + * Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified. + * @param message ResDeviceActivateInfo + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDeviceActivateInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDeviceActivateInfo to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDeviceActivateInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDeviceActivateWriteFile. */ +export class ReqDeviceActivateWriteFile implements IReqDeviceActivateWriteFile { + + /** + * Constructs a new ReqDeviceActivateWriteFile. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDeviceActivateWriteFile); + + /** ReqDeviceActivateWriteFile requestParam. */ + public requestParam: string; + + /** + * Creates a new ReqDeviceActivateWriteFile instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDeviceActivateWriteFile instance + */ + public static create(properties?: IReqDeviceActivateWriteFile): ReqDeviceActivateWriteFile; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @param message ReqDeviceActivateWriteFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDeviceActivateWriteFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @param message ReqDeviceActivateWriteFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDeviceActivateWriteFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDeviceActivateWriteFile; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDeviceActivateWriteFile; + + /** + * Verifies a ReqDeviceActivateWriteFile message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDeviceActivateWriteFile + */ + public static fromObject(object: { [k: string]: any }): ReqDeviceActivateWriteFile; + + /** + * Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified. + * @param message ReqDeviceActivateWriteFile + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDeviceActivateWriteFile, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDeviceActivateWriteFile to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDeviceActivateWriteFile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResDeviceActivateWriteFile. */ +export class ResDeviceActivateWriteFile implements IResDeviceActivateWriteFile { + + /** + * Constructs a new ResDeviceActivateWriteFile. + * @param [properties] Properties to set + */ + constructor(properties?: IResDeviceActivateWriteFile); + + /** ResDeviceActivateWriteFile code. */ + public code: number; + + /** ResDeviceActivateWriteFile requestParam. */ + public requestParam: string; + + /** + * Creates a new ResDeviceActivateWriteFile instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDeviceActivateWriteFile instance + */ + public static create(properties?: IResDeviceActivateWriteFile): ResDeviceActivateWriteFile; + + /** + * Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @param message ResDeviceActivateWriteFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDeviceActivateWriteFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @param message ResDeviceActivateWriteFile message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDeviceActivateWriteFile, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDeviceActivateWriteFile; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDeviceActivateWriteFile; + + /** + * Verifies a ResDeviceActivateWriteFile message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDeviceActivateWriteFile + */ + public static fromObject(object: { [k: string]: any }): ResDeviceActivateWriteFile; + + /** + * Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified. + * @param message ResDeviceActivateWriteFile + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDeviceActivateWriteFile, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDeviceActivateWriteFile to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDeviceActivateWriteFile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDeviceActivateSuccessfull. */ +export class ReqDeviceActivateSuccessfull implements IReqDeviceActivateSuccessfull { + + /** + * Constructs a new ReqDeviceActivateSuccessfull. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDeviceActivateSuccessfull); + + /** ReqDeviceActivateSuccessfull requestParam. */ + public requestParam: string; + + /** + * Creates a new ReqDeviceActivateSuccessfull instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDeviceActivateSuccessfull instance + */ + public static create(properties?: IReqDeviceActivateSuccessfull): ReqDeviceActivateSuccessfull; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @param message ReqDeviceActivateSuccessfull message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDeviceActivateSuccessfull, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @param message ReqDeviceActivateSuccessfull message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDeviceActivateSuccessfull, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDeviceActivateSuccessfull; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDeviceActivateSuccessfull; + + /** + * Verifies a ReqDeviceActivateSuccessfull message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDeviceActivateSuccessfull + */ + public static fromObject(object: { [k: string]: any }): ReqDeviceActivateSuccessfull; + + /** + * Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @param message ReqDeviceActivateSuccessfull + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDeviceActivateSuccessfull, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDeviceActivateSuccessfull to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDeviceActivateSuccessfull + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResDeviceActivateSuccessfull. */ +export class ResDeviceActivateSuccessfull implements IResDeviceActivateSuccessfull { + + /** + * Constructs a new ResDeviceActivateSuccessfull. + * @param [properties] Properties to set + */ + constructor(properties?: IResDeviceActivateSuccessfull); + + /** ResDeviceActivateSuccessfull code. */ + public code: number; + + /** ResDeviceActivateSuccessfull activateState. */ + public activateState: number; + + /** + * Creates a new ResDeviceActivateSuccessfull instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDeviceActivateSuccessfull instance + */ + public static create(properties?: IResDeviceActivateSuccessfull): ResDeviceActivateSuccessfull; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @param message ResDeviceActivateSuccessfull message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDeviceActivateSuccessfull, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @param message ResDeviceActivateSuccessfull message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDeviceActivateSuccessfull, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDeviceActivateSuccessfull; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDeviceActivateSuccessfull; + + /** + * Verifies a ResDeviceActivateSuccessfull message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDeviceActivateSuccessfull + */ + public static fromObject(object: { [k: string]: any }): ResDeviceActivateSuccessfull; + + /** + * Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @param message ResDeviceActivateSuccessfull + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDeviceActivateSuccessfull, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDeviceActivateSuccessfull to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDeviceActivateSuccessfull + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqDisableDeviceActivate. */ +export class ReqDisableDeviceActivate implements IReqDisableDeviceActivate { + + /** + * Constructs a new ReqDisableDeviceActivate. + * @param [properties] Properties to set + */ + constructor(properties?: IReqDisableDeviceActivate); + + /** ReqDisableDeviceActivate requestParam. */ + public requestParam: string; + + /** + * Creates a new ReqDisableDeviceActivate instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqDisableDeviceActivate instance + */ + public static create(properties?: IReqDisableDeviceActivate): ReqDisableDeviceActivate; + + /** + * Encodes the specified ReqDisableDeviceActivate message. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @param message ReqDisableDeviceActivate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqDisableDeviceActivate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @param message ReqDisableDeviceActivate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqDisableDeviceActivate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqDisableDeviceActivate; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqDisableDeviceActivate; + + /** + * Verifies a ReqDisableDeviceActivate message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqDisableDeviceActivate + */ + public static fromObject(object: { [k: string]: any }): ReqDisableDeviceActivate; + + /** + * Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified. + * @param message ReqDisableDeviceActivate + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqDisableDeviceActivate, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqDisableDeviceActivate to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqDisableDeviceActivate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ResDisableDeviceActivate. */ +export class ResDisableDeviceActivate implements IResDisableDeviceActivate { + + /** + * Constructs a new ResDisableDeviceActivate. + * @param [properties] Properties to set + */ + constructor(properties?: IResDisableDeviceActivate); + + /** ResDisableDeviceActivate code. */ + public code: number; + + /** ResDisableDeviceActivate activateState. */ + public activateState: number; + + /** + * Creates a new ResDisableDeviceActivate instance using the specified properties. + * @param [properties] Properties to set + * @returns ResDisableDeviceActivate instance + */ + public static create(properties?: IResDisableDeviceActivate): ResDisableDeviceActivate; + + /** + * Encodes the specified ResDisableDeviceActivate message. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @param message ResDisableDeviceActivate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IResDisableDeviceActivate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @param message ResDisableDeviceActivate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IResDisableDeviceActivate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ResDisableDeviceActivate; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ResDisableDeviceActivate; + + /** + * Verifies a ResDisableDeviceActivate message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ResDisableDeviceActivate + */ + public static fromObject(object: { [k: string]: any }): ResDisableDeviceActivate; + + /** + * Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified. + * @param message ResDisableDeviceActivate + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ResDisableDeviceActivate, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ResDisableDeviceActivate to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResDisableDeviceActivate + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartTrack. */ +export class ReqStartTrack implements IReqStartTrack { + + /** + * Constructs a new ReqStartTrack. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartTrack); + + /** ReqStartTrack x. */ + public x: number; + + /** ReqStartTrack y. */ + public y: number; + + /** ReqStartTrack w. */ + public w: number; + + /** ReqStartTrack h. */ + public h: number; + + /** + * Creates a new ReqStartTrack instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartTrack instance + */ + public static create(properties?: IReqStartTrack): ReqStartTrack; + + /** + * Encodes the specified ReqStartTrack message. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @param message ReqStartTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartTrack message, length delimited. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @param message ReqStartTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartTrack; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartTrack; + + /** + * Verifies a ReqStartTrack message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartTrack + */ + public static fromObject(object: { [k: string]: any }): ReqStartTrack; + + /** + * Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified. + * @param message ReqStartTrack + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartTrack, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartTrack to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartTrack + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopTrack. */ +export class ReqStopTrack implements IReqStopTrack { + + /** + * Constructs a new ReqStopTrack. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopTrack); + + /** + * Creates a new ReqStopTrack instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopTrack instance + */ + public static create(properties?: IReqStopTrack): ReqStopTrack; + + /** + * Encodes the specified ReqStopTrack message. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @param message ReqStopTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopTrack message, length delimited. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @param message ReqStopTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopTrack; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopTrack; + + /** + * Verifies a ReqStopTrack message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopTrack + */ + public static fromObject(object: { [k: string]: any }): ReqStopTrack; + + /** + * Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified. + * @param message ReqStopTrack + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopTrack, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopTrack to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopTrack + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqPauseTrack. */ +export class ReqPauseTrack implements IReqPauseTrack { + + /** + * Constructs a new ReqPauseTrack. + * @param [properties] Properties to set + */ + constructor(properties?: IReqPauseTrack); + + /** + * Creates a new ReqPauseTrack instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqPauseTrack instance + */ + public static create(properties?: IReqPauseTrack): ReqPauseTrack; + + /** + * Encodes the specified ReqPauseTrack message. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @param message ReqPauseTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqPauseTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @param message ReqPauseTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqPauseTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqPauseTrack; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqPauseTrack; + + /** + * Verifies a ReqPauseTrack message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqPauseTrack + */ + public static fromObject(object: { [k: string]: any }): ReqPauseTrack; + + /** + * Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified. + * @param message ReqPauseTrack + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqPauseTrack, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqPauseTrack to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqPauseTrack + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqContinueTrack. */ +export class ReqContinueTrack implements IReqContinueTrack { + + /** + * Constructs a new ReqContinueTrack. + * @param [properties] Properties to set + */ + constructor(properties?: IReqContinueTrack); + + /** + * Creates a new ReqContinueTrack instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqContinueTrack instance + */ + public static create(properties?: IReqContinueTrack): ReqContinueTrack; + + /** + * Encodes the specified ReqContinueTrack message. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @param message ReqContinueTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqContinueTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @param message ReqContinueTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqContinueTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqContinueTrack; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqContinueTrack; + + /** + * Verifies a ReqContinueTrack message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqContinueTrack + */ + public static fromObject(object: { [k: string]: any }): ReqContinueTrack; + + /** + * Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified. + * @param message ReqContinueTrack + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqContinueTrack, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqContinueTrack to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqContinueTrack + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStartSentryMode. */ +export class ReqStartSentryMode implements IReqStartSentryMode { + + /** + * Constructs a new ReqStartSentryMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStartSentryMode); + + /** ReqStartSentryMode mode. */ + public mode: number; + + /** + * Creates a new ReqStartSentryMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStartSentryMode instance + */ + public static create(properties?: IReqStartSentryMode): ReqStartSentryMode; + + /** + * Encodes the specified ReqStartSentryMode message. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @param message ReqStartSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStartSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @param message ReqStartSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStartSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStartSentryMode; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStartSentryMode; + + /** + * Verifies a ReqStartSentryMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStartSentryMode + */ + public static fromObject(object: { [k: string]: any }): ReqStartSentryMode; + + /** + * Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified. + * @param message ReqStartSentryMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStartSentryMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStartSentryMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStartSentryMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqStopSentryMode. */ +export class ReqStopSentryMode implements IReqStopSentryMode { + + /** + * Constructs a new ReqStopSentryMode. + * @param [properties] Properties to set + */ + constructor(properties?: IReqStopSentryMode); + + /** + * Creates a new ReqStopSentryMode instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqStopSentryMode instance + */ + public static create(properties?: IReqStopSentryMode): ReqStopSentryMode; + + /** + * Encodes the specified ReqStopSentryMode message. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @param message ReqStopSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqStopSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @param message ReqStopSentryMode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqStopSentryMode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqStopSentryMode; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqStopSentryMode; + + /** + * Verifies a ReqStopSentryMode message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqStopSentryMode + */ + public static fromObject(object: { [k: string]: any }): ReqStopSentryMode; + + /** + * Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified. + * @param message ReqStopSentryMode + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqStopSentryMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqStopSentryMode to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqStopSentryMode + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMOTTrack. */ +export class ReqMOTTrack implements IReqMOTTrack { + + /** + * Constructs a new ReqMOTTrack. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMOTTrack); + + /** + * Creates a new ReqMOTTrack instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMOTTrack instance + */ + public static create(properties?: IReqMOTTrack): ReqMOTTrack; + + /** + * Encodes the specified ReqMOTTrack message. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @param message ReqMOTTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMOTTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @param message ReqMOTTrack message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMOTTrack, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMOTTrack; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMOTTrack; + + /** + * Verifies a ReqMOTTrack message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMOTTrack + */ + public static fromObject(object: { [k: string]: any }): ReqMOTTrack; + + /** + * Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified. + * @param message ReqMOTTrack + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMOTTrack, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMOTTrack to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMOTTrack + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} + +/** Represents a ReqMOTTrackOne. */ +export class ReqMOTTrackOne implements IReqMOTTrackOne { + + /** + * Constructs a new ReqMOTTrackOne. + * @param [properties] Properties to set + */ + constructor(properties?: IReqMOTTrackOne); + + /** ReqMOTTrackOne id. */ + public id: number; + + /** + * Creates a new ReqMOTTrackOne instance using the specified properties. + * @param [properties] Properties to set + * @returns ReqMOTTrackOne instance + */ + public static create(properties?: IReqMOTTrackOne): ReqMOTTrackOne; + + /** + * Encodes the specified ReqMOTTrackOne message. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @param message ReqMOTTrackOne message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: IReqMOTTrackOne, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @param message ReqMOTTrackOne message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: IReqMOTTrackOne, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ReqMOTTrackOne; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ReqMOTTrackOne; + + /** + * Verifies a ReqMOTTrackOne message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ReqMOTTrackOne + */ + public static fromObject(object: { [k: string]: any }): ReqMOTTrackOne; + + /** + * Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified. + * @param message ReqMOTTrackOne + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: ReqMOTTrackOne, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ReqMOTTrackOne to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReqMOTTrackOne + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; +} diff --git a/dist/src/protobuf/protobuf.d.ts.map b/dist/src/protobuf/protobuf.d.ts.map new file mode 100644 index 00000000..60142731 --- /dev/null +++ b/dist/src/protobuf/protobuf.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"protobuf.d.ts","sourceRoot":"","sources":["../../../src/protobuf/protobuf.js"],"names":[],"mappings":";AAUA,uBAA4E"} \ No newline at end of file diff --git a/dist/src/protobuf/protobuf.js b/dist/src/protobuf/protobuf.js new file mode 100644 index 00000000..deb2e7e6 --- /dev/null +++ b/dist/src/protobuf/protobuf.js @@ -0,0 +1,47827 @@ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +// @ts-nocheck +import $protobuf from "protobufjs/minimal.js"; +// Common aliases +var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; +// Exported root namespace +var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); +$root.ReqStartCalibration = (function () { + /** + * Properties of a ReqStartCalibration. + * @exports IReqStartCalibration + * @interface IReqStartCalibration + */ + /** + * Constructs a new ReqStartCalibration. + * @exports ReqStartCalibration + * @classdesc Represents a ReqStartCalibration. + * @implements IReqStartCalibration + * @constructor + * @param {IReqStartCalibration=} [properties] Properties to set + */ + function ReqStartCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStartCalibration instance using the specified properties. + * @function create + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration=} [properties] Properties to set + * @returns {ReqStartCalibration} ReqStartCalibration instance + */ + ReqStartCalibration.create = function create(properties) { + return new ReqStartCalibration(properties); + }; + /** + * Encodes the specified ReqStartCalibration message. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartCalibration message. + * @function verify + * @memberof ReqStartCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStartCalibration} ReqStartCalibration + */ + ReqStartCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartCalibration) + return object; + return new $root.ReqStartCalibration(); + }; + /** + * Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartCalibration + * @static + * @param {ReqStartCalibration} message ReqStartCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartCalibration.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStartCalibration to JSON. + * @function toJSON + * @memberof ReqStartCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStartCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartCalibration + * @function getTypeUrl + * @memberof ReqStartCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartCalibration"; + }; + return ReqStartCalibration; +})(); +$root.ReqStopCalibration = (function () { + /** + * Properties of a ReqStopCalibration. + * @exports IReqStopCalibration + * @interface IReqStopCalibration + */ + /** + * Constructs a new ReqStopCalibration. + * @exports ReqStopCalibration + * @classdesc Represents a ReqStopCalibration. + * @implements IReqStopCalibration + * @constructor + * @param {IReqStopCalibration=} [properties] Properties to set + */ + function ReqStopCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCalibration instance using the specified properties. + * @function create + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration=} [properties] Properties to set + * @returns {ReqStopCalibration} ReqStopCalibration instance + */ + ReqStopCalibration.create = function create(properties) { + return new ReqStopCalibration(properties); + }; + /** + * Encodes the specified ReqStopCalibration message. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCalibration message. + * @function verify + * @memberof ReqStopCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCalibration} ReqStopCalibration + */ + ReqStopCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCalibration) + return object; + return new $root.ReqStopCalibration(); + }; + /** + * Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCalibration + * @static + * @param {ReqStopCalibration} message ReqStopCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCalibration.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCalibration to JSON. + * @function toJSON + * @memberof ReqStopCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStopCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCalibration + * @function getTypeUrl + * @memberof ReqStopCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCalibration"; + }; + return ReqStopCalibration; +})(); +$root.ReqGotoDSO = (function () { + /** + * Properties of a ReqGotoDSO. + * @exports IReqGotoDSO + * @interface IReqGotoDSO + * @property {number|null} [ra] ReqGotoDSO ra + * @property {number|null} [dec] ReqGotoDSO dec + * @property {string|null} [targetName] ReqGotoDSO targetName + */ + /** + * Constructs a new ReqGotoDSO. + * @exports ReqGotoDSO + * @classdesc Represents a ReqGotoDSO. + * @implements IReqGotoDSO + * @constructor + * @param {IReqGotoDSO=} [properties] Properties to set + */ + function ReqGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGotoDSO ra. + * @member {number} ra + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.ra = 0; + /** + * ReqGotoDSO dec. + * @member {number} dec + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.dec = 0; + /** + * ReqGotoDSO targetName. + * @member {string} targetName + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.targetName = ""; + /** + * Creates a new ReqGotoDSO instance using the specified properties. + * @function create + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO=} [properties] Properties to set + * @returns {ReqGotoDSO} ReqGotoDSO instance + */ + ReqGotoDSO.create = function create(properties) { + return new ReqGotoDSO(properties); + }; + /** + * Encodes the specified ReqGotoDSO message. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGotoDSO message. + * @function verify + * @memberof ReqGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") + return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") + return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoDSO} ReqGotoDSO + */ + ReqGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoDSO) + return object; + var message = new $root.ReqGotoDSO(); + if (object.ra != null) + message.ra = Number(object.ra); + if (object.dec != null) + message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoDSO + * @static + * @param {ReqGotoDSO} message ReqGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoDSO.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ReqGotoDSO to JSON. + * @function toJSON + * @memberof ReqGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGotoDSO + * @function getTypeUrl + * @memberof ReqGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoDSO"; + }; + return ReqGotoDSO; +})(); +$root.ReqGotoSolarSystem = (function () { + /** + * Properties of a ReqGotoSolarSystem. + * @exports IReqGotoSolarSystem + * @interface IReqGotoSolarSystem + * @property {number|null} [index] ReqGotoSolarSystem index + * @property {number|null} [lon] ReqGotoSolarSystem lon + * @property {number|null} [lat] ReqGotoSolarSystem lat + * @property {string|null} [targetName] ReqGotoSolarSystem targetName + */ + /** + * Constructs a new ReqGotoSolarSystem. + * @exports ReqGotoSolarSystem + * @classdesc Represents a ReqGotoSolarSystem. + * @implements IReqGotoSolarSystem + * @constructor + * @param {IReqGotoSolarSystem=} [properties] Properties to set + */ + function ReqGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGotoSolarSystem index. + * @member {number} index + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.index = 0; + /** + * ReqGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lon = 0; + /** + * ReqGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lat = 0; + /** + * ReqGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.targetName = ""; + /** + * Creates a new ReqGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem=} [properties] Properties to set + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem instance + */ + ReqGotoSolarSystem.create = function create(properties) { + return new ReqGotoSolarSystem(properties); + }; + /** + * Encodes the specified ReqGotoSolarSystem message. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGotoSolarSystem message. + * @function verify + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") + return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") + return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + */ + ReqGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoSolarSystem) + return object; + var message = new $root.ReqGotoSolarSystem(); + if (object.index != null) + message.index = object.index | 0; + if (object.lon != null) + message.lon = Number(object.lon); + if (object.lat != null) + message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoSolarSystem + * @static + * @param {ReqGotoSolarSystem} message ReqGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ReqGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGotoSolarSystem + * @function getTypeUrl + * @memberof ReqGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoSolarSystem"; + }; + return ReqGotoSolarSystem; +})(); +$root.ReqStopGoto = (function () { + /** + * Properties of a ReqStopGoto. + * @exports IReqStopGoto + * @interface IReqStopGoto + */ + /** + * Constructs a new ReqStopGoto. + * @exports ReqStopGoto + * @classdesc Represents a ReqStopGoto. + * @implements IReqStopGoto + * @constructor + * @param {IReqStopGoto=} [properties] Properties to set + */ + function ReqStopGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopGoto instance using the specified properties. + * @function create + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto=} [properties] Properties to set + * @returns {ReqStopGoto} ReqStopGoto instance + */ + ReqStopGoto.create = function create(properties) { + return new ReqStopGoto(properties); + }; + /** + * Encodes the specified ReqStopGoto message. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopGoto message, length delimited. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopGoto message. + * @function verify + * @memberof ReqStopGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopGoto} ReqStopGoto + */ + ReqStopGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopGoto) + return object; + return new $root.ReqStopGoto(); + }; + /** + * Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopGoto + * @static + * @param {ReqStopGoto} message ReqStopGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopGoto.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopGoto to JSON. + * @function toJSON + * @memberof ReqStopGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopGoto + * @function getTypeUrl + * @memberof ReqStopGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopGoto"; + }; + return ReqStopGoto; +})(); +$root.ReqCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureRawLiveStacking. + * @exports IReqCaptureRawLiveStacking + * @interface IReqCaptureRawLiveStacking + */ + /** + * Constructs a new ReqCaptureRawLiveStacking. + * @exports ReqCaptureRawLiveStacking + * @classdesc Represents a ReqCaptureRawLiveStacking. + * @implements IReqCaptureRawLiveStacking + * @constructor + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking instance + */ + ReqCaptureRawLiveStacking.create = function create(properties) { + return new ReqCaptureRawLiveStacking(properties); + }; + /** + * Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCaptureRawLiveStacking message. + * @function verify + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + */ + ReqCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureRawLiveStacking) + return object; + return new $root.ReqCaptureRawLiveStacking(); + }; + /** + * Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {ReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureRawLiveStacking"; + }; + return ReqCaptureRawLiveStacking; +})(); +$root.ReqStopCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureRawLiveStacking. + * @exports IReqStopCaptureRawLiveStacking + * @interface IReqStopCaptureRawLiveStacking + */ + /** + * Constructs a new ReqStopCaptureRawLiveStacking. + * @exports ReqStopCaptureRawLiveStacking + * @classdesc Represents a ReqStopCaptureRawLiveStacking. + * @implements IReqStopCaptureRawLiveStacking + * @constructor + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking instance + */ + ReqStopCaptureRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureRawLiveStacking(properties); + }; + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCaptureRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + */ + ReqStopCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureRawLiveStacking) + return object; + return new $root.ReqStopCaptureRawLiveStacking(); + }; + /** + * Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {ReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureRawLiveStacking"; + }; + return ReqStopCaptureRawLiveStacking; +})(); +$root.ReqCheckDarkFrame = (function () { + /** + * Properties of a ReqCheckDarkFrame. + * @exports IReqCheckDarkFrame + * @interface IReqCheckDarkFrame + */ + /** + * Constructs a new ReqCheckDarkFrame. + * @exports ReqCheckDarkFrame + * @classdesc Represents a ReqCheckDarkFrame. + * @implements IReqCheckDarkFrame + * @constructor + * @param {IReqCheckDarkFrame=} [properties] Properties to set + */ + function ReqCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame=} [properties] Properties to set + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame instance + */ + ReqCheckDarkFrame.create = function create(properties) { + return new ReqCheckDarkFrame(properties); + }; + /** + * Encodes the specified ReqCheckDarkFrame message. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCheckDarkFrame message. + * @function verify + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + */ + ReqCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckDarkFrame) + return object; + return new $root.ReqCheckDarkFrame(); + }; + /** + * Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckDarkFrame + * @static + * @param {ReqCheckDarkFrame} message ReqCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckDarkFrame.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqCheckDarkFrame to JSON. + * @function toJSON + * @memberof ReqCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCheckDarkFrame + * @function getTypeUrl + * @memberof ReqCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckDarkFrame"; + }; + return ReqCheckDarkFrame; +})(); +$root.ResCheckDarkFrame = (function () { + /** + * Properties of a ResCheckDarkFrame. + * @exports IResCheckDarkFrame + * @interface IResCheckDarkFrame + * @property {number|null} [progress] ResCheckDarkFrame progress + * @property {number|null} [code] ResCheckDarkFrame code + */ + /** + * Constructs a new ResCheckDarkFrame. + * @exports ResCheckDarkFrame + * @classdesc Represents a ResCheckDarkFrame. + * @implements IResCheckDarkFrame + * @constructor + * @param {IResCheckDarkFrame=} [properties] Properties to set + */ + function ResCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResCheckDarkFrame progress. + * @member {number} progress + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.progress = 0; + /** + * ResCheckDarkFrame code. + * @member {number} code + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.code = 0; + /** + * Creates a new ResCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame=} [properties] Properties to set + * @returns {ResCheckDarkFrame} ResCheckDarkFrame instance + */ + ResCheckDarkFrame.create = function create(properties) { + return new ResCheckDarkFrame(properties); + }; + /** + * Encodes the specified ResCheckDarkFrame message. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.progress != null && + Object.hasOwnProperty.call(message, "progress")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResCheckDarkFrame message. + * @function verify + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + */ + ResCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckDarkFrame) + return object; + var message = new $root.ResCheckDarkFrame(); + if (object.progress != null) + message.progress = object.progress | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckDarkFrame + * @static + * @param {ResCheckDarkFrame} message ResCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckDarkFrame.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.code = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResCheckDarkFrame to JSON. + * @function toJSON + * @memberof ResCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ResCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResCheckDarkFrame + * @function getTypeUrl + * @memberof ResCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckDarkFrame"; + }; + return ResCheckDarkFrame; +})(); +$root.ReqCaptureDarkFrame = (function () { + /** + * Properties of a ReqCaptureDarkFrame. + * @exports IReqCaptureDarkFrame + * @interface IReqCaptureDarkFrame + * @property {number|null} [reshoot] ReqCaptureDarkFrame reshoot + */ + /** + * Constructs a new ReqCaptureDarkFrame. + * @exports ReqCaptureDarkFrame + * @classdesc Represents a ReqCaptureDarkFrame. + * @implements IReqCaptureDarkFrame + * @constructor + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + */ + function ReqCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqCaptureDarkFrame reshoot. + * @member {number} reshoot + * @memberof ReqCaptureDarkFrame + * @instance + */ + ReqCaptureDarkFrame.prototype.reshoot = 0; + /** + * Creates a new ReqCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame instance + */ + ReqCaptureDarkFrame.create = function create(properties) { + return new ReqCaptureDarkFrame(properties); + }; + /** + * Encodes the specified ReqCaptureDarkFrame message. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.reshoot != null && + Object.hasOwnProperty.call(message, "reshoot")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.reshoot); + return writer; + }; + /** + * Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.reshoot = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCaptureDarkFrame message. + * @function verify + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + if (!$util.isInteger(message.reshoot)) + return "reshoot: integer expected"; + return null; + }; + /** + * Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + */ + ReqCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrame) + return object; + var message = new $root.ReqCaptureDarkFrame(); + if (object.reshoot != null) + message.reshoot = object.reshoot | 0; + return message; + }; + /** + * Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {ReqCaptureDarkFrame} message ReqCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrame.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.reshoot = 0; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + object.reshoot = message.reshoot; + return object; + }; + /** + * Converts this ReqCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrame"; + }; + return ReqCaptureDarkFrame; +})(); +$root.ReqStopCaptureDarkFrame = (function () { + /** + * Properties of a ReqStopCaptureDarkFrame. + * @exports IReqStopCaptureDarkFrame + * @interface IReqStopCaptureDarkFrame + */ + /** + * Constructs a new ReqStopCaptureDarkFrame. + * @exports ReqStopCaptureDarkFrame + * @classdesc Represents a ReqStopCaptureDarkFrame. + * @implements IReqStopCaptureDarkFrame + * @constructor + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame instance + */ + ReqStopCaptureDarkFrame.create = function create(properties) { + return new ReqStopCaptureDarkFrame(properties); + }; + /** + * Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCaptureDarkFrame message. + * @function verify + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + */ + ReqStopCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrame) + return object; + return new $root.ReqStopCaptureDarkFrame(); + }; + /** + * Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {ReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrame.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrame"; + }; + return ReqStopCaptureDarkFrame; +})(); +$root.ReqCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureDarkFrameWithParam. + * @exports IReqCaptureDarkFrameWithParam + * @interface IReqCaptureDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureDarkFrameWithParam capSize + */ + /** + * Constructs a new ReqCaptureDarkFrameWithParam. + * @exports ReqCaptureDarkFrameWithParam + * @classdesc Represents a ReqCaptureDarkFrameWithParam. + * @implements IReqCaptureDarkFrameWithParam + * @constructor + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqCaptureDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.expIndex = 0; + /** + * ReqCaptureDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.gainIndex = 0; + /** + * ReqCaptureDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.binIndex = 0; + /** + * ReqCaptureDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.capSize = 0; + /** + * Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam instance + */ + ReqCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureDarkFrameWithParam(properties); + }; + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if (message.capSize != null && + Object.hasOwnProperty.call(message, "capSize")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) + return "capSize: integer expected"; + return null; + }; + /** + * Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + */ + ReqCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrameWithParam) + return object; + var message = new $root.ReqCaptureDarkFrameWithParam(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + if (object.capSize != null) + message.capSize = object.capSize | 0; + return message; + }; + /** + * Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {ReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrameWithParam.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + /** + * Converts this ReqCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrameWithParam"; + }; + return ReqCaptureDarkFrameWithParam; +})(); +$root.ReqStopCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureDarkFrameWithParam. + * @exports IReqStopCaptureDarkFrameWithParam + * @interface IReqStopCaptureDarkFrameWithParam + */ + /** + * Constructs a new ReqStopCaptureDarkFrameWithParam. + * @exports ReqStopCaptureDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureDarkFrameWithParam. + * @implements IReqStopCaptureDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam instance + */ + ReqStopCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureDarkFrameWithParam(properties); + }; + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + */ + ReqStopCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrameWithParam) + return object; + return new $root.ReqStopCaptureDarkFrameWithParam(); + }; + /** + * Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {ReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrameWithParam"; + }; + return ReqStopCaptureDarkFrameWithParam; +})(); +$root.ReqGetDarkFrameList = (function () { + /** + * Properties of a ReqGetDarkFrameList. + * @exports IReqGetDarkFrameList + * @interface IReqGetDarkFrameList + */ + /** + * Constructs a new ReqGetDarkFrameList. + * @exports ReqGetDarkFrameList + * @classdesc Represents a ReqGetDarkFrameList. + * @implements IReqGetDarkFrameList + * @constructor + * @param {IReqGetDarkFrameList=} [properties] Properties to set + */ + function ReqGetDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList=} [properties] Properties to set + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList instance + */ + ReqGetDarkFrameList.create = function create(properties) { + return new ReqGetDarkFrameList(properties); + }; + /** + * Encodes the specified ReqGetDarkFrameList message. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetDarkFrameList message. + * @function verify + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + */ + ReqGetDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDarkFrameList) + return object; + return new $root.ReqGetDarkFrameList(); + }; + /** + * Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDarkFrameList + * @static + * @param {ReqGetDarkFrameList} message ReqGetDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDarkFrameList.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetDarkFrameList + * @function getTypeUrl + * @memberof ReqGetDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDarkFrameList"; + }; + return ReqGetDarkFrameList; +})(); +$root.ResGetDarkFrameInfo = (function () { + /** + * Properties of a ResGetDarkFrameInfo. + * @exports IResGetDarkFrameInfo + * @interface IResGetDarkFrameInfo + * @property {number|null} [expIndex] ResGetDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetDarkFrameInfo expName + * @property {string|null} [gainName] ResGetDarkFrameInfo gainName + * @property {string|null} [binName] ResGetDarkFrameInfo binName + * @property {number|null} [temperature] ResGetDarkFrameInfo temperature + */ + /** + * Constructs a new ResGetDarkFrameInfo. + * @exports ResGetDarkFrameInfo + * @classdesc Represents a ResGetDarkFrameInfo. + * @implements IResGetDarkFrameInfo + * @constructor + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + */ + function ResGetDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expIndex = 0; + /** + * ResGetDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainIndex = 0; + /** + * ResGetDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binIndex = 0; + /** + * ResGetDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expName = ""; + /** + * ResGetDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainName = ""; + /** + * ResGetDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binName = ""; + /** + * ResGetDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.temperature = 0; + /** + * Creates a new ResGetDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo instance + */ + ResGetDarkFrameInfo.create = function create(properties) { + return new ResGetDarkFrameInfo(properties); + }; + /** + * Encodes the specified ResGetDarkFrameInfo message. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if (message.expName != null && + Object.hasOwnProperty.call(message, "expName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if (message.gainName != null && + Object.hasOwnProperty.call(message, "gainName")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if (message.binName != null && + Object.hasOwnProperty.call(message, "binName")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if (message.temperature != null && + Object.hasOwnProperty.call(message, "temperature")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + /** + * Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetDarkFrameInfo message. + * @function verify + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) + return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) + return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) + return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + /** + * Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + */ + ResGetDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfo) + return object; + var message = new $root.ResGetDarkFrameInfo(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + if (object.expName != null) + message.expName = String(object.expName); + if (object.gainName != null) + message.gainName = String(object.gainName); + if (object.binName != null) + message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + /** + * Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {ResGetDarkFrameInfo} message ResGetDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + /** + * Converts this ResGetDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfo"; + }; + return ResGetDarkFrameInfo; +})(); +$root.ResGetDarkFrameInfoList = (function () { + /** + * Properties of a ResGetDarkFrameInfoList. + * @exports IResGetDarkFrameInfoList + * @interface IResGetDarkFrameInfoList + * @property {number|null} [code] ResGetDarkFrameInfoList code + * @property {Array.|null} [results] ResGetDarkFrameInfoList results + */ + /** + * Constructs a new ResGetDarkFrameInfoList. + * @exports ResGetDarkFrameInfoList + * @classdesc Represents a ResGetDarkFrameInfoList. + * @implements IResGetDarkFrameInfoList + * @constructor + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.code = 0; + /** + * ResGetDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.results = $util.emptyArray; + /** + * Creates a new ResGetDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList instance + */ + ResGetDarkFrameInfoList.create = function create(properties) { + return new ResGetDarkFrameInfoList(properties); + }; + /** + * Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode(message.results[i], writer.uint32(/* id 2, wireType 2 =*/ 18).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push($root.ResGetDarkFrameInfo.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetDarkFrameInfoList message. + * @function verify + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) + return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) + return "results." + error; + } + } + return null; + }; + /** + * Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + */ + ResGetDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfoList) + return object; + var message = new $root.ResGetDarkFrameInfoList(); + if (object.code != null) + message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError(".ResGetDarkFrameInfoList.results: object expected"); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject(object.results[i]); + } + } + return message; + }; + /** + * Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {ResGetDarkFrameInfoList} message ResGetDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.results = []; + if (options.defaults) + object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject(message.results[j], options); + } + return object; + }; + /** + * Converts this ResGetDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfoList"; + }; + return ResGetDarkFrameInfoList; +})(); +$root.ReqDelDarkFrame = (function () { + /** + * Properties of a ReqDelDarkFrame. + * @exports IReqDelDarkFrame + * @interface IReqDelDarkFrame + * @property {number|null} [expIndex] ReqDelDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelDarkFrame binIndex + */ + /** + * Constructs a new ReqDelDarkFrame. + * @exports ReqDelDarkFrame + * @classdesc Represents a ReqDelDarkFrame. + * @implements IReqDelDarkFrame + * @constructor + * @param {IReqDelDarkFrame=} [properties] Properties to set + */ + function ReqDelDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDelDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.expIndex = 0; + /** + * ReqDelDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.gainIndex = 0; + /** + * ReqDelDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.binIndex = 0; + /** + * Creates a new ReqDelDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame=} [properties] Properties to set + * @returns {ReqDelDarkFrame} ReqDelDarkFrame instance + */ + ReqDelDarkFrame.create = function create(properties) { + return new ReqDelDarkFrame(properties); + }; + /** + * Encodes the specified ReqDelDarkFrame message. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + /** + * Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDelDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDelDarkFrame message. + * @function verify + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + /** + * Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + */ + ReqDelDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrame) + return object; + var message = new $root.ReqDelDarkFrame(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + return message; + }; + /** + * Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrame + * @static + * @param {ReqDelDarkFrame} message ReqDelDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrame.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + /** + * Converts this ReqDelDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDelDarkFrame + * @function getTypeUrl + * @memberof ReqDelDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrame"; + }; + return ReqDelDarkFrame; +})(); +$root.ReqDelDarkFrameList = (function () { + /** + * Properties of a ReqDelDarkFrameList. + * @exports IReqDelDarkFrameList + * @interface IReqDelDarkFrameList + * @property {Array.|null} [darkList] ReqDelDarkFrameList darkList + */ + /** + * Constructs a new ReqDelDarkFrameList. + * @exports ReqDelDarkFrameList + * @classdesc Represents a ReqDelDarkFrameList. + * @implements IReqDelDarkFrameList + * @constructor + * @param {IReqDelDarkFrameList=} [properties] Properties to set + */ + function ReqDelDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDelDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelDarkFrameList + * @instance + */ + ReqDelDarkFrameList.prototype.darkList = $util.emptyArray; + /** + * Creates a new ReqDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList=} [properties] Properties to set + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList instance + */ + ReqDelDarkFrameList.create = function create(properties) { + return new ReqDelDarkFrameList(properties); + }; + /** + * Encodes the specified ReqDelDarkFrameList message. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode(message.darkList[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push($root.ReqDelDarkFrame.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDelDarkFrameList message. + * @function verify + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) + return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) + return "darkList." + error; + } + } + return null; + }; + /** + * Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + */ + ReqDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrameList) + return object; + var message = new $root.ReqDelDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject(object.darkList[i]); + } + } + return message; + }; + /** + * Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrameList + * @static + * @param {ReqDelDarkFrameList} message ReqDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject(message.darkList[j], options); + } + return object; + }; + /** + * Converts this ReqDelDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDelDarkFrameList + * @function getTypeUrl + * @memberof ReqDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrameList"; + }; + return ReqDelDarkFrameList; +})(); +$root.ResDelDarkFrameList = (function () { + /** + * Properties of a ResDelDarkFrameList. + * @exports IResDelDarkFrameList + * @interface IResDelDarkFrameList + * @property {number|null} [code] ResDelDarkFrameList code + */ + /** + * Constructs a new ResDelDarkFrameList. + * @exports ResDelDarkFrameList + * @classdesc Represents a ResDelDarkFrameList. + * @implements IResDelDarkFrameList + * @constructor + * @param {IResDelDarkFrameList=} [properties] Properties to set + */ + function ResDelDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDelDarkFrameList code. + * @member {number} code + * @memberof ResDelDarkFrameList + * @instance + */ + ResDelDarkFrameList.prototype.code = 0; + /** + * Creates a new ResDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList=} [properties] Properties to set + * @returns {ResDelDarkFrameList} ResDelDarkFrameList instance + */ + ResDelDarkFrameList.create = function create(properties) { + return new ResDelDarkFrameList(properties); + }; + /** + * Encodes the specified ResDelDarkFrameList message. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDelDarkFrameList message. + * @function verify + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + */ + ResDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelDarkFrameList) + return object; + var message = new $root.ResDelDarkFrameList(); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelDarkFrameList + * @static + * @param {ResDelDarkFrameList} message ResDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResDelDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDelDarkFrameList + * @function getTypeUrl + * @memberof ResDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelDarkFrameList"; + }; + return ResDelDarkFrameList; +})(); +$root.ReqGoLive = (function () { + /** + * Properties of a ReqGoLive. + * @exports IReqGoLive + * @interface IReqGoLive + */ + /** + * Constructs a new ReqGoLive. + * @exports ReqGoLive + * @classdesc Represents a ReqGoLive. + * @implements IReqGoLive + * @constructor + * @param {IReqGoLive=} [properties] Properties to set + */ + function ReqGoLive(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGoLive instance using the specified properties. + * @function create + * @memberof ReqGoLive + * @static + * @param {IReqGoLive=} [properties] Properties to set + * @returns {ReqGoLive} ReqGoLive instance + */ + ReqGoLive.create = function create(properties) { + return new ReqGoLive(properties); + }; + /** + * Encodes the specified ReqGoLive message. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encode + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGoLive message, length delimited. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGoLive message from the specified reader or buffer. + * @function decode + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGoLive(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGoLive message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGoLive message. + * @function verify + * @memberof ReqGoLive + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGoLive.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGoLive + * @static + * @param {Object.} object Plain object + * @returns {ReqGoLive} ReqGoLive + */ + ReqGoLive.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGoLive) + return object; + return new $root.ReqGoLive(); + }; + /** + * Creates a plain object from a ReqGoLive message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGoLive + * @static + * @param {ReqGoLive} message ReqGoLive + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGoLive.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGoLive to JSON. + * @function toJSON + * @memberof ReqGoLive + * @instance + * @returns {Object.} JSON object + */ + ReqGoLive.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGoLive + * @function getTypeUrl + * @memberof ReqGoLive + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGoLive.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGoLive"; + }; + return ReqGoLive; +})(); +$root.ReqTrackSpecialTarget = (function () { + /** + * Properties of a ReqTrackSpecialTarget. + * @exports IReqTrackSpecialTarget + * @interface IReqTrackSpecialTarget + * @property {number|null} [index] ReqTrackSpecialTarget index + * @property {number|null} [lon] ReqTrackSpecialTarget lon + * @property {number|null} [lat] ReqTrackSpecialTarget lat + */ + /** + * Constructs a new ReqTrackSpecialTarget. + * @exports ReqTrackSpecialTarget + * @classdesc Represents a ReqTrackSpecialTarget. + * @implements IReqTrackSpecialTarget + * @constructor + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + */ + function ReqTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqTrackSpecialTarget index. + * @member {number} index + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.index = 0; + /** + * ReqTrackSpecialTarget lon. + * @member {number} lon + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lon = 0; + /** + * ReqTrackSpecialTarget lat. + * @member {number} lat + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lat = 0; + /** + * Creates a new ReqTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget instance + */ + ReqTrackSpecialTarget.create = function create(properties) { + return new ReqTrackSpecialTarget(properties); + }; + /** + * Encodes the specified ReqTrackSpecialTarget message. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + return writer; + }; + /** + * Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqTrackSpecialTarget message. + * @function verify + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") + return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") + return "lat: number expected"; + return null; + }; + /** + * Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + */ + ReqTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqTrackSpecialTarget) + return object; + var message = new $root.ReqTrackSpecialTarget(); + if (object.index != null) + message.index = object.index | 0; + if (object.lon != null) + message.lon = Number(object.lon); + if (object.lat != null) + message.lat = Number(object.lat); + return message; + }; + /** + * Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {ReqTrackSpecialTarget} message ReqTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqTrackSpecialTarget.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + /** + * Converts this ReqTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqTrackSpecialTarget"; + }; + return ReqTrackSpecialTarget; +})(); +$root.ReqStopTrackSpecialTarget = (function () { + /** + * Properties of a ReqStopTrackSpecialTarget. + * @exports IReqStopTrackSpecialTarget + * @interface IReqStopTrackSpecialTarget + */ + /** + * Constructs a new ReqStopTrackSpecialTarget. + * @exports ReqStopTrackSpecialTarget + * @classdesc Represents a ReqStopTrackSpecialTarget. + * @implements IReqStopTrackSpecialTarget + * @constructor + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + */ + function ReqStopTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget instance + */ + ReqStopTrackSpecialTarget.create = function create(properties) { + return new ReqStopTrackSpecialTarget(properties); + }; + /** + * Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopTrackSpecialTarget message. + * @function verify + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + */ + ReqStopTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrackSpecialTarget) + return object; + return new $root.ReqStopTrackSpecialTarget(); + }; + /** + * Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {ReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrackSpecialTarget.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqStopTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrackSpecialTarget"; + }; + return ReqStopTrackSpecialTarget; +})(); +$root.ReqOneClickGotoDSO = (function () { + /** + * Properties of a ReqOneClickGotoDSO. + * @exports IReqOneClickGotoDSO + * @interface IReqOneClickGotoDSO + * @property {number|null} [ra] ReqOneClickGotoDSO ra + * @property {number|null} [dec] ReqOneClickGotoDSO dec + * @property {string|null} [targetName] ReqOneClickGotoDSO targetName + */ + /** + * Constructs a new ReqOneClickGotoDSO. + * @exports ReqOneClickGotoDSO + * @classdesc Represents a ReqOneClickGotoDSO. + * @implements IReqOneClickGotoDSO + * @constructor + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + */ + function ReqOneClickGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqOneClickGotoDSO ra. + * @member {number} ra + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.ra = 0; + /** + * ReqOneClickGotoDSO dec. + * @member {number} dec + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.dec = 0; + /** + * ReqOneClickGotoDSO targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.targetName = ""; + /** + * Creates a new ReqOneClickGotoDSO instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO instance + */ + ReqOneClickGotoDSO.create = function create(properties) { + return new ReqOneClickGotoDSO(properties); + }; + /** + * Encodes the specified ReqOneClickGotoDSO message. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqOneClickGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqOneClickGotoDSO message. + * @function verify + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") + return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") + return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + */ + ReqOneClickGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoDSO) + return object; + var message = new $root.ReqOneClickGotoDSO(); + if (object.ra != null) + message.ra = Number(object.ra); + if (object.dec != null) + message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {ReqOneClickGotoDSO} message ReqOneClickGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoDSO.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ReqOneClickGotoDSO to JSON. + * @function toJSON + * @memberof ReqOneClickGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqOneClickGotoDSO + * @function getTypeUrl + * @memberof ReqOneClickGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoDSO"; + }; + return ReqOneClickGotoDSO; +})(); +$root.ReqOneClickGotoSolarSystem = (function () { + /** + * Properties of a ReqOneClickGotoSolarSystem. + * @exports IReqOneClickGotoSolarSystem + * @interface IReqOneClickGotoSolarSystem + * @property {number|null} [index] ReqOneClickGotoSolarSystem index + * @property {number|null} [lon] ReqOneClickGotoSolarSystem lon + * @property {number|null} [lat] ReqOneClickGotoSolarSystem lat + * @property {string|null} [targetName] ReqOneClickGotoSolarSystem targetName + */ + /** + * Constructs a new ReqOneClickGotoSolarSystem. + * @exports ReqOneClickGotoSolarSystem + * @classdesc Represents a ReqOneClickGotoSolarSystem. + * @implements IReqOneClickGotoSolarSystem + * @constructor + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + */ + function ReqOneClickGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqOneClickGotoSolarSystem index. + * @member {number} index + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.index = 0; + /** + * ReqOneClickGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lon = 0; + /** + * ReqOneClickGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lat = 0; + /** + * ReqOneClickGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.targetName = ""; + /** + * Creates a new ReqOneClickGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem instance + */ + ReqOneClickGotoSolarSystem.create = function create(properties) { + return new ReqOneClickGotoSolarSystem(properties); + }; + /** + * Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqOneClickGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqOneClickGotoSolarSystem message. + * @function verify + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") + return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") + return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + */ + ReqOneClickGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoSolarSystem) + return object; + var message = new $root.ReqOneClickGotoSolarSystem(); + if (object.index != null) + message.index = object.index | 0; + if (object.lon != null) + message.lon = Number(object.lon); + if (object.lat != null) + message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {ReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ReqOneClickGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqOneClickGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqOneClickGotoSolarSystem + * @function getTypeUrl + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoSolarSystem"; + }; + return ReqOneClickGotoSolarSystem; +})(); +$root.ResOneClickGoto = (function () { + /** + * Properties of a ResOneClickGoto. + * @exports IResOneClickGoto + * @interface IResOneClickGoto + * @property {number|null} [step] ResOneClickGoto step + * @property {number|null} [code] ResOneClickGoto code + * @property {boolean|null} [allEnd] ResOneClickGoto allEnd + */ + /** + * Constructs a new ResOneClickGoto. + * @exports ResOneClickGoto + * @classdesc Represents a ResOneClickGoto. + * @implements IResOneClickGoto + * @constructor + * @param {IResOneClickGoto=} [properties] Properties to set + */ + function ResOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResOneClickGoto step. + * @member {number} step + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.step = 0; + /** + * ResOneClickGoto code. + * @member {number} code + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.code = 0; + /** + * ResOneClickGoto allEnd. + * @member {boolean} allEnd + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.allEnd = false; + /** + * Creates a new ResOneClickGoto instance using the specified properties. + * @function create + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto=} [properties] Properties to set + * @returns {ResOneClickGoto} ResOneClickGoto instance + */ + ResOneClickGoto.create = function create(properties) { + return new ResOneClickGoto(properties); + }; + /** + * Encodes the specified ResOneClickGoto message. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.allEnd != null && Object.hasOwnProperty.call(message, "allEnd")) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.allEnd); + return writer; + }; + /** + * Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.allEnd = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResOneClickGoto message. + * @function verify + * @memberof ResOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) + return "step: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + if (typeof message.allEnd !== "boolean") + return "allEnd: boolean expected"; + return null; + }; + /** + * Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ResOneClickGoto} ResOneClickGoto + */ + ResOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResOneClickGoto) + return object; + var message = new $root.ResOneClickGoto(); + if (object.step != null) + message.step = object.step | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.allEnd != null) + message.allEnd = Boolean(object.allEnd); + return message; + }; + /** + * Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResOneClickGoto + * @static + * @param {ResOneClickGoto} message ResOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResOneClickGoto.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.step = 0; + object.code = 0; + object.allEnd = false; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + object.allEnd = message.allEnd; + return object; + }; + /** + * Converts this ResOneClickGoto to JSON. + * @function toJSON + * @memberof ResOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ResOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResOneClickGoto + * @function getTypeUrl + * @memberof ResOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResOneClickGoto"; + }; + return ResOneClickGoto; +})(); +$root.ReqStopOneClickGoto = (function () { + /** + * Properties of a ReqStopOneClickGoto. + * @exports IReqStopOneClickGoto + * @interface IReqStopOneClickGoto + */ + /** + * Constructs a new ReqStopOneClickGoto. + * @exports ReqStopOneClickGoto + * @classdesc Represents a ReqStopOneClickGoto. + * @implements IReqStopOneClickGoto + * @constructor + * @param {IReqStopOneClickGoto=} [properties] Properties to set + */ + function ReqStopOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopOneClickGoto instance using the specified properties. + * @function create + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto=} [properties] Properties to set + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto instance + */ + ReqStopOneClickGoto.create = function create(properties) { + return new ReqStopOneClickGoto(properties); + }; + /** + * Encodes the specified ReqStopOneClickGoto message. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopOneClickGoto message. + * @function verify + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + */ + ReqStopOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopOneClickGoto) + return object; + return new $root.ReqStopOneClickGoto(); + }; + /** + * Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopOneClickGoto + * @static + * @param {ReqStopOneClickGoto} message ReqStopOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopOneClickGoto.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopOneClickGoto to JSON. + * @function toJSON + * @memberof ReqStopOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopOneClickGoto + * @function getTypeUrl + * @memberof ReqStopOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopOneClickGoto"; + }; + return ReqStopOneClickGoto; +})(); +$root.ReqCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureWideRawLiveStacking. + * @exports IReqCaptureWideRawLiveStacking + * @interface IReqCaptureWideRawLiveStacking + */ + /** + * Constructs a new ReqCaptureWideRawLiveStacking. + * @exports ReqCaptureWideRawLiveStacking + * @classdesc Represents a ReqCaptureWideRawLiveStacking. + * @implements IReqCaptureWideRawLiveStacking + * @constructor + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking instance + */ + ReqCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqCaptureWideRawLiveStacking(properties); + }; + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + */ + ReqCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideRawLiveStacking) + return object; + return new $root.ReqCaptureWideRawLiveStacking(); + }; + /** + * Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {ReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideRawLiveStacking"; + }; + return ReqCaptureWideRawLiveStacking; +})(); +$root.ReqStopCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureWideRawLiveStacking. + * @exports IReqStopCaptureWideRawLiveStacking + * @interface IReqStopCaptureWideRawLiveStacking + */ + /** + * Constructs a new ReqStopCaptureWideRawLiveStacking. + * @exports ReqStopCaptureWideRawLiveStacking + * @classdesc Represents a ReqStopCaptureWideRawLiveStacking. + * @implements IReqStopCaptureWideRawLiveStacking + * @constructor + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking instance + */ + ReqStopCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureWideRawLiveStacking(properties); + }; + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + */ + ReqStopCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureWideRawLiveStacking) + return object; + return new $root.ReqStopCaptureWideRawLiveStacking(); + }; + /** + * Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {ReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideRawLiveStacking"; + }; + return ReqStopCaptureWideRawLiveStacking; +})(); +$root.ReqStartEqSolving = (function () { + /** + * Properties of a ReqStartEqSolving. + * @exports IReqStartEqSolving + * @interface IReqStartEqSolving + * @property {number|null} [lon] ReqStartEqSolving lon + * @property {number|null} [lat] ReqStartEqSolving lat + */ + /** + * Constructs a new ReqStartEqSolving. + * @exports ReqStartEqSolving + * @classdesc Represents a ReqStartEqSolving. + * @implements IReqStartEqSolving + * @constructor + * @param {IReqStartEqSolving=} [properties] Properties to set + */ + function ReqStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartEqSolving lon. + * @member {number} lon + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lon = 0; + /** + * ReqStartEqSolving lat. + * @member {number} lat + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lat = 0; + /** + * Creates a new ReqStartEqSolving instance using the specified properties. + * @function create + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving=} [properties] Properties to set + * @returns {ReqStartEqSolving} ReqStartEqSolving instance + */ + ReqStartEqSolving.create = function create(properties) { + return new ReqStartEqSolving(properties); + }; + /** + * Encodes the specified ReqStartEqSolving message. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lat); + return writer; + }; + /** + * Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lon = reader.double(); + break; + } + case 2: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartEqSolving message. + * @function verify + * @memberof ReqStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") + return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") + return "lat: number expected"; + return null; + }; + /** + * Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStartEqSolving} ReqStartEqSolving + */ + ReqStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartEqSolving) + return object; + var message = new $root.ReqStartEqSolving(); + if (object.lon != null) + message.lon = Number(object.lon); + if (object.lat != null) + message.lat = Number(object.lat); + return message; + }; + /** + * Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartEqSolving + * @static + * @param {ReqStartEqSolving} message ReqStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartEqSolving.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.lon = 0; + object.lat = 0; + } + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + /** + * Converts this ReqStartEqSolving to JSON. + * @function toJSON + * @memberof ReqStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartEqSolving + * @function getTypeUrl + * @memberof ReqStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartEqSolving"; + }; + return ReqStartEqSolving; +})(); +$root.ResStartEqSolving = (function () { + /** + * Properties of a ResStartEqSolving. + * @exports IResStartEqSolving + * @interface IResStartEqSolving + * @property {number|null} [aziErr] ResStartEqSolving aziErr + * @property {number|null} [altErr] ResStartEqSolving altErr + * @property {number|null} [code] ResStartEqSolving code + */ + /** + * Constructs a new ResStartEqSolving. + * @exports ResStartEqSolving + * @classdesc Represents a ResStartEqSolving. + * @implements IResStartEqSolving + * @constructor + * @param {IResStartEqSolving=} [properties] Properties to set + */ + function ResStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResStartEqSolving aziErr. + * @member {number} aziErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.aziErr = 0; + /** + * ResStartEqSolving altErr. + * @member {number} altErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.altErr = 0; + /** + * ResStartEqSolving code. + * @member {number} code + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.code = 0; + /** + * Creates a new ResStartEqSolving instance using the specified properties. + * @function create + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving=} [properties] Properties to set + * @returns {ResStartEqSolving} ResStartEqSolving instance + */ + ResStartEqSolving.create = function create(properties) { + return new ResStartEqSolving(properties); + }; + /** + * Encodes the specified ResStartEqSolving message. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.aziErr != null && Object.hasOwnProperty.call(message, "aziErr")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.aziErr); + if (message.altErr != null && Object.hasOwnProperty.call(message, "altErr")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.altErr); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.aziErr = reader.double(); + break; + } + case 2: { + message.altErr = reader.double(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResStartEqSolving message. + * @function verify + * @memberof ResStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + if (typeof message.aziErr !== "number") + return "aziErr: number expected"; + if (message.altErr != null && message.hasOwnProperty("altErr")) + if (typeof message.altErr !== "number") + return "altErr: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ResStartEqSolving} ResStartEqSolving + */ + ResStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ResStartEqSolving) + return object; + var message = new $root.ResStartEqSolving(); + if (object.aziErr != null) + message.aziErr = Number(object.aziErr); + if (object.altErr != null) + message.altErr = Number(object.altErr); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ResStartEqSolving + * @static + * @param {ResStartEqSolving} message ResStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResStartEqSolving.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.aziErr = 0; + object.altErr = 0; + object.code = 0; + } + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + object.aziErr = + options.json && !isFinite(message.aziErr) + ? String(message.aziErr) + : message.aziErr; + if (message.altErr != null && message.hasOwnProperty("altErr")) + object.altErr = + options.json && !isFinite(message.altErr) + ? String(message.altErr) + : message.altErr; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResStartEqSolving to JSON. + * @function toJSON + * @memberof ResStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ResStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResStartEqSolving + * @function getTypeUrl + * @memberof ResStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResStartEqSolving"; + }; + return ResStartEqSolving; +})(); +$root.ReqStopEqSolving = (function () { + /** + * Properties of a ReqStopEqSolving. + * @exports IReqStopEqSolving + * @interface IReqStopEqSolving + */ + /** + * Constructs a new ReqStopEqSolving. + * @exports ReqStopEqSolving + * @classdesc Represents a ReqStopEqSolving. + * @implements IReqStopEqSolving + * @constructor + * @param {IReqStopEqSolving=} [properties] Properties to set + */ + function ReqStopEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopEqSolving instance using the specified properties. + * @function create + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving=} [properties] Properties to set + * @returns {ReqStopEqSolving} ReqStopEqSolving instance + */ + ReqStopEqSolving.create = function create(properties) { + return new ReqStopEqSolving(properties); + }; + /** + * Encodes the specified ReqStopEqSolving message. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopEqSolving message. + * @function verify + * @memberof ReqStopEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStopEqSolving} ReqStopEqSolving + */ + ReqStopEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopEqSolving) + return object; + return new $root.ReqStopEqSolving(); + }; + /** + * Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopEqSolving + * @static + * @param {ReqStopEqSolving} message ReqStopEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopEqSolving.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopEqSolving to JSON. + * @function toJSON + * @memberof ReqStopEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStopEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopEqSolving + * @function getTypeUrl + * @memberof ReqStopEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopEqSolving"; + }; + return ReqStopEqSolving; +})(); +$root.ReqCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureWideDarkFrameWithParam. + * @exports IReqCaptureWideDarkFrameWithParam + * @interface IReqCaptureWideDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureWideDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureWideDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureWideDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureWideDarkFrameWithParam capSize + */ + /** + * Constructs a new ReqCaptureWideDarkFrameWithParam. + * @exports ReqCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqCaptureWideDarkFrameWithParam. + * @implements IReqCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqCaptureWideDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.expIndex = 0; + /** + * ReqCaptureWideDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.gainIndex = 0; + /** + * ReqCaptureWideDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.binIndex = 0; + /** + * ReqCaptureWideDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.capSize = 0; + /** + * Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam instance + */ + ReqCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureWideDarkFrameWithParam(properties); + }; + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if (message.capSize != null && + Object.hasOwnProperty.call(message, "capSize")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) + return "capSize: integer expected"; + return null; + }; + /** + * Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + */ + ReqCaptureWideDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideDarkFrameWithParam) + return object; + var message = new $root.ReqCaptureWideDarkFrameWithParam(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + if (object.capSize != null) + message.capSize = object.capSize | 0; + return message; + }; + /** + * Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {ReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideDarkFrameWithParam.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + /** + * Converts this ReqCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideDarkFrameWithParam"; + }; + return ReqCaptureWideDarkFrameWithParam; +})(); +$root.ReqStopCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureWideDarkFrameWithParam. + * @exports IReqStopCaptureWideDarkFrameWithParam + * @interface IReqStopCaptureWideDarkFrameWithParam + */ + /** + * Constructs a new ReqStopCaptureWideDarkFrameWithParam. + * @exports ReqStopCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureWideDarkFrameWithParam. + * @implements IReqStopCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam instance + */ + ReqStopCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureWideDarkFrameWithParam(properties); + }; + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + */ + ReqStopCaptureWideDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureWideDarkFrameWithParam) + return object; + return new $root.ReqStopCaptureWideDarkFrameWithParam(); + }; + /** + * Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {ReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideDarkFrameWithParam"; + }; + return ReqStopCaptureWideDarkFrameWithParam; +})(); +$root.ReqGetWideDarkFrameList = (function () { + /** + * Properties of a ReqGetWideDarkFrameList. + * @exports IReqGetWideDarkFrameList + * @interface IReqGetWideDarkFrameList + */ + /** + * Constructs a new ReqGetWideDarkFrameList. + * @exports ReqGetWideDarkFrameList + * @classdesc Represents a ReqGetWideDarkFrameList. + * @implements IReqGetWideDarkFrameList + * @constructor + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + */ + function ReqGetWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList instance + */ + ReqGetWideDarkFrameList.create = function create(properties) { + return new ReqGetWideDarkFrameList(properties); + }; + /** + * Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetWideDarkFrameList message. + * @function verify + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + */ + ReqGetWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWideDarkFrameList) + return object; + return new $root.ReqGetWideDarkFrameList(); + }; + /** + * Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {ReqGetWideDarkFrameList} message ReqGetWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWideDarkFrameList.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetWideDarkFrameList + * @function getTypeUrl + * @memberof ReqGetWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWideDarkFrameList"; + }; + return ReqGetWideDarkFrameList; +})(); +$root.ResGetWideDarkFrameInfo = (function () { + /** + * Properties of a ResGetWideDarkFrameInfo. + * @exports IResGetWideDarkFrameInfo + * @interface IResGetWideDarkFrameInfo + * @property {number|null} [expIndex] ResGetWideDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetWideDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetWideDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetWideDarkFrameInfo expName + * @property {string|null} [gainName] ResGetWideDarkFrameInfo gainName + * @property {string|null} [binName] ResGetWideDarkFrameInfo binName + * @property {number|null} [temperature] ResGetWideDarkFrameInfo temperature + */ + /** + * Constructs a new ResGetWideDarkFrameInfo. + * @exports ResGetWideDarkFrameInfo + * @classdesc Represents a ResGetWideDarkFrameInfo. + * @implements IResGetWideDarkFrameInfo + * @constructor + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetWideDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expIndex = 0; + /** + * ResGetWideDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainIndex = 0; + /** + * ResGetWideDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binIndex = 0; + /** + * ResGetWideDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expName = ""; + /** + * ResGetWideDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainName = ""; + /** + * ResGetWideDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binName = ""; + /** + * ResGetWideDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.temperature = 0; + /** + * Creates a new ResGetWideDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo instance + */ + ResGetWideDarkFrameInfo.create = function create(properties) { + return new ResGetWideDarkFrameInfo(properties); + }; + /** + * Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if (message.expName != null && + Object.hasOwnProperty.call(message, "expName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if (message.gainName != null && + Object.hasOwnProperty.call(message, "gainName")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if (message.binName != null && + Object.hasOwnProperty.call(message, "binName")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if (message.temperature != null && + Object.hasOwnProperty.call(message, "temperature")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + /** + * Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetWideDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetWideDarkFrameInfo message. + * @function verify + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) + return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) + return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) + return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + /** + * Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + */ + ResGetWideDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfo) + return object; + var message = new $root.ResGetWideDarkFrameInfo(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + if (object.expName != null) + message.expName = String(object.expName); + if (object.gainName != null) + message.gainName = String(object.gainName); + if (object.binName != null) + message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + /** + * Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {ResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + /** + * Converts this ResGetWideDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetWideDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfo"; + }; + return ResGetWideDarkFrameInfo; +})(); +$root.ResGetWideDarkFrameInfoList = (function () { + /** + * Properties of a ResGetWideDarkFrameInfoList. + * @exports IResGetWideDarkFrameInfoList + * @interface IResGetWideDarkFrameInfoList + * @property {number|null} [code] ResGetWideDarkFrameInfoList code + * @property {Array.|null} [results] ResGetWideDarkFrameInfoList results + */ + /** + * Constructs a new ResGetWideDarkFrameInfoList. + * @exports ResGetWideDarkFrameInfoList + * @classdesc Represents a ResGetWideDarkFrameInfoList. + * @implements IResGetWideDarkFrameInfoList + * @constructor + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetWideDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.code = 0; + /** + * ResGetWideDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.results = $util.emptyArray; + /** + * Creates a new ResGetWideDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList instance + */ + ResGetWideDarkFrameInfoList.create = function create(properties) { + return new ResGetWideDarkFrameInfoList(properties); + }; + /** + * Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode(message.results[i], writer.uint32(/* id 2, wireType 2 =*/ 18).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetWideDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push($root.ResGetDarkFrameInfo.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetWideDarkFrameInfoList message. + * @function verify + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) + return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) + return "results." + error; + } + } + return null; + }; + /** + * Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + */ + ResGetWideDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfoList) + return object; + var message = new $root.ResGetWideDarkFrameInfoList(); + if (object.code != null) + message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetWideDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError(".ResGetWideDarkFrameInfoList.results: object expected"); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject(object.results[i]); + } + } + return message; + }; + /** + * Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {ResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.results = []; + if (options.defaults) + object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject(message.results[j], options); + } + return object; + }; + /** + * Converts this ResGetWideDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetWideDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfoList"; + }; + return ResGetWideDarkFrameInfoList; +})(); +$root.ReqDelWideDarkFrame = (function () { + /** + * Properties of a ReqDelWideDarkFrame. + * @exports IReqDelWideDarkFrame + * @interface IReqDelWideDarkFrame + * @property {number|null} [expIndex] ReqDelWideDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelWideDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelWideDarkFrame binIndex + */ + /** + * Constructs a new ReqDelWideDarkFrame. + * @exports ReqDelWideDarkFrame + * @classdesc Represents a ReqDelWideDarkFrame. + * @implements IReqDelWideDarkFrame + * @constructor + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + */ + function ReqDelWideDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDelWideDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.expIndex = 0; + /** + * ReqDelWideDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.gainIndex = 0; + /** + * ReqDelWideDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.binIndex = 0; + /** + * Creates a new ReqDelWideDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame instance + */ + ReqDelWideDarkFrame.create = function create(properties) { + return new ReqDelWideDarkFrame(properties); + }; + /** + * Encodes the specified ReqDelWideDarkFrame message. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if (message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + /** + * Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDelWideDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDelWideDarkFrame message. + * @function verify + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + /** + * Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + */ + ReqDelWideDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrame) + return object; + var message = new $root.ReqDelWideDarkFrame(); + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) + message.binIndex = object.binIndex | 0; + return message; + }; + /** + * Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {ReqDelWideDarkFrame} message ReqDelWideDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrame.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + /** + * Converts this ReqDelWideDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDelWideDarkFrame + * @function getTypeUrl + * @memberof ReqDelWideDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrame"; + }; + return ReqDelWideDarkFrame; +})(); +$root.ReqDelWideDarkFrameList = (function () { + /** + * Properties of a ReqDelWideDarkFrameList. + * @exports IReqDelWideDarkFrameList + * @interface IReqDelWideDarkFrameList + * @property {Array.|null} [darkList] ReqDelWideDarkFrameList darkList + */ + /** + * Constructs a new ReqDelWideDarkFrameList. + * @exports ReqDelWideDarkFrameList + * @classdesc Represents a ReqDelWideDarkFrameList. + * @implements IReqDelWideDarkFrameList + * @constructor + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + */ + function ReqDelWideDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDelWideDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelWideDarkFrameList + * @instance + */ + ReqDelWideDarkFrameList.prototype.darkList = $util.emptyArray; + /** + * Creates a new ReqDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList instance + */ + ReqDelWideDarkFrameList.create = function create(properties) { + return new ReqDelWideDarkFrameList(properties); + }; + /** + * Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode(message.darkList[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push($root.ReqDelDarkFrame.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDelWideDarkFrameList message. + * @function verify + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) + return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) + return "darkList." + error; + } + } + return null; + }; + /** + * Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + */ + ReqDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrameList) + return object; + var message = new $root.ReqDelWideDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelWideDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelWideDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject(object.darkList[i]); + } + } + return message; + }; + /** + * Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {ReqDelWideDarkFrameList} message ReqDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject(message.darkList[j], options); + } + return object; + }; + /** + * Converts this ReqDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDelWideDarkFrameList + * @function getTypeUrl + * @memberof ReqDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrameList"; + }; + return ReqDelWideDarkFrameList; +})(); +$root.ResDelWideDarkFrameList = (function () { + /** + * Properties of a ResDelWideDarkFrameList. + * @exports IResDelWideDarkFrameList + * @interface IResDelWideDarkFrameList + * @property {number|null} [code] ResDelWideDarkFrameList code + */ + /** + * Constructs a new ResDelWideDarkFrameList. + * @exports ResDelWideDarkFrameList + * @classdesc Represents a ResDelWideDarkFrameList. + * @implements IResDelWideDarkFrameList + * @constructor + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + */ + function ResDelWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDelWideDarkFrameList code. + * @member {number} code + * @memberof ResDelWideDarkFrameList + * @instance + */ + ResDelWideDarkFrameList.prototype.code = 0; + /** + * Creates a new ResDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList instance + */ + ResDelWideDarkFrameList.create = function create(properties) { + return new ResDelWideDarkFrameList(properties); + }; + /** + * Encodes the specified ResDelWideDarkFrameList message. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDelWideDarkFrameList message. + * @function verify + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + */ + ResDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelWideDarkFrameList) + return object; + var message = new $root.ResDelWideDarkFrameList(); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {ResDelWideDarkFrameList} message ResDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDelWideDarkFrameList + * @function getTypeUrl + * @memberof ResDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelWideDarkFrameList"; + }; + return ResDelWideDarkFrameList; +})(); +/** + * WsMajorVersion enum. + * @exports WsMajorVersion + * @enum {number} + * @property {number} WS_MAJOR_VERSION_UNKNOWN=0 WS_MAJOR_VERSION_UNKNOWN value + * @property {number} WS_MAJOR_VERSION_NUMBER=1 WS_MAJOR_VERSION_NUMBER value + */ +$root.WsMajorVersion = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "WS_MAJOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[1] = "WS_MAJOR_VERSION_NUMBER")] = 1; + return values; +})(); +/** + * WsMinorVersion enum. + * @exports WsMinorVersion + * @enum {number} + * @property {number} WS_MINOR_VERSION_UNKNOWN=0 WS_MINOR_VERSION_UNKNOWN value + * @property {number} WS_MINOR_VERSION_NUMBER=9 WS_MINOR_VERSION_NUMBER value + */ +$root.WsMinorVersion = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "WS_MINOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[9] = "WS_MINOR_VERSION_NUMBER")] = 9; + return values; +})(); +$root.WsPacket = (function () { + /** + * Properties of a WsPacket. + * @exports IWsPacket + * @interface IWsPacket + * @property {number|null} [majorVersion] WsPacket majorVersion + * @property {number|null} [minorVersion] WsPacket minorVersion + * @property {number|null} [deviceId] WsPacket deviceId + * @property {number|null} [moduleId] WsPacket moduleId + * @property {number|null} [cmd] WsPacket cmd + * @property {number|null} [type] WsPacket type + * @property {Uint8Array|null} [data] WsPacket data + * @property {string|null} [clientId] WsPacket clientId + */ + /** + * Constructs a new WsPacket. + * @exports WsPacket + * @classdesc Represents a WsPacket. + * @implements IWsPacket + * @constructor + * @param {IWsPacket=} [properties] Properties to set + */ + function WsPacket(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * WsPacket majorVersion. + * @member {number} majorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.majorVersion = 0; + /** + * WsPacket minorVersion. + * @member {number} minorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.minorVersion = 0; + /** + * WsPacket deviceId. + * @member {number} deviceId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.deviceId = 0; + /** + * WsPacket moduleId. + * @member {number} moduleId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.moduleId = 0; + /** + * WsPacket cmd. + * @member {number} cmd + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.cmd = 0; + /** + * WsPacket type. + * @member {number} type + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.type = 0; + /** + * WsPacket data. + * @member {Uint8Array} data + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.data = $util.newBuffer([]); + /** + * WsPacket clientId. + * @member {string} clientId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.clientId = ""; + /** + * Creates a new WsPacket instance using the specified properties. + * @function create + * @memberof WsPacket + * @static + * @param {IWsPacket=} [properties] Properties to set + * @returns {WsPacket} WsPacket instance + */ + WsPacket.create = function create(properties) { + return new WsPacket(properties); + }; + /** + * Encodes the specified WsPacket message. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encode + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.majorVersion != null && + Object.hasOwnProperty.call(message, "majorVersion")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.majorVersion); + if (message.minorVersion != null && + Object.hasOwnProperty.call(message, "minorVersion")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.minorVersion); + if (message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId")) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.deviceId); + if (message.moduleId != null && + Object.hasOwnProperty.call(message, "moduleId")) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.moduleId); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.cmd); + if (message.type != null && Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.type); + if (message.data != null && Object.hasOwnProperty.call(message, "data")) + writer.uint32(/* id 7, wireType 2 =*/ 58).bytes(message.data); + if (message.clientId != null && + Object.hasOwnProperty.call(message, "clientId")) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.clientId); + return writer; + }; + /** + * Encodes the specified WsPacket message, length delimited. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encodeDelimited + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a WsPacket message from the specified reader or buffer. + * @function decode + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.WsPacket(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.majorVersion = reader.uint32(); + break; + } + case 2: { + message.minorVersion = reader.uint32(); + break; + } + case 3: { + message.deviceId = reader.uint32(); + break; + } + case 4: { + message.moduleId = reader.uint32(); + break; + } + case 5: { + message.cmd = reader.uint32(); + break; + } + case 6: { + message.type = reader.uint32(); + break; + } + case 7: { + message.data = reader.bytes(); + break; + } + case 8: { + message.clientId = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a WsPacket message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a WsPacket message. + * @function verify + * @memberof WsPacket + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WsPacket.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + if (!$util.isInteger(message.majorVersion)) + return "majorVersion: integer expected"; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + if (!$util.isInteger(message.minorVersion)) + return "minorVersion: integer expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + if (!$util.isInteger(message.moduleId)) + return "moduleId: integer expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.type != null && message.hasOwnProperty("type")) + if (!$util.isInteger(message.type)) + return "type: integer expected"; + if (message.data != null && message.hasOwnProperty("data")) + if (!((message.data && typeof message.data.length === "number") || + $util.isString(message.data))) + return "data: buffer expected"; + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) + return "clientId: string expected"; + return null; + }; + /** + * Creates a WsPacket message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof WsPacket + * @static + * @param {Object.} object Plain object + * @returns {WsPacket} WsPacket + */ + WsPacket.fromObject = function fromObject(object) { + if (object instanceof $root.WsPacket) + return object; + var message = new $root.WsPacket(); + if (object.majorVersion != null) + message.majorVersion = object.majorVersion >>> 0; + if (object.minorVersion != null) + message.minorVersion = object.minorVersion >>> 0; + if (object.deviceId != null) + message.deviceId = object.deviceId >>> 0; + if (object.moduleId != null) + message.moduleId = object.moduleId >>> 0; + if (object.cmd != null) + message.cmd = object.cmd >>> 0; + if (object.type != null) + message.type = object.type >>> 0; + if (object.data != null) + if (typeof object.data === "string") + $util.base64.decode(object.data, (message.data = $util.newBuffer($util.base64.length(object.data))), 0); + else if (object.data.length >= 0) + message.data = object.data; + if (object.clientId != null) + message.clientId = String(object.clientId); + return message; + }; + /** + * Creates a plain object from a WsPacket message. Also converts values to other types if specified. + * @function toObject + * @memberof WsPacket + * @static + * @param {WsPacket} message WsPacket + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + WsPacket.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.majorVersion = 0; + object.minorVersion = 0; + object.deviceId = 0; + object.moduleId = 0; + object.cmd = 0; + object.type = 0; + if (options.bytes === String) + object.data = ""; + else { + object.data = []; + if (options.bytes !== Array) + object.data = $util.newBuffer(object.data); + } + object.clientId = ""; + } + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + object.majorVersion = message.majorVersion; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + object.minorVersion = message.minorVersion; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + object.moduleId = message.moduleId; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.type != null && message.hasOwnProperty("type")) + object.type = message.type; + if (message.data != null && message.hasOwnProperty("data")) + object.data = + options.bytes === String + ? $util.base64.encode(message.data, 0, message.data.length) + : options.bytes === Array + ? Array.prototype.slice.call(message.data) + : message.data; + if (message.clientId != null && message.hasOwnProperty("clientId")) + object.clientId = message.clientId; + return object; + }; + /** + * Converts this WsPacket to JSON. + * @function toJSON + * @memberof WsPacket + * @instance + * @returns {Object.} JSON object + */ + WsPacket.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for WsPacket + * @function getTypeUrl + * @memberof WsPacket + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WsPacket.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/WsPacket"; + }; + return WsPacket; +})(); +$root.ComResponse = (function () { + /** + * Properties of a ComResponse. + * @exports IComResponse + * @interface IComResponse + * @property {number|null} [code] ComResponse code + */ + /** + * Constructs a new ComResponse. + * @exports ComResponse + * @classdesc Represents a ComResponse. + * @implements IComResponse + * @constructor + * @param {IComResponse=} [properties] Properties to set + */ + function ComResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ComResponse code. + * @member {number} code + * @memberof ComResponse + * @instance + */ + ComResponse.prototype.code = 0; + /** + * Creates a new ComResponse instance using the specified properties. + * @function create + * @memberof ComResponse + * @static + * @param {IComResponse=} [properties] Properties to set + * @returns {ComResponse} ComResponse instance + */ + ComResponse.create = function create(properties) { + return new ComResponse(properties); + }; + /** + * Encodes the specified ComResponse message. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encode + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + /** + * Encodes the specified ComResponse message, length delimited. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ComResponse message from the specified reader or buffer. + * @function decode + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ComResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ComResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ComResponse message. + * @function verify + * @memberof ComResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ComResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResponse + * @static + * @param {Object.} object Plain object + * @returns {ComResponse} ComResponse + */ + ComResponse.fromObject = function fromObject(object) { + if (object instanceof $root.ComResponse) + return object; + var message = new $root.ComResponse(); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ComResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResponse + * @static + * @param {ComResponse} message ComResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ComResponse to JSON. + * @function toJSON + * @memberof ComResponse + * @instance + * @returns {Object.} JSON object + */ + ComResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ComResponse + * @function getTypeUrl + * @memberof ComResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResponse"; + }; + return ComResponse; +})(); +$root.ComResWithInt = (function () { + /** + * Properties of a ComResWithInt. + * @exports IComResWithInt + * @interface IComResWithInt + * @property {number|null} [value] ComResWithInt value + * @property {number|null} [code] ComResWithInt code + */ + /** + * Constructs a new ComResWithInt. + * @exports ComResWithInt + * @classdesc Represents a ComResWithInt. + * @implements IComResWithInt + * @constructor + * @param {IComResWithInt=} [properties] Properties to set + */ + function ComResWithInt(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ComResWithInt value. + * @member {number} value + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.value = 0; + /** + * ComResWithInt code. + * @member {number} code + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.code = 0; + /** + * Creates a new ComResWithInt instance using the specified properties. + * @function create + * @memberof ComResWithInt + * @static + * @param {IComResWithInt=} [properties] Properties to set + * @returns {ComResWithInt} ComResWithInt instance + */ + ComResWithInt.create = function create(properties) { + return new ComResWithInt(properties); + }; + /** + * Encodes the specified ComResWithInt message. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encode + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ComResWithInt message, length delimited. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ComResWithInt message from the specified reader or buffer. + * @function decode + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ComResWithInt(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ComResWithInt message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ComResWithInt message. + * @function verify + * @memberof ComResWithInt + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithInt.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithInt + * @static + * @param {Object.} object Plain object + * @returns {ComResWithInt} ComResWithInt + */ + ComResWithInt.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithInt) + return object; + var message = new $root.ComResWithInt(); + if (object.value != null) + message.value = object.value | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ComResWithInt message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithInt + * @static + * @param {ComResWithInt} message ComResWithInt + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithInt.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ComResWithInt to JSON. + * @function toJSON + * @memberof ComResWithInt + * @instance + * @returns {Object.} JSON object + */ + ComResWithInt.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ComResWithInt + * @function getTypeUrl + * @memberof ComResWithInt + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithInt.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithInt"; + }; + return ComResWithInt; +})(); +$root.ComResWithDouble = (function () { + /** + * Properties of a ComResWithDouble. + * @exports IComResWithDouble + * @interface IComResWithDouble + * @property {number|null} [value] ComResWithDouble value + * @property {number|null} [code] ComResWithDouble code + */ + /** + * Constructs a new ComResWithDouble. + * @exports ComResWithDouble + * @classdesc Represents a ComResWithDouble. + * @implements IComResWithDouble + * @constructor + * @param {IComResWithDouble=} [properties] Properties to set + */ + function ComResWithDouble(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ComResWithDouble value. + * @member {number} value + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.value = 0; + /** + * ComResWithDouble code. + * @member {number} code + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.code = 0; + /** + * Creates a new ComResWithDouble instance using the specified properties. + * @function create + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble=} [properties] Properties to set + * @returns {ComResWithDouble} ComResWithDouble instance + */ + ComResWithDouble.create = function create(properties) { + return new ComResWithDouble(properties); + }; + /** + * Encodes the specified ComResWithDouble message. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encode + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ComResWithDouble message, length delimited. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ComResWithDouble message from the specified reader or buffer. + * @function decode + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ComResWithDouble(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.double(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ComResWithDouble message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ComResWithDouble message. + * @function verify + * @memberof ComResWithDouble + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithDouble.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") + return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithDouble + * @static + * @param {Object.} object Plain object + * @returns {ComResWithDouble} ComResWithDouble + */ + ComResWithDouble.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithDouble) + return object; + var message = new $root.ComResWithDouble(); + if (object.value != null) + message.value = Number(object.value); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithDouble + * @static + * @param {ComResWithDouble} message ComResWithDouble + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithDouble.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ComResWithDouble to JSON. + * @function toJSON + * @memberof ComResWithDouble + * @instance + * @returns {Object.} JSON object + */ + ComResWithDouble.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ComResWithDouble + * @function getTypeUrl + * @memberof ComResWithDouble + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithDouble"; + }; + return ComResWithDouble; +})(); +$root.ComResWithString = (function () { + /** + * Properties of a ComResWithString. + * @exports IComResWithString + * @interface IComResWithString + * @property {string|null} [str] ComResWithString str + * @property {number|null} [code] ComResWithString code + */ + /** + * Constructs a new ComResWithString. + * @exports ComResWithString + * @classdesc Represents a ComResWithString. + * @implements IComResWithString + * @constructor + * @param {IComResWithString=} [properties] Properties to set + */ + function ComResWithString(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ComResWithString str. + * @member {string} str + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.str = ""; + /** + * ComResWithString code. + * @member {number} code + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.code = 0; + /** + * Creates a new ComResWithString instance using the specified properties. + * @function create + * @memberof ComResWithString + * @static + * @param {IComResWithString=} [properties] Properties to set + * @returns {ComResWithString} ComResWithString instance + */ + ComResWithString.create = function create(properties) { + return new ComResWithString(properties); + }; + /** + * Encodes the specified ComResWithString message. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encode + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.str != null && Object.hasOwnProperty.call(message, "str")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.str); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ComResWithString message, length delimited. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ComResWithString message from the specified reader or buffer. + * @function decode + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ComResWithString(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.str = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ComResWithString message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ComResWithString message. + * @function verify + * @memberof ComResWithString + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithString.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.str != null && message.hasOwnProperty("str")) + if (!$util.isString(message.str)) + return "str: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ComResWithString message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithString + * @static + * @param {Object.} object Plain object + * @returns {ComResWithString} ComResWithString + */ + ComResWithString.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithString) + return object; + var message = new $root.ComResWithString(); + if (object.str != null) + message.str = String(object.str); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ComResWithString message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithString + * @static + * @param {ComResWithString} message ComResWithString + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithString.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.str = ""; + object.code = 0; + } + if (message.str != null && message.hasOwnProperty("str")) + object.str = message.str; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ComResWithString to JSON. + * @function toJSON + * @memberof ComResWithString + * @instance + * @returns {Object.} JSON object + */ + ComResWithString.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ComResWithString + * @function getTypeUrl + * @memberof ComResWithString + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithString"; + }; + return ComResWithString; +})(); +$root.CommonParam = (function () { + /** + * Properties of a CommonParam. + * @exports ICommonParam + * @interface ICommonParam + * @property {boolean|null} [hasAuto] CommonParam hasAuto + * @property {number|null} [autoMode] CommonParam autoMode + * @property {number|null} [id] CommonParam id + * @property {number|null} [modeIndex] CommonParam modeIndex + * @property {number|null} [index] CommonParam index + * @property {number|null} [continueValue] CommonParam continueValue + */ + /** + * Constructs a new CommonParam. + * @exports CommonParam + * @classdesc Represents a CommonParam. + * @implements ICommonParam + * @constructor + * @param {ICommonParam=} [properties] Properties to set + */ + function CommonParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * CommonParam hasAuto. + * @member {boolean} hasAuto + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.hasAuto = false; + /** + * CommonParam autoMode. + * @member {number} autoMode + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.autoMode = 0; + /** + * CommonParam id. + * @member {number} id + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.id = 0; + /** + * CommonParam modeIndex. + * @member {number} modeIndex + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.modeIndex = 0; + /** + * CommonParam index. + * @member {number} index + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.index = 0; + /** + * CommonParam continueValue. + * @member {number} continueValue + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.continueValue = 0; + /** + * Creates a new CommonParam instance using the specified properties. + * @function create + * @memberof CommonParam + * @static + * @param {ICommonParam=} [properties] Properties to set + * @returns {CommonParam} CommonParam instance + */ + CommonParam.create = function create(properties) { + return new CommonParam(properties); + }; + /** + * Encodes the specified CommonParam message. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encode + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.hasAuto != null && + Object.hasOwnProperty.call(message, "hasAuto")) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.hasAuto); + if (message.autoMode != null && + Object.hasOwnProperty.call(message, "autoMode")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoMode); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.id); + if (message.modeIndex != null && + Object.hasOwnProperty.call(message, "modeIndex")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.modeIndex); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.index); + if (message.continueValue != null && + Object.hasOwnProperty.call(message, "continueValue")) + writer.uint32(/* id 6, wireType 1 =*/ 49).double(message.continueValue); + return writer; + }; + /** + * Encodes the specified CommonParam message, length delimited. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encodeDelimited + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a CommonParam message from the specified reader or buffer. + * @function decode + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CommonParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.hasAuto = reader.bool(); + break; + } + case 2: { + message.autoMode = reader.int32(); + break; + } + case 3: { + message.id = reader.int32(); + break; + } + case 4: { + message.modeIndex = reader.int32(); + break; + } + case 5: { + message.index = reader.int32(); + break; + } + case 6: { + message.continueValue = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a CommonParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a CommonParam message. + * @function verify + * @memberof CommonParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CommonParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + if (typeof message.hasAuto !== "boolean") + return "hasAuto: boolean expected"; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + if (!$util.isInteger(message.autoMode)) + return "autoMode: integer expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + if (!$util.isInteger(message.modeIndex)) + return "modeIndex: integer expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.continueValue != null && + message.hasOwnProperty("continueValue")) + if (typeof message.continueValue !== "number") + return "continueValue: number expected"; + return null; + }; + /** + * Creates a CommonParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof CommonParam + * @static + * @param {Object.} object Plain object + * @returns {CommonParam} CommonParam + */ + CommonParam.fromObject = function fromObject(object) { + if (object instanceof $root.CommonParam) + return object; + var message = new $root.CommonParam(); + if (object.hasAuto != null) + message.hasAuto = Boolean(object.hasAuto); + if (object.autoMode != null) + message.autoMode = object.autoMode | 0; + if (object.id != null) + message.id = object.id | 0; + if (object.modeIndex != null) + message.modeIndex = object.modeIndex | 0; + if (object.index != null) + message.index = object.index | 0; + if (object.continueValue != null) + message.continueValue = Number(object.continueValue); + return message; + }; + /** + * Creates a plain object from a CommonParam message. Also converts values to other types if specified. + * @function toObject + * @memberof CommonParam + * @static + * @param {CommonParam} message CommonParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CommonParam.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.hasAuto = false; + object.autoMode = 0; + object.id = 0; + object.modeIndex = 0; + object.index = 0; + object.continueValue = 0; + } + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + object.hasAuto = message.hasAuto; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + object.autoMode = message.autoMode; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + object.modeIndex = message.modeIndex; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.continueValue != null && + message.hasOwnProperty("continueValue")) + object.continueValue = + options.json && !isFinite(message.continueValue) + ? String(message.continueValue) + : message.continueValue; + return object; + }; + /** + * Converts this CommonParam to JSON. + * @function toJSON + * @memberof CommonParam + * @instance + * @returns {Object.} JSON object + */ + CommonParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for CommonParam + * @function getTypeUrl + * @memberof CommonParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommonParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/CommonParam"; + }; + return CommonParam; +})(); +/** + * DwarfBleErrorCode enum. + * @exports DwarfBleErrorCode + * @enum {number} + * @property {number} BLE_OK=0 BLE_OK value + * @property {number} BLE_PASSWORD_ERROR=-1 BLE_PASSWORD_ERROR value + * @property {number} BLE_MESSAGE_MALLOC_ERROR=-2 BLE_MESSAGE_MALLOC_ERROR value + * @property {number} BLE_MESSAGE_PARSE_ERROR=-3 BLE_MESSAGE_PARSE_ERROR value + * @property {number} BLE_MESSAGE_CRC_ERROR=-4 BLE_MESSAGE_CRC_ERROR value + * @property {number} BLE_WIFI_CONFIGING=-5 BLE_WIFI_CONFIGING value + * @property {number} BLE_WIFI_CONFIGED=-6 BLE_WIFI_CONFIGED value + * @property {number} BLE_GET_WIFI_LIST_ERROR=-7 BLE_GET_WIFI_LIST_ERROR value + * @property {number} BLE_WIFI_STA_PASSWORD_EMPTY=-8 BLE_WIFI_STA_PASSWORD_EMPTY value + * @property {number} BLE_WIFI_STA_PASSWORD_ERROR=-9 BLE_WIFI_STA_PASSWORD_ERROR value + * @property {number} BLE_WIFI_SET_SSID_PSD_ERROR=-10 BLE_WIFI_SET_SSID_PSD_ERROR value + * @property {number} BLE_WIFI_RESET_WAITING=-11 BLE_WIFI_RESET_WAITING value + * @property {number} BLE_WIFI_RESETED=-12 BLE_WIFI_RESETED value + * @property {number} BLE_GET_SYSTEM_INFO_ERROR=-13 BLE_GET_SYSTEM_INFO_ERROR value + * @property {number} BLE_RECEIVE_FRAME_HEAD_ERROR=-14 BLE_RECEIVE_FRAME_HEAD_ERROR value + * @property {number} BLE_RECEIVE_FRAME_TAIL_ERROR=-15 BLE_RECEIVE_FRAME_TAIL_ERROR value + * @property {number} BLE_CHECK_FILE_NOT_EXIST=-16 BLE_CHECK_FILE_NOT_EXIST value + * @property {number} BLE_CHECK_FILE_MD5_ERROR=-17 BLE_CHECK_FILE_MD5_ERROR value + * @property {number} BLE_WIFI_RESET_FAILED=-18 BLE_WIFI_RESET_FAILED value + */ +$root.DwarfBleErrorCode = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "BLE_OK")] = 0; + values[(valuesById[-1] = "BLE_PASSWORD_ERROR")] = -1; + values[(valuesById[-2] = "BLE_MESSAGE_MALLOC_ERROR")] = -2; + values[(valuesById[-3] = "BLE_MESSAGE_PARSE_ERROR")] = -3; + values[(valuesById[-4] = "BLE_MESSAGE_CRC_ERROR")] = -4; + values[(valuesById[-5] = "BLE_WIFI_CONFIGING")] = -5; + values[(valuesById[-6] = "BLE_WIFI_CONFIGED")] = -6; + values[(valuesById[-7] = "BLE_GET_WIFI_LIST_ERROR")] = -7; + values[(valuesById[-8] = "BLE_WIFI_STA_PASSWORD_EMPTY")] = -8; + values[(valuesById[-9] = "BLE_WIFI_STA_PASSWORD_ERROR")] = -9; + values[(valuesById[-10] = "BLE_WIFI_SET_SSID_PSD_ERROR")] = -10; + values[(valuesById[-11] = "BLE_WIFI_RESET_WAITING")] = -11; + values[(valuesById[-12] = "BLE_WIFI_RESETED")] = -12; + values[(valuesById[-13] = "BLE_GET_SYSTEM_INFO_ERROR")] = -13; + values[(valuesById[-14] = "BLE_RECEIVE_FRAME_HEAD_ERROR")] = -14; + values[(valuesById[-15] = "BLE_RECEIVE_FRAME_TAIL_ERROR")] = -15; + values[(valuesById[-16] = "BLE_CHECK_FILE_NOT_EXIST")] = -16; + values[(valuesById[-17] = "BLE_CHECK_FILE_MD5_ERROR")] = -17; + values[(valuesById[-18] = "BLE_WIFI_RESET_FAILED")] = -18; + return values; +})(); +$root.ReqGetconfig = (function () { + /** + * Properties of a ReqGetconfig. + * @exports IReqGetconfig + * @interface IReqGetconfig + * @property {number|null} [cmd] ReqGetconfig cmd + * @property {string|null} [blePsd] ReqGetconfig blePsd + */ + /** + * Constructs a new ReqGetconfig. + * @exports ReqGetconfig + * @classdesc Represents a ReqGetconfig. + * @implements IReqGetconfig + * @constructor + * @param {IReqGetconfig=} [properties] Properties to set + */ + function ReqGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetconfig cmd. + * @member {number} cmd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.cmd = 0; + /** + * ReqGetconfig blePsd. + * @member {string} blePsd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.blePsd = ""; + /** + * Creates a new ReqGetconfig instance using the specified properties. + * @function create + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig=} [properties] Properties to set + * @returns {ReqGetconfig} ReqGetconfig instance + */ + ReqGetconfig.create = function create(properties) { + return new ReqGetconfig(properties); + }; + /** + * Encodes the specified ReqGetconfig message. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encode + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.blePsd); + return writer; + }; + /** + * Encodes the specified ReqGetconfig message, length delimited. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetconfig message. + * @function verify + * @memberof ReqGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) + return "blePsd: string expected"; + return null; + }; + /** + * Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ReqGetconfig} ReqGetconfig + */ + ReqGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetconfig) + return object; + var message = new $root.ReqGetconfig(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.blePsd != null) + message.blePsd = String(object.blePsd); + return message; + }; + /** + * Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetconfig + * @static + * @param {ReqGetconfig} message ReqGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetconfig.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + /** + * Converts this ReqGetconfig to JSON. + * @function toJSON + * @memberof ReqGetconfig + * @instance + * @returns {Object.} JSON object + */ + ReqGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetconfig + * @function getTypeUrl + * @memberof ReqGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetconfig"; + }; + return ReqGetconfig; +})(); +$root.ReqAp = (function () { + /** + * Properties of a ReqAp. + * @exports IReqAp + * @interface IReqAp + * @property {number|null} [cmd] ReqAp cmd + * @property {number|null} [wifiType] ReqAp wifiType + * @property {number|null} [autoStart] ReqAp autoStart + * @property {number|null} [countryList] ReqAp countryList + * @property {string|null} [country] ReqAp country + * @property {string|null} [blePsd] ReqAp blePsd + */ + /** + * Constructs a new ReqAp. + * @exports ReqAp + * @classdesc Represents a ReqAp. + * @implements IReqAp + * @constructor + * @param {IReqAp=} [properties] Properties to set + */ + function ReqAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqAp cmd. + * @member {number} cmd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.cmd = 0; + /** + * ReqAp wifiType. + * @member {number} wifiType + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.wifiType = 0; + /** + * ReqAp autoStart. + * @member {number} autoStart + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.autoStart = 0; + /** + * ReqAp countryList. + * @member {number} countryList + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.countryList = 0; + /** + * ReqAp country. + * @member {string} country + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.country = ""; + /** + * ReqAp blePsd. + * @member {string} blePsd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.blePsd = ""; + /** + * Creates a new ReqAp instance using the specified properties. + * @function create + * @memberof ReqAp + * @static + * @param {IReqAp=} [properties] Properties to set + * @returns {ReqAp} ReqAp instance + */ + ReqAp.create = function create(properties) { + return new ReqAp(properties); + }; + /** + * Encodes the specified ReqAp message. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encode + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.wifiType != null && + Object.hasOwnProperty.call(message, "wifiType")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.wifiType); + if (message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.autoStart); + if (message.countryList != null && + Object.hasOwnProperty.call(message, "countryList")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.countryList); + if (message.country != null && + Object.hasOwnProperty.call(message, "country")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.country); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.blePsd); + return writer; + }; + /** + * Encodes the specified ReqAp message, length delimited. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqAp message from the specified reader or buffer. + * @function decode + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.wifiType = reader.int32(); + break; + } + case 3: { + message.autoStart = reader.int32(); + break; + } + case 4: { + message.countryList = reader.int32(); + break; + } + case 5: { + message.country = reader.string(); + break; + } + case 6: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqAp message. + * @function verify + * @memberof ReqAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + if (!$util.isInteger(message.wifiType)) + return "wifiType: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.countryList != null && message.hasOwnProperty("countryList")) + if (!$util.isInteger(message.countryList)) + return "countryList: integer expected"; + if (message.country != null && message.hasOwnProperty("country")) + if (!$util.isString(message.country)) + return "country: string expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) + return "blePsd: string expected"; + return null; + }; + /** + * Creates a ReqAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAp + * @static + * @param {Object.} object Plain object + * @returns {ReqAp} ReqAp + */ + ReqAp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAp) + return object; + var message = new $root.ReqAp(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.wifiType != null) + message.wifiType = object.wifiType | 0; + if (object.autoStart != null) + message.autoStart = object.autoStart | 0; + if (object.countryList != null) + message.countryList = object.countryList | 0; + if (object.country != null) + message.country = String(object.country); + if (object.blePsd != null) + message.blePsd = String(object.blePsd); + return message; + }; + /** + * Creates a plain object from a ReqAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAp + * @static + * @param {ReqAp} message ReqAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAp.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.wifiType = 0; + object.autoStart = 0; + object.countryList = 0; + object.country = ""; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + object.wifiType = message.wifiType; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.countryList != null && message.hasOwnProperty("countryList")) + object.countryList = message.countryList; + if (message.country != null && message.hasOwnProperty("country")) + object.country = message.country; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + /** + * Converts this ReqAp to JSON. + * @function toJSON + * @memberof ReqAp + * @instance + * @returns {Object.} JSON object + */ + ReqAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqAp + * @function getTypeUrl + * @memberof ReqAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAp"; + }; + return ReqAp; +})(); +$root.ReqSta = (function () { + /** + * Properties of a ReqSta. + * @exports IReqSta + * @interface IReqSta + * @property {number|null} [cmd] ReqSta cmd + * @property {number|null} [autoStart] ReqSta autoStart + * @property {string|null} [blePsd] ReqSta blePsd + * @property {string|null} [ssid] ReqSta ssid + * @property {string|null} [psd] ReqSta psd + */ + /** + * Constructs a new ReqSta. + * @exports ReqSta + * @classdesc Represents a ReqSta. + * @implements IReqSta + * @constructor + * @param {IReqSta=} [properties] Properties to set + */ + function ReqSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSta cmd. + * @member {number} cmd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.cmd = 0; + /** + * ReqSta autoStart. + * @member {number} autoStart + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.autoStart = 0; + /** + * ReqSta blePsd. + * @member {string} blePsd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.blePsd = ""; + /** + * ReqSta ssid. + * @member {string} ssid + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.ssid = ""; + /** + * ReqSta psd. + * @member {string} psd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.psd = ""; + /** + * Creates a new ReqSta instance using the specified properties. + * @function create + * @memberof ReqSta + * @static + * @param {IReqSta=} [properties] Properties to set + * @returns {ReqSta} ReqSta instance + */ + ReqSta.create = function create(properties) { + return new ReqSta(properties); + }; + /** + * Encodes the specified ReqSta message. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encode + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoStart); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + /** + * Encodes the specified ReqSta message, length delimited. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSta message from the specified reader or buffer. + * @function decode + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.autoStart = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSta message. + * @function verify + * @memberof ReqSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) + return "blePsd: string expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) + return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) + return "psd: string expected"; + return null; + }; + /** + * Creates a ReqSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSta + * @static + * @param {Object.} object Plain object + * @returns {ReqSta} ReqSta + */ + ReqSta.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSta) + return object; + var message = new $root.ReqSta(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.autoStart != null) + message.autoStart = object.autoStart | 0; + if (object.blePsd != null) + message.blePsd = String(object.blePsd); + if (object.ssid != null) + message.ssid = String(object.ssid); + if (object.psd != null) + message.psd = String(object.psd); + return message; + }; + /** + * Creates a plain object from a ReqSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSta + * @static + * @param {ReqSta} message ReqSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSta.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.autoStart = 0; + object.blePsd = ""; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + /** + * Converts this ReqSta to JSON. + * @function toJSON + * @memberof ReqSta + * @instance + * @returns {Object.} JSON object + */ + ReqSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSta + * @function getTypeUrl + * @memberof ReqSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSta"; + }; + return ReqSta; +})(); +$root.ReqSetblewifi = (function () { + /** + * Properties of a ReqSetblewifi. + * @exports IReqSetblewifi + * @interface IReqSetblewifi + * @property {number|null} [cmd] ReqSetblewifi cmd + * @property {number|null} [mode] ReqSetblewifi mode + * @property {string|null} [blePsd] ReqSetblewifi blePsd + * @property {string|null} [value] ReqSetblewifi value + */ + /** + * Constructs a new ReqSetblewifi. + * @exports ReqSetblewifi + * @classdesc Represents a ReqSetblewifi. + * @implements IReqSetblewifi + * @constructor + * @param {IReqSetblewifi=} [properties] Properties to set + */ + function ReqSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetblewifi cmd. + * @member {number} cmd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.cmd = 0; + /** + * ReqSetblewifi mode. + * @member {number} mode + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.mode = 0; + /** + * ReqSetblewifi blePsd. + * @member {string} blePsd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.blePsd = ""; + /** + * ReqSetblewifi value. + * @member {string} value + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.value = ""; + /** + * Creates a new ReqSetblewifi instance using the specified properties. + * @function create + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi=} [properties] Properties to set + * @returns {ReqSetblewifi} ReqSetblewifi instance + */ + ReqSetblewifi.create = function create(properties) { + return new ReqSetblewifi(properties); + }; + /** + * Encodes the specified ReqSetblewifi message. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encode + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.mode); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.mode = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetblewifi message. + * @function verify + * @memberof ReqSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) + return "blePsd: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; + return null; + }; + /** + * Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ReqSetblewifi} ReqSetblewifi + */ + ReqSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetblewifi) + return object; + var message = new $root.ReqSetblewifi(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.mode != null) + message.mode = object.mode | 0; + if (object.blePsd != null) + message.blePsd = String(object.blePsd); + if (object.value != null) + message.value = String(object.value); + return message; + }; + /** + * Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetblewifi + * @static + * @param {ReqSetblewifi} message ReqSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetblewifi.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.mode = 0; + object.blePsd = ""; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetblewifi to JSON. + * @function toJSON + * @memberof ReqSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ReqSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetblewifi + * @function getTypeUrl + * @memberof ReqSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetblewifi"; + }; + return ReqSetblewifi; +})(); +$root.ReqReset = (function () { + /** + * Properties of a ReqReset. + * @exports IReqReset + * @interface IReqReset + * @property {number|null} [cmd] ReqReset cmd + */ + /** + * Constructs a new ReqReset. + * @exports ReqReset + * @classdesc Represents a ReqReset. + * @implements IReqReset + * @constructor + * @param {IReqReset=} [properties] Properties to set + */ + function ReqReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqReset cmd. + * @member {number} cmd + * @memberof ReqReset + * @instance + */ + ReqReset.prototype.cmd = 0; + /** + * Creates a new ReqReset instance using the specified properties. + * @function create + * @memberof ReqReset + * @static + * @param {IReqReset=} [properties] Properties to set + * @returns {ReqReset} ReqReset instance + */ + ReqReset.create = function create(properties) { + return new ReqReset(properties); + }; + /** + * Encodes the specified ReqReset message. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encode + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + /** + * Encodes the specified ReqReset message, length delimited. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqReset message from the specified reader or buffer. + * @function decode + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqReset message. + * @function verify + * @memberof ReqReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + return null; + }; + /** + * Creates a ReqReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReset + * @static + * @param {Object.} object Plain object + * @returns {ReqReset} ReqReset + */ + ReqReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReset) + return object; + var message = new $root.ReqReset(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + return message; + }; + /** + * Creates a plain object from a ReqReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReset + * @static + * @param {ReqReset} message ReqReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReset.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + /** + * Converts this ReqReset to JSON. + * @function toJSON + * @memberof ReqReset + * @instance + * @returns {Object.} JSON object + */ + ReqReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqReset + * @function getTypeUrl + * @memberof ReqReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReset"; + }; + return ReqReset; +})(); +$root.ReqGetwifilist = (function () { + /** + * Properties of a ReqGetwifilist. + * @exports IReqGetwifilist + * @interface IReqGetwifilist + * @property {number|null} [cmd] ReqGetwifilist cmd + */ + /** + * Constructs a new ReqGetwifilist. + * @exports ReqGetwifilist + * @classdesc Represents a ReqGetwifilist. + * @implements IReqGetwifilist + * @constructor + * @param {IReqGetwifilist=} [properties] Properties to set + */ + function ReqGetwifilist(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetwifilist cmd. + * @member {number} cmd + * @memberof ReqGetwifilist + * @instance + */ + ReqGetwifilist.prototype.cmd = 0; + /** + * Creates a new ReqGetwifilist instance using the specified properties. + * @function create + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist=} [properties] Properties to set + * @returns {ReqGetwifilist} ReqGetwifilist instance + */ + ReqGetwifilist.create = function create(properties) { + return new ReqGetwifilist(properties); + }; + /** + * Encodes the specified ReqGetwifilist message. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encode + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + /** + * Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer. + * @function decode + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetwifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetwifilist message. + * @function verify + * @memberof ReqGetwifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetwifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + return null; + }; + /** + * Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetwifilist + * @static + * @param {Object.} object Plain object + * @returns {ReqGetwifilist} ReqGetwifilist + */ + ReqGetwifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetwifilist) + return object; + var message = new $root.ReqGetwifilist(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + return message; + }; + /** + * Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetwifilist + * @static + * @param {ReqGetwifilist} message ReqGetwifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetwifilist.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + /** + * Converts this ReqGetwifilist to JSON. + * @function toJSON + * @memberof ReqGetwifilist + * @instance + * @returns {Object.} JSON object + */ + ReqGetwifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetwifilist + * @function getTypeUrl + * @memberof ReqGetwifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetwifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetwifilist"; + }; + return ReqGetwifilist; +})(); +$root.ReqGetsysteminfo = (function () { + /** + * Properties of a ReqGetsysteminfo. + * @exports IReqGetsysteminfo + * @interface IReqGetsysteminfo + * @property {number|null} [cmd] ReqGetsysteminfo cmd + */ + /** + * Constructs a new ReqGetsysteminfo. + * @exports ReqGetsysteminfo + * @classdesc Represents a ReqGetsysteminfo. + * @implements IReqGetsysteminfo + * @constructor + * @param {IReqGetsysteminfo=} [properties] Properties to set + */ + function ReqGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetsysteminfo cmd. + * @member {number} cmd + * @memberof ReqGetsysteminfo + * @instance + */ + ReqGetsysteminfo.prototype.cmd = 0; + /** + * Creates a new ReqGetsysteminfo instance using the specified properties. + * @function create + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo=} [properties] Properties to set + * @returns {ReqGetsysteminfo} ReqGetsysteminfo instance + */ + ReqGetsysteminfo.create = function create(properties) { + return new ReqGetsysteminfo(properties); + }; + /** + * Encodes the specified ReqGetsysteminfo message. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + /** + * Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetsysteminfo message. + * @function verify + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + return null; + }; + /** + * Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + */ + ReqGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetsysteminfo) + return object; + var message = new $root.ReqGetsysteminfo(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + return message; + }; + /** + * Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetsysteminfo + * @static + * @param {ReqGetsysteminfo} message ReqGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetsysteminfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + /** + * Converts this ReqGetsysteminfo to JSON. + * @function toJSON + * @memberof ReqGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetsysteminfo + * @function getTypeUrl + * @memberof ReqGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetsysteminfo"; + }; + return ReqGetsysteminfo; +})(); +$root.ReqCheckFile = (function () { + /** + * Properties of a ReqCheckFile. + * @exports IReqCheckFile + * @interface IReqCheckFile + * @property {number|null} [cmd] ReqCheckFile cmd + * @property {string|null} [filePath] ReqCheckFile filePath + * @property {string|null} [md5] ReqCheckFile md5 + */ + /** + * Constructs a new ReqCheckFile. + * @exports ReqCheckFile + * @classdesc Represents a ReqCheckFile. + * @implements IReqCheckFile + * @constructor + * @param {IReqCheckFile=} [properties] Properties to set + */ + function ReqCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqCheckFile cmd. + * @member {number} cmd + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.cmd = 0; + /** + * ReqCheckFile filePath. + * @member {string} filePath + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.filePath = ""; + /** + * ReqCheckFile md5. + * @member {string} md5 + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.md5 = ""; + /** + * Creates a new ReqCheckFile instance using the specified properties. + * @function create + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile=} [properties] Properties to set + * @returns {ReqCheckFile} ReqCheckFile instance + */ + ReqCheckFile.create = function create(properties) { + return new ReqCheckFile(properties); + }; + /** + * Encodes the specified ReqCheckFile message. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encode + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.filePath != null && + Object.hasOwnProperty.call(message, "filePath")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.filePath); + if (message.md5 != null && Object.hasOwnProperty.call(message, "md5")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.md5); + return writer; + }; + /** + * Encodes the specified ReqCheckFile message, length delimited. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.filePath = reader.string(); + break; + } + case 3: { + message.md5 = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCheckFile message. + * @function verify + * @memberof ReqCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.filePath != null && message.hasOwnProperty("filePath")) + if (!$util.isString(message.filePath)) + return "filePath: string expected"; + if (message.md5 != null && message.hasOwnProperty("md5")) + if (!$util.isString(message.md5)) + return "md5: string expected"; + return null; + }; + /** + * Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckFile} ReqCheckFile + */ + ReqCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckFile) + return object; + var message = new $root.ReqCheckFile(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.filePath != null) + message.filePath = String(object.filePath); + if (object.md5 != null) + message.md5 = String(object.md5); + return message; + }; + /** + * Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckFile + * @static + * @param {ReqCheckFile} message ReqCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckFile.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.filePath = ""; + object.md5 = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.filePath != null && message.hasOwnProperty("filePath")) + object.filePath = message.filePath; + if (message.md5 != null && message.hasOwnProperty("md5")) + object.md5 = message.md5; + return object; + }; + /** + * Converts this ReqCheckFile to JSON. + * @function toJSON + * @memberof ReqCheckFile + * @instance + * @returns {Object.} JSON object + */ + ReqCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCheckFile + * @function getTypeUrl + * @memberof ReqCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckFile"; + }; + return ReqCheckFile; +})(); +$root.ResGetconfig = (function () { + /** + * Properties of a ResGetconfig. + * @exports IResGetconfig + * @interface IResGetconfig + * @property {number|null} [cmd] ResGetconfig cmd + * @property {number|null} [code] ResGetconfig code + * @property {number|null} [state] ResGetconfig state + * @property {number|null} [wifiMode] ResGetconfig wifiMode + * @property {number|null} [apMode] ResGetconfig apMode + * @property {number|null} [autoStart] ResGetconfig autoStart + * @property {number|null} [apCountryList] ResGetconfig apCountryList + * @property {string|null} [ssid] ResGetconfig ssid + * @property {string|null} [psd] ResGetconfig psd + * @property {string|null} [ip] ResGetconfig ip + * @property {string|null} [apCountry] ResGetconfig apCountry + */ + /** + * Constructs a new ResGetconfig. + * @exports ResGetconfig + * @classdesc Represents a ResGetconfig. + * @implements IResGetconfig + * @constructor + * @param {IResGetconfig=} [properties] Properties to set + */ + function ResGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetconfig cmd. + * @member {number} cmd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.cmd = 0; + /** + * ResGetconfig code. + * @member {number} code + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.code = 0; + /** + * ResGetconfig state. + * @member {number} state + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.state = 0; + /** + * ResGetconfig wifiMode. + * @member {number} wifiMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.wifiMode = 0; + /** + * ResGetconfig apMode. + * @member {number} apMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apMode = 0; + /** + * ResGetconfig autoStart. + * @member {number} autoStart + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.autoStart = 0; + /** + * ResGetconfig apCountryList. + * @member {number} apCountryList + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountryList = 0; + /** + * ResGetconfig ssid. + * @member {string} ssid + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ssid = ""; + /** + * ResGetconfig psd. + * @member {string} psd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.psd = ""; + /** + * ResGetconfig ip. + * @member {string} ip + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ip = ""; + /** + * ResGetconfig apCountry. + * @member {string} apCountry + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountry = ""; + /** + * Creates a new ResGetconfig instance using the specified properties. + * @function create + * @memberof ResGetconfig + * @static + * @param {IResGetconfig=} [properties] Properties to set + * @returns {ResGetconfig} ResGetconfig instance + */ + ResGetconfig.create = function create(properties) { + return new ResGetconfig(properties); + }; + /** + * Encodes the specified ResGetconfig message. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encode + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if (message.wifiMode != null && + Object.hasOwnProperty.call(message, "wifiMode")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.wifiMode); + if (message.apMode != null && Object.hasOwnProperty.call(message, "apMode")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.apMode); + if (message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.autoStart); + if (message.apCountryList != null && + Object.hasOwnProperty.call(message, "apCountryList")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.apCountryList); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 9, wireType 2 =*/ 74).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 10, wireType 2 =*/ 82).string(message.ip); + if (message.apCountry != null && + Object.hasOwnProperty.call(message, "apCountry")) + writer.uint32(/* id 11, wireType 2 =*/ 90).string(message.apCountry); + return writer; + }; + /** + * Encodes the specified ResGetconfig message, length delimited. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.wifiMode = reader.int32(); + break; + } + case 5: { + message.apMode = reader.int32(); + break; + } + case 6: { + message.autoStart = reader.int32(); + break; + } + case 7: { + message.apCountryList = reader.int32(); + break; + } + case 8: { + message.ssid = reader.string(); + break; + } + case 9: { + message.psd = reader.string(); + break; + } + case 10: { + message.ip = reader.string(); + break; + } + case 11: { + message.apCountry = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetconfig message. + * @function verify + * @memberof ResGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) + return "state: integer expected"; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + if (!$util.isInteger(message.wifiMode)) + return "wifiMode: integer expected"; + if (message.apMode != null && message.hasOwnProperty("apMode")) + if (!$util.isInteger(message.apMode)) + return "apMode: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.apCountryList != null && + message.hasOwnProperty("apCountryList")) + if (!$util.isInteger(message.apCountryList)) + return "apCountryList: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) + return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) + return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) + return "ip: string expected"; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + if (!$util.isString(message.apCountry)) + return "apCountry: string expected"; + return null; + }; + /** + * Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ResGetconfig} ResGetconfig + */ + ResGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetconfig) + return object; + var message = new $root.ResGetconfig(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.state != null) + message.state = object.state | 0; + if (object.wifiMode != null) + message.wifiMode = object.wifiMode | 0; + if (object.apMode != null) + message.apMode = object.apMode | 0; + if (object.autoStart != null) + message.autoStart = object.autoStart | 0; + if (object.apCountryList != null) + message.apCountryList = object.apCountryList | 0; + if (object.ssid != null) + message.ssid = String(object.ssid); + if (object.psd != null) + message.psd = String(object.psd); + if (object.ip != null) + message.ip = String(object.ip); + if (object.apCountry != null) + message.apCountry = String(object.apCountry); + return message; + }; + /** + * Creates a plain object from a ResGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetconfig + * @static + * @param {ResGetconfig} message ResGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetconfig.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.state = 0; + object.wifiMode = 0; + object.apMode = 0; + object.autoStart = 0; + object.apCountryList = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + object.apCountry = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + object.wifiMode = message.wifiMode; + if (message.apMode != null && message.hasOwnProperty("apMode")) + object.apMode = message.apMode; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.apCountryList != null && + message.hasOwnProperty("apCountryList")) + object.apCountryList = message.apCountryList; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + object.apCountry = message.apCountry; + return object; + }; + /** + * Converts this ResGetconfig to JSON. + * @function toJSON + * @memberof ResGetconfig + * @instance + * @returns {Object.} JSON object + */ + ResGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetconfig + * @function getTypeUrl + * @memberof ResGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetconfig"; + }; + return ResGetconfig; +})(); +$root.ResAp = (function () { + /** + * Properties of a ResAp. + * @exports IResAp + * @interface IResAp + * @property {number|null} [cmd] ResAp cmd + * @property {number|null} [code] ResAp code + * @property {number|null} [mode] ResAp mode + * @property {string|null} [ssid] ResAp ssid + * @property {string|null} [psd] ResAp psd + */ + /** + * Constructs a new ResAp. + * @exports ResAp + * @classdesc Represents a ResAp. + * @implements IResAp + * @constructor + * @param {IResAp=} [properties] Properties to set + */ + function ResAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResAp cmd. + * @member {number} cmd + * @memberof ResAp + * @instance + */ + ResAp.prototype.cmd = 0; + /** + * ResAp code. + * @member {number} code + * @memberof ResAp + * @instance + */ + ResAp.prototype.code = 0; + /** + * ResAp mode. + * @member {number} mode + * @memberof ResAp + * @instance + */ + ResAp.prototype.mode = 0; + /** + * ResAp ssid. + * @member {string} ssid + * @memberof ResAp + * @instance + */ + ResAp.prototype.ssid = ""; + /** + * ResAp psd. + * @member {string} psd + * @memberof ResAp + * @instance + */ + ResAp.prototype.psd = ""; + /** + * Creates a new ResAp instance using the specified properties. + * @function create + * @memberof ResAp + * @static + * @param {IResAp=} [properties] Properties to set + * @returns {ResAp} ResAp instance + */ + ResAp.create = function create(properties) { + return new ResAp(properties); + }; + /** + * Encodes the specified ResAp message. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encode + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + /** + * Encodes the specified ResAp message, length delimited. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResAp message from the specified reader or buffer. + * @function decode + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResAp message. + * @function verify + * @memberof ResAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) + return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) + return "psd: string expected"; + return null; + }; + /** + * Creates a ResAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResAp + * @static + * @param {Object.} object Plain object + * @returns {ResAp} ResAp + */ + ResAp.fromObject = function fromObject(object) { + if (object instanceof $root.ResAp) + return object; + var message = new $root.ResAp(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.mode != null) + message.mode = object.mode | 0; + if (object.ssid != null) + message.ssid = String(object.ssid); + if (object.psd != null) + message.psd = String(object.psd); + return message; + }; + /** + * Creates a plain object from a ResAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ResAp + * @static + * @param {ResAp} message ResAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResAp.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + /** + * Converts this ResAp to JSON. + * @function toJSON + * @memberof ResAp + * @instance + * @returns {Object.} JSON object + */ + ResAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResAp + * @function getTypeUrl + * @memberof ResAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResAp"; + }; + return ResAp; +})(); +$root.ResSta = (function () { + /** + * Properties of a ResSta. + * @exports IResSta + * @interface IResSta + * @property {number|null} [cmd] ResSta cmd + * @property {number|null} [code] ResSta code + * @property {string|null} [ssid] ResSta ssid + * @property {string|null} [psd] ResSta psd + * @property {string|null} [ip] ResSta ip + */ + /** + * Constructs a new ResSta. + * @exports ResSta + * @classdesc Represents a ResSta. + * @implements IResSta + * @constructor + * @param {IResSta=} [properties] Properties to set + */ + function ResSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResSta cmd. + * @member {number} cmd + * @memberof ResSta + * @instance + */ + ResSta.prototype.cmd = 0; + /** + * ResSta code. + * @member {number} code + * @memberof ResSta + * @instance + */ + ResSta.prototype.code = 0; + /** + * ResSta ssid. + * @member {string} ssid + * @memberof ResSta + * @instance + */ + ResSta.prototype.ssid = ""; + /** + * ResSta psd. + * @member {string} psd + * @memberof ResSta + * @instance + */ + ResSta.prototype.psd = ""; + /** + * ResSta ip. + * @member {string} ip + * @memberof ResSta + * @instance + */ + ResSta.prototype.ip = ""; + /** + * Creates a new ResSta instance using the specified properties. + * @function create + * @memberof ResSta + * @static + * @param {IResSta=} [properties] Properties to set + * @returns {ResSta} ResSta instance + */ + ResSta.create = function create(properties) { + return new ResSta(properties); + }; + /** + * Encodes the specified ResSta message. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encode + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ip); + return writer; + }; + /** + * Encodes the specified ResSta message, length delimited. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResSta message from the specified reader or buffer. + * @function decode + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.ssid = reader.string(); + break; + } + case 4: { + message.psd = reader.string(); + break; + } + case 5: { + message.ip = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResSta message. + * @function verify + * @memberof ResSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) + return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) + return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) + return "ip: string expected"; + return null; + }; + /** + * Creates a ResSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSta + * @static + * @param {Object.} object Plain object + * @returns {ResSta} ResSta + */ + ResSta.fromObject = function fromObject(object) { + if (object instanceof $root.ResSta) + return object; + var message = new $root.ResSta(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.ssid != null) + message.ssid = String(object.ssid); + if (object.psd != null) + message.psd = String(object.psd); + if (object.ip != null) + message.ip = String(object.ip); + return message; + }; + /** + * Creates a plain object from a ResSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSta + * @static + * @param {ResSta} message ResSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSta.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + return object; + }; + /** + * Converts this ResSta to JSON. + * @function toJSON + * @memberof ResSta + * @instance + * @returns {Object.} JSON object + */ + ResSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResSta + * @function getTypeUrl + * @memberof ResSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSta"; + }; + return ResSta; +})(); +$root.ResSetblewifi = (function () { + /** + * Properties of a ResSetblewifi. + * @exports IResSetblewifi + * @interface IResSetblewifi + * @property {number|null} [cmd] ResSetblewifi cmd + * @property {number|null} [code] ResSetblewifi code + * @property {number|null} [mode] ResSetblewifi mode + * @property {string|null} [value] ResSetblewifi value + */ + /** + * Constructs a new ResSetblewifi. + * @exports ResSetblewifi + * @classdesc Represents a ResSetblewifi. + * @implements IResSetblewifi + * @constructor + * @param {IResSetblewifi=} [properties] Properties to set + */ + function ResSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResSetblewifi cmd. + * @member {number} cmd + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.cmd = 0; + /** + * ResSetblewifi code. + * @member {number} code + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.code = 0; + /** + * ResSetblewifi mode. + * @member {number} mode + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.mode = 0; + /** + * ResSetblewifi value. + * @member {string} value + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.value = ""; + /** + * Creates a new ResSetblewifi instance using the specified properties. + * @function create + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi=} [properties] Properties to set + * @returns {ResSetblewifi} ResSetblewifi instance + */ + ResSetblewifi.create = function create(properties) { + return new ResSetblewifi(properties); + }; + /** + * Encodes the specified ResSetblewifi message. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encode + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + /** + * Encodes the specified ResSetblewifi message, length delimited. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResSetblewifi message. + * @function verify + * @memberof ResSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; + return null; + }; + /** + * Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ResSetblewifi} ResSetblewifi + */ + ResSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ResSetblewifi) + return object; + var message = new $root.ResSetblewifi(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.mode != null) + message.mode = object.mode | 0; + if (object.value != null) + message.value = String(object.value); + return message; + }; + /** + * Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSetblewifi + * @static + * @param {ResSetblewifi} message ResSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSetblewifi.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ResSetblewifi to JSON. + * @function toJSON + * @memberof ResSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ResSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResSetblewifi + * @function getTypeUrl + * @memberof ResSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSetblewifi"; + }; + return ResSetblewifi; +})(); +$root.ResReset = (function () { + /** + * Properties of a ResReset. + * @exports IResReset + * @interface IResReset + * @property {number|null} [cmd] ResReset cmd + * @property {number|null} [code] ResReset code + */ + /** + * Constructs a new ResReset. + * @exports ResReset + * @classdesc Represents a ResReset. + * @implements IResReset + * @constructor + * @param {IResReset=} [properties] Properties to set + */ + function ResReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResReset cmd. + * @member {number} cmd + * @memberof ResReset + * @instance + */ + ResReset.prototype.cmd = 0; + /** + * ResReset code. + * @member {number} code + * @memberof ResReset + * @instance + */ + ResReset.prototype.code = 0; + /** + * Creates a new ResReset instance using the specified properties. + * @function create + * @memberof ResReset + * @static + * @param {IResReset=} [properties] Properties to set + * @returns {ResReset} ResReset instance + */ + ResReset.create = function create(properties) { + return new ResReset(properties); + }; + /** + * Encodes the specified ResReset message. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encode + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResReset message, length delimited. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResReset message from the specified reader or buffer. + * @function decode + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResReset message. + * @function verify + * @memberof ResReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReset + * @static + * @param {Object.} object Plain object + * @returns {ResReset} ResReset + */ + ResReset.fromObject = function fromObject(object) { + if (object instanceof $root.ResReset) + return object; + var message = new $root.ResReset(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReset + * @static + * @param {ResReset} message ResReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReset.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResReset to JSON. + * @function toJSON + * @memberof ResReset + * @instance + * @returns {Object.} JSON object + */ + ResReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResReset + * @function getTypeUrl + * @memberof ResReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReset"; + }; + return ResReset; +})(); +$root.ResWifilist = (function () { + /** + * Properties of a ResWifilist. + * @exports IResWifilist + * @interface IResWifilist + * @property {number|null} [cmd] ResWifilist cmd + * @property {number|null} [code] ResWifilist code + * @property {Array.|null} [ssid] ResWifilist ssid + */ + /** + * Constructs a new ResWifilist. + * @exports ResWifilist + * @classdesc Represents a ResWifilist. + * @implements IResWifilist + * @constructor + * @param {IResWifilist=} [properties] Properties to set + */ + function ResWifilist(properties) { + this.ssid = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResWifilist cmd. + * @member {number} cmd + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.cmd = 0; + /** + * ResWifilist code. + * @member {number} code + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.code = 0; + /** + * ResWifilist ssid. + * @member {Array.} ssid + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.ssid = $util.emptyArray; + /** + * Creates a new ResWifilist instance using the specified properties. + * @function create + * @memberof ResWifilist + * @static + * @param {IResWifilist=} [properties] Properties to set + * @returns {ResWifilist} ResWifilist instance + */ + ResWifilist.create = function create(properties) { + return new ResWifilist(properties); + }; + /** + * Encodes the specified ResWifilist message. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encode + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && message.ssid.length) + for (var i = 0; i < message.ssid.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid[i]); + return writer; + }; + /** + * Encodes the specified ResWifilist message, length delimited. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResWifilist message from the specified reader or buffer. + * @function decode + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResWifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 4: { + if (!(message.ssid && message.ssid.length)) + message.ssid = []; + message.ssid.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResWifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResWifilist message. + * @function verify + * @memberof ResWifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResWifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) { + if (!Array.isArray(message.ssid)) + return "ssid: array expected"; + for (var i = 0; i < message.ssid.length; ++i) + if (!$util.isString(message.ssid[i])) + return "ssid: string[] expected"; + } + return null; + }; + /** + * Creates a ResWifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResWifilist + * @static + * @param {Object.} object Plain object + * @returns {ResWifilist} ResWifilist + */ + ResWifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ResWifilist) + return object; + var message = new $root.ResWifilist(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.ssid) { + if (!Array.isArray(object.ssid)) + throw TypeError(".ResWifilist.ssid: array expected"); + message.ssid = []; + for (var i = 0; i < object.ssid.length; ++i) + message.ssid[i] = String(object.ssid[i]); + } + return message; + }; + /** + * Creates a plain object from a ResWifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ResWifilist + * @static + * @param {ResWifilist} message ResWifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResWifilist.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.ssid = []; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid && message.ssid.length) { + object.ssid = []; + for (var j = 0; j < message.ssid.length; ++j) + object.ssid[j] = message.ssid[j]; + } + return object; + }; + /** + * Converts this ResWifilist to JSON. + * @function toJSON + * @memberof ResWifilist + * @instance + * @returns {Object.} JSON object + */ + ResWifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResWifilist + * @function getTypeUrl + * @memberof ResWifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResWifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResWifilist"; + }; + return ResWifilist; +})(); +$root.ResGetsysteminfo = (function () { + /** + * Properties of a ResGetsysteminfo. + * @exports IResGetsysteminfo + * @interface IResGetsysteminfo + * @property {number|null} [cmd] ResGetsysteminfo cmd + * @property {number|null} [code] ResGetsysteminfo code + * @property {number|null} [protocolVersion] ResGetsysteminfo protocolVersion + * @property {string|null} [device] ResGetsysteminfo device + * @property {string|null} [macAddress] ResGetsysteminfo macAddress + * @property {string|null} [dwarfOtaVersion] ResGetsysteminfo dwarfOtaVersion + */ + /** + * Constructs a new ResGetsysteminfo. + * @exports ResGetsysteminfo + * @classdesc Represents a ResGetsysteminfo. + * @implements IResGetsysteminfo + * @constructor + * @param {IResGetsysteminfo=} [properties] Properties to set + */ + function ResGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetsysteminfo cmd. + * @member {number} cmd + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.cmd = 0; + /** + * ResGetsysteminfo code. + * @member {number} code + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.code = 0; + /** + * ResGetsysteminfo protocolVersion. + * @member {number} protocolVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.protocolVersion = 0; + /** + * ResGetsysteminfo device. + * @member {string} device + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.device = ""; + /** + * ResGetsysteminfo macAddress. + * @member {string} macAddress + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.macAddress = ""; + /** + * ResGetsysteminfo dwarfOtaVersion. + * @member {string} dwarfOtaVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.dwarfOtaVersion = ""; + /** + * Creates a new ResGetsysteminfo instance using the specified properties. + * @function create + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo=} [properties] Properties to set + * @returns {ResGetsysteminfo} ResGetsysteminfo instance + */ + ResGetsysteminfo.create = function create(properties) { + return new ResGetsysteminfo(properties); + }; + /** + * Encodes the specified ResGetsysteminfo message. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.protocolVersion != null && + Object.hasOwnProperty.call(message, "protocolVersion")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.protocolVersion); + if (message.device != null && Object.hasOwnProperty.call(message, "device")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.device); + if (message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.macAddress); + if (message.dwarfOtaVersion != null && + Object.hasOwnProperty.call(message, "dwarfOtaVersion")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.dwarfOtaVersion); + return writer; + }; + /** + * Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.protocolVersion = reader.int32(); + break; + } + case 4: { + message.device = reader.string(); + break; + } + case 5: { + message.macAddress = reader.string(); + break; + } + case 6: { + message.dwarfOtaVersion = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetsysteminfo message. + * @function verify + * @memberof ResGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.protocolVersion != null && + message.hasOwnProperty("protocolVersion")) + if (!$util.isInteger(message.protocolVersion)) + return "protocolVersion: integer expected"; + if (message.device != null && message.hasOwnProperty("device")) + if (!$util.isString(message.device)) + return "device: string expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if (message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion")) + if (!$util.isString(message.dwarfOtaVersion)) + return "dwarfOtaVersion: string expected"; + return null; + }; + /** + * Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetsysteminfo} ResGetsysteminfo + */ + ResGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetsysteminfo) + return object; + var message = new $root.ResGetsysteminfo(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.protocolVersion != null) + message.protocolVersion = object.protocolVersion | 0; + if (object.device != null) + message.device = String(object.device); + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.dwarfOtaVersion != null) + message.dwarfOtaVersion = String(object.dwarfOtaVersion); + return message; + }; + /** + * Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetsysteminfo + * @static + * @param {ResGetsysteminfo} message ResGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetsysteminfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.protocolVersion = 0; + object.device = ""; + object.macAddress = ""; + object.dwarfOtaVersion = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.protocolVersion != null && + message.hasOwnProperty("protocolVersion")) + object.protocolVersion = message.protocolVersion; + if (message.device != null && message.hasOwnProperty("device")) + object.device = message.device; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if (message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion")) + object.dwarfOtaVersion = message.dwarfOtaVersion; + return object; + }; + /** + * Converts this ResGetsysteminfo to JSON. + * @function toJSON + * @memberof ResGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ResGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetsysteminfo + * @function getTypeUrl + * @memberof ResGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetsysteminfo"; + }; + return ResGetsysteminfo; +})(); +$root.ResReceiveDataError = (function () { + /** + * Properties of a ResReceiveDataError. + * @exports IResReceiveDataError + * @interface IResReceiveDataError + * @property {number|null} [cmd] ResReceiveDataError cmd + * @property {number|null} [code] ResReceiveDataError code + */ + /** + * Constructs a new ResReceiveDataError. + * @exports ResReceiveDataError + * @classdesc Represents a ResReceiveDataError. + * @implements IResReceiveDataError + * @constructor + * @param {IResReceiveDataError=} [properties] Properties to set + */ + function ResReceiveDataError(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResReceiveDataError cmd. + * @member {number} cmd + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.cmd = 0; + /** + * ResReceiveDataError code. + * @member {number} code + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.code = 0; + /** + * Creates a new ResReceiveDataError instance using the specified properties. + * @function create + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError=} [properties] Properties to set + * @returns {ResReceiveDataError} ResReceiveDataError instance + */ + ResReceiveDataError.create = function create(properties) { + return new ResReceiveDataError(properties); + }; + /** + * Encodes the specified ResReceiveDataError message. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encode + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer. + * @function decode + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResReceiveDataError(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResReceiveDataError message. + * @function verify + * @memberof ResReceiveDataError + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReceiveDataError.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReceiveDataError + * @static + * @param {Object.} object Plain object + * @returns {ResReceiveDataError} ResReceiveDataError + */ + ResReceiveDataError.fromObject = function fromObject(object) { + if (object instanceof $root.ResReceiveDataError) + return object; + var message = new $root.ResReceiveDataError(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReceiveDataError + * @static + * @param {ResReceiveDataError} message ResReceiveDataError + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReceiveDataError.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResReceiveDataError to JSON. + * @function toJSON + * @memberof ResReceiveDataError + * @instance + * @returns {Object.} JSON object + */ + ResReceiveDataError.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResReceiveDataError + * @function getTypeUrl + * @memberof ResReceiveDataError + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReceiveDataError.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReceiveDataError"; + }; + return ResReceiveDataError; +})(); +$root.ResCheckFile = (function () { + /** + * Properties of a ResCheckFile. + * @exports IResCheckFile + * @interface IResCheckFile + * @property {number|null} [cmd] ResCheckFile cmd + * @property {number|null} [code] ResCheckFile code + */ + /** + * Constructs a new ResCheckFile. + * @exports ResCheckFile + * @classdesc Represents a ResCheckFile. + * @implements IResCheckFile + * @constructor + * @param {IResCheckFile=} [properties] Properties to set + */ + function ResCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResCheckFile cmd. + * @member {number} cmd + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.cmd = 0; + /** + * ResCheckFile code. + * @member {number} code + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.code = 0; + /** + * Creates a new ResCheckFile instance using the specified properties. + * @function create + * @memberof ResCheckFile + * @static + * @param {IResCheckFile=} [properties] Properties to set + * @returns {ResCheckFile} ResCheckFile instance + */ + ResCheckFile.create = function create(properties) { + return new ResCheckFile(properties); + }; + /** + * Encodes the specified ResCheckFile message. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encode + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResCheckFile message, length delimited. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResCheckFile message. + * @function verify + * @memberof ResCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) + return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ResCheckFile} ResCheckFile + */ + ResCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckFile) + return object; + var message = new $root.ResCheckFile(); + if (object.cmd != null) + message.cmd = object.cmd | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckFile + * @static + * @param {ResCheckFile} message ResCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckFile.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResCheckFile to JSON. + * @function toJSON + * @memberof ResCheckFile + * @instance + * @returns {Object.} JSON object + */ + ResCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResCheckFile + * @function getTypeUrl + * @memberof ResCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckFile"; + }; + return ResCheckFile; +})(); +$root.ReqOpenCamera = (function () { + /** + * Properties of a ReqOpenCamera. + * @exports IReqOpenCamera + * @interface IReqOpenCamera + * @property {boolean|null} [binning] ReqOpenCamera binning + * @property {number|null} [rtspEncodeType] ReqOpenCamera rtspEncodeType + */ + /** + * Constructs a new ReqOpenCamera. + * @exports ReqOpenCamera + * @classdesc Represents a ReqOpenCamera. + * @implements IReqOpenCamera + * @constructor + * @param {IReqOpenCamera=} [properties] Properties to set + */ + function ReqOpenCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqOpenCamera binning. + * @member {boolean} binning + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.binning = false; + /** + * ReqOpenCamera rtspEncodeType. + * @member {number} rtspEncodeType + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.rtspEncodeType = 0; + /** + * Creates a new ReqOpenCamera instance using the specified properties. + * @function create + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera=} [properties] Properties to set + * @returns {ReqOpenCamera} ReqOpenCamera instance + */ + ReqOpenCamera.create = function create(properties) { + return new ReqOpenCamera(properties); + }; + /** + * Encodes the specified ReqOpenCamera message. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encode + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.binning != null && + Object.hasOwnProperty.call(message, "binning")) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.binning); + if (message.rtspEncodeType != null && + Object.hasOwnProperty.call(message, "rtspEncodeType")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.rtspEncodeType); + return writer; + }; + /** + * Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqOpenCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.binning = reader.bool(); + break; + } + case 2: { + message.rtspEncodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqOpenCamera message. + * @function verify + * @memberof ReqOpenCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.binning != null && message.hasOwnProperty("binning")) + if (typeof message.binning !== "boolean") + return "binning: boolean expected"; + if (message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType")) + if (!$util.isInteger(message.rtspEncodeType)) + return "rtspEncodeType: integer expected"; + return null; + }; + /** + * Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenCamera} ReqOpenCamera + */ + ReqOpenCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenCamera) + return object; + var message = new $root.ReqOpenCamera(); + if (object.binning != null) + message.binning = Boolean(object.binning); + if (object.rtspEncodeType != null) + message.rtspEncodeType = object.rtspEncodeType | 0; + return message; + }; + /** + * Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenCamera + * @static + * @param {ReqOpenCamera} message ReqOpenCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenCamera.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.binning = false; + object.rtspEncodeType = 0; + } + if (message.binning != null && message.hasOwnProperty("binning")) + object.binning = message.binning; + if (message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType")) + object.rtspEncodeType = message.rtspEncodeType; + return object; + }; + /** + * Converts this ReqOpenCamera to JSON. + * @function toJSON + * @memberof ReqOpenCamera + * @instance + * @returns {Object.} JSON object + */ + ReqOpenCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqOpenCamera + * @function getTypeUrl + * @memberof ReqOpenCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenCamera"; + }; + return ReqOpenCamera; +})(); +$root.ReqCloseCamera = (function () { + /** + * Properties of a ReqCloseCamera. + * @exports IReqCloseCamera + * @interface IReqCloseCamera + */ + /** + * Constructs a new ReqCloseCamera. + * @exports ReqCloseCamera + * @classdesc Represents a ReqCloseCamera. + * @implements IReqCloseCamera + * @constructor + * @param {IReqCloseCamera=} [properties] Properties to set + */ + function ReqCloseCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqCloseCamera instance using the specified properties. + * @function create + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera=} [properties] Properties to set + * @returns {ReqCloseCamera} ReqCloseCamera instance + */ + ReqCloseCamera.create = function create(properties) { + return new ReqCloseCamera(properties); + }; + /** + * Encodes the specified ReqCloseCamera message. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encode + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCloseCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCloseCamera message. + * @function verify + * @memberof ReqCloseCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseCamera} ReqCloseCamera + */ + ReqCloseCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseCamera) + return object; + return new $root.ReqCloseCamera(); + }; + /** + * Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseCamera + * @static + * @param {ReqCloseCamera} message ReqCloseCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseCamera.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqCloseCamera to JSON. + * @function toJSON + * @memberof ReqCloseCamera + * @instance + * @returns {Object.} JSON object + */ + ReqCloseCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCloseCamera + * @function getTypeUrl + * @memberof ReqCloseCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseCamera"; + }; + return ReqCloseCamera; +})(); +$root.ReqPhoto = (function () { + /** + * Properties of a ReqPhoto. + * @exports IReqPhoto + * @interface IReqPhoto + */ + /** + * Constructs a new ReqPhoto. + * @exports ReqPhoto + * @classdesc Represents a ReqPhoto. + * @implements IReqPhoto + * @constructor + * @param {IReqPhoto=} [properties] Properties to set + */ + function ReqPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqPhoto instance using the specified properties. + * @function create + * @memberof ReqPhoto + * @static + * @param {IReqPhoto=} [properties] Properties to set + * @returns {ReqPhoto} ReqPhoto instance + */ + ReqPhoto.create = function create(properties) { + return new ReqPhoto(properties); + }; + /** + * Encodes the specified ReqPhoto message. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encode + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqPhoto message, length delimited. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqPhoto message. + * @function verify + * @memberof ReqPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqPhoto} ReqPhoto + */ + ReqPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhoto) + return object; + return new $root.ReqPhoto(); + }; + /** + * Creates a plain object from a ReqPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhoto + * @static + * @param {ReqPhoto} message ReqPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhoto.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqPhoto to JSON. + * @function toJSON + * @memberof ReqPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqPhoto + * @function getTypeUrl + * @memberof ReqPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhoto"; + }; + return ReqPhoto; +})(); +$root.ReqBurstPhoto = (function () { + /** + * Properties of a ReqBurstPhoto. + * @exports IReqBurstPhoto + * @interface IReqBurstPhoto + * @property {number|null} [count] ReqBurstPhoto count + */ + /** + * Constructs a new ReqBurstPhoto. + * @exports ReqBurstPhoto + * @classdesc Represents a ReqBurstPhoto. + * @implements IReqBurstPhoto + * @constructor + * @param {IReqBurstPhoto=} [properties] Properties to set + */ + function ReqBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqBurstPhoto count. + * @member {number} count + * @memberof ReqBurstPhoto + * @instance + */ + ReqBurstPhoto.prototype.count = 0; + /** + * Creates a new ReqBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto=} [properties] Properties to set + * @returns {ReqBurstPhoto} ReqBurstPhoto instance + */ + ReqBurstPhoto.create = function create(properties) { + return new ReqBurstPhoto(properties); + }; + /** + * Encodes the specified ReqBurstPhoto message. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.count != null && Object.hasOwnProperty.call(message, "count")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.count); + return writer; + }; + /** + * Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.count = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqBurstPhoto message. + * @function verify + * @memberof ReqBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.count != null && message.hasOwnProperty("count")) + if (!$util.isInteger(message.count)) + return "count: integer expected"; + return null; + }; + /** + * Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqBurstPhoto} ReqBurstPhoto + */ + ReqBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqBurstPhoto) + return object; + var message = new $root.ReqBurstPhoto(); + if (object.count != null) + message.count = object.count | 0; + return message; + }; + /** + * Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqBurstPhoto + * @static + * @param {ReqBurstPhoto} message ReqBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqBurstPhoto.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.count = 0; + if (message.count != null && message.hasOwnProperty("count")) + object.count = message.count; + return object; + }; + /** + * Converts this ReqBurstPhoto to JSON. + * @function toJSON + * @memberof ReqBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqBurstPhoto + * @function getTypeUrl + * @memberof ReqBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqBurstPhoto"; + }; + return ReqBurstPhoto; +})(); +$root.ReqStopBurstPhoto = (function () { + /** + * Properties of a ReqStopBurstPhoto. + * @exports IReqStopBurstPhoto + * @interface IReqStopBurstPhoto + */ + /** + * Constructs a new ReqStopBurstPhoto. + * @exports ReqStopBurstPhoto + * @classdesc Represents a ReqStopBurstPhoto. + * @implements IReqStopBurstPhoto + * @constructor + * @param {IReqStopBurstPhoto=} [properties] Properties to set + */ + function ReqStopBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto=} [properties] Properties to set + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto instance + */ + ReqStopBurstPhoto.create = function create(properties) { + return new ReqStopBurstPhoto(properties); + }; + /** + * Encodes the specified ReqStopBurstPhoto message. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopBurstPhoto message. + * @function verify + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + */ + ReqStopBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopBurstPhoto) + return object; + return new $root.ReqStopBurstPhoto(); + }; + /** + * Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopBurstPhoto + * @static + * @param {ReqStopBurstPhoto} message ReqStopBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopBurstPhoto.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopBurstPhoto to JSON. + * @function toJSON + * @memberof ReqStopBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopBurstPhoto + * @function getTypeUrl + * @memberof ReqStopBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopBurstPhoto"; + }; + return ReqStopBurstPhoto; +})(); +$root.ReqStartRecord = (function () { + /** + * Properties of a ReqStartRecord. + * @exports IReqStartRecord + * @interface IReqStartRecord + * @property {number|null} [encodeType] ReqStartRecord encodeType + */ + /** + * Constructs a new ReqStartRecord. + * @exports ReqStartRecord + * @classdesc Represents a ReqStartRecord. + * @implements IReqStartRecord + * @constructor + * @param {IReqStartRecord=} [properties] Properties to set + */ + function ReqStartRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartRecord encodeType. + * @member {number} encodeType + * @memberof ReqStartRecord + * @instance + */ + ReqStartRecord.prototype.encodeType = 0; + /** + * Creates a new ReqStartRecord instance using the specified properties. + * @function create + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord=} [properties] Properties to set + * @returns {ReqStartRecord} ReqStartRecord instance + */ + ReqStartRecord.create = function create(properties) { + return new ReqStartRecord(properties); + }; + /** + * Encodes the specified ReqStartRecord message. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encode + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.encodeType != null && + Object.hasOwnProperty.call(message, "encodeType")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.encodeType); + return writer; + }; + /** + * Encodes the specified ReqStartRecord message, length delimited. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.encodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartRecord message. + * @function verify + * @memberof ReqStartRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + if (!$util.isInteger(message.encodeType)) + return "encodeType: integer expected"; + return null; + }; + /** + * Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStartRecord} ReqStartRecord + */ + ReqStartRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartRecord) + return object; + var message = new $root.ReqStartRecord(); + if (object.encodeType != null) + message.encodeType = object.encodeType | 0; + return message; + }; + /** + * Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartRecord + * @static + * @param {ReqStartRecord} message ReqStartRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartRecord.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.encodeType = 0; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + object.encodeType = message.encodeType; + return object; + }; + /** + * Converts this ReqStartRecord to JSON. + * @function toJSON + * @memberof ReqStartRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStartRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartRecord + * @function getTypeUrl + * @memberof ReqStartRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartRecord"; + }; + return ReqStartRecord; +})(); +$root.ReqStopRecord = (function () { + /** + * Properties of a ReqStopRecord. + * @exports IReqStopRecord + * @interface IReqStopRecord + */ + /** + * Constructs a new ReqStopRecord. + * @exports ReqStopRecord + * @classdesc Represents a ReqStopRecord. + * @implements IReqStopRecord + * @constructor + * @param {IReqStopRecord=} [properties] Properties to set + */ + function ReqStopRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopRecord instance using the specified properties. + * @function create + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord=} [properties] Properties to set + * @returns {ReqStopRecord} ReqStopRecord instance + */ + ReqStopRecord.create = function create(properties) { + return new ReqStopRecord(properties); + }; + /** + * Encodes the specified ReqStopRecord message. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encode + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopRecord message, length delimited. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopRecord message. + * @function verify + * @memberof ReqStopRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStopRecord} ReqStopRecord + */ + ReqStopRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopRecord) + return object; + return new $root.ReqStopRecord(); + }; + /** + * Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopRecord + * @static + * @param {ReqStopRecord} message ReqStopRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopRecord.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopRecord to JSON. + * @function toJSON + * @memberof ReqStopRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStopRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopRecord + * @function getTypeUrl + * @memberof ReqStopRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopRecord"; + }; + return ReqStopRecord; +})(); +$root.ReqSetExpMode = (function () { + /** + * Properties of a ReqSetExpMode. + * @exports IReqSetExpMode + * @interface IReqSetExpMode + * @property {number|null} [mode] ReqSetExpMode mode + */ + /** + * Constructs a new ReqSetExpMode. + * @exports ReqSetExpMode + * @classdesc Represents a ReqSetExpMode. + * @implements IReqSetExpMode + * @constructor + * @param {IReqSetExpMode=} [properties] Properties to set + */ + function ReqSetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetExpMode mode. + * @member {number} mode + * @memberof ReqSetExpMode + * @instance + */ + ReqSetExpMode.prototype.mode = 0; + /** + * Creates a new ReqSetExpMode instance using the specified properties. + * @function create + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode=} [properties] Properties to set + * @returns {ReqSetExpMode} ReqSetExpMode instance + */ + ReqSetExpMode.create = function create(properties) { + return new ReqSetExpMode(properties); + }; + /** + * Encodes the specified ReqSetExpMode message. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetExpMode message. + * @function verify + * @memberof ReqSetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExpMode} ReqSetExpMode + */ + ReqSetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExpMode) + return object; + var message = new $root.ReqSetExpMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExpMode + * @static + * @param {ReqSetExpMode} message ReqSetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExpMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqSetExpMode to JSON. + * @function toJSON + * @memberof ReqSetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetExpMode + * @function getTypeUrl + * @memberof ReqSetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExpMode"; + }; + return ReqSetExpMode; +})(); +$root.ReqGetExpMode = (function () { + /** + * Properties of a ReqGetExpMode. + * @exports IReqGetExpMode + * @interface IReqGetExpMode + */ + /** + * Constructs a new ReqGetExpMode. + * @exports ReqGetExpMode + * @classdesc Represents a ReqGetExpMode. + * @implements IReqGetExpMode + * @constructor + * @param {IReqGetExpMode=} [properties] Properties to set + */ + function ReqGetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetExpMode instance using the specified properties. + * @function create + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode=} [properties] Properties to set + * @returns {ReqGetExpMode} ReqGetExpMode instance + */ + ReqGetExpMode.create = function create(properties) { + return new ReqGetExpMode(properties); + }; + /** + * Encodes the specified ReqGetExpMode message. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetExpMode message. + * @function verify + * @memberof ReqGetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExpMode} ReqGetExpMode + */ + ReqGetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExpMode) + return object; + return new $root.ReqGetExpMode(); + }; + /** + * Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExpMode + * @static + * @param {ReqGetExpMode} message ReqGetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExpMode.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetExpMode to JSON. + * @function toJSON + * @memberof ReqGetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetExpMode + * @function getTypeUrl + * @memberof ReqGetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExpMode"; + }; + return ReqGetExpMode; +})(); +$root.ReqSetExp = (function () { + /** + * Properties of a ReqSetExp. + * @exports IReqSetExp + * @interface IReqSetExp + * @property {number|null} [index] ReqSetExp index + */ + /** + * Constructs a new ReqSetExp. + * @exports ReqSetExp + * @classdesc Represents a ReqSetExp. + * @implements IReqSetExp + * @constructor + * @param {IReqSetExp=} [properties] Properties to set + */ + function ReqSetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetExp index. + * @member {number} index + * @memberof ReqSetExp + * @instance + */ + ReqSetExp.prototype.index = 0; + /** + * Creates a new ReqSetExp instance using the specified properties. + * @function create + * @memberof ReqSetExp + * @static + * @param {IReqSetExp=} [properties] Properties to set + * @returns {ReqSetExp} ReqSetExp instance + */ + ReqSetExp.create = function create(properties) { + return new ReqSetExp(properties); + }; + /** + * Encodes the specified ReqSetExp message. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encode + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + /** + * Encodes the specified ReqSetExp message, length delimited. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetExp message. + * @function verify + * @memberof ReqSetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + return null; + }; + /** + * Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExp} ReqSetExp + */ + ReqSetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExp) + return object; + var message = new $root.ReqSetExp(); + if (object.index != null) + message.index = object.index | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExp + * @static + * @param {ReqSetExp} message ReqSetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExp.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + /** + * Converts this ReqSetExp to JSON. + * @function toJSON + * @memberof ReqSetExp + * @instance + * @returns {Object.} JSON object + */ + ReqSetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetExp + * @function getTypeUrl + * @memberof ReqSetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExp"; + }; + return ReqSetExp; +})(); +$root.ReqGetExp = (function () { + /** + * Properties of a ReqGetExp. + * @exports IReqGetExp + * @interface IReqGetExp + */ + /** + * Constructs a new ReqGetExp. + * @exports ReqGetExp + * @classdesc Represents a ReqGetExp. + * @implements IReqGetExp + * @constructor + * @param {IReqGetExp=} [properties] Properties to set + */ + function ReqGetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetExp instance using the specified properties. + * @function create + * @memberof ReqGetExp + * @static + * @param {IReqGetExp=} [properties] Properties to set + * @returns {ReqGetExp} ReqGetExp instance + */ + ReqGetExp.create = function create(properties) { + return new ReqGetExp(properties); + }; + /** + * Encodes the specified ReqGetExp message. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encode + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetExp message, length delimited. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetExp message. + * @function verify + * @memberof ReqGetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExp} ReqGetExp + */ + ReqGetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExp) + return object; + return new $root.ReqGetExp(); + }; + /** + * Creates a plain object from a ReqGetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExp + * @static + * @param {ReqGetExp} message ReqGetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExp.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetExp to JSON. + * @function toJSON + * @memberof ReqGetExp + * @instance + * @returns {Object.} JSON object + */ + ReqGetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetExp + * @function getTypeUrl + * @memberof ReqGetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExp"; + }; + return ReqGetExp; +})(); +$root.ReqSetGainMode = (function () { + /** + * Properties of a ReqSetGainMode. + * @exports IReqSetGainMode + * @interface IReqSetGainMode + * @property {number|null} [mode] ReqSetGainMode mode + */ + /** + * Constructs a new ReqSetGainMode. + * @exports ReqSetGainMode + * @classdesc Represents a ReqSetGainMode. + * @implements IReqSetGainMode + * @constructor + * @param {IReqSetGainMode=} [properties] Properties to set + */ + function ReqSetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetGainMode mode. + * @member {number} mode + * @memberof ReqSetGainMode + * @instance + */ + ReqSetGainMode.prototype.mode = 0; + /** + * Creates a new ReqSetGainMode instance using the specified properties. + * @function create + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode=} [properties] Properties to set + * @returns {ReqSetGainMode} ReqSetGainMode instance + */ + ReqSetGainMode.create = function create(properties) { + return new ReqSetGainMode(properties); + }; + /** + * Encodes the specified ReqSetGainMode message. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetGainMode message. + * @function verify + * @memberof ReqSetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGainMode} ReqSetGainMode + */ + ReqSetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGainMode) + return object; + var message = new $root.ReqSetGainMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGainMode + * @static + * @param {ReqSetGainMode} message ReqSetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGainMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqSetGainMode to JSON. + * @function toJSON + * @memberof ReqSetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetGainMode + * @function getTypeUrl + * @memberof ReqSetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGainMode"; + }; + return ReqSetGainMode; +})(); +$root.ReqGetGainMode = (function () { + /** + * Properties of a ReqGetGainMode. + * @exports IReqGetGainMode + * @interface IReqGetGainMode + */ + /** + * Constructs a new ReqGetGainMode. + * @exports ReqGetGainMode + * @classdesc Represents a ReqGetGainMode. + * @implements IReqGetGainMode + * @constructor + * @param {IReqGetGainMode=} [properties] Properties to set + */ + function ReqGetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetGainMode instance using the specified properties. + * @function create + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode=} [properties] Properties to set + * @returns {ReqGetGainMode} ReqGetGainMode instance + */ + ReqGetGainMode.create = function create(properties) { + return new ReqGetGainMode(properties); + }; + /** + * Encodes the specified ReqGetGainMode message. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetGainMode message. + * @function verify + * @memberof ReqGetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGainMode} ReqGetGainMode + */ + ReqGetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGainMode) + return object; + return new $root.ReqGetGainMode(); + }; + /** + * Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGainMode + * @static + * @param {ReqGetGainMode} message ReqGetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGainMode.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetGainMode to JSON. + * @function toJSON + * @memberof ReqGetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetGainMode + * @function getTypeUrl + * @memberof ReqGetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGainMode"; + }; + return ReqGetGainMode; +})(); +$root.ReqSetGain = (function () { + /** + * Properties of a ReqSetGain. + * @exports IReqSetGain + * @interface IReqSetGain + * @property {number|null} [index] ReqSetGain index + */ + /** + * Constructs a new ReqSetGain. + * @exports ReqSetGain + * @classdesc Represents a ReqSetGain. + * @implements IReqSetGain + * @constructor + * @param {IReqSetGain=} [properties] Properties to set + */ + function ReqSetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetGain index. + * @member {number} index + * @memberof ReqSetGain + * @instance + */ + ReqSetGain.prototype.index = 0; + /** + * Creates a new ReqSetGain instance using the specified properties. + * @function create + * @memberof ReqSetGain + * @static + * @param {IReqSetGain=} [properties] Properties to set + * @returns {ReqSetGain} ReqSetGain instance + */ + ReqSetGain.create = function create(properties) { + return new ReqSetGain(properties); + }; + /** + * Encodes the specified ReqSetGain message. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encode + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + /** + * Encodes the specified ReqSetGain message, length delimited. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetGain message. + * @function verify + * @memberof ReqSetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + return null; + }; + /** + * Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGain} ReqSetGain + */ + ReqSetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGain) + return object; + var message = new $root.ReqSetGain(); + if (object.index != null) + message.index = object.index | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGain + * @static + * @param {ReqSetGain} message ReqSetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGain.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + /** + * Converts this ReqSetGain to JSON. + * @function toJSON + * @memberof ReqSetGain + * @instance + * @returns {Object.} JSON object + */ + ReqSetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetGain + * @function getTypeUrl + * @memberof ReqSetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGain"; + }; + return ReqSetGain; +})(); +$root.ReqGetGain = (function () { + /** + * Properties of a ReqGetGain. + * @exports IReqGetGain + * @interface IReqGetGain + */ + /** + * Constructs a new ReqGetGain. + * @exports ReqGetGain + * @classdesc Represents a ReqGetGain. + * @implements IReqGetGain + * @constructor + * @param {IReqGetGain=} [properties] Properties to set + */ + function ReqGetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetGain instance using the specified properties. + * @function create + * @memberof ReqGetGain + * @static + * @param {IReqGetGain=} [properties] Properties to set + * @returns {ReqGetGain} ReqGetGain instance + */ + ReqGetGain.create = function create(properties) { + return new ReqGetGain(properties); + }; + /** + * Encodes the specified ReqGetGain message. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encode + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetGain message, length delimited. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetGain message. + * @function verify + * @memberof ReqGetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGain} ReqGetGain + */ + ReqGetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGain) + return object; + return new $root.ReqGetGain(); + }; + /** + * Creates a plain object from a ReqGetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGain + * @static + * @param {ReqGetGain} message ReqGetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGain.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetGain to JSON. + * @function toJSON + * @memberof ReqGetGain + * @instance + * @returns {Object.} JSON object + */ + ReqGetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetGain + * @function getTypeUrl + * @memberof ReqGetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGain"; + }; + return ReqGetGain; +})(); +$root.ReqSetBrightness = (function () { + /** + * Properties of a ReqSetBrightness. + * @exports IReqSetBrightness + * @interface IReqSetBrightness + * @property {number|null} [value] ReqSetBrightness value + */ + /** + * Constructs a new ReqSetBrightness. + * @exports ReqSetBrightness + * @classdesc Represents a ReqSetBrightness. + * @implements IReqSetBrightness + * @constructor + * @param {IReqSetBrightness=} [properties] Properties to set + */ + function ReqSetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetBrightness value. + * @member {number} value + * @memberof ReqSetBrightness + * @instance + */ + ReqSetBrightness.prototype.value = 0; + /** + * Creates a new ReqSetBrightness instance using the specified properties. + * @function create + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness=} [properties] Properties to set + * @returns {ReqSetBrightness} ReqSetBrightness instance + */ + ReqSetBrightness.create = function create(properties) { + return new ReqSetBrightness(properties); + }; + /** + * Encodes the specified ReqSetBrightness message. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetBrightness message. + * @function verify + * @memberof ReqSetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetBrightness} ReqSetBrightness + */ + ReqSetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetBrightness) + return object; + var message = new $root.ReqSetBrightness(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetBrightness + * @static + * @param {ReqSetBrightness} message ReqSetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetBrightness.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetBrightness to JSON. + * @function toJSON + * @memberof ReqSetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqSetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetBrightness + * @function getTypeUrl + * @memberof ReqSetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetBrightness"; + }; + return ReqSetBrightness; +})(); +$root.ReqGetBrightness = (function () { + /** + * Properties of a ReqGetBrightness. + * @exports IReqGetBrightness + * @interface IReqGetBrightness + */ + /** + * Constructs a new ReqGetBrightness. + * @exports ReqGetBrightness + * @classdesc Represents a ReqGetBrightness. + * @implements IReqGetBrightness + * @constructor + * @param {IReqGetBrightness=} [properties] Properties to set + */ + function ReqGetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetBrightness instance using the specified properties. + * @function create + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness=} [properties] Properties to set + * @returns {ReqGetBrightness} ReqGetBrightness instance + */ + ReqGetBrightness.create = function create(properties) { + return new ReqGetBrightness(properties); + }; + /** + * Encodes the specified ReqGetBrightness message. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetBrightness message. + * @function verify + * @memberof ReqGetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetBrightness} ReqGetBrightness + */ + ReqGetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetBrightness) + return object; + return new $root.ReqGetBrightness(); + }; + /** + * Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetBrightness + * @static + * @param {ReqGetBrightness} message ReqGetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetBrightness.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetBrightness to JSON. + * @function toJSON + * @memberof ReqGetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqGetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetBrightness + * @function getTypeUrl + * @memberof ReqGetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetBrightness"; + }; + return ReqGetBrightness; +})(); +$root.ReqSetContrast = (function () { + /** + * Properties of a ReqSetContrast. + * @exports IReqSetContrast + * @interface IReqSetContrast + * @property {number|null} [value] ReqSetContrast value + */ + /** + * Constructs a new ReqSetContrast. + * @exports ReqSetContrast + * @classdesc Represents a ReqSetContrast. + * @implements IReqSetContrast + * @constructor + * @param {IReqSetContrast=} [properties] Properties to set + */ + function ReqSetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetContrast value. + * @member {number} value + * @memberof ReqSetContrast + * @instance + */ + ReqSetContrast.prototype.value = 0; + /** + * Creates a new ReqSetContrast instance using the specified properties. + * @function create + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast=} [properties] Properties to set + * @returns {ReqSetContrast} ReqSetContrast instance + */ + ReqSetContrast.create = function create(properties) { + return new ReqSetContrast(properties); + }; + /** + * Encodes the specified ReqSetContrast message. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encode + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetContrast message, length delimited. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetContrast message. + * @function verify + * @memberof ReqSetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqSetContrast} ReqSetContrast + */ + ReqSetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetContrast) + return object; + var message = new $root.ReqSetContrast(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetContrast + * @static + * @param {ReqSetContrast} message ReqSetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetContrast.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetContrast to JSON. + * @function toJSON + * @memberof ReqSetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqSetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetContrast + * @function getTypeUrl + * @memberof ReqSetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetContrast"; + }; + return ReqSetContrast; +})(); +$root.ReqGetContrast = (function () { + /** + * Properties of a ReqGetContrast. + * @exports IReqGetContrast + * @interface IReqGetContrast + */ + /** + * Constructs a new ReqGetContrast. + * @exports ReqGetContrast + * @classdesc Represents a ReqGetContrast. + * @implements IReqGetContrast + * @constructor + * @param {IReqGetContrast=} [properties] Properties to set + */ + function ReqGetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetContrast instance using the specified properties. + * @function create + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast=} [properties] Properties to set + * @returns {ReqGetContrast} ReqGetContrast instance + */ + ReqGetContrast.create = function create(properties) { + return new ReqGetContrast(properties); + }; + /** + * Encodes the specified ReqGetContrast message. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encode + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetContrast message, length delimited. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetContrast message. + * @function verify + * @memberof ReqGetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqGetContrast} ReqGetContrast + */ + ReqGetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetContrast) + return object; + return new $root.ReqGetContrast(); + }; + /** + * Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetContrast + * @static + * @param {ReqGetContrast} message ReqGetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetContrast.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetContrast to JSON. + * @function toJSON + * @memberof ReqGetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqGetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetContrast + * @function getTypeUrl + * @memberof ReqGetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetContrast"; + }; + return ReqGetContrast; +})(); +$root.ReqSetHue = (function () { + /** + * Properties of a ReqSetHue. + * @exports IReqSetHue + * @interface IReqSetHue + * @property {number|null} [value] ReqSetHue value + */ + /** + * Constructs a new ReqSetHue. + * @exports ReqSetHue + * @classdesc Represents a ReqSetHue. + * @implements IReqSetHue + * @constructor + * @param {IReqSetHue=} [properties] Properties to set + */ + function ReqSetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetHue value. + * @member {number} value + * @memberof ReqSetHue + * @instance + */ + ReqSetHue.prototype.value = 0; + /** + * Creates a new ReqSetHue instance using the specified properties. + * @function create + * @memberof ReqSetHue + * @static + * @param {IReqSetHue=} [properties] Properties to set + * @returns {ReqSetHue} ReqSetHue instance + */ + ReqSetHue.create = function create(properties) { + return new ReqSetHue(properties); + }; + /** + * Encodes the specified ReqSetHue message. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encode + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetHue message, length delimited. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetHue message. + * @function verify + * @memberof ReqSetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqSetHue} ReqSetHue + */ + ReqSetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetHue) + return object; + var message = new $root.ReqSetHue(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetHue + * @static + * @param {ReqSetHue} message ReqSetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetHue.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetHue to JSON. + * @function toJSON + * @memberof ReqSetHue + * @instance + * @returns {Object.} JSON object + */ + ReqSetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetHue + * @function getTypeUrl + * @memberof ReqSetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetHue"; + }; + return ReqSetHue; +})(); +$root.ReqGetHue = (function () { + /** + * Properties of a ReqGetHue. + * @exports IReqGetHue + * @interface IReqGetHue + */ + /** + * Constructs a new ReqGetHue. + * @exports ReqGetHue + * @classdesc Represents a ReqGetHue. + * @implements IReqGetHue + * @constructor + * @param {IReqGetHue=} [properties] Properties to set + */ + function ReqGetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetHue instance using the specified properties. + * @function create + * @memberof ReqGetHue + * @static + * @param {IReqGetHue=} [properties] Properties to set + * @returns {ReqGetHue} ReqGetHue instance + */ + ReqGetHue.create = function create(properties) { + return new ReqGetHue(properties); + }; + /** + * Encodes the specified ReqGetHue message. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encode + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetHue message, length delimited. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetHue message. + * @function verify + * @memberof ReqGetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqGetHue} ReqGetHue + */ + ReqGetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetHue) + return object; + return new $root.ReqGetHue(); + }; + /** + * Creates a plain object from a ReqGetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetHue + * @static + * @param {ReqGetHue} message ReqGetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetHue.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetHue to JSON. + * @function toJSON + * @memberof ReqGetHue + * @instance + * @returns {Object.} JSON object + */ + ReqGetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetHue + * @function getTypeUrl + * @memberof ReqGetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetHue"; + }; + return ReqGetHue; +})(); +$root.ReqSetSaturation = (function () { + /** + * Properties of a ReqSetSaturation. + * @exports IReqSetSaturation + * @interface IReqSetSaturation + * @property {number|null} [value] ReqSetSaturation value + */ + /** + * Constructs a new ReqSetSaturation. + * @exports ReqSetSaturation + * @classdesc Represents a ReqSetSaturation. + * @implements IReqSetSaturation + * @constructor + * @param {IReqSetSaturation=} [properties] Properties to set + */ + function ReqSetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetSaturation value. + * @member {number} value + * @memberof ReqSetSaturation + * @instance + */ + ReqSetSaturation.prototype.value = 0; + /** + * Creates a new ReqSetSaturation instance using the specified properties. + * @function create + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation=} [properties] Properties to set + * @returns {ReqSetSaturation} ReqSetSaturation instance + */ + ReqSetSaturation.create = function create(properties) { + return new ReqSetSaturation(properties); + }; + /** + * Encodes the specified ReqSetSaturation message. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetSaturation message. + * @function verify + * @memberof ReqSetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSaturation} ReqSetSaturation + */ + ReqSetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSaturation) + return object; + var message = new $root.ReqSetSaturation(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSaturation + * @static + * @param {ReqSetSaturation} message ReqSetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSaturation.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetSaturation to JSON. + * @function toJSON + * @memberof ReqSetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqSetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetSaturation + * @function getTypeUrl + * @memberof ReqSetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSaturation"; + }; + return ReqSetSaturation; +})(); +$root.ReqGetSaturation = (function () { + /** + * Properties of a ReqGetSaturation. + * @exports IReqGetSaturation + * @interface IReqGetSaturation + */ + /** + * Constructs a new ReqGetSaturation. + * @exports ReqGetSaturation + * @classdesc Represents a ReqGetSaturation. + * @implements IReqGetSaturation + * @constructor + * @param {IReqGetSaturation=} [properties] Properties to set + */ + function ReqGetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetSaturation instance using the specified properties. + * @function create + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation=} [properties] Properties to set + * @returns {ReqGetSaturation} ReqGetSaturation instance + */ + ReqGetSaturation.create = function create(properties) { + return new ReqGetSaturation(properties); + }; + /** + * Encodes the specified ReqGetSaturation message. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetSaturation message. + * @function verify + * @memberof ReqGetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSaturation} ReqGetSaturation + */ + ReqGetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSaturation) + return object; + return new $root.ReqGetSaturation(); + }; + /** + * Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSaturation + * @static + * @param {ReqGetSaturation} message ReqGetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSaturation.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetSaturation to JSON. + * @function toJSON + * @memberof ReqGetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqGetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetSaturation + * @function getTypeUrl + * @memberof ReqGetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSaturation"; + }; + return ReqGetSaturation; +})(); +$root.ReqSetSharpness = (function () { + /** + * Properties of a ReqSetSharpness. + * @exports IReqSetSharpness + * @interface IReqSetSharpness + * @property {number|null} [value] ReqSetSharpness value + */ + /** + * Constructs a new ReqSetSharpness. + * @exports ReqSetSharpness + * @classdesc Represents a ReqSetSharpness. + * @implements IReqSetSharpness + * @constructor + * @param {IReqSetSharpness=} [properties] Properties to set + */ + function ReqSetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetSharpness value. + * @member {number} value + * @memberof ReqSetSharpness + * @instance + */ + ReqSetSharpness.prototype.value = 0; + /** + * Creates a new ReqSetSharpness instance using the specified properties. + * @function create + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness=} [properties] Properties to set + * @returns {ReqSetSharpness} ReqSetSharpness instance + */ + ReqSetSharpness.create = function create(properties) { + return new ReqSetSharpness(properties); + }; + /** + * Encodes the specified ReqSetSharpness message. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetSharpness message. + * @function verify + * @memberof ReqSetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSharpness} ReqSetSharpness + */ + ReqSetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSharpness) + return object; + var message = new $root.ReqSetSharpness(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSharpness + * @static + * @param {ReqSetSharpness} message ReqSetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSharpness.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetSharpness to JSON. + * @function toJSON + * @memberof ReqSetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqSetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetSharpness + * @function getTypeUrl + * @memberof ReqSetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSharpness"; + }; + return ReqSetSharpness; +})(); +$root.ReqGetSharpness = (function () { + /** + * Properties of a ReqGetSharpness. + * @exports IReqGetSharpness + * @interface IReqGetSharpness + */ + /** + * Constructs a new ReqGetSharpness. + * @exports ReqGetSharpness + * @classdesc Represents a ReqGetSharpness. + * @implements IReqGetSharpness + * @constructor + * @param {IReqGetSharpness=} [properties] Properties to set + */ + function ReqGetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetSharpness instance using the specified properties. + * @function create + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness=} [properties] Properties to set + * @returns {ReqGetSharpness} ReqGetSharpness instance + */ + ReqGetSharpness.create = function create(properties) { + return new ReqGetSharpness(properties); + }; + /** + * Encodes the specified ReqGetSharpness message. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetSharpness message. + * @function verify + * @memberof ReqGetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSharpness} ReqGetSharpness + */ + ReqGetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSharpness) + return object; + return new $root.ReqGetSharpness(); + }; + /** + * Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSharpness + * @static + * @param {ReqGetSharpness} message ReqGetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSharpness.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetSharpness to JSON. + * @function toJSON + * @memberof ReqGetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqGetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetSharpness + * @function getTypeUrl + * @memberof ReqGetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSharpness"; + }; + return ReqGetSharpness; +})(); +$root.ReqSetWBMode = (function () { + /** + * Properties of a ReqSetWBMode. + * @exports IReqSetWBMode + * @interface IReqSetWBMode + * @property {number|null} [mode] ReqSetWBMode mode + */ + /** + * Constructs a new ReqSetWBMode. + * @exports ReqSetWBMode + * @classdesc Represents a ReqSetWBMode. + * @implements IReqSetWBMode + * @constructor + * @param {IReqSetWBMode=} [properties] Properties to set + */ + function ReqSetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetWBMode mode. + * @member {number} mode + * @memberof ReqSetWBMode + * @instance + */ + ReqSetWBMode.prototype.mode = 0; + /** + * Creates a new ReqSetWBMode instance using the specified properties. + * @function create + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode=} [properties] Properties to set + * @returns {ReqSetWBMode} ReqSetWBMode instance + */ + ReqSetWBMode.create = function create(properties) { + return new ReqSetWBMode(properties); + }; + /** + * Encodes the specified ReqSetWBMode message. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetWBMode message. + * @function verify + * @memberof ReqSetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBMode} ReqSetWBMode + */ + ReqSetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBMode) + return object; + var message = new $root.ReqSetWBMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBMode + * @static + * @param {ReqSetWBMode} message ReqSetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqSetWBMode to JSON. + * @function toJSON + * @memberof ReqSetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetWBMode + * @function getTypeUrl + * @memberof ReqSetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBMode"; + }; + return ReqSetWBMode; +})(); +$root.ReqGetWBMode = (function () { + /** + * Properties of a ReqGetWBMode. + * @exports IReqGetWBMode + * @interface IReqGetWBMode + */ + /** + * Constructs a new ReqGetWBMode. + * @exports ReqGetWBMode + * @classdesc Represents a ReqGetWBMode. + * @implements IReqGetWBMode + * @constructor + * @param {IReqGetWBMode=} [properties] Properties to set + */ + function ReqGetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetWBMode instance using the specified properties. + * @function create + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode=} [properties] Properties to set + * @returns {ReqGetWBMode} ReqGetWBMode instance + */ + ReqGetWBMode.create = function create(properties) { + return new ReqGetWBMode(properties); + }; + /** + * Encodes the specified ReqGetWBMode message. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetWBMode message. + * @function verify + * @memberof ReqGetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBMode} ReqGetWBMode + */ + ReqGetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBMode) + return object; + return new $root.ReqGetWBMode(); + }; + /** + * Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBMode + * @static + * @param {ReqGetWBMode} message ReqGetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBMode.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetWBMode to JSON. + * @function toJSON + * @memberof ReqGetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetWBMode + * @function getTypeUrl + * @memberof ReqGetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBMode"; + }; + return ReqGetWBMode; +})(); +$root.ReqSetWBSence = (function () { + /** + * Properties of a ReqSetWBSence. + * @exports IReqSetWBSence + * @interface IReqSetWBSence + * @property {number|null} [value] ReqSetWBSence value + */ + /** + * Constructs a new ReqSetWBSence. + * @exports ReqSetWBSence + * @classdesc Represents a ReqSetWBSence. + * @implements IReqSetWBSence + * @constructor + * @param {IReqSetWBSence=} [properties] Properties to set + */ + function ReqSetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetWBSence value. + * @member {number} value + * @memberof ReqSetWBSence + * @instance + */ + ReqSetWBSence.prototype.value = 0; + /** + * Creates a new ReqSetWBSence instance using the specified properties. + * @function create + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence=} [properties] Properties to set + * @returns {ReqSetWBSence} ReqSetWBSence instance + */ + ReqSetWBSence.create = function create(properties) { + return new ReqSetWBSence(properties); + }; + /** + * Encodes the specified ReqSetWBSence message. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetWBSence message. + * @function verify + * @memberof ReqSetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBSence} ReqSetWBSence + */ + ReqSetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBSence) + return object; + var message = new $root.ReqSetWBSence(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBSence + * @static + * @param {ReqSetWBSence} message ReqSetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBSence.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetWBSence to JSON. + * @function toJSON + * @memberof ReqSetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetWBSence + * @function getTypeUrl + * @memberof ReqSetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBSence"; + }; + return ReqSetWBSence; +})(); +$root.ReqGetWBSence = (function () { + /** + * Properties of a ReqGetWBSence. + * @exports IReqGetWBSence + * @interface IReqGetWBSence + */ + /** + * Constructs a new ReqGetWBSence. + * @exports ReqGetWBSence + * @classdesc Represents a ReqGetWBSence. + * @implements IReqGetWBSence + * @constructor + * @param {IReqGetWBSence=} [properties] Properties to set + */ + function ReqGetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetWBSence instance using the specified properties. + * @function create + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence=} [properties] Properties to set + * @returns {ReqGetWBSence} ReqGetWBSence instance + */ + ReqGetWBSence.create = function create(properties) { + return new ReqGetWBSence(properties); + }; + /** + * Encodes the specified ReqGetWBSence message. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetWBSence message. + * @function verify + * @memberof ReqGetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBSence} ReqGetWBSence + */ + ReqGetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBSence) + return object; + return new $root.ReqGetWBSence(); + }; + /** + * Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBSence + * @static + * @param {ReqGetWBSence} message ReqGetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBSence.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetWBSence to JSON. + * @function toJSON + * @memberof ReqGetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetWBSence + * @function getTypeUrl + * @memberof ReqGetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBSence"; + }; + return ReqGetWBSence; +})(); +$root.ReqSetWBCT = (function () { + /** + * Properties of a ReqSetWBCT. + * @exports IReqSetWBCT + * @interface IReqSetWBCT + * @property {number|null} [index] ReqSetWBCT index + */ + /** + * Constructs a new ReqSetWBCT. + * @exports ReqSetWBCT + * @classdesc Represents a ReqSetWBCT. + * @implements IReqSetWBCT + * @constructor + * @param {IReqSetWBCT=} [properties] Properties to set + */ + function ReqSetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetWBCT index. + * @member {number} index + * @memberof ReqSetWBCT + * @instance + */ + ReqSetWBCT.prototype.index = 0; + /** + * Creates a new ReqSetWBCT instance using the specified properties. + * @function create + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT=} [properties] Properties to set + * @returns {ReqSetWBCT} ReqSetWBCT instance + */ + ReqSetWBCT.create = function create(properties) { + return new ReqSetWBCT(properties); + }; + /** + * Encodes the specified ReqSetWBCT message. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + /** + * Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetWBCT message. + * @function verify + * @memberof ReqSetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + return null; + }; + /** + * Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBCT} ReqSetWBCT + */ + ReqSetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBCT) + return object; + var message = new $root.ReqSetWBCT(); + if (object.index != null) + message.index = object.index | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBCT + * @static + * @param {ReqSetWBCT} message ReqSetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBCT.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + /** + * Converts this ReqSetWBCT to JSON. + * @function toJSON + * @memberof ReqSetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetWBCT + * @function getTypeUrl + * @memberof ReqSetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBCT"; + }; + return ReqSetWBCT; +})(); +$root.ReqGetWBCT = (function () { + /** + * Properties of a ReqGetWBCT. + * @exports IReqGetWBCT + * @interface IReqGetWBCT + */ + /** + * Constructs a new ReqGetWBCT. + * @exports ReqGetWBCT + * @classdesc Represents a ReqGetWBCT. + * @implements IReqGetWBCT + * @constructor + * @param {IReqGetWBCT=} [properties] Properties to set + */ + function ReqGetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetWBCT instance using the specified properties. + * @function create + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT=} [properties] Properties to set + * @returns {ReqGetWBCT} ReqGetWBCT instance + */ + ReqGetWBCT.create = function create(properties) { + return new ReqGetWBCT(properties); + }; + /** + * Encodes the specified ReqGetWBCT message. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetWBCT message. + * @function verify + * @memberof ReqGetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBCT} ReqGetWBCT + */ + ReqGetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBCT) + return object; + return new $root.ReqGetWBCT(); + }; + /** + * Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBCT + * @static + * @param {ReqGetWBCT} message ReqGetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBCT.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetWBCT to JSON. + * @function toJSON + * @memberof ReqGetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetWBCT + * @function getTypeUrl + * @memberof ReqGetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBCT"; + }; + return ReqGetWBCT; +})(); +$root.ReqSetIrCut = (function () { + /** + * Properties of a ReqSetIrCut. + * @exports IReqSetIrCut + * @interface IReqSetIrCut + * @property {number|null} [value] ReqSetIrCut value + */ + /** + * Constructs a new ReqSetIrCut. + * @exports ReqSetIrCut + * @classdesc Represents a ReqSetIrCut. + * @implements IReqSetIrCut + * @constructor + * @param {IReqSetIrCut=} [properties] Properties to set + */ + function ReqSetIrCut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetIrCut value. + * @member {number} value + * @memberof ReqSetIrCut + * @instance + */ + ReqSetIrCut.prototype.value = 0; + /** + * Creates a new ReqSetIrCut instance using the specified properties. + * @function create + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut=} [properties] Properties to set + * @returns {ReqSetIrCut} ReqSetIrCut instance + */ + ReqSetIrCut.create = function create(properties) { + return new ReqSetIrCut(properties); + }; + /** + * Encodes the specified ReqSetIrCut message. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encode + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + /** + * Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer. + * @function decode + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetIrCut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetIrCut message. + * @function verify + * @memberof ReqSetIrCut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetIrCut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + return null; + }; + /** + * Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetIrCut + * @static + * @param {Object.} object Plain object + * @returns {ReqSetIrCut} ReqSetIrCut + */ + ReqSetIrCut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetIrCut) + return object; + var message = new $root.ReqSetIrCut(); + if (object.value != null) + message.value = object.value | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetIrCut + * @static + * @param {ReqSetIrCut} message ReqSetIrCut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetIrCut.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + /** + * Converts this ReqSetIrCut to JSON. + * @function toJSON + * @memberof ReqSetIrCut + * @instance + * @returns {Object.} JSON object + */ + ReqSetIrCut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetIrCut + * @function getTypeUrl + * @memberof ReqSetIrCut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetIrCut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetIrCut"; + }; + return ReqSetIrCut; +})(); +$root.ReqGetIrcut = (function () { + /** + * Properties of a ReqGetIrcut. + * @exports IReqGetIrcut + * @interface IReqGetIrcut + */ + /** + * Constructs a new ReqGetIrcut. + * @exports ReqGetIrcut + * @classdesc Represents a ReqGetIrcut. + * @implements IReqGetIrcut + * @constructor + * @param {IReqGetIrcut=} [properties] Properties to set + */ + function ReqGetIrcut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetIrcut instance using the specified properties. + * @function create + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut=} [properties] Properties to set + * @returns {ReqGetIrcut} ReqGetIrcut instance + */ + ReqGetIrcut.create = function create(properties) { + return new ReqGetIrcut(properties); + }; + /** + * Encodes the specified ReqGetIrcut message. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encode + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer. + * @function decode + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetIrcut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetIrcut message. + * @function verify + * @memberof ReqGetIrcut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetIrcut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetIrcut + * @static + * @param {Object.} object Plain object + * @returns {ReqGetIrcut} ReqGetIrcut + */ + ReqGetIrcut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetIrcut) + return object; + return new $root.ReqGetIrcut(); + }; + /** + * Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetIrcut + * @static + * @param {ReqGetIrcut} message ReqGetIrcut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetIrcut.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetIrcut to JSON. + * @function toJSON + * @memberof ReqGetIrcut + * @instance + * @returns {Object.} JSON object + */ + ReqGetIrcut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetIrcut + * @function getTypeUrl + * @memberof ReqGetIrcut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetIrcut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetIrcut"; + }; + return ReqGetIrcut; +})(); +$root.ReqStartTimeLapse = (function () { + /** + * Properties of a ReqStartTimeLapse. + * @exports IReqStartTimeLapse + * @interface IReqStartTimeLapse + */ + /** + * Constructs a new ReqStartTimeLapse. + * @exports ReqStartTimeLapse + * @classdesc Represents a ReqStartTimeLapse. + * @implements IReqStartTimeLapse + * @constructor + * @param {IReqStartTimeLapse=} [properties] Properties to set + */ + function ReqStartTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStartTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse=} [properties] Properties to set + * @returns {ReqStartTimeLapse} ReqStartTimeLapse instance + */ + ReqStartTimeLapse.create = function create(properties) { + return new ReqStartTimeLapse(properties); + }; + /** + * Encodes the specified ReqStartTimeLapse message. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartTimeLapse message. + * @function verify + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + */ + ReqStartTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTimeLapse) + return object; + return new $root.ReqStartTimeLapse(); + }; + /** + * Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTimeLapse + * @static + * @param {ReqStartTimeLapse} message ReqStartTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTimeLapse.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStartTimeLapse to JSON. + * @function toJSON + * @memberof ReqStartTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStartTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartTimeLapse + * @function getTypeUrl + * @memberof ReqStartTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTimeLapse"; + }; + return ReqStartTimeLapse; +})(); +$root.ReqStopTimeLapse = (function () { + /** + * Properties of a ReqStopTimeLapse. + * @exports IReqStopTimeLapse + * @interface IReqStopTimeLapse + */ + /** + * Constructs a new ReqStopTimeLapse. + * @exports ReqStopTimeLapse + * @classdesc Represents a ReqStopTimeLapse. + * @implements IReqStopTimeLapse + * @constructor + * @param {IReqStopTimeLapse=} [properties] Properties to set + */ + function ReqStopTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse=} [properties] Properties to set + * @returns {ReqStopTimeLapse} ReqStopTimeLapse instance + */ + ReqStopTimeLapse.create = function create(properties) { + return new ReqStopTimeLapse(properties); + }; + /** + * Encodes the specified ReqStopTimeLapse message. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopTimeLapse message. + * @function verify + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + */ + ReqStopTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTimeLapse) + return object; + return new $root.ReqStopTimeLapse(); + }; + /** + * Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTimeLapse + * @static + * @param {ReqStopTimeLapse} message ReqStopTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTimeLapse.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopTimeLapse to JSON. + * @function toJSON + * @memberof ReqStopTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStopTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopTimeLapse + * @function getTypeUrl + * @memberof ReqStopTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTimeLapse"; + }; + return ReqStopTimeLapse; +})(); +$root.ReqSetAllParams = (function () { + /** + * Properties of a ReqSetAllParams. + * @exports IReqSetAllParams + * @interface IReqSetAllParams + * @property {number|null} [expMode] ReqSetAllParams expMode + * @property {number|null} [expIndex] ReqSetAllParams expIndex + * @property {number|null} [gainMode] ReqSetAllParams gainMode + * @property {number|null} [gainIndex] ReqSetAllParams gainIndex + * @property {number|null} [ircutValue] ReqSetAllParams ircutValue + * @property {number|null} [wbMode] ReqSetAllParams wbMode + * @property {number|null} [wbIndexType] ReqSetAllParams wbIndexType + * @property {number|null} [wbIndex] ReqSetAllParams wbIndex + * @property {number|null} [brightness] ReqSetAllParams brightness + * @property {number|null} [contrast] ReqSetAllParams contrast + * @property {number|null} [hue] ReqSetAllParams hue + * @property {number|null} [saturation] ReqSetAllParams saturation + * @property {number|null} [sharpness] ReqSetAllParams sharpness + * @property {number|null} [jpgQuality] ReqSetAllParams jpgQuality + */ + /** + * Constructs a new ReqSetAllParams. + * @exports ReqSetAllParams + * @classdesc Represents a ReqSetAllParams. + * @implements IReqSetAllParams + * @constructor + * @param {IReqSetAllParams=} [properties] Properties to set + */ + function ReqSetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetAllParams expMode. + * @member {number} expMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expMode = 0; + /** + * ReqSetAllParams expIndex. + * @member {number} expIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expIndex = 0; + /** + * ReqSetAllParams gainMode. + * @member {number} gainMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainMode = 0; + /** + * ReqSetAllParams gainIndex. + * @member {number} gainIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainIndex = 0; + /** + * ReqSetAllParams ircutValue. + * @member {number} ircutValue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.ircutValue = 0; + /** + * ReqSetAllParams wbMode. + * @member {number} wbMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbMode = 0; + /** + * ReqSetAllParams wbIndexType. + * @member {number} wbIndexType + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndexType = 0; + /** + * ReqSetAllParams wbIndex. + * @member {number} wbIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndex = 0; + /** + * ReqSetAllParams brightness. + * @member {number} brightness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.brightness = 0; + /** + * ReqSetAllParams contrast. + * @member {number} contrast + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.contrast = 0; + /** + * ReqSetAllParams hue. + * @member {number} hue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.hue = 0; + /** + * ReqSetAllParams saturation. + * @member {number} saturation + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.saturation = 0; + /** + * ReqSetAllParams sharpness. + * @member {number} sharpness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.sharpness = 0; + /** + * ReqSetAllParams jpgQuality. + * @member {number} jpgQuality + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.jpgQuality = 0; + /** + * Creates a new ReqSetAllParams instance using the specified properties. + * @function create + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams=} [properties] Properties to set + * @returns {ReqSetAllParams} ReqSetAllParams instance + */ + ReqSetAllParams.create = function create(properties) { + return new ReqSetAllParams(properties); + }; + /** + * Encodes the specified ReqSetAllParams message. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.expMode != null && + Object.hasOwnProperty.call(message, "expMode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expMode); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.expIndex); + if (message.gainMode != null && + Object.hasOwnProperty.call(message, "gainMode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.gainMode); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.gainIndex); + if (message.ircutValue != null && + Object.hasOwnProperty.call(message, "ircutValue")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.ircutValue); + if (message.wbMode != null && Object.hasOwnProperty.call(message, "wbMode")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.wbMode); + if (message.wbIndexType != null && + Object.hasOwnProperty.call(message, "wbIndexType")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.wbIndexType); + if (message.wbIndex != null && + Object.hasOwnProperty.call(message, "wbIndex")) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.wbIndex); + if (message.brightness != null && + Object.hasOwnProperty.call(message, "brightness")) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.brightness); + if (message.contrast != null && + Object.hasOwnProperty.call(message, "contrast")) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.contrast); + if (message.hue != null && Object.hasOwnProperty.call(message, "hue")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.hue); + if (message.saturation != null && + Object.hasOwnProperty.call(message, "saturation")) + writer.uint32(/* id 12, wireType 0 =*/ 96).int32(message.saturation); + if (message.sharpness != null && + Object.hasOwnProperty.call(message, "sharpness")) + writer.uint32(/* id 13, wireType 0 =*/ 104).int32(message.sharpness); + if (message.jpgQuality != null && + Object.hasOwnProperty.call(message, "jpgQuality")) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.jpgQuality); + return writer; + }; + /** + * Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expMode = reader.int32(); + break; + } + case 2: { + message.expIndex = reader.int32(); + break; + } + case 3: { + message.gainMode = reader.int32(); + break; + } + case 4: { + message.gainIndex = reader.int32(); + break; + } + case 5: { + message.ircutValue = reader.int32(); + break; + } + case 6: { + message.wbMode = reader.int32(); + break; + } + case 7: { + message.wbIndexType = reader.int32(); + break; + } + case 8: { + message.wbIndex = reader.int32(); + break; + } + case 9: { + message.brightness = reader.int32(); + break; + } + case 10: { + message.contrast = reader.int32(); + break; + } + case 11: { + message.hue = reader.int32(); + break; + } + case 12: { + message.saturation = reader.int32(); + break; + } + case 13: { + message.sharpness = reader.int32(); + break; + } + case 14: { + message.jpgQuality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetAllParams message. + * @function verify + * @memberof ReqSetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expMode != null && message.hasOwnProperty("expMode")) + if (!$util.isInteger(message.expMode)) + return "expMode: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + if (!$util.isInteger(message.gainMode)) + return "gainMode: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + if (!$util.isInteger(message.ircutValue)) + return "ircutValue: integer expected"; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + if (!$util.isInteger(message.wbMode)) + return "wbMode: integer expected"; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + if (!$util.isInteger(message.wbIndexType)) + return "wbIndexType: integer expected"; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + if (!$util.isInteger(message.wbIndex)) + return "wbIndex: integer expected"; + if (message.brightness != null && message.hasOwnProperty("brightness")) + if (!$util.isInteger(message.brightness)) + return "brightness: integer expected"; + if (message.contrast != null && message.hasOwnProperty("contrast")) + if (!$util.isInteger(message.contrast)) + return "contrast: integer expected"; + if (message.hue != null && message.hasOwnProperty("hue")) + if (!$util.isInteger(message.hue)) + return "hue: integer expected"; + if (message.saturation != null && message.hasOwnProperty("saturation")) + if (!$util.isInteger(message.saturation)) + return "saturation: integer expected"; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + if (!$util.isInteger(message.sharpness)) + return "sharpness: integer expected"; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + if (!$util.isInteger(message.jpgQuality)) + return "jpgQuality: integer expected"; + return null; + }; + /** + * Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetAllParams} ReqSetAllParams + */ + ReqSetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetAllParams) + return object; + var message = new $root.ReqSetAllParams(); + if (object.expMode != null) + message.expMode = object.expMode | 0; + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainMode != null) + message.gainMode = object.gainMode | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.ircutValue != null) + message.ircutValue = object.ircutValue | 0; + if (object.wbMode != null) + message.wbMode = object.wbMode | 0; + if (object.wbIndexType != null) + message.wbIndexType = object.wbIndexType | 0; + if (object.wbIndex != null) + message.wbIndex = object.wbIndex | 0; + if (object.brightness != null) + message.brightness = object.brightness | 0; + if (object.contrast != null) + message.contrast = object.contrast | 0; + if (object.hue != null) + message.hue = object.hue | 0; + if (object.saturation != null) + message.saturation = object.saturation | 0; + if (object.sharpness != null) + message.sharpness = object.sharpness | 0; + if (object.jpgQuality != null) + message.jpgQuality = object.jpgQuality | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetAllParams + * @static + * @param {ReqSetAllParams} message ReqSetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetAllParams.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.expMode = 0; + object.expIndex = 0; + object.gainMode = 0; + object.gainIndex = 0; + object.ircutValue = 0; + object.wbMode = 0; + object.wbIndexType = 0; + object.wbIndex = 0; + object.brightness = 0; + object.contrast = 0; + object.hue = 0; + object.saturation = 0; + object.sharpness = 0; + object.jpgQuality = 0; + } + if (message.expMode != null && message.hasOwnProperty("expMode")) + object.expMode = message.expMode; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + object.gainMode = message.gainMode; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + object.ircutValue = message.ircutValue; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + object.wbMode = message.wbMode; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + object.wbIndexType = message.wbIndexType; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + object.wbIndex = message.wbIndex; + if (message.brightness != null && message.hasOwnProperty("brightness")) + object.brightness = message.brightness; + if (message.contrast != null && message.hasOwnProperty("contrast")) + object.contrast = message.contrast; + if (message.hue != null && message.hasOwnProperty("hue")) + object.hue = message.hue; + if (message.saturation != null && message.hasOwnProperty("saturation")) + object.saturation = message.saturation; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + object.sharpness = message.sharpness; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + object.jpgQuality = message.jpgQuality; + return object; + }; + /** + * Converts this ReqSetAllParams to JSON. + * @function toJSON + * @memberof ReqSetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetAllParams + * @function getTypeUrl + * @memberof ReqSetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetAllParams"; + }; + return ReqSetAllParams; +})(); +$root.ReqGetAllParams = (function () { + /** + * Properties of a ReqGetAllParams. + * @exports IReqGetAllParams + * @interface IReqGetAllParams + */ + /** + * Constructs a new ReqGetAllParams. + * @exports ReqGetAllParams + * @classdesc Represents a ReqGetAllParams. + * @implements IReqGetAllParams + * @constructor + * @param {IReqGetAllParams=} [properties] Properties to set + */ + function ReqGetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetAllParams instance using the specified properties. + * @function create + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams=} [properties] Properties to set + * @returns {ReqGetAllParams} ReqGetAllParams instance + */ + ReqGetAllParams.create = function create(properties) { + return new ReqGetAllParams(properties); + }; + /** + * Encodes the specified ReqGetAllParams message. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetAllParams message. + * @function verify + * @memberof ReqGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllParams} ReqGetAllParams + */ + ReqGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllParams) + return object; + return new $root.ReqGetAllParams(); + }; + /** + * Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllParams + * @static + * @param {ReqGetAllParams} message ReqGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllParams.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetAllParams to JSON. + * @function toJSON + * @memberof ReqGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetAllParams + * @function getTypeUrl + * @memberof ReqGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllParams"; + }; + return ReqGetAllParams; +})(); +$root.ResGetAllParams = (function () { + /** + * Properties of a ResGetAllParams. + * @exports IResGetAllParams + * @interface IResGetAllParams + * @property {Array.|null} [allParams] ResGetAllParams allParams + * @property {number|null} [code] ResGetAllParams code + */ + /** + * Constructs a new ResGetAllParams. + * @exports ResGetAllParams + * @classdesc Represents a ResGetAllParams. + * @implements IResGetAllParams + * @constructor + * @param {IResGetAllParams=} [properties] Properties to set + */ + function ResGetAllParams(properties) { + this.allParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetAllParams allParams. + * @member {Array.} allParams + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.allParams = $util.emptyArray; + /** + * ResGetAllParams code. + * @member {number} code + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.code = 0; + /** + * Creates a new ResGetAllParams instance using the specified properties. + * @function create + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams=} [properties] Properties to set + * @returns {ResGetAllParams} ResGetAllParams instance + */ + ResGetAllParams.create = function create(properties) { + return new ResGetAllParams(properties); + }; + /** + * Encodes the specified ResGetAllParams message. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.allParams != null && message.allParams.length) + for (var i = 0; i < message.allParams.length; ++i) + $root.CommonParam.encode(message.allParams[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResGetAllParams message, length delimited. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allParams && message.allParams.length)) + message.allParams = []; + message.allParams.push($root.CommonParam.decode(reader, reader.uint32())); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetAllParams message. + * @function verify + * @memberof ResGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.allParams != null && message.hasOwnProperty("allParams")) { + if (!Array.isArray(message.allParams)) + return "allParams: array expected"; + for (var i = 0; i < message.allParams.length; ++i) { + var error = $root.CommonParam.verify(message.allParams[i]); + if (error) + return "allParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllParams} ResGetAllParams + */ + ResGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllParams) + return object; + var message = new $root.ResGetAllParams(); + if (object.allParams) { + if (!Array.isArray(object.allParams)) + throw TypeError(".ResGetAllParams.allParams: array expected"); + message.allParams = []; + for (var i = 0; i < object.allParams.length; ++i) { + if (typeof object.allParams[i] !== "object") + throw TypeError(".ResGetAllParams.allParams: object expected"); + message.allParams[i] = $root.CommonParam.fromObject(object.allParams[i]); + } + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllParams + * @static + * @param {ResGetAllParams} message ResGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllParams.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.allParams = []; + if (options.defaults) + object.code = 0; + if (message.allParams && message.allParams.length) { + object.allParams = []; + for (var j = 0; j < message.allParams.length; ++j) + object.allParams[j] = $root.CommonParam.toObject(message.allParams[j], options); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResGetAllParams to JSON. + * @function toJSON + * @memberof ResGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetAllParams + * @function getTypeUrl + * @memberof ResGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllParams"; + }; + return ResGetAllParams; +})(); +$root.ReqSetFeatureParams = (function () { + /** + * Properties of a ReqSetFeatureParams. + * @exports IReqSetFeatureParams + * @interface IReqSetFeatureParams + * @property {ICommonParam|null} [param] ReqSetFeatureParams param + */ + /** + * Constructs a new ReqSetFeatureParams. + * @exports ReqSetFeatureParams + * @classdesc Represents a ReqSetFeatureParams. + * @implements IReqSetFeatureParams + * @constructor + * @param {IReqSetFeatureParams=} [properties] Properties to set + */ + function ReqSetFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetFeatureParams param. + * @member {ICommonParam|null|undefined} param + * @memberof ReqSetFeatureParams + * @instance + */ + ReqSetFeatureParams.prototype.param = null; + /** + * Creates a new ReqSetFeatureParams instance using the specified properties. + * @function create + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams=} [properties] Properties to set + * @returns {ReqSetFeatureParams} ReqSetFeatureParams instance + */ + ReqSetFeatureParams.create = function create(properties) { + return new ReqSetFeatureParams(properties); + }; + /** + * Encodes the specified ReqSetFeatureParams message. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.param != null && Object.hasOwnProperty.call(message, "param")) + $root.CommonParam.encode(message.param, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.param = $root.CommonParam.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetFeatureParams message. + * @function verify + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + var error = $root.CommonParam.verify(message.param); + if (error) + return "param." + error; + } + return null; + }; + /** + * Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + */ + ReqSetFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetFeatureParams) + return object; + var message = new $root.ReqSetFeatureParams(); + if (object.param != null) { + if (typeof object.param !== "object") + throw TypeError(".ReqSetFeatureParams.param: object expected"); + message.param = $root.CommonParam.fromObject(object.param); + } + return message; + }; + /** + * Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetFeatureParams + * @static + * @param {ReqSetFeatureParams} message ReqSetFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetFeatureParams.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.param = null; + if (message.param != null && message.hasOwnProperty("param")) + object.param = $root.CommonParam.toObject(message.param, options); + return object; + }; + /** + * Converts this ReqSetFeatureParams to JSON. + * @function toJSON + * @memberof ReqSetFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetFeatureParams + * @function getTypeUrl + * @memberof ReqSetFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetFeatureParams"; + }; + return ReqSetFeatureParams; +})(); +$root.ReqGetAllFeatureParams = (function () { + /** + * Properties of a ReqGetAllFeatureParams. + * @exports IReqGetAllFeatureParams + * @interface IReqGetAllFeatureParams + */ + /** + * Constructs a new ReqGetAllFeatureParams. + * @exports ReqGetAllFeatureParams + * @classdesc Represents a ReqGetAllFeatureParams. + * @implements IReqGetAllFeatureParams + * @constructor + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + */ + function ReqGetAllFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams instance + */ + ReqGetAllFeatureParams.create = function create(properties) { + return new ReqGetAllFeatureParams(properties); + }; + /** + * Encodes the specified ReqGetAllFeatureParams message. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetAllFeatureParams message. + * @function verify + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + */ + ReqGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllFeatureParams) + return object; + return new $root.ReqGetAllFeatureParams(); + }; + /** + * Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {ReqGetAllFeatureParams} message ReqGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllFeatureParams.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ReqGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetAllFeatureParams + * @function getTypeUrl + * @memberof ReqGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllFeatureParams"; + }; + return ReqGetAllFeatureParams; +})(); +$root.ResGetAllFeatureParams = (function () { + /** + * Properties of a ResGetAllFeatureParams. + * @exports IResGetAllFeatureParams + * @interface IResGetAllFeatureParams + * @property {Array.|null} [allFeatureParams] ResGetAllFeatureParams allFeatureParams + * @property {number|null} [code] ResGetAllFeatureParams code + */ + /** + * Constructs a new ResGetAllFeatureParams. + * @exports ResGetAllFeatureParams + * @classdesc Represents a ResGetAllFeatureParams. + * @implements IResGetAllFeatureParams + * @constructor + * @param {IResGetAllFeatureParams=} [properties] Properties to set + */ + function ResGetAllFeatureParams(properties) { + this.allFeatureParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetAllFeatureParams allFeatureParams. + * @member {Array.} allFeatureParams + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.allFeatureParams = $util.emptyArray; + /** + * ResGetAllFeatureParams code. + * @member {number} code + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.code = 0; + /** + * Creates a new ResGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams=} [properties] Properties to set + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams instance + */ + ResGetAllFeatureParams.create = function create(properties) { + return new ResGetAllFeatureParams(properties); + }; + /** + * Encodes the specified ResGetAllFeatureParams message. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.allFeatureParams != null && message.allFeatureParams.length) + for (var i = 0; i < message.allFeatureParams.length; ++i) + $root.CommonParam.encode(message.allFeatureParams[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allFeatureParams && message.allFeatureParams.length)) + message.allFeatureParams = []; + message.allFeatureParams.push($root.CommonParam.decode(reader, reader.uint32())); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetAllFeatureParams message. + * @function verify + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.allFeatureParams != null && + message.hasOwnProperty("allFeatureParams")) { + if (!Array.isArray(message.allFeatureParams)) + return "allFeatureParams: array expected"; + for (var i = 0; i < message.allFeatureParams.length; ++i) { + var error = $root.CommonParam.verify(message.allFeatureParams[i]); + if (error) + return "allFeatureParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + */ + ResGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllFeatureParams) + return object; + var message = new $root.ResGetAllFeatureParams(); + if (object.allFeatureParams) { + if (!Array.isArray(object.allFeatureParams)) + throw TypeError(".ResGetAllFeatureParams.allFeatureParams: array expected"); + message.allFeatureParams = []; + for (var i = 0; i < object.allFeatureParams.length; ++i) { + if (typeof object.allFeatureParams[i] !== "object") + throw TypeError(".ResGetAllFeatureParams.allFeatureParams: object expected"); + message.allFeatureParams[i] = $root.CommonParam.fromObject(object.allFeatureParams[i]); + } + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllFeatureParams + * @static + * @param {ResGetAllFeatureParams} message ResGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllFeatureParams.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.allFeatureParams = []; + if (options.defaults) + object.code = 0; + if (message.allFeatureParams && message.allFeatureParams.length) { + object.allFeatureParams = []; + for (var j = 0; j < message.allFeatureParams.length; ++j) + object.allFeatureParams[j] = $root.CommonParam.toObject(message.allFeatureParams[j], options); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ResGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetAllFeatureParams + * @function getTypeUrl + * @memberof ResGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllFeatureParams"; + }; + return ResGetAllFeatureParams; +})(); +$root.ReqGetSystemWorkingState = (function () { + /** + * Properties of a ReqGetSystemWorkingState. + * @exports IReqGetSystemWorkingState + * @interface IReqGetSystemWorkingState + */ + /** + * Constructs a new ReqGetSystemWorkingState. + * @exports ReqGetSystemWorkingState + * @classdesc Represents a ReqGetSystemWorkingState. + * @implements IReqGetSystemWorkingState + * @constructor + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + */ + function ReqGetSystemWorkingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetSystemWorkingState instance using the specified properties. + * @function create + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState instance + */ + ReqGetSystemWorkingState.create = function create(properties) { + return new ReqGetSystemWorkingState(properties); + }; + /** + * Encodes the specified ReqGetSystemWorkingState message. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encode + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetSystemWorkingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetSystemWorkingState message. + * @function verify + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSystemWorkingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + */ + ReqGetSystemWorkingState.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSystemWorkingState) + return object; + return new $root.ReqGetSystemWorkingState(); + }; + /** + * Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {ReqGetSystemWorkingState} message ReqGetSystemWorkingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSystemWorkingState.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetSystemWorkingState to JSON. + * @function toJSON + * @memberof ReqGetSystemWorkingState + * @instance + * @returns {Object.} JSON object + */ + ReqGetSystemWorkingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetSystemWorkingState + * @function getTypeUrl + * @memberof ReqGetSystemWorkingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSystemWorkingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSystemWorkingState"; + }; + return ReqGetSystemWorkingState; +})(); +$root.ReqSetJpgQuality = (function () { + /** + * Properties of a ReqSetJpgQuality. + * @exports IReqSetJpgQuality + * @interface IReqSetJpgQuality + * @property {number|null} [quality] ReqSetJpgQuality quality + */ + /** + * Constructs a new ReqSetJpgQuality. + * @exports ReqSetJpgQuality + * @classdesc Represents a ReqSetJpgQuality. + * @implements IReqSetJpgQuality + * @constructor + * @param {IReqSetJpgQuality=} [properties] Properties to set + */ + function ReqSetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetJpgQuality quality. + * @member {number} quality + * @memberof ReqSetJpgQuality + * @instance + */ + ReqSetJpgQuality.prototype.quality = 0; + /** + * Creates a new ReqSetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality=} [properties] Properties to set + * @returns {ReqSetJpgQuality} ReqSetJpgQuality instance + */ + ReqSetJpgQuality.create = function create(properties) { + return new ReqSetJpgQuality(properties); + }; + /** + * Encodes the specified ReqSetJpgQuality message. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.quality != null && + Object.hasOwnProperty.call(message, "quality")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.quality); + return writer; + }; + /** + * Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.quality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetJpgQuality message. + * @function verify + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.quality != null && message.hasOwnProperty("quality")) + if (!$util.isInteger(message.quality)) + return "quality: integer expected"; + return null; + }; + /** + * Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + */ + ReqSetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetJpgQuality) + return object; + var message = new $root.ReqSetJpgQuality(); + if (object.quality != null) + message.quality = object.quality | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetJpgQuality + * @static + * @param {ReqSetJpgQuality} message ReqSetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetJpgQuality.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.quality = 0; + if (message.quality != null && message.hasOwnProperty("quality")) + object.quality = message.quality; + return object; + }; + /** + * Converts this ReqSetJpgQuality to JSON. + * @function toJSON + * @memberof ReqSetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqSetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetJpgQuality + * @function getTypeUrl + * @memberof ReqSetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetJpgQuality"; + }; + return ReqSetJpgQuality; +})(); +$root.ReqGetJpgQuality = (function () { + /** + * Properties of a ReqGetJpgQuality. + * @exports IReqGetJpgQuality + * @interface IReqGetJpgQuality + */ + /** + * Constructs a new ReqGetJpgQuality. + * @exports ReqGetJpgQuality + * @classdesc Represents a ReqGetJpgQuality. + * @implements IReqGetJpgQuality + * @constructor + * @param {IReqGetJpgQuality=} [properties] Properties to set + */ + function ReqGetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality=} [properties] Properties to set + * @returns {ReqGetJpgQuality} ReqGetJpgQuality instance + */ + ReqGetJpgQuality.create = function create(properties) { + return new ReqGetJpgQuality(properties); + }; + /** + * Encodes the specified ReqGetJpgQuality message. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetJpgQuality message. + * @function verify + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + */ + ReqGetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetJpgQuality) + return object; + return new $root.ReqGetJpgQuality(); + }; + /** + * Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetJpgQuality + * @static + * @param {ReqGetJpgQuality} message ReqGetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetJpgQuality.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetJpgQuality to JSON. + * @function toJSON + * @memberof ReqGetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqGetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetJpgQuality + * @function getTypeUrl + * @memberof ReqGetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetJpgQuality"; + }; + return ReqGetJpgQuality; +})(); +$root.ReqPhotoRaw = (function () { + /** + * Properties of a ReqPhotoRaw. + * @exports IReqPhotoRaw + * @interface IReqPhotoRaw + */ + /** + * Constructs a new ReqPhotoRaw. + * @exports ReqPhotoRaw + * @classdesc Represents a ReqPhotoRaw. + * @implements IReqPhotoRaw + * @constructor + * @param {IReqPhotoRaw=} [properties] Properties to set + */ + function ReqPhotoRaw(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqPhotoRaw instance using the specified properties. + * @function create + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw=} [properties] Properties to set + * @returns {ReqPhotoRaw} ReqPhotoRaw instance + */ + ReqPhotoRaw.create = function create(properties) { + return new ReqPhotoRaw(properties); + }; + /** + * Encodes the specified ReqPhotoRaw message. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encode + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer. + * @function decode + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqPhotoRaw(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqPhotoRaw message. + * @function verify + * @memberof ReqPhotoRaw + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhotoRaw.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhotoRaw + * @static + * @param {Object.} object Plain object + * @returns {ReqPhotoRaw} ReqPhotoRaw + */ + ReqPhotoRaw.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhotoRaw) + return object; + return new $root.ReqPhotoRaw(); + }; + /** + * Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhotoRaw + * @static + * @param {ReqPhotoRaw} message ReqPhotoRaw + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhotoRaw.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqPhotoRaw to JSON. + * @function toJSON + * @memberof ReqPhotoRaw + * @instance + * @returns {Object.} JSON object + */ + ReqPhotoRaw.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqPhotoRaw + * @function getTypeUrl + * @memberof ReqPhotoRaw + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhotoRaw.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhotoRaw"; + }; + return ReqPhotoRaw; +})(); +$root.ReqSetRtspBitRateType = (function () { + /** + * Properties of a ReqSetRtspBitRateType. + * @exports IReqSetRtspBitRateType + * @interface IReqSetRtspBitRateType + * @property {number|null} [bitrateType] ReqSetRtspBitRateType bitrateType + */ + /** + * Constructs a new ReqSetRtspBitRateType. + * @exports ReqSetRtspBitRateType + * @classdesc Represents a ReqSetRtspBitRateType. + * @implements IReqSetRtspBitRateType + * @constructor + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + */ + function ReqSetRtspBitRateType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetRtspBitRateType bitrateType. + * @member {number} bitrateType + * @memberof ReqSetRtspBitRateType + * @instance + */ + ReqSetRtspBitRateType.prototype.bitrateType = 0; + /** + * Creates a new ReqSetRtspBitRateType instance using the specified properties. + * @function create + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType instance + */ + ReqSetRtspBitRateType.create = function create(properties) { + return new ReqSetRtspBitRateType(properties); + }; + /** + * Encodes the specified ReqSetRtspBitRateType message. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encode + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.bitrateType != null && + Object.hasOwnProperty.call(message, "bitrateType")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.bitrateType); + return writer; + }; + /** + * Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer. + * @function decode + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetRtspBitRateType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.bitrateType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetRtspBitRateType message. + * @function verify + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetRtspBitRateType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + if (!$util.isInteger(message.bitrateType)) + return "bitrateType: integer expected"; + return null; + }; + /** + * Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} object Plain object + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + */ + ReqSetRtspBitRateType.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetRtspBitRateType) + return object; + var message = new $root.ReqSetRtspBitRateType(); + if (object.bitrateType != null) + message.bitrateType = object.bitrateType | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {ReqSetRtspBitRateType} message ReqSetRtspBitRateType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetRtspBitRateType.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.bitrateType = 0; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + object.bitrateType = message.bitrateType; + return object; + }; + /** + * Converts this ReqSetRtspBitRateType to JSON. + * @function toJSON + * @memberof ReqSetRtspBitRateType + * @instance + * @returns {Object.} JSON object + */ + ReqSetRtspBitRateType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetRtspBitRateType + * @function getTypeUrl + * @memberof ReqSetRtspBitRateType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetRtspBitRateType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetRtspBitRateType"; + }; + return ReqSetRtspBitRateType; +})(); +$root.ReqDisableAllIspProcessing = (function () { + /** + * Properties of a ReqDisableAllIspProcessing. + * @exports IReqDisableAllIspProcessing + * @interface IReqDisableAllIspProcessing + */ + /** + * Constructs a new ReqDisableAllIspProcessing. + * @exports ReqDisableAllIspProcessing + * @classdesc Represents a ReqDisableAllIspProcessing. + * @implements IReqDisableAllIspProcessing + * @constructor + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + */ + function ReqDisableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqDisableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing instance + */ + ReqDisableAllIspProcessing.create = function create(properties) { + return new ReqDisableAllIspProcessing(properties); + }; + /** + * Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDisableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDisableAllIspProcessing message. + * @function verify + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + */ + ReqDisableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableAllIspProcessing) + return object; + return new $root.ReqDisableAllIspProcessing(); + }; + /** + * Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {ReqDisableAllIspProcessing} message ReqDisableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableAllIspProcessing.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqDisableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqDisableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqDisableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDisableAllIspProcessing + * @function getTypeUrl + * @memberof ReqDisableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableAllIspProcessing"; + }; + return ReqDisableAllIspProcessing; +})(); +$root.ReqEnableAllIspProcessing = (function () { + /** + * Properties of a ReqEnableAllIspProcessing. + * @exports IReqEnableAllIspProcessing + * @interface IReqEnableAllIspProcessing + */ + /** + * Constructs a new ReqEnableAllIspProcessing. + * @exports ReqEnableAllIspProcessing + * @classdesc Represents a ReqEnableAllIspProcessing. + * @implements IReqEnableAllIspProcessing + * @constructor + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + */ + function ReqEnableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqEnableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing instance + */ + ReqEnableAllIspProcessing.create = function create(properties) { + return new ReqEnableAllIspProcessing(properties); + }; + /** + * Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqEnableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqEnableAllIspProcessing message. + * @function verify + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqEnableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + */ + ReqEnableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqEnableAllIspProcessing) + return object; + return new $root.ReqEnableAllIspProcessing(); + }; + /** + * Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {ReqEnableAllIspProcessing} message ReqEnableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqEnableAllIspProcessing.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqEnableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqEnableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqEnableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqEnableAllIspProcessing + * @function getTypeUrl + * @memberof ReqEnableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqEnableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqEnableAllIspProcessing"; + }; + return ReqEnableAllIspProcessing; +})(); +$root.ReqManualSingleStepFocus = (function () { + /** + * Properties of a ReqManualSingleStepFocus. + * @exports IReqManualSingleStepFocus + * @interface IReqManualSingleStepFocus + * @property {number|null} [direction] ReqManualSingleStepFocus direction + */ + /** + * Constructs a new ReqManualSingleStepFocus. + * @exports ReqManualSingleStepFocus + * @classdesc Represents a ReqManualSingleStepFocus. + * @implements IReqManualSingleStepFocus + * @constructor + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + */ + function ReqManualSingleStepFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqManualSingleStepFocus direction. + * @member {number} direction + * @memberof ReqManualSingleStepFocus + * @instance + */ + ReqManualSingleStepFocus.prototype.direction = 0; + /** + * Creates a new ReqManualSingleStepFocus instance using the specified properties. + * @function create + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus instance + */ + ReqManualSingleStepFocus.create = function create(properties) { + return new ReqManualSingleStepFocus(properties); + }; + /** + * Encodes the specified ReqManualSingleStepFocus message. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + /** + * Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqManualSingleStepFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqManualSingleStepFocus message. + * @function verify + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualSingleStepFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + /** + * Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + */ + ReqManualSingleStepFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualSingleStepFocus) + return object; + var message = new $root.ReqManualSingleStepFocus(); + if (object.direction != null) + message.direction = object.direction >>> 0; + return message; + }; + /** + * Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {ReqManualSingleStepFocus} message ReqManualSingleStepFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualSingleStepFocus.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + /** + * Converts this ReqManualSingleStepFocus to JSON. + * @function toJSON + * @memberof ReqManualSingleStepFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualSingleStepFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqManualSingleStepFocus + * @function getTypeUrl + * @memberof ReqManualSingleStepFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualSingleStepFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualSingleStepFocus"; + }; + return ReqManualSingleStepFocus; +})(); +$root.ReqManualContinuFocus = (function () { + /** + * Properties of a ReqManualContinuFocus. + * @exports IReqManualContinuFocus + * @interface IReqManualContinuFocus + * @property {number|null} [direction] ReqManualContinuFocus direction + */ + /** + * Constructs a new ReqManualContinuFocus. + * @exports ReqManualContinuFocus + * @classdesc Represents a ReqManualContinuFocus. + * @implements IReqManualContinuFocus + * @constructor + * @param {IReqManualContinuFocus=} [properties] Properties to set + */ + function ReqManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqManualContinuFocus direction. + * @member {number} direction + * @memberof ReqManualContinuFocus + * @instance + */ + ReqManualContinuFocus.prototype.direction = 0; + /** + * Creates a new ReqManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus=} [properties] Properties to set + * @returns {ReqManualContinuFocus} ReqManualContinuFocus instance + */ + ReqManualContinuFocus.create = function create(properties) { + return new ReqManualContinuFocus(properties); + }; + /** + * Encodes the specified ReqManualContinuFocus message. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + /** + * Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqManualContinuFocus message. + * @function verify + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + /** + * Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + */ + ReqManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualContinuFocus) + return object; + var message = new $root.ReqManualContinuFocus(); + if (object.direction != null) + message.direction = object.direction >>> 0; + return message; + }; + /** + * Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualContinuFocus + * @static + * @param {ReqManualContinuFocus} message ReqManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualContinuFocus.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + /** + * Converts this ReqManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqManualContinuFocus + * @function getTypeUrl + * @memberof ReqManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualContinuFocus"; + }; + return ReqManualContinuFocus; +})(); +$root.ReqStopManualContinuFocus = (function () { + /** + * Properties of a ReqStopManualContinuFocus. + * @exports IReqStopManualContinuFocus + * @interface IReqStopManualContinuFocus + */ + /** + * Constructs a new ReqStopManualContinuFocus. + * @exports ReqStopManualContinuFocus + * @classdesc Represents a ReqStopManualContinuFocus. + * @implements IReqStopManualContinuFocus + * @constructor + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + */ + function ReqStopManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus instance + */ + ReqStopManualContinuFocus.create = function create(properties) { + return new ReqStopManualContinuFocus(properties); + }; + /** + * Encodes the specified ReqStopManualContinuFocus message. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopManualContinuFocus message. + * @function verify + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + */ + ReqStopManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopManualContinuFocus) + return object; + return new $root.ReqStopManualContinuFocus(); + }; + /** + * Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {ReqStopManualContinuFocus} message ReqStopManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopManualContinuFocus.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqStopManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopManualContinuFocus + * @function getTypeUrl + * @memberof ReqStopManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopManualContinuFocus"; + }; + return ReqStopManualContinuFocus; +})(); +$root.ReqNormalAutoFocus = (function () { + /** + * Properties of a ReqNormalAutoFocus. + * @exports IReqNormalAutoFocus + * @interface IReqNormalAutoFocus + * @property {number|null} [mode] ReqNormalAutoFocus mode + * @property {number|null} [centerX] ReqNormalAutoFocus centerX + * @property {number|null} [centerY] ReqNormalAutoFocus centerY + */ + /** + * Constructs a new ReqNormalAutoFocus. + * @exports ReqNormalAutoFocus + * @classdesc Represents a ReqNormalAutoFocus. + * @implements IReqNormalAutoFocus + * @constructor + * @param {IReqNormalAutoFocus=} [properties] Properties to set + */ + function ReqNormalAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqNormalAutoFocus mode. + * @member {number} mode + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.mode = 0; + /** + * ReqNormalAutoFocus centerX. + * @member {number} centerX + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerX = 0; + /** + * ReqNormalAutoFocus centerY. + * @member {number} centerY + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerY = 0; + /** + * Creates a new ReqNormalAutoFocus instance using the specified properties. + * @function create + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus=} [properties] Properties to set + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus instance + */ + ReqNormalAutoFocus.create = function create(properties) { + return new ReqNormalAutoFocus(properties); + }; + /** + * Encodes the specified ReqNormalAutoFocus message. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + if (message.centerX != null && + Object.hasOwnProperty.call(message, "centerX")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.centerX); + if (message.centerY != null && + Object.hasOwnProperty.call(message, "centerY")) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.centerY); + return writer; + }; + /** + * Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqNormalAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + case 2: { + message.centerX = reader.uint32(); + break; + } + case 3: { + message.centerY = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqNormalAutoFocus message. + * @function verify + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqNormalAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + if (message.centerX != null && message.hasOwnProperty("centerX")) + if (!$util.isInteger(message.centerX)) + return "centerX: integer expected"; + if (message.centerY != null && message.hasOwnProperty("centerY")) + if (!$util.isInteger(message.centerY)) + return "centerY: integer expected"; + return null; + }; + /** + * Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + */ + ReqNormalAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqNormalAutoFocus) + return object; + var message = new $root.ReqNormalAutoFocus(); + if (object.mode != null) + message.mode = object.mode >>> 0; + if (object.centerX != null) + message.centerX = object.centerX >>> 0; + if (object.centerY != null) + message.centerY = object.centerY >>> 0; + return message; + }; + /** + * Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqNormalAutoFocus + * @static + * @param {ReqNormalAutoFocus} message ReqNormalAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqNormalAutoFocus.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.centerX = 0; + object.centerY = 0; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.centerX != null && message.hasOwnProperty("centerX")) + object.centerX = message.centerX; + if (message.centerY != null && message.hasOwnProperty("centerY")) + object.centerY = message.centerY; + return object; + }; + /** + * Converts this ReqNormalAutoFocus to JSON. + * @function toJSON + * @memberof ReqNormalAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqNormalAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqNormalAutoFocus + * @function getTypeUrl + * @memberof ReqNormalAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqNormalAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqNormalAutoFocus"; + }; + return ReqNormalAutoFocus; +})(); +$root.ReqAstroAutoFocus = (function () { + /** + * Properties of a ReqAstroAutoFocus. + * @exports IReqAstroAutoFocus + * @interface IReqAstroAutoFocus + * @property {number|null} [mode] ReqAstroAutoFocus mode + */ + /** + * Constructs a new ReqAstroAutoFocus. + * @exports ReqAstroAutoFocus + * @classdesc Represents a ReqAstroAutoFocus. + * @implements IReqAstroAutoFocus + * @constructor + * @param {IReqAstroAutoFocus=} [properties] Properties to set + */ + function ReqAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqAstroAutoFocus mode. + * @member {number} mode + * @memberof ReqAstroAutoFocus + * @instance + */ + ReqAstroAutoFocus.prototype.mode = 0; + /** + * Creates a new ReqAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus=} [properties] Properties to set + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus instance + */ + ReqAstroAutoFocus.create = function create(properties) { + return new ReqAstroAutoFocus(properties); + }; + /** + * Encodes the specified ReqAstroAutoFocus message. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqAstroAutoFocus message. + * @function verify + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + */ + ReqAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAstroAutoFocus) + return object; + var message = new $root.ReqAstroAutoFocus(); + if (object.mode != null) + message.mode = object.mode >>> 0; + return message; + }; + /** + * Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAstroAutoFocus + * @static + * @param {ReqAstroAutoFocus} message ReqAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAstroAutoFocus.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqAstroAutoFocus + * @function getTypeUrl + * @memberof ReqAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAstroAutoFocus"; + }; + return ReqAstroAutoFocus; +})(); +$root.ReqStopAstroAutoFocus = (function () { + /** + * Properties of a ReqStopAstroAutoFocus. + * @exports IReqStopAstroAutoFocus + * @interface IReqStopAstroAutoFocus + */ + /** + * Constructs a new ReqStopAstroAutoFocus. + * @exports ReqStopAstroAutoFocus + * @classdesc Represents a ReqStopAstroAutoFocus. + * @implements IReqStopAstroAutoFocus + * @constructor + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + */ + function ReqStopAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus instance + */ + ReqStopAstroAutoFocus.create = function create(properties) { + return new ReqStopAstroAutoFocus(properties); + }; + /** + * Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopAstroAutoFocus message. + * @function verify + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + */ + ReqStopAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopAstroAutoFocus) + return object; + return new $root.ReqStopAstroAutoFocus(); + }; + /** + * Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {ReqStopAstroAutoFocus} message ReqStopAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopAstroAutoFocus.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqStopAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopAstroAutoFocus + * @function getTypeUrl + * @memberof ReqStopAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopAstroAutoFocus"; + }; + return ReqStopAstroAutoFocus; +})(); +$root.ReqMotorServiceJoystick = (function () { + /** + * Properties of a ReqMotorServiceJoystick. + * @exports IReqMotorServiceJoystick + * @interface IReqMotorServiceJoystick + * @property {number|null} [vectorAngle] ReqMotorServiceJoystick vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystick vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystick speed + */ + /** + * Constructs a new ReqMotorServiceJoystick. + * @exports ReqMotorServiceJoystick + * @classdesc Represents a ReqMotorServiceJoystick. + * @implements IReqMotorServiceJoystick + * @constructor + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + */ + function ReqMotorServiceJoystick(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorServiceJoystick vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorAngle = 0; + /** + * ReqMotorServiceJoystick vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorLength = 0; + /** + * ReqMotorServiceJoystick speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.speed = 0; + /** + * Creates a new ReqMotorServiceJoystick instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick instance + */ + ReqMotorServiceJoystick.create = function create(properties) { + return new ReqMotorServiceJoystick(properties); + }; + /** + * Encodes the specified ReqMotorServiceJoystick message. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if (message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + /** + * Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorServiceJoystick(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorServiceJoystick message. + * @function verify + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystick.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") + return "speed: number expected"; + return null; + }; + /** + * Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + */ + ReqMotorServiceJoystick.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystick) + return object; + var message = new $root.ReqMotorServiceJoystick(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) + message.speed = Number(object.speed); + return message; + }; + /** + * Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {ReqMotorServiceJoystick} message ReqMotorServiceJoystick + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystick.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + /** + * Converts this ReqMotorServiceJoystick to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystick + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystick.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorServiceJoystick + * @function getTypeUrl + * @memberof ReqMotorServiceJoystick + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystick"; + }; + return ReqMotorServiceJoystick; +})(); +$root.ReqMotorServiceJoystickFixedAngle = (function () { + /** + * Properties of a ReqMotorServiceJoystickFixedAngle. + * @exports IReqMotorServiceJoystickFixedAngle + * @interface IReqMotorServiceJoystickFixedAngle + * @property {number|null} [vectorAngle] ReqMotorServiceJoystickFixedAngle vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystickFixedAngle vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystickFixedAngle speed + */ + /** + * Constructs a new ReqMotorServiceJoystickFixedAngle. + * @exports ReqMotorServiceJoystickFixedAngle + * @classdesc Represents a ReqMotorServiceJoystickFixedAngle. + * @implements IReqMotorServiceJoystickFixedAngle + * @constructor + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + */ + function ReqMotorServiceJoystickFixedAngle(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorServiceJoystickFixedAngle vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorAngle = 0; + /** + * ReqMotorServiceJoystickFixedAngle vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorLength = 0; + /** + * ReqMotorServiceJoystickFixedAngle speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.speed = 0; + /** + * Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle instance + */ + ReqMotorServiceJoystickFixedAngle.create = function create(properties) { + return new ReqMotorServiceJoystickFixedAngle(properties); + }; + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if (message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorServiceJoystickFixedAngle(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorServiceJoystickFixedAngle message. + * @function verify + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickFixedAngle.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") + return "speed: number expected"; + return null; + }; + /** + * Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + */ + ReqMotorServiceJoystickFixedAngle.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickFixedAngle) + return object; + var message = new $root.ReqMotorServiceJoystickFixedAngle(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) + message.speed = Number(object.speed); + return message; + }; + /** + * Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {ReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickFixedAngle.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + /** + * Converts this ReqMotorServiceJoystickFixedAngle to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickFixedAngle.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorServiceJoystickFixedAngle + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickFixedAngle.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickFixedAngle"; + }; + return ReqMotorServiceJoystickFixedAngle; +})(); +$root.ReqMotorServiceJoystickStop = (function () { + /** + * Properties of a ReqMotorServiceJoystickStop. + * @exports IReqMotorServiceJoystickStop + * @interface IReqMotorServiceJoystickStop + */ + /** + * Constructs a new ReqMotorServiceJoystickStop. + * @exports ReqMotorServiceJoystickStop + * @classdesc Represents a ReqMotorServiceJoystickStop. + * @implements IReqMotorServiceJoystickStop + * @constructor + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + */ + function ReqMotorServiceJoystickStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqMotorServiceJoystickStop instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop instance + */ + ReqMotorServiceJoystickStop.create = function create(properties) { + return new ReqMotorServiceJoystickStop(properties); + }; + /** + * Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorServiceJoystickStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorServiceJoystickStop message. + * @function verify + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + */ + ReqMotorServiceJoystickStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickStop) + return object; + return new $root.ReqMotorServiceJoystickStop(); + }; + /** + * Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {ReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickStop.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqMotorServiceJoystickStop to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorServiceJoystickStop + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickStop"; + }; + return ReqMotorServiceJoystickStop; +})(); +$root.ReqMotorRun = (function () { + /** + * Properties of a ReqMotorRun. + * @exports IReqMotorRun + * @interface IReqMotorRun + * @property {number|null} [id] ReqMotorRun id + * @property {number|null} [speed] ReqMotorRun speed + * @property {boolean|null} [direction] ReqMotorRun direction + * @property {number|null} [speedRamping] ReqMotorRun speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRun resolutionLevel + */ + /** + * Constructs a new ReqMotorRun. + * @exports ReqMotorRun + * @classdesc Represents a ReqMotorRun. + * @implements IReqMotorRun + * @constructor + * @param {IReqMotorRun=} [properties] Properties to set + */ + function ReqMotorRun(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorRun id. + * @member {number} id + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.id = 0; + /** + * ReqMotorRun speed. + * @member {number} speed + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speed = 0; + /** + * ReqMotorRun direction. + * @member {boolean} direction + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.direction = false; + /** + * ReqMotorRun speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speedRamping = 0; + /** + * ReqMotorRun resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.resolutionLevel = 0; + /** + * Creates a new ReqMotorRun instance using the specified properties. + * @function create + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun=} [properties] Properties to set + * @returns {ReqMotorRun} ReqMotorRun instance + */ + ReqMotorRun.create = function create(properties) { + return new ReqMotorRun(properties); + }; + /** + * Encodes the specified ReqMotorRun message. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encode + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if (message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if (message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + /** + * Encodes the specified ReqMotorRun message, length delimited. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorRun message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorRun(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorRun message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorRun message. + * @function verify + * @memberof ReqMotorRun + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRun.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") + return "speed: number expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if (message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel")) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + /** + * Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRun + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRun} ReqMotorRun + */ + ReqMotorRun.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRun) + return object; + var message = new $root.ReqMotorRun(); + if (object.id != null) + message.id = object.id | 0; + if (object.speed != null) + message.speed = Number(object.speed); + if (object.direction != null) + message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + /** + * Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRun + * @static + * @param {ReqMotorRun} message ReqMotorRun + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRun.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + object.direction = false; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if (message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel")) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + /** + * Converts this ReqMotorRun to JSON. + * @function toJSON + * @memberof ReqMotorRun + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRun.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorRun + * @function getTypeUrl + * @memberof ReqMotorRun + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRun"; + }; + return ReqMotorRun; +})(); +$root.ReqMotorRunInPulse = (function () { + /** + * Properties of a ReqMotorRunInPulse. + * @exports IReqMotorRunInPulse + * @interface IReqMotorRunInPulse + * @property {number|null} [id] ReqMotorRunInPulse id + * @property {number|null} [frequency] ReqMotorRunInPulse frequency + * @property {boolean|null} [direction] ReqMotorRunInPulse direction + * @property {number|null} [speedRamping] ReqMotorRunInPulse speedRamping + * @property {number|null} [resolution] ReqMotorRunInPulse resolution + * @property {number|null} [pulse] ReqMotorRunInPulse pulse + * @property {boolean|null} [mode] ReqMotorRunInPulse mode + */ + /** + * Constructs a new ReqMotorRunInPulse. + * @exports ReqMotorRunInPulse + * @classdesc Represents a ReqMotorRunInPulse. + * @implements IReqMotorRunInPulse + * @constructor + * @param {IReqMotorRunInPulse=} [properties] Properties to set + */ + function ReqMotorRunInPulse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorRunInPulse id. + * @member {number} id + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.id = 0; + /** + * ReqMotorRunInPulse frequency. + * @member {number} frequency + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.frequency = 0; + /** + * ReqMotorRunInPulse direction. + * @member {boolean} direction + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.direction = false; + /** + * ReqMotorRunInPulse speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.speedRamping = 0; + /** + * ReqMotorRunInPulse resolution. + * @member {number} resolution + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.resolution = 0; + /** + * ReqMotorRunInPulse pulse. + * @member {number} pulse + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.pulse = 0; + /** + * ReqMotorRunInPulse mode. + * @member {boolean} mode + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.mode = false; + /** + * Creates a new ReqMotorRunInPulse instance using the specified properties. + * @function create + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse=} [properties] Properties to set + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse instance + */ + ReqMotorRunInPulse.create = function create(properties) { + return new ReqMotorRunInPulse(properties); + }; + /** + * Encodes the specified ReqMotorRunInPulse message. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.frequency != null && + Object.hasOwnProperty.call(message, "frequency")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.frequency); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if (message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if (message.resolution != null && + Object.hasOwnProperty.call(message, "resolution")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolution); + if (message.pulse != null && Object.hasOwnProperty.call(message, "pulse")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.pulse); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 7, wireType 0 =*/ 56).bool(message.mode); + return writer; + }; + /** + * Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorRunInPulse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.frequency = reader.int32(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolution = reader.int32(); + break; + } + case 6: { + message.pulse = reader.int32(); + break; + } + case 7: { + message.mode = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorRunInPulse message. + * @function verify + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunInPulse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.frequency != null && message.hasOwnProperty("frequency")) + if (!$util.isInteger(message.frequency)) + return "frequency: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if (message.resolution != null && message.hasOwnProperty("resolution")) + if (!$util.isInteger(message.resolution)) + return "resolution: integer expected"; + if (message.pulse != null && message.hasOwnProperty("pulse")) + if (!$util.isInteger(message.pulse)) + return "pulse: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (typeof message.mode !== "boolean") + return "mode: boolean expected"; + return null; + }; + /** + * Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + */ + ReqMotorRunInPulse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunInPulse) + return object; + var message = new $root.ReqMotorRunInPulse(); + if (object.id != null) + message.id = object.id | 0; + if (object.frequency != null) + message.frequency = object.frequency | 0; + if (object.direction != null) + message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolution != null) + message.resolution = object.resolution | 0; + if (object.pulse != null) + message.pulse = object.pulse | 0; + if (object.mode != null) + message.mode = Boolean(object.mode); + return message; + }; + /** + * Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunInPulse + * @static + * @param {ReqMotorRunInPulse} message ReqMotorRunInPulse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunInPulse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.frequency = 0; + object.direction = false; + object.speedRamping = 0; + object.resolution = 0; + object.pulse = 0; + object.mode = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.frequency != null && message.hasOwnProperty("frequency")) + object.frequency = message.frequency; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if (message.resolution != null && message.hasOwnProperty("resolution")) + object.resolution = message.resolution; + if (message.pulse != null && message.hasOwnProperty("pulse")) + object.pulse = message.pulse; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqMotorRunInPulse to JSON. + * @function toJSON + * @memberof ReqMotorRunInPulse + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunInPulse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorRunInPulse + * @function getTypeUrl + * @memberof ReqMotorRunInPulse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunInPulse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunInPulse"; + }; + return ReqMotorRunInPulse; +})(); +$root.ReqMotorRunTo = (function () { + /** + * Properties of a ReqMotorRunTo. + * @exports IReqMotorRunTo + * @interface IReqMotorRunTo + * @property {number|null} [id] ReqMotorRunTo id + * @property {number|null} [endPosition] ReqMotorRunTo endPosition + * @property {number|null} [speed] ReqMotorRunTo speed + * @property {number|null} [speedRamping] ReqMotorRunTo speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRunTo resolutionLevel + */ + /** + * Constructs a new ReqMotorRunTo. + * @exports ReqMotorRunTo + * @classdesc Represents a ReqMotorRunTo. + * @implements IReqMotorRunTo + * @constructor + * @param {IReqMotorRunTo=} [properties] Properties to set + */ + function ReqMotorRunTo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorRunTo id. + * @member {number} id + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.id = 0; + /** + * ReqMotorRunTo endPosition. + * @member {number} endPosition + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.endPosition = 0; + /** + * ReqMotorRunTo speed. + * @member {number} speed + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speed = 0; + /** + * ReqMotorRunTo speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speedRamping = 0; + /** + * ReqMotorRunTo resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.resolutionLevel = 0; + /** + * Creates a new ReqMotorRunTo instance using the specified properties. + * @function create + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo=} [properties] Properties to set + * @returns {ReqMotorRunTo} ReqMotorRunTo instance + */ + ReqMotorRunTo.create = function create(properties) { + return new ReqMotorRunTo(properties); + }; + /** + * Encodes the specified ReqMotorRunTo message. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.endPosition != null && + Object.hasOwnProperty.call(message, "endPosition")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.endPosition); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + if (message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if (message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + /** + * Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorRunTo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.endPosition = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorRunTo message. + * @function verify + * @memberof ReqMotorRunTo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunTo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + if (typeof message.endPosition !== "number") + return "endPosition: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") + return "speed: number expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if (message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel")) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + /** + * Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunTo + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunTo} ReqMotorRunTo + */ + ReqMotorRunTo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunTo) + return object; + var message = new $root.ReqMotorRunTo(); + if (object.id != null) + message.id = object.id | 0; + if (object.endPosition != null) + message.endPosition = Number(object.endPosition); + if (object.speed != null) + message.speed = Number(object.speed); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + /** + * Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunTo + * @static + * @param {ReqMotorRunTo} message ReqMotorRunTo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunTo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.endPosition = 0; + object.speed = 0; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + object.endPosition = + options.json && !isFinite(message.endPosition) + ? String(message.endPosition) + : message.endPosition; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if (message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel")) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + /** + * Converts this ReqMotorRunTo to JSON. + * @function toJSON + * @memberof ReqMotorRunTo + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunTo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorRunTo + * @function getTypeUrl + * @memberof ReqMotorRunTo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunTo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunTo"; + }; + return ReqMotorRunTo; +})(); +$root.ReqMotorGetPosition = (function () { + /** + * Properties of a ReqMotorGetPosition. + * @exports IReqMotorGetPosition + * @interface IReqMotorGetPosition + * @property {number|null} [id] ReqMotorGetPosition id + */ + /** + * Constructs a new ReqMotorGetPosition. + * @exports ReqMotorGetPosition + * @classdesc Represents a ReqMotorGetPosition. + * @implements IReqMotorGetPosition + * @constructor + * @param {IReqMotorGetPosition=} [properties] Properties to set + */ + function ReqMotorGetPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorGetPosition id. + * @member {number} id + * @memberof ReqMotorGetPosition + * @instance + */ + ReqMotorGetPosition.prototype.id = 0; + /** + * Creates a new ReqMotorGetPosition instance using the specified properties. + * @function create + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition=} [properties] Properties to set + * @returns {ReqMotorGetPosition} ReqMotorGetPosition instance + */ + ReqMotorGetPosition.create = function create(properties) { + return new ReqMotorGetPosition(properties); + }; + /** + * Encodes the specified ReqMotorGetPosition message. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encode + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + /** + * Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorGetPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorGetPosition message. + * @function verify + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorGetPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + return null; + }; + /** + * Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + */ + ReqMotorGetPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorGetPosition) + return object; + var message = new $root.ReqMotorGetPosition(); + if (object.id != null) + message.id = object.id | 0; + return message; + }; + /** + * Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorGetPosition + * @static + * @param {ReqMotorGetPosition} message ReqMotorGetPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorGetPosition.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + /** + * Converts this ReqMotorGetPosition to JSON. + * @function toJSON + * @memberof ReqMotorGetPosition + * @instance + * @returns {Object.} JSON object + */ + ReqMotorGetPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorGetPosition + * @function getTypeUrl + * @memberof ReqMotorGetPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorGetPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorGetPosition"; + }; + return ReqMotorGetPosition; +})(); +$root.ReqMotorStop = (function () { + /** + * Properties of a ReqMotorStop. + * @exports IReqMotorStop + * @interface IReqMotorStop + * @property {number|null} [id] ReqMotorStop id + */ + /** + * Constructs a new ReqMotorStop. + * @exports ReqMotorStop + * @classdesc Represents a ReqMotorStop. + * @implements IReqMotorStop + * @constructor + * @param {IReqMotorStop=} [properties] Properties to set + */ + function ReqMotorStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorStop id. + * @member {number} id + * @memberof ReqMotorStop + * @instance + */ + ReqMotorStop.prototype.id = 0; + /** + * Creates a new ReqMotorStop instance using the specified properties. + * @function create + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop=} [properties] Properties to set + * @returns {ReqMotorStop} ReqMotorStop instance + */ + ReqMotorStop.create = function create(properties) { + return new ReqMotorStop(properties); + }; + /** + * Encodes the specified ReqMotorStop message. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + /** + * Encodes the specified ReqMotorStop message, length delimited. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorStop message. + * @function verify + * @memberof ReqMotorStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + return null; + }; + /** + * Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorStop} ReqMotorStop + */ + ReqMotorStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorStop) + return object; + var message = new $root.ReqMotorStop(); + if (object.id != null) + message.id = object.id | 0; + return message; + }; + /** + * Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorStop + * @static + * @param {ReqMotorStop} message ReqMotorStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorStop.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + /** + * Converts this ReqMotorStop to JSON. + * @function toJSON + * @memberof ReqMotorStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorStop + * @function getTypeUrl + * @memberof ReqMotorStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorStop"; + }; + return ReqMotorStop; +})(); +$root.ReqMotorReset = (function () { + /** + * Properties of a ReqMotorReset. + * @exports IReqMotorReset + * @interface IReqMotorReset + * @property {number|null} [id] ReqMotorReset id + * @property {boolean|null} [direction] ReqMotorReset direction + */ + /** + * Constructs a new ReqMotorReset. + * @exports ReqMotorReset + * @classdesc Represents a ReqMotorReset. + * @implements IReqMotorReset + * @constructor + * @param {IReqMotorReset=} [properties] Properties to set + */ + function ReqMotorReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorReset id. + * @member {number} id + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.id = 0; + /** + * ReqMotorReset direction. + * @member {boolean} direction + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.direction = false; + /** + * Creates a new ReqMotorReset instance using the specified properties. + * @function create + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset=} [properties] Properties to set + * @returns {ReqMotorReset} ReqMotorReset instance + */ + ReqMotorReset.create = function create(properties) { + return new ReqMotorReset(properties); + }; + /** + * Encodes the specified ReqMotorReset message. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encode + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + /** + * Encodes the specified ReqMotorReset message, length delimited. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorReset message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorReset message. + * @function verify + * @memberof ReqMotorReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + /** + * Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorReset + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorReset} ReqMotorReset + */ + ReqMotorReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorReset) + return object; + var message = new $root.ReqMotorReset(); + if (object.id != null) + message.id = object.id | 0; + if (object.direction != null) + message.direction = Boolean(object.direction); + return message; + }; + /** + * Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorReset + * @static + * @param {ReqMotorReset} message ReqMotorReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorReset.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + /** + * Converts this ReqMotorReset to JSON. + * @function toJSON + * @memberof ReqMotorReset + * @instance + * @returns {Object.} JSON object + */ + ReqMotorReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorReset + * @function getTypeUrl + * @memberof ReqMotorReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorReset"; + }; + return ReqMotorReset; +})(); +$root.ReqMotorChangeSpeed = (function () { + /** + * Properties of a ReqMotorChangeSpeed. + * @exports IReqMotorChangeSpeed + * @interface IReqMotorChangeSpeed + * @property {number|null} [id] ReqMotorChangeSpeed id + * @property {number|null} [speed] ReqMotorChangeSpeed speed + */ + /** + * Constructs a new ReqMotorChangeSpeed. + * @exports ReqMotorChangeSpeed + * @classdesc Represents a ReqMotorChangeSpeed. + * @implements IReqMotorChangeSpeed + * @constructor + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + */ + function ReqMotorChangeSpeed(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorChangeSpeed id. + * @member {number} id + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.id = 0; + /** + * ReqMotorChangeSpeed speed. + * @member {number} speed + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.speed = 0; + /** + * Creates a new ReqMotorChangeSpeed instance using the specified properties. + * @function create + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed instance + */ + ReqMotorChangeSpeed.create = function create(properties) { + return new ReqMotorChangeSpeed(properties); + }; + /** + * Encodes the specified ReqMotorChangeSpeed message. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + return writer; + }; + /** + * Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorChangeSpeed(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorChangeSpeed message. + * @function verify + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeSpeed.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") + return "speed: number expected"; + return null; + }; + /** + * Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + */ + ReqMotorChangeSpeed.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeSpeed) + return object; + var message = new $root.ReqMotorChangeSpeed(); + if (object.id != null) + message.id = object.id | 0; + if (object.speed != null) + message.speed = Number(object.speed); + return message; + }; + /** + * Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {ReqMotorChangeSpeed} message ReqMotorChangeSpeed + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeSpeed.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + /** + * Converts this ReqMotorChangeSpeed to JSON. + * @function toJSON + * @memberof ReqMotorChangeSpeed + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeSpeed.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorChangeSpeed + * @function getTypeUrl + * @memberof ReqMotorChangeSpeed + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeSpeed.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeSpeed"; + }; + return ReqMotorChangeSpeed; +})(); +$root.ReqMotorChangeDirection = (function () { + /** + * Properties of a ReqMotorChangeDirection. + * @exports IReqMotorChangeDirection + * @interface IReqMotorChangeDirection + * @property {number|null} [id] ReqMotorChangeDirection id + * @property {boolean|null} [direction] ReqMotorChangeDirection direction + */ + /** + * Constructs a new ReqMotorChangeDirection. + * @exports ReqMotorChangeDirection + * @classdesc Represents a ReqMotorChangeDirection. + * @implements IReqMotorChangeDirection + * @constructor + * @param {IReqMotorChangeDirection=} [properties] Properties to set + */ + function ReqMotorChangeDirection(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMotorChangeDirection id. + * @member {number} id + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.id = 0; + /** + * ReqMotorChangeDirection direction. + * @member {boolean} direction + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.direction = false; + /** + * Creates a new ReqMotorChangeDirection instance using the specified properties. + * @function create + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection=} [properties] Properties to set + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection instance + */ + ReqMotorChangeDirection.create = function create(properties) { + return new ReqMotorChangeDirection(properties); + }; + /** + * Encodes the specified ReqMotorChangeDirection message. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.direction != null && + Object.hasOwnProperty.call(message, "direction")) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + /** + * Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMotorChangeDirection(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMotorChangeDirection message. + * @function verify + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeDirection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + /** + * Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + */ + ReqMotorChangeDirection.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeDirection) + return object; + var message = new $root.ReqMotorChangeDirection(); + if (object.id != null) + message.id = object.id | 0; + if (object.direction != null) + message.direction = Boolean(object.direction); + return message; + }; + /** + * Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeDirection + * @static + * @param {ReqMotorChangeDirection} message ReqMotorChangeDirection + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeDirection.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + /** + * Converts this ReqMotorChangeDirection to JSON. + * @function toJSON + * @memberof ReqMotorChangeDirection + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeDirection.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMotorChangeDirection + * @function getTypeUrl + * @memberof ReqMotorChangeDirection + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeDirection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeDirection"; + }; + return ReqMotorChangeDirection; +})(); +$root.ResMotor = (function () { + /** + * Properties of a ResMotor. + * @exports IResMotor + * @interface IResMotor + * @property {number|null} [id] ResMotor id + * @property {number|null} [code] ResMotor code + */ + /** + * Constructs a new ResMotor. + * @exports ResMotor + * @classdesc Represents a ResMotor. + * @implements IResMotor + * @constructor + * @param {IResMotor=} [properties] Properties to set + */ + function ResMotor(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResMotor id. + * @member {number} id + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.id = 0; + /** + * ResMotor code. + * @member {number} code + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.code = 0; + /** + * Creates a new ResMotor instance using the specified properties. + * @function create + * @memberof ResMotor + * @static + * @param {IResMotor=} [properties] Properties to set + * @returns {ResMotor} ResMotor instance + */ + ResMotor.create = function create(properties) { + return new ResMotor(properties); + }; + /** + * Encodes the specified ResMotor message. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encode + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResMotor message, length delimited. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResMotor message from the specified reader or buffer. + * @function decode + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResMotor(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResMotor message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResMotor message. + * @function verify + * @memberof ResMotor + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotor.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResMotor message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotor + * @static + * @param {Object.} object Plain object + * @returns {ResMotor} ResMotor + */ + ResMotor.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotor) + return object; + var message = new $root.ResMotor(); + if (object.id != null) + message.id = object.id | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResMotor message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotor + * @static + * @param {ResMotor} message ResMotor + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotor.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResMotor to JSON. + * @function toJSON + * @memberof ResMotor + * @instance + * @returns {Object.} JSON object + */ + ResMotor.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResMotor + * @function getTypeUrl + * @memberof ResMotor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotor"; + }; + return ResMotor; +})(); +$root.ResMotorPosition = (function () { + /** + * Properties of a ResMotorPosition. + * @exports IResMotorPosition + * @interface IResMotorPosition + * @property {number|null} [id] ResMotorPosition id + * @property {number|null} [code] ResMotorPosition code + * @property {number|null} [position] ResMotorPosition position + */ + /** + * Constructs a new ResMotorPosition. + * @exports ResMotorPosition + * @classdesc Represents a ResMotorPosition. + * @implements IResMotorPosition + * @constructor + * @param {IResMotorPosition=} [properties] Properties to set + */ + function ResMotorPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResMotorPosition id. + * @member {number} id + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.id = 0; + /** + * ResMotorPosition code. + * @member {number} code + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.code = 0; + /** + * ResMotorPosition position. + * @member {number} position + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.position = 0; + /** + * Creates a new ResMotorPosition instance using the specified properties. + * @function create + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition=} [properties] Properties to set + * @returns {ResMotorPosition} ResMotorPosition instance + */ + ResMotorPosition.create = function create(properties) { + return new ResMotorPosition(properties); + }; + /** + * Encodes the specified ResMotorPosition message. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encode + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.position != null && + Object.hasOwnProperty.call(message, "position")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.position); + return writer; + }; + /** + * Encodes the specified ResMotorPosition message, length delimited. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResMotorPosition message from the specified reader or buffer. + * @function decode + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResMotorPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.position = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResMotorPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResMotorPosition message. + * @function verify + * @memberof ResMotorPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotorPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.position != null && message.hasOwnProperty("position")) + if (typeof message.position !== "number") + return "position: number expected"; + return null; + }; + /** + * Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotorPosition + * @static + * @param {Object.} object Plain object + * @returns {ResMotorPosition} ResMotorPosition + */ + ResMotorPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotorPosition) + return object; + var message = new $root.ResMotorPosition(); + if (object.id != null) + message.id = object.id | 0; + if (object.code != null) + message.code = object.code | 0; + if (object.position != null) + message.position = Number(object.position); + return message; + }; + /** + * Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotorPosition + * @static + * @param {ResMotorPosition} message ResMotorPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotorPosition.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + object.position = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.position != null && message.hasOwnProperty("position")) + object.position = + options.json && !isFinite(message.position) + ? String(message.position) + : message.position; + return object; + }; + /** + * Converts this ResMotorPosition to JSON. + * @function toJSON + * @memberof ResMotorPosition + * @instance + * @returns {Object.} JSON object + */ + ResMotorPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResMotorPosition + * @function getTypeUrl + * @memberof ResMotorPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotorPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotorPosition"; + }; + return ResMotorPosition; +})(); +$root.ReqDualCameraLinkage = (function () { + /** + * Properties of a ReqDualCameraLinkage. + * @exports IReqDualCameraLinkage + * @interface IReqDualCameraLinkage + * @property {number|null} [x] ReqDualCameraLinkage x + * @property {number|null} [y] ReqDualCameraLinkage y + */ + /** + * Constructs a new ReqDualCameraLinkage. + * @exports ReqDualCameraLinkage + * @classdesc Represents a ReqDualCameraLinkage. + * @implements IReqDualCameraLinkage + * @constructor + * @param {IReqDualCameraLinkage=} [properties] Properties to set + */ + function ReqDualCameraLinkage(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDualCameraLinkage x. + * @member {number} x + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.x = 0; + /** + * ReqDualCameraLinkage y. + * @member {number} y + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.y = 0; + /** + * Creates a new ReqDualCameraLinkage instance using the specified properties. + * @function create + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage=} [properties] Properties to set + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage instance + */ + ReqDualCameraLinkage.create = function create(properties) { + return new ReqDualCameraLinkage(properties); + }; + /** + * Encodes the specified ReqDualCameraLinkage message. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encode + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + return writer; + }; + /** + * Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer. + * @function decode + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDualCameraLinkage(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDualCameraLinkage message. + * @function verify + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDualCameraLinkage.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) + return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) + return "y: integer expected"; + return null; + }; + /** + * Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} object Plain object + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + */ + ReqDualCameraLinkage.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDualCameraLinkage) + return object; + var message = new $root.ReqDualCameraLinkage(); + if (object.x != null) + message.x = object.x | 0; + if (object.y != null) + message.y = object.y | 0; + return message; + }; + /** + * Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDualCameraLinkage + * @static + * @param {ReqDualCameraLinkage} message ReqDualCameraLinkage + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDualCameraLinkage.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + } + if (message.x != null && message.hasOwnProperty("x")) + object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) + object.y = message.y; + return object; + }; + /** + * Converts this ReqDualCameraLinkage to JSON. + * @function toJSON + * @memberof ReqDualCameraLinkage + * @instance + * @returns {Object.} JSON object + */ + ReqDualCameraLinkage.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDualCameraLinkage + * @function getTypeUrl + * @memberof ReqDualCameraLinkage + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDualCameraLinkage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDualCameraLinkage"; + }; + return ReqDualCameraLinkage; +})(); +/** + * State enum. + * @exports State + * @enum {number} + * @property {number} STATE_IDLE=0 STATE_IDLE value + * @property {number} STATE_RUNNING=1 STATE_RUNNING value + * @property {number} STATE_STOPPING=2 STATE_STOPPING value + * @property {number} STATE_STOPPED=3 STATE_STOPPED value + * @property {number} STATE_SUCCESS=4 STATE_SUCCESS value + * @property {number} STATE_FAILED=5 STATE_FAILED value + * @property {number} STATE_ASTRO_PLATE_SOLVING=6 STATE_ASTRO_PLATE_SOLVING value + */ +$root.State = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "STATE_IDLE")] = 0; + values[(valuesById[1] = "STATE_RUNNING")] = 1; + values[(valuesById[2] = "STATE_STOPPING")] = 2; + values[(valuesById[3] = "STATE_STOPPED")] = 3; + values[(valuesById[4] = "STATE_SUCCESS")] = 4; + values[(valuesById[5] = "STATE_FAILED")] = 5; + values[(valuesById[6] = "STATE_ASTRO_PLATE_SOLVING")] = 6; + return values; +})(); +/** + * OperationState enum. + * @exports OperationState + * @enum {number} + * @property {number} OPERATION_STATE_IDLE=0 OPERATION_STATE_IDLE value + * @property {number} OPERATION_STATE_RUNNING=1 OPERATION_STATE_RUNNING value + * @property {number} OPERATION_STATE_STOPPING=2 OPERATION_STATE_STOPPING value + * @property {number} OPERATION_STATE_STOPPED=3 OPERATION_STATE_STOPPED value + */ +$root.OperationState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "OPERATION_STATE_IDLE")] = 0; + values[(valuesById[1] = "OPERATION_STATE_RUNNING")] = 1; + values[(valuesById[2] = "OPERATION_STATE_STOPPING")] = 2; + values[(valuesById[3] = "OPERATION_STATE_STOPPED")] = 3; + return values; +})(); +/** + * AstroState enum. + * @exports AstroState + * @enum {number} + * @property {number} ASTRO_STATE_IDLE=0 ASTRO_STATE_IDLE value + * @property {number} ASTRO_STATE_RUNNING=1 ASTRO_STATE_RUNNING value + * @property {number} ASTRO_STATE_STOPPING=2 ASTRO_STATE_STOPPING value + * @property {number} ASTRO_STATE_STOPPED=3 ASTRO_STATE_STOPPED value + * @property {number} ASTRO_STATE_PLATE_SOLVING=4 ASTRO_STATE_PLATE_SOLVING value + */ +$root.AstroState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "ASTRO_STATE_IDLE")] = 0; + values[(valuesById[1] = "ASTRO_STATE_RUNNING")] = 1; + values[(valuesById[2] = "ASTRO_STATE_STOPPING")] = 2; + values[(valuesById[3] = "ASTRO_STATE_STOPPED")] = 3; + values[(valuesById[4] = "ASTRO_STATE_PLATE_SOLVING")] = 4; + return values; +})(); +/** + * SentryModeState enum. + * @exports SentryModeState + * @enum {number} + * @property {number} SENTRY_MODE_STATE_IDLE=0 SENTRY_MODE_STATE_IDLE value + * @property {number} SENTRY_MODE_STATE_INIT=1 SENTRY_MODE_STATE_INIT value + * @property {number} SENTRY_MODE_STATE_DETECT=2 SENTRY_MODE_STATE_DETECT value + * @property {number} SENTRY_MODE_STATE_TRACK=3 SENTRY_MODE_STATE_TRACK value + * @property {number} SENTRY_MODE_STATE_TRACK_FINISH=4 SENTRY_MODE_STATE_TRACK_FINISH value + * @property {number} SENTRY_MODE_STATE_STOPPING=5 SENTRY_MODE_STATE_STOPPING value + */ +$root.SentryModeState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SENTRY_MODE_STATE_IDLE")] = 0; + values[(valuesById[1] = "SENTRY_MODE_STATE_INIT")] = 1; + values[(valuesById[2] = "SENTRY_MODE_STATE_DETECT")] = 2; + values[(valuesById[3] = "SENTRY_MODE_STATE_TRACK")] = 3; + values[(valuesById[4] = "SENTRY_MODE_STATE_TRACK_FINISH")] = 4; + values[(valuesById[5] = "SENTRY_MODE_STATE_STOPPING")] = 5; + return values; +})(); +$root.ResNotifyPictureMatching = (function () { + /** + * Properties of a ResNotifyPictureMatching. + * @exports IResNotifyPictureMatching + * @interface IResNotifyPictureMatching + * @property {number|null} [x] ResNotifyPictureMatching x + * @property {number|null} [y] ResNotifyPictureMatching y + * @property {number|null} [width] ResNotifyPictureMatching width + * @property {number|null} [height] ResNotifyPictureMatching height + * @property {number|null} [value] ResNotifyPictureMatching value + * @property {number|null} [code] ResNotifyPictureMatching code + */ + /** + * Constructs a new ResNotifyPictureMatching. + * @exports ResNotifyPictureMatching + * @classdesc Represents a ResNotifyPictureMatching. + * @implements IResNotifyPictureMatching + * @constructor + * @param {IResNotifyPictureMatching=} [properties] Properties to set + */ + function ResNotifyPictureMatching(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPictureMatching x. + * @member {number} x + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.x = 0; + /** + * ResNotifyPictureMatching y. + * @member {number} y + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.y = 0; + /** + * ResNotifyPictureMatching width. + * @member {number} width + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.width = 0; + /** + * ResNotifyPictureMatching height. + * @member {number} height + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.height = 0; + /** + * ResNotifyPictureMatching value. + * @member {number} value + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.value = 0; + /** + * ResNotifyPictureMatching code. + * @member {number} code + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.code = 0; + /** + * Creates a new ResNotifyPictureMatching instance using the specified properties. + * @function create + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching=} [properties] Properties to set + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching instance + */ + ResNotifyPictureMatching.create = function create(properties) { + return new ResNotifyPictureMatching(properties); + }; + /** + * Encodes the specified ResNotifyPictureMatching message. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encode + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.y); + if (message.width != null && Object.hasOwnProperty.call(message, "width")) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.width); + if (message.height != null && Object.hasOwnProperty.call(message, "height")) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.height); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 5, wireType 1 =*/ 41).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPictureMatching(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.uint32(); + break; + } + case 2: { + message.y = reader.uint32(); + break; + } + case 3: { + message.width = reader.uint32(); + break; + } + case 4: { + message.height = reader.uint32(); + break; + } + case 5: { + message.value = reader.double(); + break; + } + case 6: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPictureMatching message. + * @function verify + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPictureMatching.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) + return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) + return "y: integer expected"; + if (message.width != null && message.hasOwnProperty("width")) + if (!$util.isInteger(message.width)) + return "width: integer expected"; + if (message.height != null && message.hasOwnProperty("height")) + if (!$util.isInteger(message.height)) + return "height: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") + return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + */ + ResNotifyPictureMatching.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPictureMatching) + return object; + var message = new $root.ResNotifyPictureMatching(); + if (object.x != null) + message.x = object.x >>> 0; + if (object.y != null) + message.y = object.y >>> 0; + if (object.width != null) + message.width = object.width >>> 0; + if (object.height != null) + message.height = object.height >>> 0; + if (object.value != null) + message.value = Number(object.value); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPictureMatching + * @static + * @param {ResNotifyPictureMatching} message ResNotifyPictureMatching + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPictureMatching.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.width = 0; + object.height = 0; + object.value = 0; + object.code = 0; + } + if (message.x != null && message.hasOwnProperty("x")) + object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) + object.y = message.y; + if (message.width != null && message.hasOwnProperty("width")) + object.width = message.width; + if (message.height != null && message.hasOwnProperty("height")) + object.height = message.height; + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResNotifyPictureMatching to JSON. + * @function toJSON + * @memberof ResNotifyPictureMatching + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPictureMatching.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPictureMatching + * @function getTypeUrl + * @memberof ResNotifyPictureMatching + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPictureMatching.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPictureMatching"; + }; + return ResNotifyPictureMatching; +})(); +$root.ResNotifySDcardInfo = (function () { + /** + * Properties of a ResNotifySDcardInfo. + * @exports IResNotifySDcardInfo + * @interface IResNotifySDcardInfo + * @property {number|null} [availableSize] ResNotifySDcardInfo availableSize + * @property {number|null} [totalSize] ResNotifySDcardInfo totalSize + * @property {number|null} [code] ResNotifySDcardInfo code + */ + /** + * Constructs a new ResNotifySDcardInfo. + * @exports ResNotifySDcardInfo + * @classdesc Represents a ResNotifySDcardInfo. + * @implements IResNotifySDcardInfo + * @constructor + * @param {IResNotifySDcardInfo=} [properties] Properties to set + */ + function ResNotifySDcardInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifySDcardInfo availableSize. + * @member {number} availableSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.availableSize = 0; + /** + * ResNotifySDcardInfo totalSize. + * @member {number} totalSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.totalSize = 0; + /** + * ResNotifySDcardInfo code. + * @member {number} code + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.code = 0; + /** + * Creates a new ResNotifySDcardInfo instance using the specified properties. + * @function create + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo=} [properties] Properties to set + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo instance + */ + ResNotifySDcardInfo.create = function create(properties) { + return new ResNotifySDcardInfo(properties); + }; + /** + * Encodes the specified ResNotifySDcardInfo message. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encode + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.availableSize != null && + Object.hasOwnProperty.call(message, "availableSize")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.availableSize); + if (message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.totalSize); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifySDcardInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.availableSize = reader.uint32(); + break; + } + case 2: { + message.totalSize = reader.uint32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifySDcardInfo message. + * @function verify + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySDcardInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.availableSize != null && + message.hasOwnProperty("availableSize")) + if (!$util.isInteger(message.availableSize)) + return "availableSize: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize)) + return "totalSize: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + */ + ResNotifySDcardInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySDcardInfo) + return object; + var message = new $root.ResNotifySDcardInfo(); + if (object.availableSize != null) + message.availableSize = object.availableSize >>> 0; + if (object.totalSize != null) + message.totalSize = object.totalSize >>> 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySDcardInfo + * @static + * @param {ResNotifySDcardInfo} message ResNotifySDcardInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySDcardInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.availableSize = 0; + object.totalSize = 0; + object.code = 0; + } + if (message.availableSize != null && + message.hasOwnProperty("availableSize")) + object.availableSize = message.availableSize; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + object.totalSize = message.totalSize; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResNotifySDcardInfo to JSON. + * @function toJSON + * @memberof ResNotifySDcardInfo + * @instance + * @returns {Object.} JSON object + */ + ResNotifySDcardInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifySDcardInfo + * @function getTypeUrl + * @memberof ResNotifySDcardInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySDcardInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySDcardInfo"; + }; + return ResNotifySDcardInfo; +})(); +$root.ResNotifyTemperature = (function () { + /** + * Properties of a ResNotifyTemperature. + * @exports IResNotifyTemperature + * @interface IResNotifyTemperature + * @property {number|null} [code] ResNotifyTemperature code + * @property {number|null} [temperature] ResNotifyTemperature temperature + */ + /** + * Constructs a new ResNotifyTemperature. + * @exports ResNotifyTemperature + * @classdesc Represents a ResNotifyTemperature. + * @implements IResNotifyTemperature + * @constructor + * @param {IResNotifyTemperature=} [properties] Properties to set + */ + function ResNotifyTemperature(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyTemperature code. + * @member {number} code + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.code = 0; + /** + * ResNotifyTemperature temperature. + * @member {number} temperature + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.temperature = 0; + /** + * Creates a new ResNotifyTemperature instance using the specified properties. + * @function create + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature=} [properties] Properties to set + * @returns {ResNotifyTemperature} ResNotifyTemperature instance + */ + ResNotifyTemperature.create = function create(properties) { + return new ResNotifyTemperature(properties); + }; + /** + * Encodes the specified ResNotifyTemperature message. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encode + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.temperature != null && + Object.hasOwnProperty.call(message, "temperature")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.temperature); + return writer; + }; + /** + * Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyTemperature(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyTemperature message. + * @function verify + * @memberof ResNotifyTemperature + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTemperature.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + /** + * Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTemperature + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTemperature} ResNotifyTemperature + */ + ResNotifyTemperature.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTemperature) + return object; + var message = new $root.ResNotifyTemperature(); + if (object.code != null) + message.code = object.code | 0; + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTemperature + * @static + * @param {ResNotifyTemperature} message ResNotifyTemperature + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTemperature.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.temperature = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + /** + * Converts this ResNotifyTemperature to JSON. + * @function toJSON + * @memberof ResNotifyTemperature + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTemperature.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyTemperature + * @function getTypeUrl + * @memberof ResNotifyTemperature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTemperature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTemperature"; + }; + return ResNotifyTemperature; +})(); +$root.ResNotifyRecordTime = (function () { + /** + * Properties of a ResNotifyRecordTime. + * @exports IResNotifyRecordTime + * @interface IResNotifyRecordTime + * @property {number|null} [recordTime] ResNotifyRecordTime recordTime + */ + /** + * Constructs a new ResNotifyRecordTime. + * @exports ResNotifyRecordTime + * @classdesc Represents a ResNotifyRecordTime. + * @implements IResNotifyRecordTime + * @constructor + * @param {IResNotifyRecordTime=} [properties] Properties to set + */ + function ResNotifyRecordTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyRecordTime recordTime. + * @member {number} recordTime + * @memberof ResNotifyRecordTime + * @instance + */ + ResNotifyRecordTime.prototype.recordTime = 0; + /** + * Creates a new ResNotifyRecordTime instance using the specified properties. + * @function create + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime=} [properties] Properties to set + * @returns {ResNotifyRecordTime} ResNotifyRecordTime instance + */ + ResNotifyRecordTime.create = function create(properties) { + return new ResNotifyRecordTime(properties); + }; + /** + * Encodes the specified ResNotifyRecordTime message. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.recordTime != null && + Object.hasOwnProperty.call(message, "recordTime")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.recordTime); + return writer; + }; + /** + * Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyRecordTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.recordTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyRecordTime message. + * @function verify + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRecordTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + if (!$util.isInteger(message.recordTime)) + return "recordTime: integer expected"; + return null; + }; + /** + * Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + */ + ResNotifyRecordTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRecordTime) + return object; + var message = new $root.ResNotifyRecordTime(); + if (object.recordTime != null) + message.recordTime = object.recordTime | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRecordTime + * @static + * @param {ResNotifyRecordTime} message ResNotifyRecordTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRecordTime.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.recordTime = 0; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + object.recordTime = message.recordTime; + return object; + }; + /** + * Converts this ResNotifyRecordTime to JSON. + * @function toJSON + * @memberof ResNotifyRecordTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRecordTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyRecordTime + * @function getTypeUrl + * @memberof ResNotifyRecordTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRecordTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRecordTime"; + }; + return ResNotifyRecordTime; +})(); +$root.ResNotifyTimeLapseOutTime = (function () { + /** + * Properties of a ResNotifyTimeLapseOutTime. + * @exports IResNotifyTimeLapseOutTime + * @interface IResNotifyTimeLapseOutTime + * @property {number|null} [interval] ResNotifyTimeLapseOutTime interval + * @property {number|null} [outTime] ResNotifyTimeLapseOutTime outTime + * @property {number|null} [totalTime] ResNotifyTimeLapseOutTime totalTime + */ + /** + * Constructs a new ResNotifyTimeLapseOutTime. + * @exports ResNotifyTimeLapseOutTime + * @classdesc Represents a ResNotifyTimeLapseOutTime. + * @implements IResNotifyTimeLapseOutTime + * @constructor + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + */ + function ResNotifyTimeLapseOutTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyTimeLapseOutTime interval. + * @member {number} interval + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.interval = 0; + /** + * ResNotifyTimeLapseOutTime outTime. + * @member {number} outTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.outTime = 0; + /** + * ResNotifyTimeLapseOutTime totalTime. + * @member {number} totalTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.totalTime = 0; + /** + * Creates a new ResNotifyTimeLapseOutTime instance using the specified properties. + * @function create + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime instance + */ + ResNotifyTimeLapseOutTime.create = function create(properties) { + return new ResNotifyTimeLapseOutTime(properties); + }; + /** + * Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.interval != null && + Object.hasOwnProperty.call(message, "interval")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.interval); + if (message.outTime != null && + Object.hasOwnProperty.call(message, "outTime")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.outTime); + if (message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.totalTime); + return writer; + }; + /** + * Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyTimeLapseOutTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.interval = reader.int32(); + break; + } + case 2: { + message.outTime = reader.int32(); + break; + } + case 3: { + message.totalTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyTimeLapseOutTime message. + * @function verify + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTimeLapseOutTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.interval != null && message.hasOwnProperty("interval")) + if (!$util.isInteger(message.interval)) + return "interval: integer expected"; + if (message.outTime != null && message.hasOwnProperty("outTime")) + if (!$util.isInteger(message.outTime)) + return "outTime: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (!$util.isInteger(message.totalTime)) + return "totalTime: integer expected"; + return null; + }; + /** + * Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + */ + ResNotifyTimeLapseOutTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTimeLapseOutTime) + return object; + var message = new $root.ResNotifyTimeLapseOutTime(); + if (object.interval != null) + message.interval = object.interval | 0; + if (object.outTime != null) + message.outTime = object.outTime | 0; + if (object.totalTime != null) + message.totalTime = object.totalTime | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {ResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTimeLapseOutTime.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.interval = 0; + object.outTime = 0; + object.totalTime = 0; + } + if (message.interval != null && message.hasOwnProperty("interval")) + object.interval = message.interval; + if (message.outTime != null && message.hasOwnProperty("outTime")) + object.outTime = message.outTime; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = message.totalTime; + return object; + }; + /** + * Converts this ResNotifyTimeLapseOutTime to JSON. + * @function toJSON + * @memberof ResNotifyTimeLapseOutTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTimeLapseOutTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyTimeLapseOutTime + * @function getTypeUrl + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTimeLapseOutTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTimeLapseOutTime"; + }; + return ResNotifyTimeLapseOutTime; +})(); +$root.ResNotifyOperationState = (function () { + /** + * Properties of a ResNotifyOperationState. + * @exports IResNotifyOperationState + * @interface IResNotifyOperationState + * @property {OperationState|null} [state] ResNotifyOperationState state + */ + /** + * Constructs a new ResNotifyOperationState. + * @exports ResNotifyOperationState + * @classdesc Represents a ResNotifyOperationState. + * @implements IResNotifyOperationState + * @constructor + * @param {IResNotifyOperationState=} [properties] Properties to set + */ + function ResNotifyOperationState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyOperationState state. + * @member {OperationState} state + * @memberof ResNotifyOperationState + * @instance + */ + ResNotifyOperationState.prototype.state = 0; + /** + * Creates a new ResNotifyOperationState instance using the specified properties. + * @function create + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState=} [properties] Properties to set + * @returns {ResNotifyOperationState} ResNotifyOperationState instance + */ + ResNotifyOperationState.create = function create(properties) { + return new ResNotifyOperationState(properties); + }; + /** + * Encodes the specified ResNotifyOperationState message. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyOperationState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyOperationState message. + * @function verify + * @memberof ResNotifyOperationState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOperationState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + /** + * Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOperationState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOperationState} ResNotifyOperationState + */ + ResNotifyOperationState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOperationState) + return object; + var message = new $root.ResNotifyOperationState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOperationState + * @static + * @param {ResNotifyOperationState} message ResNotifyOperationState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOperationState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifyOperationState to JSON. + * @function toJSON + * @memberof ResNotifyOperationState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOperationState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyOperationState + * @function getTypeUrl + * @memberof ResNotifyOperationState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOperationState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOperationState"; + }; + return ResNotifyOperationState; +})(); +$root.ResNotifyStateAstroCalibration = (function () { + /** + * Properties of a ResNotifyStateAstroCalibration. + * @exports IResNotifyStateAstroCalibration + * @interface IResNotifyStateAstroCalibration + * @property {AstroState|null} [state] ResNotifyStateAstroCalibration state + * @property {number|null} [plateSolvingTimes] ResNotifyStateAstroCalibration plateSolvingTimes + */ + /** + * Constructs a new ResNotifyStateAstroCalibration. + * @exports ResNotifyStateAstroCalibration + * @classdesc Represents a ResNotifyStateAstroCalibration. + * @implements IResNotifyStateAstroCalibration + * @constructor + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + */ + function ResNotifyStateAstroCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStateAstroCalibration state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.state = 0; + /** + * ResNotifyStateAstroCalibration plateSolvingTimes. + * @member {number} plateSolvingTimes + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.plateSolvingTimes = 0; + /** + * Creates a new ResNotifyStateAstroCalibration instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration instance + */ + ResNotifyStateAstroCalibration.create = function create(properties) { + return new ResNotifyStateAstroCalibration(properties); + }; + /** + * Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if (message.plateSolvingTimes != null && + Object.hasOwnProperty.call(message, "plateSolvingTimes")) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.plateSolvingTimes); + return writer; + }; + /** + * Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStateAstroCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.plateSolvingTimes = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStateAstroCalibration message. + * @function verify + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes")) + if (!$util.isInteger(message.plateSolvingTimes)) + return "plateSolvingTimes: integer expected"; + return null; + }; + /** + * Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + */ + ResNotifyStateAstroCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroCalibration) + return object; + var message = new $root.ResNotifyStateAstroCalibration(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + if (object.plateSolvingTimes != null) + message.plateSolvingTimes = object.plateSolvingTimes | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {ResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroCalibration.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + object.plateSolvingTimes = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + if (message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes")) + object.plateSolvingTimes = message.plateSolvingTimes; + return object; + }; + /** + * Converts this ResNotifyStateAstroCalibration to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroCalibration + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStateAstroCalibration + * @function getTypeUrl + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroCalibration"; + }; + return ResNotifyStateAstroCalibration; +})(); +$root.ResNotifyStateAstroGoto = (function () { + /** + * Properties of a ResNotifyStateAstroGoto. + * @exports IResNotifyStateAstroGoto + * @interface IResNotifyStateAstroGoto + * @property {AstroState|null} [state] ResNotifyStateAstroGoto state + */ + /** + * Constructs a new ResNotifyStateAstroGoto. + * @exports ResNotifyStateAstroGoto + * @classdesc Represents a ResNotifyStateAstroGoto. + * @implements IResNotifyStateAstroGoto + * @constructor + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + */ + function ResNotifyStateAstroGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStateAstroGoto state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroGoto + * @instance + */ + ResNotifyStateAstroGoto.prototype.state = 0; + /** + * Creates a new ResNotifyStateAstroGoto instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto instance + */ + ResNotifyStateAstroGoto.create = function create(properties) { + return new ResNotifyStateAstroGoto(properties); + }; + /** + * Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStateAstroGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStateAstroGoto message. + * @function verify + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + return null; + }; + /** + * Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + */ + ResNotifyStateAstroGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroGoto) + return object; + var message = new $root.ResNotifyStateAstroGoto(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {ResNotifyStateAstroGoto} message ResNotifyStateAstroGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroGoto.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifyStateAstroGoto to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroGoto + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStateAstroGoto + * @function getTypeUrl + * @memberof ResNotifyStateAstroGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroGoto"; + }; + return ResNotifyStateAstroGoto; +})(); +$root.ResNotifyStateAstroTracking = (function () { + /** + * Properties of a ResNotifyStateAstroTracking. + * @exports IResNotifyStateAstroTracking + * @interface IResNotifyStateAstroTracking + * @property {OperationState|null} [state] ResNotifyStateAstroTracking state + * @property {string|null} [targetName] ResNotifyStateAstroTracking targetName + */ + /** + * Constructs a new ResNotifyStateAstroTracking. + * @exports ResNotifyStateAstroTracking + * @classdesc Represents a ResNotifyStateAstroTracking. + * @implements IResNotifyStateAstroTracking + * @constructor + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + */ + function ResNotifyStateAstroTracking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStateAstroTracking state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.state = 0; + /** + * ResNotifyStateAstroTracking targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.targetName = ""; + /** + * Creates a new ResNotifyStateAstroTracking instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking instance + */ + ResNotifyStateAstroTracking.create = function create(properties) { + return new ResNotifyStateAstroTracking(properties); + }; + /** + * Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStateAstroTracking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStateAstroTracking message. + * @function verify + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTracking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + */ + ResNotifyStateAstroTracking.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTracking) + return object; + var message = new $root.ResNotifyStateAstroTracking(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {ResNotifyStateAstroTracking} message ResNotifyStateAstroTracking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTracking.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ResNotifyStateAstroTracking to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTracking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTracking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStateAstroTracking + * @function getTypeUrl + * @memberof ResNotifyStateAstroTracking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTracking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTracking"; + }; + return ResNotifyStateAstroTracking; +})(); +$root.ResNotifyProgressCaptureRawDark = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawDark. + * @exports IResNotifyProgressCaptureRawDark + * @interface IResNotifyProgressCaptureRawDark + * @property {number|null} [progress] ResNotifyProgressCaptureRawDark progress + * @property {number|null} [remainingTime] ResNotifyProgressCaptureRawDark remainingTime + */ + /** + * Constructs a new ResNotifyProgressCaptureRawDark. + * @exports ResNotifyProgressCaptureRawDark + * @classdesc Represents a ResNotifyProgressCaptureRawDark. + * @implements IResNotifyProgressCaptureRawDark + * @constructor + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawDark(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyProgressCaptureRawDark progress. + * @member {number} progress + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.progress = 0; + /** + * ResNotifyProgressCaptureRawDark remainingTime. + * @member {number} remainingTime + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.remainingTime = 0; + /** + * Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark instance + */ + ResNotifyProgressCaptureRawDark.create = function create(properties) { + return new ResNotifyProgressCaptureRawDark(properties); + }; + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.progress != null && + Object.hasOwnProperty.call(message, "progress")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if (message.remainingTime != null && + Object.hasOwnProperty.call(message, "remainingTime")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.remainingTime); + return writer; + }; + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyProgressCaptureRawDark(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.remainingTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyProgressCaptureRawDark message. + * @function verify + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawDark.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if (message.remainingTime != null && + message.hasOwnProperty("remainingTime")) + if (!$util.isInteger(message.remainingTime)) + return "remainingTime: integer expected"; + return null; + }; + /** + * Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + */ + ResNotifyProgressCaptureRawDark.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyProgressCaptureRawDark) + return object; + var message = new $root.ResNotifyProgressCaptureRawDark(); + if (object.progress != null) + message.progress = object.progress | 0; + if (object.remainingTime != null) + message.remainingTime = object.remainingTime | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {ResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawDark.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.remainingTime = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if (message.remainingTime != null && + message.hasOwnProperty("remainingTime")) + object.remainingTime = message.remainingTime; + return object; + }; + /** + * Converts this ResNotifyProgressCaptureRawDark to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawDark + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawDark.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyProgressCaptureRawDark + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawDark.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawDark"; + }; + return ResNotifyProgressCaptureRawDark; +})(); +$root.ResNotifyProgressCaptureRawLiveStacking = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawLiveStacking. + * @exports IResNotifyProgressCaptureRawLiveStacking + * @interface IResNotifyProgressCaptureRawLiveStacking + * @property {number|null} [totalCount] ResNotifyProgressCaptureRawLiveStacking totalCount + * @property {number|null} [updateCountType] ResNotifyProgressCaptureRawLiveStacking updateCountType + * @property {number|null} [currentCount] ResNotifyProgressCaptureRawLiveStacking currentCount + * @property {number|null} [stackedCount] ResNotifyProgressCaptureRawLiveStacking stackedCount + * @property {number|null} [expIndex] ResNotifyProgressCaptureRawLiveStacking expIndex + * @property {number|null} [gainIndex] ResNotifyProgressCaptureRawLiveStacking gainIndex + * @property {string|null} [targetName] ResNotifyProgressCaptureRawLiveStacking targetName + */ + /** + * Constructs a new ResNotifyProgressCaptureRawLiveStacking. + * @exports ResNotifyProgressCaptureRawLiveStacking + * @classdesc Represents a ResNotifyProgressCaptureRawLiveStacking. + * @implements IResNotifyProgressCaptureRawLiveStacking + * @constructor + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyProgressCaptureRawLiveStacking totalCount. + * @member {number} totalCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.totalCount = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking updateCountType. + * @member {number} updateCountType + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.updateCountType = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking currentCount. + * @member {number} currentCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.currentCount = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking stackedCount. + * @member {number} stackedCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.stackedCount = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking expIndex. + * @member {number} expIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.expIndex = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking gainIndex. + * @member {number} gainIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.gainIndex = 0; + /** + * ResNotifyProgressCaptureRawLiveStacking targetName. + * @member {string} targetName + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.targetName = ""; + /** + * Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking instance + */ + ResNotifyProgressCaptureRawLiveStacking.create = function create(properties) { + return new ResNotifyProgressCaptureRawLiveStacking(properties); + }; + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if (message.updateCountType != null && + Object.hasOwnProperty.call(message, "updateCountType")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.updateCountType); + if (message.currentCount != null && + Object.hasOwnProperty.call(message, "currentCount")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.currentCount); + if (message.stackedCount != null && + Object.hasOwnProperty.call(message, "stackedCount")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.stackedCount); + if (message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.expIndex); + if (message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.gainIndex); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.targetName); + return writer; + }; + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.updateCountType = reader.int32(); + break; + } + case 3: { + message.currentCount = reader.int32(); + break; + } + case 4: { + message.stackedCount = reader.int32(); + break; + } + case 5: { + message.expIndex = reader.int32(); + break; + } + case 6: { + message.gainIndex = reader.int32(); + break; + } + case 7: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyProgressCaptureRawLiveStacking message. + * @function verify + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if (message.updateCountType != null && + message.hasOwnProperty("updateCountType")) + if (!$util.isInteger(message.updateCountType)) + return "updateCountType: integer expected"; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + if (!$util.isInteger(message.currentCount)) + return "currentCount: integer expected"; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + if (!$util.isInteger(message.stackedCount)) + return "stackedCount: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + /** + * Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + */ + ResNotifyProgressCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyProgressCaptureRawLiveStacking) + return object; + var message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + if (object.totalCount != null) + message.totalCount = object.totalCount | 0; + if (object.updateCountType != null) + message.updateCountType = object.updateCountType | 0; + if (object.currentCount != null) + message.currentCount = object.currentCount | 0; + if (object.stackedCount != null) + message.stackedCount = object.stackedCount | 0; + if (object.expIndex != null) + message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) + message.gainIndex = object.gainIndex | 0; + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + /** + * Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {ResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawLiveStacking.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.updateCountType = 0; + object.currentCount = 0; + object.stackedCount = 0; + object.expIndex = 0; + object.gainIndex = 0; + object.targetName = ""; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if (message.updateCountType != null && + message.hasOwnProperty("updateCountType")) + object.updateCountType = message.updateCountType; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + object.currentCount = message.currentCount; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + object.stackedCount = message.stackedCount; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + /** + * Converts this ResNotifyProgressCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyProgressCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawLiveStacking"; + }; + return ResNotifyProgressCaptureRawLiveStacking; +})(); +$root.ResNotifyParam = (function () { + /** + * Properties of a ResNotifyParam. + * @exports IResNotifyParam + * @interface IResNotifyParam + * @property {Array.|null} [param] ResNotifyParam param + */ + /** + * Constructs a new ResNotifyParam. + * @exports ResNotifyParam + * @classdesc Represents a ResNotifyParam. + * @implements IResNotifyParam + * @constructor + * @param {IResNotifyParam=} [properties] Properties to set + */ + function ResNotifyParam(properties) { + this.param = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyParam param. + * @member {Array.} param + * @memberof ResNotifyParam + * @instance + */ + ResNotifyParam.prototype.param = $util.emptyArray; + /** + * Creates a new ResNotifyParam instance using the specified properties. + * @function create + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam=} [properties] Properties to set + * @returns {ResNotifyParam} ResNotifyParam instance + */ + ResNotifyParam.create = function create(properties) { + return new ResNotifyParam(properties); + }; + /** + * Encodes the specified ResNotifyParam message. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encode + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.param != null && message.param.length) + for (var i = 0; i < message.param.length; ++i) + $root.CommonParam.encode(message.param[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ResNotifyParam message, length delimited. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyParam message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.param && message.param.length)) + message.param = []; + message.param.push($root.CommonParam.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyParam message. + * @function verify + * @memberof ResNotifyParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + if (!Array.isArray(message.param)) + return "param: array expected"; + for (var i = 0; i < message.param.length; ++i) { + var error = $root.CommonParam.verify(message.param[i]); + if (error) + return "param." + error; + } + } + return null; + }; + /** + * Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyParam + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyParam} ResNotifyParam + */ + ResNotifyParam.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyParam) + return object; + var message = new $root.ResNotifyParam(); + if (object.param) { + if (!Array.isArray(object.param)) + throw TypeError(".ResNotifyParam.param: array expected"); + message.param = []; + for (var i = 0; i < object.param.length; ++i) { + if (typeof object.param[i] !== "object") + throw TypeError(".ResNotifyParam.param: object expected"); + message.param[i] = $root.CommonParam.fromObject(object.param[i]); + } + } + return message; + }; + /** + * Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyParam + * @static + * @param {ResNotifyParam} message ResNotifyParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyParam.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.param = []; + if (message.param && message.param.length) { + object.param = []; + for (var j = 0; j < message.param.length; ++j) + object.param[j] = $root.CommonParam.toObject(message.param[j], options); + } + return object; + }; + /** + * Converts this ResNotifyParam to JSON. + * @function toJSON + * @memberof ResNotifyParam + * @instance + * @returns {Object.} JSON object + */ + ResNotifyParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyParam + * @function getTypeUrl + * @memberof ResNotifyParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyParam"; + }; + return ResNotifyParam; +})(); +$root.ResNotifyCamFunctionState = (function () { + /** + * Properties of a ResNotifyCamFunctionState. + * @exports IResNotifyCamFunctionState + * @interface IResNotifyCamFunctionState + * @property {OperationState|null} [state] ResNotifyCamFunctionState state + * @property {number|null} [functionId] ResNotifyCamFunctionState functionId + */ + /** + * Constructs a new ResNotifyCamFunctionState. + * @exports ResNotifyCamFunctionState + * @classdesc Represents a ResNotifyCamFunctionState. + * @implements IResNotifyCamFunctionState + * @constructor + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + */ + function ResNotifyCamFunctionState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyCamFunctionState state. + * @member {OperationState} state + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.state = 0; + /** + * ResNotifyCamFunctionState functionId. + * @member {number} functionId + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.functionId = 0; + /** + * Creates a new ResNotifyCamFunctionState instance using the specified properties. + * @function create + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState instance + */ + ResNotifyCamFunctionState.create = function create(properties) { + return new ResNotifyCamFunctionState(properties); + }; + /** + * Encodes the specified ResNotifyCamFunctionState message. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encode + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if (message.functionId != null && + Object.hasOwnProperty.call(message, "functionId")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.functionId); + return writer; + }; + /** + * Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyCamFunctionState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.functionId = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyCamFunctionState message. + * @function verify + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCamFunctionState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + return null; + }; + /** + * Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + */ + ResNotifyCamFunctionState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCamFunctionState) + return object; + var message = new $root.ResNotifyCamFunctionState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.functionId != null) + message.functionId = object.functionId >>> 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {ResNotifyCamFunctionState} message ResNotifyCamFunctionState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCamFunctionState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.functionId = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + return object; + }; + /** + * Converts this ResNotifyCamFunctionState to JSON. + * @function toJSON + * @memberof ResNotifyCamFunctionState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCamFunctionState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyCamFunctionState + * @function getTypeUrl + * @memberof ResNotifyCamFunctionState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCamFunctionState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCamFunctionState"; + }; + return ResNotifyCamFunctionState; +})(); +$root.ResNotifyBurstProgress = (function () { + /** + * Properties of a ResNotifyBurstProgress. + * @exports IResNotifyBurstProgress + * @interface IResNotifyBurstProgress + * @property {number|null} [totalCount] ResNotifyBurstProgress totalCount + * @property {number|null} [completedCount] ResNotifyBurstProgress completedCount + */ + /** + * Constructs a new ResNotifyBurstProgress. + * @exports ResNotifyBurstProgress + * @classdesc Represents a ResNotifyBurstProgress. + * @implements IResNotifyBurstProgress + * @constructor + * @param {IResNotifyBurstProgress=} [properties] Properties to set + */ + function ResNotifyBurstProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyBurstProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.totalCount = 0; + /** + * ResNotifyBurstProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.completedCount = 0; + /** + * Creates a new ResNotifyBurstProgress instance using the specified properties. + * @function create + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress=} [properties] Properties to set + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress instance + */ + ResNotifyBurstProgress.create = function create(properties) { + return new ResNotifyBurstProgress(properties); + }; + /** + * Encodes the specified ResNotifyBurstProgress message. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.totalCount); + if (message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.completedCount); + return writer; + }; + /** + * Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyBurstProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.uint32(); + break; + } + case 2: { + message.completedCount = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyBurstProgress message. + * @function verify + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyBurstProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if (message.completedCount != null && + message.hasOwnProperty("completedCount")) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + /** + * Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + */ + ResNotifyBurstProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyBurstProgress) + return object; + var message = new $root.ResNotifyBurstProgress(); + if (object.totalCount != null) + message.totalCount = object.totalCount >>> 0; + if (object.completedCount != null) + message.completedCount = object.completedCount >>> 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyBurstProgress + * @static + * @param {ResNotifyBurstProgress} message ResNotifyBurstProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyBurstProgress.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if (message.completedCount != null && + message.hasOwnProperty("completedCount")) + object.completedCount = message.completedCount; + return object; + }; + /** + * Converts this ResNotifyBurstProgress to JSON. + * @function toJSON + * @memberof ResNotifyBurstProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyBurstProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyBurstProgress + * @function getTypeUrl + * @memberof ResNotifyBurstProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyBurstProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyBurstProgress"; + }; + return ResNotifyBurstProgress; +})(); +$root.ResNotifyPanoramaProgress = (function () { + /** + * Properties of a ResNotifyPanoramaProgress. + * @exports IResNotifyPanoramaProgress + * @interface IResNotifyPanoramaProgress + * @property {number|null} [totalCount] ResNotifyPanoramaProgress totalCount + * @property {number|null} [completedCount] ResNotifyPanoramaProgress completedCount + */ + /** + * Constructs a new ResNotifyPanoramaProgress. + * @exports ResNotifyPanoramaProgress + * @classdesc Represents a ResNotifyPanoramaProgress. + * @implements IResNotifyPanoramaProgress + * @constructor + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPanoramaProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.totalCount = 0; + /** + * ResNotifyPanoramaProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.completedCount = 0; + /** + * Creates a new ResNotifyPanoramaProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress instance + */ + ResNotifyPanoramaProgress.create = function create(properties) { + return new ResNotifyPanoramaProgress(properties); + }; + /** + * Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if (message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.completedCount); + return writer; + }; + /** + * Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPanoramaProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.completedCount = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPanoramaProgress message. + * @function verify + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if (message.completedCount != null && + message.hasOwnProperty("completedCount")) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + /** + * Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + */ + ResNotifyPanoramaProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaProgress) + return object; + var message = new $root.ResNotifyPanoramaProgress(); + if (object.totalCount != null) + message.totalCount = object.totalCount | 0; + if (object.completedCount != null) + message.completedCount = object.completedCount | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {ResNotifyPanoramaProgress} message ResNotifyPanoramaProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaProgress.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if (message.completedCount != null && + message.hasOwnProperty("completedCount")) + object.completedCount = message.completedCount; + return object; + }; + /** + * Converts this ResNotifyPanoramaProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPanoramaProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaProgress"; + }; + return ResNotifyPanoramaProgress; +})(); +$root.ResNotifyRgbState = (function () { + /** + * Properties of a ResNotifyRgbState. + * @exports IResNotifyRgbState + * @interface IResNotifyRgbState + * @property {number|null} [state] ResNotifyRgbState state + */ + /** + * Constructs a new ResNotifyRgbState. + * @exports ResNotifyRgbState + * @classdesc Represents a ResNotifyRgbState. + * @implements IResNotifyRgbState + * @constructor + * @param {IResNotifyRgbState=} [properties] Properties to set + */ + function ResNotifyRgbState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyRgbState state. + * @member {number} state + * @memberof ResNotifyRgbState + * @instance + */ + ResNotifyRgbState.prototype.state = 0; + /** + * Creates a new ResNotifyRgbState instance using the specified properties. + * @function create + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState=} [properties] Properties to set + * @returns {ResNotifyRgbState} ResNotifyRgbState instance + */ + ResNotifyRgbState.create = function create(properties) { + return new ResNotifyRgbState(properties); + }; + /** + * Encodes the specified ResNotifyRgbState message. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encode + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyRgbState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyRgbState message. + * @function verify + * @memberof ResNotifyRgbState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRgbState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) + return "state: integer expected"; + return null; + }; + /** + * Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRgbState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRgbState} ResNotifyRgbState + */ + ResNotifyRgbState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRgbState) + return object; + var message = new $root.ResNotifyRgbState(); + if (object.state != null) + message.state = object.state | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRgbState + * @static + * @param {ResNotifyRgbState} message ResNotifyRgbState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRgbState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + /** + * Converts this ResNotifyRgbState to JSON. + * @function toJSON + * @memberof ResNotifyRgbState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRgbState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyRgbState + * @function getTypeUrl + * @memberof ResNotifyRgbState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRgbState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRgbState"; + }; + return ResNotifyRgbState; +})(); +$root.ResNotifyPowerIndState = (function () { + /** + * Properties of a ResNotifyPowerIndState. + * @exports IResNotifyPowerIndState + * @interface IResNotifyPowerIndState + * @property {number|null} [state] ResNotifyPowerIndState state + */ + /** + * Constructs a new ResNotifyPowerIndState. + * @exports ResNotifyPowerIndState + * @classdesc Represents a ResNotifyPowerIndState. + * @implements IResNotifyPowerIndState + * @constructor + * @param {IResNotifyPowerIndState=} [properties] Properties to set + */ + function ResNotifyPowerIndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPowerIndState state. + * @member {number} state + * @memberof ResNotifyPowerIndState + * @instance + */ + ResNotifyPowerIndState.prototype.state = 0; + /** + * Creates a new ResNotifyPowerIndState instance using the specified properties. + * @function create + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState=} [properties] Properties to set + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState instance + */ + ResNotifyPowerIndState.create = function create(properties) { + return new ResNotifyPowerIndState(properties); + }; + /** + * Encodes the specified ResNotifyPowerIndState message. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPowerIndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPowerIndState message. + * @function verify + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerIndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) + return "state: integer expected"; + return null; + }; + /** + * Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + */ + ResNotifyPowerIndState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerIndState) + return object; + var message = new $root.ResNotifyPowerIndState(); + if (object.state != null) + message.state = object.state | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerIndState + * @static + * @param {ResNotifyPowerIndState} message ResNotifyPowerIndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerIndState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + /** + * Converts this ResNotifyPowerIndState to JSON. + * @function toJSON + * @memberof ResNotifyPowerIndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerIndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPowerIndState + * @function getTypeUrl + * @memberof ResNotifyPowerIndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerIndState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerIndState"; + }; + return ResNotifyPowerIndState; +})(); +$root.ResNotifyHostSlaveMode = (function () { + /** + * Properties of a ResNotifyHostSlaveMode. + * @exports IResNotifyHostSlaveMode + * @interface IResNotifyHostSlaveMode + * @property {number|null} [mode] ResNotifyHostSlaveMode mode + * @property {boolean|null} [lock] ResNotifyHostSlaveMode lock + */ + /** + * Constructs a new ResNotifyHostSlaveMode. + * @exports ResNotifyHostSlaveMode + * @classdesc Represents a ResNotifyHostSlaveMode. + * @implements IResNotifyHostSlaveMode + * @constructor + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + */ + function ResNotifyHostSlaveMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyHostSlaveMode mode. + * @member {number} mode + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.mode = 0; + /** + * ResNotifyHostSlaveMode lock. + * @member {boolean} lock + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.lock = false; + /** + * Creates a new ResNotifyHostSlaveMode instance using the specified properties. + * @function create + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode instance + */ + ResNotifyHostSlaveMode.create = function create(properties) { + return new ResNotifyHostSlaveMode(properties); + }; + /** + * Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.lock); + return writer; + }; + /** + * Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyHostSlaveMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + case 2: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyHostSlaveMode message. + * @function verify + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyHostSlaveMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") + return "lock: boolean expected"; + return null; + }; + /** + * Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + */ + ResNotifyHostSlaveMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyHostSlaveMode) + return object; + var message = new $root.ResNotifyHostSlaveMode(); + if (object.mode != null) + message.mode = object.mode | 0; + if (object.lock != null) + message.lock = Boolean(object.lock); + return message; + }; + /** + * Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {ResNotifyHostSlaveMode} message ResNotifyHostSlaveMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyHostSlaveMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.lock = false; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + /** + * Converts this ResNotifyHostSlaveMode to JSON. + * @function toJSON + * @memberof ResNotifyHostSlaveMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyHostSlaveMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyHostSlaveMode + * @function getTypeUrl + * @memberof ResNotifyHostSlaveMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyHostSlaveMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyHostSlaveMode"; + }; + return ResNotifyHostSlaveMode; +})(); +$root.ResNotifyMTPState = (function () { + /** + * Properties of a ResNotifyMTPState. + * @exports IResNotifyMTPState + * @interface IResNotifyMTPState + * @property {number|null} [mode] ResNotifyMTPState mode + */ + /** + * Constructs a new ResNotifyMTPState. + * @exports ResNotifyMTPState + * @classdesc Represents a ResNotifyMTPState. + * @implements IResNotifyMTPState + * @constructor + * @param {IResNotifyMTPState=} [properties] Properties to set + */ + function ResNotifyMTPState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyMTPState mode. + * @member {number} mode + * @memberof ResNotifyMTPState + * @instance + */ + ResNotifyMTPState.prototype.mode = 0; + /** + * Creates a new ResNotifyMTPState instance using the specified properties. + * @function create + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState=} [properties] Properties to set + * @returns {ResNotifyMTPState} ResNotifyMTPState instance + */ + ResNotifyMTPState.create = function create(properties) { + return new ResNotifyMTPState(properties); + }; + /** + * Encodes the specified ResNotifyMTPState message. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encode + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyMTPState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyMTPState message. + * @function verify + * @memberof ResNotifyMTPState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyMTPState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyMTPState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyMTPState} ResNotifyMTPState + */ + ResNotifyMTPState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyMTPState) + return object; + var message = new $root.ResNotifyMTPState(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyMTPState + * @static + * @param {ResNotifyMTPState} message ResNotifyMTPState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyMTPState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ResNotifyMTPState to JSON. + * @function toJSON + * @memberof ResNotifyMTPState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyMTPState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyMTPState + * @function getTypeUrl + * @memberof ResNotifyMTPState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyMTPState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyMTPState"; + }; + return ResNotifyMTPState; +})(); +$root.ResNotifyTrackResult = (function () { + /** + * Properties of a ResNotifyTrackResult. + * @exports IResNotifyTrackResult + * @interface IResNotifyTrackResult + * @property {number|null} [x] ResNotifyTrackResult x + * @property {number|null} [y] ResNotifyTrackResult y + * @property {number|null} [w] ResNotifyTrackResult w + * @property {number|null} [h] ResNotifyTrackResult h + */ + /** + * Constructs a new ResNotifyTrackResult. + * @exports ResNotifyTrackResult + * @classdesc Represents a ResNotifyTrackResult. + * @implements IResNotifyTrackResult + * @constructor + * @param {IResNotifyTrackResult=} [properties] Properties to set + */ + function ResNotifyTrackResult(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyTrackResult x. + * @member {number} x + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.x = 0; + /** + * ResNotifyTrackResult y. + * @member {number} y + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.y = 0; + /** + * ResNotifyTrackResult w. + * @member {number} w + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.w = 0; + /** + * ResNotifyTrackResult h. + * @member {number} h + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.h = 0; + /** + * Creates a new ResNotifyTrackResult instance using the specified properties. + * @function create + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult=} [properties] Properties to set + * @returns {ResNotifyTrackResult} ResNotifyTrackResult instance + */ + ResNotifyTrackResult.create = function create(properties) { + return new ResNotifyTrackResult(properties); + }; + /** + * Encodes the specified ResNotifyTrackResult message. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encode + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + /** + * Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyTrackResult(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyTrackResult message. + * @function verify + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTrackResult.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) + return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) + return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) + return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) + return "h: integer expected"; + return null; + }; + /** + * Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + */ + ResNotifyTrackResult.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTrackResult) + return object; + var message = new $root.ResNotifyTrackResult(); + if (object.x != null) + message.x = object.x | 0; + if (object.y != null) + message.y = object.y | 0; + if (object.w != null) + message.w = object.w | 0; + if (object.h != null) + message.h = object.h | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTrackResult + * @static + * @param {ResNotifyTrackResult} message ResNotifyTrackResult + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTrackResult.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) + object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) + object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) + object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) + object.h = message.h; + return object; + }; + /** + * Converts this ResNotifyTrackResult to JSON. + * @function toJSON + * @memberof ResNotifyTrackResult + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTrackResult.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyTrackResult + * @function getTypeUrl + * @memberof ResNotifyTrackResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTrackResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTrackResult"; + }; + return ResNotifyTrackResult; +})(); +$root.ResNotifyCPUMode = (function () { + /** + * Properties of a ResNotifyCPUMode. + * @exports IResNotifyCPUMode + * @interface IResNotifyCPUMode + * @property {number|null} [mode] ResNotifyCPUMode mode + */ + /** + * Constructs a new ResNotifyCPUMode. + * @exports ResNotifyCPUMode + * @classdesc Represents a ResNotifyCPUMode. + * @implements IResNotifyCPUMode + * @constructor + * @param {IResNotifyCPUMode=} [properties] Properties to set + */ + function ResNotifyCPUMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyCPUMode mode. + * @member {number} mode + * @memberof ResNotifyCPUMode + * @instance + */ + ResNotifyCPUMode.prototype.mode = 0; + /** + * Creates a new ResNotifyCPUMode instance using the specified properties. + * @function create + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode=} [properties] Properties to set + * @returns {ResNotifyCPUMode} ResNotifyCPUMode instance + */ + ResNotifyCPUMode.create = function create(properties) { + return new ResNotifyCPUMode(properties); + }; + /** + * Encodes the specified ResNotifyCPUMode message. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyCPUMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyCPUMode message. + * @function verify + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCPUMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + */ + ResNotifyCPUMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCPUMode) + return object; + var message = new $root.ResNotifyCPUMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCPUMode + * @static + * @param {ResNotifyCPUMode} message ResNotifyCPUMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCPUMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ResNotifyCPUMode to JSON. + * @function toJSON + * @memberof ResNotifyCPUMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCPUMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyCPUMode + * @function getTypeUrl + * @memberof ResNotifyCPUMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCPUMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCPUMode"; + }; + return ResNotifyCPUMode; +})(); +$root.ResNotifyStateAstroTrackingSpecial = (function () { + /** + * Properties of a ResNotifyStateAstroTrackingSpecial. + * @exports IResNotifyStateAstroTrackingSpecial + * @interface IResNotifyStateAstroTrackingSpecial + * @property {OperationState|null} [state] ResNotifyStateAstroTrackingSpecial state + * @property {string|null} [targetName] ResNotifyStateAstroTrackingSpecial targetName + * @property {number|null} [index] ResNotifyStateAstroTrackingSpecial index + */ + /** + * Constructs a new ResNotifyStateAstroTrackingSpecial. + * @exports ResNotifyStateAstroTrackingSpecial + * @classdesc Represents a ResNotifyStateAstroTrackingSpecial. + * @implements IResNotifyStateAstroTrackingSpecial + * @constructor + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + */ + function ResNotifyStateAstroTrackingSpecial(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStateAstroTrackingSpecial state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.state = 0; + /** + * ResNotifyStateAstroTrackingSpecial targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.targetName = ""; + /** + * ResNotifyStateAstroTrackingSpecial index. + * @member {number} index + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.index = 0; + /** + * Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial instance + */ + ResNotifyStateAstroTrackingSpecial.create = function create(properties) { + return new ResNotifyStateAstroTrackingSpecial(properties); + }; + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if (message.targetName != null && + Object.hasOwnProperty.call(message, "targetName")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.index); + return writer; + }; + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStateAstroTrackingSpecial(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + case 3: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStateAstroTrackingSpecial message. + * @function verify + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTrackingSpecial.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + return null; + }; + /** + * Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + */ + ResNotifyStateAstroTrackingSpecial.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTrackingSpecial) + return object; + var message = new $root.ResNotifyStateAstroTrackingSpecial(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + if (object.index != null) + message.index = object.index | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {ResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTrackingSpecial.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + object.index = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + /** + * Converts this ResNotifyStateAstroTrackingSpecial to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTrackingSpecial.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStateAstroTrackingSpecial + * @function getTypeUrl + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTrackingSpecial.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTrackingSpecial"; + }; + return ResNotifyStateAstroTrackingSpecial; +})(); +$root.ResNotifyPowerOff = (function () { + /** + * Properties of a ResNotifyPowerOff. + * @exports IResNotifyPowerOff + * @interface IResNotifyPowerOff + */ + /** + * Constructs a new ResNotifyPowerOff. + * @exports ResNotifyPowerOff + * @classdesc Represents a ResNotifyPowerOff. + * @implements IResNotifyPowerOff + * @constructor + * @param {IResNotifyPowerOff=} [properties] Properties to set + */ + function ResNotifyPowerOff(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ResNotifyPowerOff instance using the specified properties. + * @function create + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff=} [properties] Properties to set + * @returns {ResNotifyPowerOff} ResNotifyPowerOff instance + */ + ResNotifyPowerOff.create = function create(properties) { + return new ResNotifyPowerOff(properties); + }; + /** + * Encodes the specified ResNotifyPowerOff message. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPowerOff(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPowerOff message. + * @function verify + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerOff.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + */ + ResNotifyPowerOff.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerOff) + return object; + return new $root.ResNotifyPowerOff(); + }; + /** + * Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerOff + * @static + * @param {ResNotifyPowerOff} message ResNotifyPowerOff + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerOff.toObject = function toObject() { + return {}; + }; + /** + * Converts this ResNotifyPowerOff to JSON. + * @function toJSON + * @memberof ResNotifyPowerOff + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerOff.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPowerOff + * @function getTypeUrl + * @memberof ResNotifyPowerOff + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerOff.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerOff"; + }; + return ResNotifyPowerOff; +})(); +$root.ResNotifyAlbumUpdate = (function () { + /** + * Properties of a ResNotifyAlbumUpdate. + * @exports IResNotifyAlbumUpdate + * @interface IResNotifyAlbumUpdate + * @property {number|null} [mediaType] ResNotifyAlbumUpdate mediaType + */ + /** + * Constructs a new ResNotifyAlbumUpdate. + * @exports ResNotifyAlbumUpdate + * @classdesc Represents a ResNotifyAlbumUpdate. + * @implements IResNotifyAlbumUpdate + * @constructor + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + */ + function ResNotifyAlbumUpdate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyAlbumUpdate mediaType. + * @member {number} mediaType + * @memberof ResNotifyAlbumUpdate + * @instance + */ + ResNotifyAlbumUpdate.prototype.mediaType = 0; + /** + * Creates a new ResNotifyAlbumUpdate instance using the specified properties. + * @function create + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate instance + */ + ResNotifyAlbumUpdate.create = function create(properties) { + return new ResNotifyAlbumUpdate(properties); + }; + /** + * Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mediaType != null && + Object.hasOwnProperty.call(message, "mediaType")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mediaType); + return writer; + }; + /** + * Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyAlbumUpdate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mediaType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyAlbumUpdate message. + * @function verify + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyAlbumUpdate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + if (!$util.isInteger(message.mediaType)) + return "mediaType: integer expected"; + return null; + }; + /** + * Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + */ + ResNotifyAlbumUpdate.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyAlbumUpdate) + return object; + var message = new $root.ResNotifyAlbumUpdate(); + if (object.mediaType != null) + message.mediaType = object.mediaType | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {ResNotifyAlbumUpdate} message ResNotifyAlbumUpdate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyAlbumUpdate.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mediaType = 0; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + object.mediaType = message.mediaType; + return object; + }; + /** + * Converts this ResNotifyAlbumUpdate to JSON. + * @function toJSON + * @memberof ResNotifyAlbumUpdate + * @instance + * @returns {Object.} JSON object + */ + ResNotifyAlbumUpdate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyAlbumUpdate + * @function getTypeUrl + * @memberof ResNotifyAlbumUpdate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyAlbumUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyAlbumUpdate"; + }; + return ResNotifyAlbumUpdate; +})(); +$root.ResNotifyStateSentryMode = (function () { + /** + * Properties of a ResNotifyStateSentryMode. + * @exports IResNotifyStateSentryMode + * @interface IResNotifyStateSentryMode + * @property {SentryModeState|null} [state] ResNotifyStateSentryMode state + */ + /** + * Constructs a new ResNotifyStateSentryMode. + * @exports ResNotifyStateSentryMode + * @classdesc Represents a ResNotifyStateSentryMode. + * @implements IResNotifyStateSentryMode + * @constructor + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + */ + function ResNotifyStateSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStateSentryMode state. + * @member {SentryModeState} state + * @memberof ResNotifyStateSentryMode + * @instance + */ + ResNotifyStateSentryMode.prototype.state = 0; + /** + * Creates a new ResNotifyStateSentryMode instance using the specified properties. + * @function create + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode instance + */ + ResNotifyStateSentryMode.create = function create(properties) { + return new ResNotifyStateSentryMode(properties); + }; + /** + * Encodes the specified ResNotifyStateSentryMode message. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStateSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStateSentryMode message. + * @function verify + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + return null; + }; + /** + * Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + */ + ResNotifyStateSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateSentryMode) + return object; + var message = new $root.ResNotifyStateSentryMode(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SENTRY_MODE_STATE_IDLE": + case 0: + message.state = 0; + break; + case "SENTRY_MODE_STATE_INIT": + case 1: + message.state = 1; + break; + case "SENTRY_MODE_STATE_DETECT": + case 2: + message.state = 2; + break; + case "SENTRY_MODE_STATE_TRACK": + case 3: + message.state = 3; + break; + case "SENTRY_MODE_STATE_TRACK_FINISH": + case 4: + message.state = 4; + break; + case "SENTRY_MODE_STATE_STOPPING": + case 5: + message.state = 5; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {ResNotifyStateSentryMode} message ResNotifyStateSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateSentryMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "SENTRY_MODE_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.SentryModeState[message.state] === undefined + ? message.state + : $root.SentryModeState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifyStateSentryMode to JSON. + * @function toJSON + * @memberof ResNotifyStateSentryMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStateSentryMode + * @function getTypeUrl + * @memberof ResNotifyStateSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateSentryMode"; + }; + return ResNotifyStateSentryMode; +})(); +$root.ResNotifyOneClickGotoState = (function () { + /** + * Properties of a ResNotifyOneClickGotoState. + * @exports IResNotifyOneClickGotoState + * @interface IResNotifyOneClickGotoState + * @property {OperationState|null} [state] ResNotifyOneClickGotoState state + */ + /** + * Constructs a new ResNotifyOneClickGotoState. + * @exports ResNotifyOneClickGotoState + * @classdesc Represents a ResNotifyOneClickGotoState. + * @implements IResNotifyOneClickGotoState + * @constructor + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + */ + function ResNotifyOneClickGotoState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyOneClickGotoState state. + * @member {OperationState} state + * @memberof ResNotifyOneClickGotoState + * @instance + */ + ResNotifyOneClickGotoState.prototype.state = 0; + /** + * Creates a new ResNotifyOneClickGotoState instance using the specified properties. + * @function create + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState instance + */ + ResNotifyOneClickGotoState.create = function create(properties) { + return new ResNotifyOneClickGotoState(properties); + }; + /** + * Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyOneClickGotoState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyOneClickGotoState message. + * @function verify + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOneClickGotoState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + /** + * Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + */ + ResNotifyOneClickGotoState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOneClickGotoState) + return object; + var message = new $root.ResNotifyOneClickGotoState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {ResNotifyOneClickGotoState} message ResNotifyOneClickGotoState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOneClickGotoState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifyOneClickGotoState to JSON. + * @function toJSON + * @memberof ResNotifyOneClickGotoState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOneClickGotoState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyOneClickGotoState + * @function getTypeUrl + * @memberof ResNotifyOneClickGotoState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOneClickGotoState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOneClickGotoState"; + }; + return ResNotifyOneClickGotoState; +})(); +$root.ResNotifyStreamType = (function () { + /** + * Properties of a ResNotifyStreamType. + * @exports IResNotifyStreamType + * @interface IResNotifyStreamType + * @property {number|null} [streamType] ResNotifyStreamType streamType + * @property {number|null} [camId] ResNotifyStreamType camId + */ + /** + * Constructs a new ResNotifyStreamType. + * @exports ResNotifyStreamType + * @classdesc Represents a ResNotifyStreamType. + * @implements IResNotifyStreamType + * @constructor + * @param {IResNotifyStreamType=} [properties] Properties to set + */ + function ResNotifyStreamType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyStreamType streamType. + * @member {number} streamType + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.streamType = 0; + /** + * ResNotifyStreamType camId. + * @member {number} camId + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.camId = 0; + /** + * Creates a new ResNotifyStreamType instance using the specified properties. + * @function create + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType=} [properties] Properties to set + * @returns {ResNotifyStreamType} ResNotifyStreamType instance + */ + ResNotifyStreamType.create = function create(properties) { + return new ResNotifyStreamType(properties); + }; + /** + * Encodes the specified ResNotifyStreamType message. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encode + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.streamType != null && + Object.hasOwnProperty.call(message, "streamType")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.streamType); + if (message.camId != null && Object.hasOwnProperty.call(message, "camId")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.camId); + return writer; + }; + /** + * Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyStreamType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.streamType = reader.int32(); + break; + } + case 2: { + message.camId = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyStreamType message. + * @function verify + * @memberof ResNotifyStreamType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStreamType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.streamType != null && message.hasOwnProperty("streamType")) + if (!$util.isInteger(message.streamType)) + return "streamType: integer expected"; + if (message.camId != null && message.hasOwnProperty("camId")) + if (!$util.isInteger(message.camId)) + return "camId: integer expected"; + return null; + }; + /** + * Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStreamType + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStreamType} ResNotifyStreamType + */ + ResNotifyStreamType.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStreamType) + return object; + var message = new $root.ResNotifyStreamType(); + if (object.streamType != null) + message.streamType = object.streamType | 0; + if (object.camId != null) + message.camId = object.camId | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStreamType + * @static + * @param {ResNotifyStreamType} message ResNotifyStreamType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStreamType.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.streamType = 0; + object.camId = 0; + } + if (message.streamType != null && message.hasOwnProperty("streamType")) + object.streamType = message.streamType; + if (message.camId != null && message.hasOwnProperty("camId")) + object.camId = message.camId; + return object; + }; + /** + * Converts this ResNotifyStreamType to JSON. + * @function toJSON + * @memberof ResNotifyStreamType + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStreamType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyStreamType + * @function getTypeUrl + * @memberof ResNotifyStreamType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStreamType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStreamType"; + }; + return ResNotifyStreamType; +})(); +$root.ResNotifyEqSolvingState = (function () { + /** + * Properties of a ResNotifyEqSolvingState. + * @exports IResNotifyEqSolvingState + * @interface IResNotifyEqSolvingState + * @property {ResNotifyEqSolvingState.Action|null} [step] ResNotifyEqSolvingState step + * @property {OperationState|null} [state] ResNotifyEqSolvingState state + */ + /** + * Constructs a new ResNotifyEqSolvingState. + * @exports ResNotifyEqSolvingState + * @classdesc Represents a ResNotifyEqSolvingState. + * @implements IResNotifyEqSolvingState + * @constructor + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + */ + function ResNotifyEqSolvingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyEqSolvingState step. + * @member {ResNotifyEqSolvingState.Action} step + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.step = 0; + /** + * ResNotifyEqSolvingState state. + * @member {OperationState} state + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.state = 0; + /** + * Creates a new ResNotifyEqSolvingState instance using the specified properties. + * @function create + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState instance + */ + ResNotifyEqSolvingState.create = function create(properties) { + return new ResNotifyEqSolvingState(properties); + }; + /** + * Encodes the specified ResNotifyEqSolvingState message. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encode + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyEqSolvingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyEqSolvingState message. + * @function verify + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyEqSolvingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + switch (message.step) { + default: + return "step: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + /** + * Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + */ + ResNotifyEqSolvingState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyEqSolvingState) + return object; + var message = new $root.ResNotifyEqSolvingState(); + switch (object.step) { + default: + if (typeof object.step === "number") { + message.step = object.step; + break; + } + break; + case "UNSPECIFIED": + case 0: + message.step = 0; + break; + case "FOCUS": + case 1: + message.step = 1; + break; + case "SOLVING": + case 2: + message.step = 2; + break; + } + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {ResNotifyEqSolvingState} message ResNotifyEqSolvingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyEqSolvingState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.step = options.enums === String ? "UNSPECIFIED" : 0; + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = + options.enums === String + ? $root.ResNotifyEqSolvingState.Action[message.step] === undefined + ? message.step + : $root.ResNotifyEqSolvingState.Action[message.step] + : message.step; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifyEqSolvingState to JSON. + * @function toJSON + * @memberof ResNotifyEqSolvingState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyEqSolvingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyEqSolvingState + * @function getTypeUrl + * @memberof ResNotifyEqSolvingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyEqSolvingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyEqSolvingState"; + }; + /** + * Action enum. + * @name ResNotifyEqSolvingState.Action + * @enum {number} + * @property {number} UNSPECIFIED=0 UNSPECIFIED value + * @property {number} FOCUS=1 FOCUS value + * @property {number} SOLVING=2 SOLVING value + */ + ResNotifyEqSolvingState.Action = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "UNSPECIFIED")] = 0; + values[(valuesById[1] = "FOCUS")] = 1; + values[(valuesById[2] = "SOLVING")] = 2; + return values; + })(); + return ResNotifyEqSolvingState; +})(); +$root.ResNotifyLongExpPhotoProgress = (function () { + /** + * Properties of a ResNotifyLongExpPhotoProgress. + * @exports IResNotifyLongExpPhotoProgress + * @interface IResNotifyLongExpPhotoProgress + * @property {number|null} [functionId] ResNotifyLongExpPhotoProgress functionId + * @property {number|null} [totalTime] ResNotifyLongExpPhotoProgress totalTime + * @property {number|null} [exposuredTime] ResNotifyLongExpPhotoProgress exposuredTime + */ + /** + * Constructs a new ResNotifyLongExpPhotoProgress. + * @exports ResNotifyLongExpPhotoProgress + * @classdesc Represents a ResNotifyLongExpPhotoProgress. + * @implements IResNotifyLongExpPhotoProgress + * @constructor + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + */ + function ResNotifyLongExpPhotoProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyLongExpPhotoProgress functionId. + * @member {number} functionId + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.functionId = 0; + /** + * ResNotifyLongExpPhotoProgress totalTime. + * @member {number} totalTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.totalTime = 0; + /** + * ResNotifyLongExpPhotoProgress exposuredTime. + * @member {number} exposuredTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.exposuredTime = 0; + /** + * Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties. + * @function create + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress instance + */ + ResNotifyLongExpPhotoProgress.create = function create(properties) { + return new ResNotifyLongExpPhotoProgress(properties); + }; + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.functionId != null && + Object.hasOwnProperty.call(message, "functionId")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.functionId); + if (message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.totalTime); + if (message.exposuredTime != null && + Object.hasOwnProperty.call(message, "exposuredTime")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.exposuredTime); + return writer; + }; + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyLongExpPhotoProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.functionId = reader.uint32(); + break; + } + case 2: { + message.totalTime = reader.double(); + break; + } + case 3: { + message.exposuredTime = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyLongExpPhotoProgress message. + * @function verify + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyLongExpPhotoProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (typeof message.totalTime !== "number") + return "totalTime: number expected"; + if (message.exposuredTime != null && + message.hasOwnProperty("exposuredTime")) + if (typeof message.exposuredTime !== "number") + return "exposuredTime: number expected"; + return null; + }; + /** + * Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + */ + ResNotifyLongExpPhotoProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyLongExpPhotoProgress) + return object; + var message = new $root.ResNotifyLongExpPhotoProgress(); + if (object.functionId != null) + message.functionId = object.functionId >>> 0; + if (object.totalTime != null) + message.totalTime = Number(object.totalTime); + if (object.exposuredTime != null) + message.exposuredTime = Number(object.exposuredTime); + return message; + }; + /** + * Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {ResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyLongExpPhotoProgress.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.functionId = 0; + object.totalTime = 0; + object.exposuredTime = 0; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = + options.json && !isFinite(message.totalTime) + ? String(message.totalTime) + : message.totalTime; + if (message.exposuredTime != null && + message.hasOwnProperty("exposuredTime")) + object.exposuredTime = + options.json && !isFinite(message.exposuredTime) + ? String(message.exposuredTime) + : message.exposuredTime; + return object; + }; + /** + * Converts this ResNotifyLongExpPhotoProgress to JSON. + * @function toJSON + * @memberof ResNotifyLongExpPhotoProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyLongExpPhotoProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyLongExpPhotoProgress + * @function getTypeUrl + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyLongExpPhotoProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyLongExpPhotoProgress"; + }; + return ResNotifyLongExpPhotoProgress; +})(); +$root.ResNotifyShootingScheduleResultAndState = (function () { + /** + * Properties of a ResNotifyShootingScheduleResultAndState. + * @exports IResNotifyShootingScheduleResultAndState + * @interface IResNotifyShootingScheduleResultAndState + * @property {string|null} [scheduleId] ResNotifyShootingScheduleResultAndState scheduleId + * @property {number|null} [result] ResNotifyShootingScheduleResultAndState result + * @property {number|null} [state] ResNotifyShootingScheduleResultAndState state + */ + /** + * Constructs a new ResNotifyShootingScheduleResultAndState. + * @exports ResNotifyShootingScheduleResultAndState + * @classdesc Represents a ResNotifyShootingScheduleResultAndState. + * @implements IResNotifyShootingScheduleResultAndState + * @constructor + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + */ + function ResNotifyShootingScheduleResultAndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyShootingScheduleResultAndState scheduleId. + * @member {string} scheduleId + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.scheduleId = ""; + /** + * ResNotifyShootingScheduleResultAndState result. + * @member {number} result + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.result = 0; + /** + * ResNotifyShootingScheduleResultAndState state. + * @member {number} state + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.state = 0; + /** + * Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState instance + */ + ResNotifyShootingScheduleResultAndState.create = function create(properties) { + return new ResNotifyShootingScheduleResultAndState(properties); + }; + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.result); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyShootingScheduleResultAndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyShootingScheduleResultAndState message. + * @function verify + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingScheduleResultAndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.result != null && message.hasOwnProperty("result")) + if (!$util.isInteger(message.result)) + return "result: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) + return "state: integer expected"; + return null; + }; + /** + * Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + */ + ResNotifyShootingScheduleResultAndState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyShootingScheduleResultAndState) + return object; + var message = new $root.ResNotifyShootingScheduleResultAndState(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.result != null) + message.result = object.result | 0; + if (object.state != null) + message.state = object.state | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {ResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingScheduleResultAndState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.result = 0; + object.state = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.result != null && message.hasOwnProperty("result")) + object.result = message.result; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + /** + * Converts this ResNotifyShootingScheduleResultAndState to JSON. + * @function toJSON + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingScheduleResultAndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyShootingScheduleResultAndState + * @function getTypeUrl + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingScheduleResultAndState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingScheduleResultAndState"; + }; + return ResNotifyShootingScheduleResultAndState; +})(); +$root.ResNotifyShootingTaskState = (function () { + /** + * Properties of a ResNotifyShootingTaskState. + * @exports IResNotifyShootingTaskState + * @interface IResNotifyShootingTaskState + * @property {string|null} [scheduleTaskId] ResNotifyShootingTaskState scheduleTaskId + * @property {number|null} [state] ResNotifyShootingTaskState state + * @property {number|null} [code] ResNotifyShootingTaskState code + */ + /** + * Constructs a new ResNotifyShootingTaskState. + * @exports ResNotifyShootingTaskState + * @classdesc Represents a ResNotifyShootingTaskState. + * @implements IResNotifyShootingTaskState + * @constructor + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + */ + function ResNotifyShootingTaskState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyShootingTaskState scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.scheduleTaskId = ""; + /** + * ResNotifyShootingTaskState state. + * @member {number} state + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.state = 0; + /** + * ResNotifyShootingTaskState code. + * @member {number} code + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.code = 0; + /** + * Creates a new ResNotifyShootingTaskState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState instance + */ + ResNotifyShootingTaskState.create = function create(properties) { + return new ResNotifyShootingTaskState(properties); + }; + /** + * Encodes the specified ResNotifyShootingTaskState message. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleTaskId); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyShootingTaskState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleTaskId = reader.string(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyShootingTaskState message. + * @function verify + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingTaskState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId")) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) + return "state: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + */ + ResNotifyShootingTaskState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyShootingTaskState) + return object; + var message = new $root.ResNotifyShootingTaskState(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.state != null) + message.state = object.state | 0; + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {ResNotifyShootingTaskState} message ResNotifyShootingTaskState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingTaskState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.scheduleTaskId = ""; + object.state = 0; + object.code = 0; + } + if (message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId")) + object.scheduleTaskId = message.scheduleTaskId; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResNotifyShootingTaskState to JSON. + * @function toJSON + * @memberof ResNotifyShootingTaskState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingTaskState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyShootingTaskState + * @function getTypeUrl + * @memberof ResNotifyShootingTaskState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingTaskState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingTaskState"; + }; + return ResNotifyShootingTaskState; +})(); +$root.ResNotifySkySeacherState = (function () { + /** + * Properties of a ResNotifySkySeacherState. + * @exports IResNotifySkySeacherState + * @interface IResNotifySkySeacherState + * @property {OperationState|null} [state] ResNotifySkySeacherState state + */ + /** + * Constructs a new ResNotifySkySeacherState. + * @exports ResNotifySkySeacherState + * @classdesc Represents a ResNotifySkySeacherState. + * @implements IResNotifySkySeacherState + * @constructor + * @param {IResNotifySkySeacherState=} [properties] Properties to set + */ + function ResNotifySkySeacherState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifySkySeacherState state. + * @member {OperationState} state + * @memberof ResNotifySkySeacherState + * @instance + */ + ResNotifySkySeacherState.prototype.state = 0; + /** + * Creates a new ResNotifySkySeacherState instance using the specified properties. + * @function create + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState=} [properties] Properties to set + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState instance + */ + ResNotifySkySeacherState.create = function create(properties) { + return new ResNotifySkySeacherState(properties); + }; + /** + * Encodes the specified ResNotifySkySeacherState message. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encode + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + /** + * Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifySkySeacherState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifySkySeacherState message. + * @function verify + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySkySeacherState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + /** + * Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + */ + ResNotifySkySeacherState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySkySeacherState) + return object; + var message = new $root.ResNotifySkySeacherState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + /** + * Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySkySeacherState + * @static + * @param {ResNotifySkySeacherState} message ResNotifySkySeacherState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySkySeacherState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + /** + * Converts this ResNotifySkySeacherState to JSON. + * @function toJSON + * @memberof ResNotifySkySeacherState + * @instance + * @returns {Object.} JSON object + */ + ResNotifySkySeacherState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifySkySeacherState + * @function getTypeUrl + * @memberof ResNotifySkySeacherState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySkySeacherState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySkySeacherState"; + }; + return ResNotifySkySeacherState; +})(); +$root.ResNotifyFocus = (function () { + /** + * Properties of a ResNotifyFocus. + * @exports IResNotifyFocus + * @interface IResNotifyFocus + * @property {number|null} [focus] ResNotifyFocus focus + */ + /** + * Constructs a new ResNotifyFocus. + * @exports ResNotifyFocus + * @classdesc Represents a ResNotifyFocus. + * @implements IResNotifyFocus + * @constructor + * @param {IResNotifyFocus=} [properties] Properties to set + */ + function ResNotifyFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyFocus focus. + * @member {number} focus + * @memberof ResNotifyFocus + * @instance + */ + ResNotifyFocus.prototype.focus = 0; + /** + * Creates a new ResNotifyFocus instance using the specified properties. + * @function create + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus=} [properties] Properties to set + * @returns {ResNotifyFocus} ResNotifyFocus instance + */ + ResNotifyFocus.create = function create(properties) { + return new ResNotifyFocus(properties); + }; + /** + * Encodes the specified ResNotifyFocus message. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encode + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.focus != null && Object.hasOwnProperty.call(message, "focus")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.focus); + return writer; + }; + /** + * Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.focus = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyFocus message. + * @function verify + * @memberof ResNotifyFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.focus != null && message.hasOwnProperty("focus")) + if (!$util.isInteger(message.focus)) + return "focus: integer expected"; + return null; + }; + /** + * Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyFocus + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyFocus} ResNotifyFocus + */ + ResNotifyFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyFocus) + return object; + var message = new $root.ResNotifyFocus(); + if (object.focus != null) + message.focus = object.focus | 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyFocus + * @static + * @param {ResNotifyFocus} message ResNotifyFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyFocus.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.focus = 0; + if (message.focus != null && message.hasOwnProperty("focus")) + object.focus = message.focus; + return object; + }; + /** + * Converts this ResNotifyFocus to JSON. + * @function toJSON + * @memberof ResNotifyFocus + * @instance + * @returns {Object.} JSON object + */ + ResNotifyFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyFocus + * @function getTypeUrl + * @memberof ResNotifyFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyFocus"; + }; + return ResNotifyFocus; +})(); +$root.ReqStartPanoramaByGrid = (function () { + /** + * Properties of a ReqStartPanoramaByGrid. + * @exports IReqStartPanoramaByGrid + * @interface IReqStartPanoramaByGrid + */ + /** + * Constructs a new ReqStartPanoramaByGrid. + * @exports ReqStartPanoramaByGrid + * @classdesc Represents a ReqStartPanoramaByGrid. + * @implements IReqStartPanoramaByGrid + * @constructor + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + */ + function ReqStartPanoramaByGrid(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStartPanoramaByGrid instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid instance + */ + ReqStartPanoramaByGrid.create = function create(properties) { + return new ReqStartPanoramaByGrid(properties); + }; + /** + * Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartPanoramaByGrid(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartPanoramaByGrid message. + * @function verify + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByGrid.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + */ + ReqStartPanoramaByGrid.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByGrid) + return object; + return new $root.ReqStartPanoramaByGrid(); + }; + /** + * Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {ReqStartPanoramaByGrid} message ReqStartPanoramaByGrid + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByGrid.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStartPanoramaByGrid to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByGrid + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByGrid.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartPanoramaByGrid + * @function getTypeUrl + * @memberof ReqStartPanoramaByGrid + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByGrid.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByGrid"; + }; + return ReqStartPanoramaByGrid; +})(); +$root.ReqStartPanoramaByEulerRange = (function () { + /** + * Properties of a ReqStartPanoramaByEulerRange. + * @exports IReqStartPanoramaByEulerRange + * @interface IReqStartPanoramaByEulerRange + * @property {number|null} [yawRange] ReqStartPanoramaByEulerRange yawRange + * @property {number|null} [pitchRange] ReqStartPanoramaByEulerRange pitchRange + */ + /** + * Constructs a new ReqStartPanoramaByEulerRange. + * @exports ReqStartPanoramaByEulerRange + * @classdesc Represents a ReqStartPanoramaByEulerRange. + * @implements IReqStartPanoramaByEulerRange + * @constructor + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + */ + function ReqStartPanoramaByEulerRange(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartPanoramaByEulerRange yawRange. + * @member {number} yawRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.yawRange = 0; + /** + * ReqStartPanoramaByEulerRange pitchRange. + * @member {number} pitchRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.pitchRange = 0; + /** + * Creates a new ReqStartPanoramaByEulerRange instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange instance + */ + ReqStartPanoramaByEulerRange.create = function create(properties) { + return new ReqStartPanoramaByEulerRange(properties); + }; + /** + * Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.yawRange != null && + Object.hasOwnProperty.call(message, "yawRange")) + writer.uint32(/* id 1, wireType 5 =*/ 13).float(message.yawRange); + if (message.pitchRange != null && + Object.hasOwnProperty.call(message, "pitchRange")) + writer.uint32(/* id 2, wireType 5 =*/ 21).float(message.pitchRange); + return writer; + }; + /** + * Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartPanoramaByEulerRange(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.yawRange = reader.float(); + break; + } + case 2: { + message.pitchRange = reader.float(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartPanoramaByEulerRange message. + * @function verify + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByEulerRange.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + if (typeof message.yawRange !== "number") + return "yawRange: number expected"; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + if (typeof message.pitchRange !== "number") + return "pitchRange: number expected"; + return null; + }; + /** + * Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + */ + ReqStartPanoramaByEulerRange.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByEulerRange) + return object; + var message = new $root.ReqStartPanoramaByEulerRange(); + if (object.yawRange != null) + message.yawRange = Number(object.yawRange); + if (object.pitchRange != null) + message.pitchRange = Number(object.pitchRange); + return message; + }; + /** + * Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {ReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByEulerRange.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.yawRange = 0; + object.pitchRange = 0; + } + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + object.yawRange = + options.json && !isFinite(message.yawRange) + ? String(message.yawRange) + : message.yawRange; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + object.pitchRange = + options.json && !isFinite(message.pitchRange) + ? String(message.pitchRange) + : message.pitchRange; + return object; + }; + /** + * Converts this ReqStartPanoramaByEulerRange to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByEulerRange + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByEulerRange.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartPanoramaByEulerRange + * @function getTypeUrl + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByEulerRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByEulerRange"; + }; + return ReqStartPanoramaByEulerRange; +})(); +$root.ReqStartPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStartPanoramaStitchUpload. + * @exports IReqStartPanoramaStitchUpload + * @interface IReqStartPanoramaStitchUpload + * @property {string|null} [userId] ReqStartPanoramaStitchUpload userId + * @property {string|null} [busiNo] ReqStartPanoramaStitchUpload busiNo + * @property {number|null} [appPlatform] ReqStartPanoramaStitchUpload appPlatform + * @property {string|null} [panoramaName] ReqStartPanoramaStitchUpload panoramaName + * @property {string|null} [ak] ReqStartPanoramaStitchUpload ak + * @property {string|null} [sk] ReqStartPanoramaStitchUpload sk + * @property {string|null} [token] ReqStartPanoramaStitchUpload token + */ + /** + * Constructs a new ReqStartPanoramaStitchUpload. + * @exports ReqStartPanoramaStitchUpload + * @classdesc Represents a ReqStartPanoramaStitchUpload. + * @implements IReqStartPanoramaStitchUpload + * @constructor + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStartPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartPanoramaStitchUpload userId. + * @member {string} userId + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.userId = ""; + /** + * ReqStartPanoramaStitchUpload busiNo. + * @member {string} busiNo + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.busiNo = ""; + /** + * ReqStartPanoramaStitchUpload appPlatform. + * @member {number} appPlatform + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.appPlatform = 0; + /** + * ReqStartPanoramaStitchUpload panoramaName. + * @member {string} panoramaName + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.panoramaName = ""; + /** + * ReqStartPanoramaStitchUpload ak. + * @member {string} ak + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.ak = ""; + /** + * ReqStartPanoramaStitchUpload sk. + * @member {string} sk + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.sk = ""; + /** + * ReqStartPanoramaStitchUpload token. + * @member {string} token + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.token = ""; + /** + * Creates a new ReqStartPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload instance + */ + ReqStartPanoramaStitchUpload.create = function create(properties) { + return new ReqStartPanoramaStitchUpload(properties); + }; + /** + * Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if (message.appPlatform != null && + Object.hasOwnProperty.call(message, "appPlatform")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.appPlatform); + if (message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.ak != null && Object.hasOwnProperty.call(message, "ak")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ak); + if (message.sk != null && Object.hasOwnProperty.call(message, "sk")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.sk); + if (message.token != null && Object.hasOwnProperty.call(message, "token")) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.token); + return writer; + }; + /** + * Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.appPlatform = reader.int32(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.ak = reader.string(); + break; + } + case 6: { + message.sk = reader.string(); + break; + } + case 7: { + message.token = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartPanoramaStitchUpload message. + * @function verify + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) + return "busiNo: string expected"; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + if (!$util.isInteger(message.appPlatform)) + return "appPlatform: integer expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.ak != null && message.hasOwnProperty("ak")) + if (!$util.isString(message.ak)) + return "ak: string expected"; + if (message.sk != null && message.hasOwnProperty("sk")) + if (!$util.isString(message.sk)) + return "sk: string expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + return null; + }; + /** + * Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + */ + ReqStartPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaStitchUpload) + return object; + var message = new $root.ReqStartPanoramaStitchUpload(); + if (object.userId != null) + message.userId = String(object.userId); + if (object.busiNo != null) + message.busiNo = String(object.busiNo); + if (object.appPlatform != null) + message.appPlatform = object.appPlatform | 0; + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.ak != null) + message.ak = String(object.ak); + if (object.sk != null) + message.sk = String(object.sk); + if (object.token != null) + message.token = String(object.token); + return message; + }; + /** + * Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {ReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaStitchUpload.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.appPlatform = 0; + object.panoramaName = ""; + object.ak = ""; + object.sk = ""; + object.token = ""; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + object.appPlatform = message.appPlatform; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.ak != null && message.hasOwnProperty("ak")) + object.ak = message.ak; + if (message.sk != null && message.hasOwnProperty("sk")) + object.sk = message.sk; + if (message.token != null && message.hasOwnProperty("token")) + object.token = message.token; + return object; + }; + /** + * Converts this ReqStartPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStartPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaStitchUpload"; + }; + return ReqStartPanoramaStitchUpload; +})(); +$root.ReqStopPanorama = (function () { + /** + * Properties of a ReqStopPanorama. + * @exports IReqStopPanorama + * @interface IReqStopPanorama + */ + /** + * Constructs a new ReqStopPanorama. + * @exports ReqStopPanorama + * @classdesc Represents a ReqStopPanorama. + * @implements IReqStopPanorama + * @constructor + * @param {IReqStopPanorama=} [properties] Properties to set + */ + function ReqStopPanorama(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopPanorama instance using the specified properties. + * @function create + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama=} [properties] Properties to set + * @returns {ReqStopPanorama} ReqStopPanorama instance + */ + ReqStopPanorama.create = function create(properties) { + return new ReqStopPanorama(properties); + }; + /** + * Encodes the specified ReqStopPanorama message. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encode + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopPanorama(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopPanorama message. + * @function verify + * @memberof ReqStopPanorama + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanorama.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanorama + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanorama} ReqStopPanorama + */ + ReqStopPanorama.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanorama) + return object; + return new $root.ReqStopPanorama(); + }; + /** + * Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanorama + * @static + * @param {ReqStopPanorama} message ReqStopPanorama + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanorama.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopPanorama to JSON. + * @function toJSON + * @memberof ReqStopPanorama + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanorama.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopPanorama + * @function getTypeUrl + * @memberof ReqStopPanorama + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanorama.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanorama"; + }; + return ReqStopPanorama; +})(); +$root.ReqStopPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStopPanoramaStitchUpload. + * @exports IReqStopPanoramaStitchUpload + * @interface IReqStopPanoramaStitchUpload + */ + /** + * Constructs a new ReqStopPanoramaStitchUpload. + * @exports ReqStopPanoramaStitchUpload + * @classdesc Represents a ReqStopPanoramaStitchUpload. + * @implements IReqStopPanoramaStitchUpload + * @constructor + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStopPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload instance + */ + ReqStopPanoramaStitchUpload.create = function create(properties) { + return new ReqStopPanoramaStitchUpload(properties); + }; + /** + * Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopPanoramaStitchUpload message. + * @function verify + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + */ + ReqStopPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanoramaStitchUpload) + return object; + return new $root.ReqStopPanoramaStitchUpload(); + }; + /** + * Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {ReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanoramaStitchUpload.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStopPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanoramaStitchUpload"; + }; + return ReqStopPanoramaStitchUpload; +})(); +$root.ResNotifyPanoramaStitchUploadComplete = (function () { + /** + * Properties of a ResNotifyPanoramaStitchUploadComplete. + * @exports IResNotifyPanoramaStitchUploadComplete + * @interface IResNotifyPanoramaStitchUploadComplete + * @property {string|null} [userId] ResNotifyPanoramaStitchUploadComplete userId + * @property {string|null} [busiNo] ResNotifyPanoramaStitchUploadComplete busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaStitchUploadComplete panoramaName + * @property {string|null} [mac] ResNotifyPanoramaStitchUploadComplete mac + * @property {boolean|null} [uploadRes] ResNotifyPanoramaStitchUploadComplete uploadRes + */ + /** + * Constructs a new ResNotifyPanoramaStitchUploadComplete. + * @exports ResNotifyPanoramaStitchUploadComplete + * @classdesc Represents a ResNotifyPanoramaStitchUploadComplete. + * @implements IResNotifyPanoramaStitchUploadComplete + * @constructor + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + */ + function ResNotifyPanoramaStitchUploadComplete(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPanoramaStitchUploadComplete userId. + * @member {string} userId + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.userId = ""; + /** + * ResNotifyPanoramaStitchUploadComplete busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.busiNo = ""; + /** + * ResNotifyPanoramaStitchUploadComplete panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.panoramaName = ""; + /** + * ResNotifyPanoramaStitchUploadComplete mac. + * @member {string} mac + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.mac = ""; + /** + * ResNotifyPanoramaStitchUploadComplete uploadRes. + * @member {boolean} uploadRes + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.uploadRes = false; + /** + * Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete instance + */ + ResNotifyPanoramaStitchUploadComplete.create = function create(properties) { + return new ResNotifyPanoramaStitchUploadComplete(properties); + }; + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if (message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if (message.uploadRes != null && + Object.hasOwnProperty.call(message, "uploadRes")) + writer.uint32(/* id 5, wireType 0 =*/ 40).bool(message.uploadRes); + return writer; + }; + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPanoramaStitchUploadComplete(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.uploadRes = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPanoramaStitchUploadComplete message. + * @function verify + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaStitchUploadComplete.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) + return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) + return "mac: string expected"; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + if (typeof message.uploadRes !== "boolean") + return "uploadRes: boolean expected"; + return null; + }; + /** + * Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + */ + ResNotifyPanoramaStitchUploadComplete.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaStitchUploadComplete) + return object; + var message = new $root.ResNotifyPanoramaStitchUploadComplete(); + if (object.userId != null) + message.userId = String(object.userId); + if (object.busiNo != null) + message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) + message.mac = String(object.mac); + if (object.uploadRes != null) + message.uploadRes = Boolean(object.uploadRes); + return message; + }; + /** + * Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {ResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaStitchUploadComplete.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.uploadRes = false; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + object.uploadRes = message.uploadRes; + return object; + }; + /** + * Converts this ResNotifyPanoramaStitchUploadComplete to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaStitchUploadComplete.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPanoramaStitchUploadComplete + * @function getTypeUrl + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaStitchUploadComplete.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaStitchUploadComplete"; + }; + return ResNotifyPanoramaStitchUploadComplete; +})(); +$root.ResNotifyPanoramaCompressionProgress = (function () { + /** + * Properties of a ResNotifyPanoramaCompressionProgress. + * @exports IResNotifyPanoramaCompressionProgress + * @interface IResNotifyPanoramaCompressionProgress + * @property {string|null} [userId] ResNotifyPanoramaCompressionProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaCompressionProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaCompressionProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaCompressionProgress mac + * @property {number|null} [totalFilesNum] ResNotifyPanoramaCompressionProgress totalFilesNum + * @property {number|null} [compressedFilesNum] ResNotifyPanoramaCompressionProgress compressedFilesNum + */ + /** + * Constructs a new ResNotifyPanoramaCompressionProgress. + * @exports ResNotifyPanoramaCompressionProgress + * @classdesc Represents a ResNotifyPanoramaCompressionProgress. + * @implements IResNotifyPanoramaCompressionProgress + * @constructor + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaCompressionProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPanoramaCompressionProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.userId = ""; + /** + * ResNotifyPanoramaCompressionProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.busiNo = ""; + /** + * ResNotifyPanoramaCompressionProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.panoramaName = ""; + /** + * ResNotifyPanoramaCompressionProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.mac = ""; + /** + * ResNotifyPanoramaCompressionProgress totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.totalFilesNum = 0; + /** + * ResNotifyPanoramaCompressionProgress compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.compressedFilesNum = 0; + /** + * Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress instance + */ + ResNotifyPanoramaCompressionProgress.create = function create(properties) { + return new ResNotifyPanoramaCompressionProgress(properties); + }; + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if (message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if (message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum")) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.totalFilesNum); + if (message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum")) + writer + .uint32(/* id 6, wireType 0 =*/ 48) + .uint32(message.compressedFilesNum); + return writer; + }; + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPanoramaCompressionProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalFilesNum = reader.uint32(); + break; + } + case 6: { + message.compressedFilesNum = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPanoramaCompressionProgress message. + * @function verify + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaCompressionProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) + return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) + return "mac: string expected"; + if (message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum")) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if (message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum")) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + return null; + }; + /** + * Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + */ + ResNotifyPanoramaCompressionProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaCompressionProgress) + return object; + var message = new $root.ResNotifyPanoramaCompressionProgress(); + if (object.userId != null) + message.userId = String(object.userId); + if (object.busiNo != null) + message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) + message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + return message; + }; + /** + * Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {ResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaCompressionProgress.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum")) + object.totalFilesNum = message.totalFilesNum; + if (message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum")) + object.compressedFilesNum = message.compressedFilesNum; + return object; + }; + /** + * Converts this ResNotifyPanoramaCompressionProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaCompressionProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPanoramaCompressionProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaCompressionProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaCompressionProgress"; + }; + return ResNotifyPanoramaCompressionProgress; +})(); +$root.ResNotifyPanoramaUploadProgress = (function () { + /** + * Properties of a ResNotifyPanoramaUploadProgress. + * @exports IResNotifyPanoramaUploadProgress + * @interface IResNotifyPanoramaUploadProgress + * @property {string|null} [userId] ResNotifyPanoramaUploadProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaUploadProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaUploadProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaUploadProgress mac + * @property {number|Long|null} [totalSize] ResNotifyPanoramaUploadProgress totalSize + * @property {number|Long|null} [uploadedSize] ResNotifyPanoramaUploadProgress uploadedSize + */ + /** + * Constructs a new ResNotifyPanoramaUploadProgress. + * @exports ResNotifyPanoramaUploadProgress + * @classdesc Represents a ResNotifyPanoramaUploadProgress. + * @implements IResNotifyPanoramaUploadProgress + * @constructor + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaUploadProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResNotifyPanoramaUploadProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.userId = ""; + /** + * ResNotifyPanoramaUploadProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.busiNo = ""; + /** + * ResNotifyPanoramaUploadProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.panoramaName = ""; + /** + * ResNotifyPanoramaUploadProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.mac = ""; + /** + * ResNotifyPanoramaUploadProgress totalSize. + * @member {number|Long} totalSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + /** + * ResNotifyPanoramaUploadProgress uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + /** + * Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress instance + */ + ResNotifyPanoramaUploadProgress.create = function create(properties) { + return new ResNotifyPanoramaUploadProgress(properties); + }; + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if (message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if (message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize")) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint64(message.totalSize); + if (message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize")) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint64(message.uploadedSize); + return writer; + }; + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResNotifyPanoramaUploadProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalSize = reader.uint64(); + break; + } + case 6: { + message.uploadedSize = reader.uint64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResNotifyPanoramaUploadProgress message. + * @function verify + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaUploadProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) + return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) + return "mac: string expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize) && + !(message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high))) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (!$util.isInteger(message.uploadedSize) && + !(message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high))) + return "uploadedSize: integer|Long expected"; + return null; + }; + /** + * Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + */ + ResNotifyPanoramaUploadProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaUploadProgress) + return object; + var message = new $root.ResNotifyPanoramaUploadProgress(); + if (object.userId != null) + message.userId = String(object.userId); + if (object.busiNo != null) + message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) + message.mac = String(object.mac); + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue(object.totalSize)).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits(object.totalSize.low >>> 0, object.totalSize.high >>> 0).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue(object.uploadedSize)).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits(object.uploadedSize.low >>> 0, object.uploadedSize.high >>> 0).toNumber(true); + return message; + }; + /** + * Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {ResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaUploadProgress.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.uploadedSize = options.longs === String ? "0" : 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits(message.totalSize.low >>> 0, message.totalSize.high >>> 0).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits(message.uploadedSize.low >>> 0, message.uploadedSize.high >>> 0).toNumber(true) + : message.uploadedSize; + return object; + }; + /** + * Converts this ResNotifyPanoramaUploadProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaUploadProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaUploadProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResNotifyPanoramaUploadProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaUploadProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaUploadProgress"; + }; + return ResNotifyPanoramaUploadProgress; +})(); +$root.ResGetStitchUploadState = (function () { + /** + * Properties of a ResGetStitchUploadState. + * @exports IResGetStitchUploadState + * @interface IResGetStitchUploadState + * @property {number|null} [code] ResGetStitchUploadState code + * @property {string|null} [userId] ResGetStitchUploadState userId + * @property {string|null} [busiNo] ResGetStitchUploadState busiNo + * @property {string|null} [panoramaName] ResGetStitchUploadState panoramaName + * @property {string|null} [mac] ResGetStitchUploadState mac + * @property {number|null} [totalFilesNum] ResGetStitchUploadState totalFilesNum + * @property {number|null} [compressedFilesNum] ResGetStitchUploadState compressedFilesNum + * @property {number|Long|null} [totalSize] ResGetStitchUploadState totalSize + * @property {number|Long|null} [uploadedSize] ResGetStitchUploadState uploadedSize + * @property {number|null} [step] ResGetStitchUploadState step + */ + /** + * Constructs a new ResGetStitchUploadState. + * @exports ResGetStitchUploadState + * @classdesc Represents a ResGetStitchUploadState. + * @implements IResGetStitchUploadState + * @constructor + * @param {IResGetStitchUploadState=} [properties] Properties to set + */ + function ResGetStitchUploadState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetStitchUploadState code. + * @member {number} code + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.code = 0; + /** + * ResGetStitchUploadState userId. + * @member {string} userId + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.userId = ""; + /** + * ResGetStitchUploadState busiNo. + * @member {string} busiNo + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.busiNo = ""; + /** + * ResGetStitchUploadState panoramaName. + * @member {string} panoramaName + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.panoramaName = ""; + /** + * ResGetStitchUploadState mac. + * @member {string} mac + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.mac = ""; + /** + * ResGetStitchUploadState totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalFilesNum = 0; + /** + * ResGetStitchUploadState compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.compressedFilesNum = 0; + /** + * ResGetStitchUploadState totalSize. + * @member {number|Long} totalSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + /** + * ResGetStitchUploadState uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + /** + * ResGetStitchUploadState step. + * @member {number} step + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.step = 0; + /** + * Creates a new ResGetStitchUploadState instance using the specified properties. + * @function create + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState=} [properties] Properties to set + * @returns {ResGetStitchUploadState} ResGetStitchUploadState instance + */ + ResGetStitchUploadState.create = function create(properties) { + return new ResGetStitchUploadState(properties); + }; + /** + * Encodes the specified ResGetStitchUploadState message. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encode + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.busiNo); + if (message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.mac); + if (message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum")) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.totalFilesNum); + if (message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum")) + writer + .uint32(/* id 7, wireType 0 =*/ 56) + .uint32(message.compressedFilesNum); + if (message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize")) + writer.uint32(/* id 8, wireType 0 =*/ 64).uint64(message.totalSize); + if (message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize")) + writer.uint32(/* id 9, wireType 0 =*/ 72).uint64(message.uploadedSize); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 10, wireType 0 =*/ 80).uint32(message.step); + return writer; + }; + /** + * Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer. + * @function decode + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetStitchUploadState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.userId = reader.string(); + break; + } + case 3: { + message.busiNo = reader.string(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.mac = reader.string(); + break; + } + case 6: { + message.totalFilesNum = reader.uint32(); + break; + } + case 7: { + message.compressedFilesNum = reader.uint32(); + break; + } + case 8: { + message.totalSize = reader.uint64(); + break; + } + case 9: { + message.uploadedSize = reader.uint64(); + break; + } + case 10: { + message.step = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetStitchUploadState message. + * @function verify + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetStitchUploadState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) + return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) + return "mac: string expected"; + if (message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum")) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if (message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum")) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize) && + !(message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high))) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (!$util.isInteger(message.uploadedSize) && + !(message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high))) + return "uploadedSize: integer|Long expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) + return "step: integer expected"; + return null; + }; + /** + * Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} object Plain object + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + */ + ResGetStitchUploadState.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetStitchUploadState) + return object; + var message = new $root.ResGetStitchUploadState(); + if (object.code != null) + message.code = object.code | 0; + if (object.userId != null) + message.userId = String(object.userId); + if (object.busiNo != null) + message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) + message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue(object.totalSize)).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits(object.totalSize.low >>> 0, object.totalSize.high >>> 0).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue(object.uploadedSize)).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits(object.uploadedSize.low >>> 0, object.uploadedSize.high >>> 0).toNumber(true); + if (object.step != null) + message.step = object.step >>> 0; + return message; + }; + /** + * Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetStitchUploadState + * @static + * @param {ResGetStitchUploadState} message ResGetStitchUploadState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetStitchUploadState.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.uploadedSize = options.longs === String ? "0" : 0; + object.step = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum")) + object.totalFilesNum = message.totalFilesNum; + if (message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum")) + object.compressedFilesNum = message.compressedFilesNum; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits(message.totalSize.low >>> 0, message.totalSize.high >>> 0).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits(message.uploadedSize.low >>> 0, message.uploadedSize.high >>> 0).toNumber(true) + : message.uploadedSize; + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + return object; + }; + /** + * Converts this ResGetStitchUploadState to JSON. + * @function toJSON + * @memberof ResGetStitchUploadState + * @instance + * @returns {Object.} JSON object + */ + ResGetStitchUploadState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetStitchUploadState + * @function getTypeUrl + * @memberof ResGetStitchUploadState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetStitchUploadState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetStitchUploadState"; + }; + return ResGetStitchUploadState; +})(); +/** + * ModuleId enum. + * @exports ModuleId + * @enum {number} + * @property {number} MODULE_NONE=0 MODULE_NONE value + * @property {number} MODULE_CAMERA_TELE=1 MODULE_CAMERA_TELE value + * @property {number} MODULE_CAMERA_WIDE=2 MODULE_CAMERA_WIDE value + * @property {number} MODULE_ASTRO=3 MODULE_ASTRO value + * @property {number} MODULE_SYSTEM=4 MODULE_SYSTEM value + * @property {number} MODULE_RGB_POWER=5 MODULE_RGB_POWER value + * @property {number} MODULE_MOTOR=6 MODULE_MOTOR value + * @property {number} MODULE_TRACK=7 MODULE_TRACK value + * @property {number} MODULE_FOCUS=8 MODULE_FOCUS value + * @property {number} MODULE_NOTIFY=9 MODULE_NOTIFY value + * @property {number} MODULE_PANORAMA=10 MODULE_PANORAMA value + * @property {number} MODULE_SHOOTING_SCHEDULE=13 MODULE_SHOOTING_SCHEDULE value + */ +$root.ModuleId = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "MODULE_NONE")] = 0; + values[(valuesById[1] = "MODULE_CAMERA_TELE")] = 1; + values[(valuesById[2] = "MODULE_CAMERA_WIDE")] = 2; + values[(valuesById[3] = "MODULE_ASTRO")] = 3; + values[(valuesById[4] = "MODULE_SYSTEM")] = 4; + values[(valuesById[5] = "MODULE_RGB_POWER")] = 5; + values[(valuesById[6] = "MODULE_MOTOR")] = 6; + values[(valuesById[7] = "MODULE_TRACK")] = 7; + values[(valuesById[8] = "MODULE_FOCUS")] = 8; + values[(valuesById[9] = "MODULE_NOTIFY")] = 9; + values[(valuesById[10] = "MODULE_PANORAMA")] = 10; + values[(valuesById[13] = "MODULE_SHOOTING_SCHEDULE")] = 13; + return values; +})(); +/** + * MessageTypeId enum. + * @exports MessageTypeId + * @enum {number} + * @property {number} TYPE_REQUEST=0 TYPE_REQUEST value + * @property {number} TYPE_REQUEST_RESPONSE=1 TYPE_REQUEST_RESPONSE value + * @property {number} TYPE_NOTIFICATION=2 TYPE_NOTIFICATION value + * @property {number} TYPE_NOTIFICATION_RESPONSE=3 TYPE_NOTIFICATION_RESPONSE value + */ +$root.MessageTypeId = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "TYPE_REQUEST")] = 0; + values[(valuesById[1] = "TYPE_REQUEST_RESPONSE")] = 1; + values[(valuesById[2] = "TYPE_NOTIFICATION")] = 2; + values[(valuesById[3] = "TYPE_NOTIFICATION_RESPONSE")] = 3; + return values; +})(); +/** + * DwarfCMD enum. + * @exports DwarfCMD + * @enum {number} + * @property {number} NO_CMD=0 NO_CMD value + * @property {number} CMD_CAMERA_TELE_OPEN_CAMERA=10000 CMD_CAMERA_TELE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_TELE_CLOSE_CAMERA=10001 CMD_CAMERA_TELE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_TELE_PHOTOGRAPH=10002 CMD_CAMERA_TELE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_TELE_BURST=10003 CMD_CAMERA_TELE_BURST value + * @property {number} CMD_CAMERA_TELE_STOP_BURST=10004 CMD_CAMERA_TELE_STOP_BURST value + * @property {number} CMD_CAMERA_TELE_START_RECORD=10005 CMD_CAMERA_TELE_START_RECORD value + * @property {number} CMD_CAMERA_TELE_STOP_RECORD=10006 CMD_CAMERA_TELE_STOP_RECORD value + * @property {number} CMD_CAMERA_TELE_SET_EXP_MODE=10007 CMD_CAMERA_TELE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_GET_EXP_MODE=10008 CMD_CAMERA_TELE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_SET_EXP=10009 CMD_CAMERA_TELE_SET_EXP value + * @property {number} CMD_CAMERA_TELE_GET_EXP=10010 CMD_CAMERA_TELE_GET_EXP value + * @property {number} CMD_CAMERA_TELE_SET_GAIN_MODE=10011 CMD_CAMERA_TELE_SET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_GET_GAIN_MODE=10012 CMD_CAMERA_TELE_GET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_SET_GAIN=10013 CMD_CAMERA_TELE_SET_GAIN value + * @property {number} CMD_CAMERA_TELE_GET_GAIN=10014 CMD_CAMERA_TELE_GET_GAIN value + * @property {number} CMD_CAMERA_TELE_SET_BRIGHTNESS=10015 CMD_CAMERA_TELE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_GET_BRIGHTNESS=10016 CMD_CAMERA_TELE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_SET_CONTRAST=10017 CMD_CAMERA_TELE_SET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_GET_CONTRAST=10018 CMD_CAMERA_TELE_GET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_SET_SATURATION=10019 CMD_CAMERA_TELE_SET_SATURATION value + * @property {number} CMD_CAMERA_TELE_GET_SATURATION=10020 CMD_CAMERA_TELE_GET_SATURATION value + * @property {number} CMD_CAMERA_TELE_SET_HUE=10021 CMD_CAMERA_TELE_SET_HUE value + * @property {number} CMD_CAMERA_TELE_GET_HUE=10022 CMD_CAMERA_TELE_GET_HUE value + * @property {number} CMD_CAMERA_TELE_SET_SHARPNESS=10023 CMD_CAMERA_TELE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_GET_SHARPNESS=10024 CMD_CAMERA_TELE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_SET_WB_MODE=10025 CMD_CAMERA_TELE_SET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_GET_WB_MODE=10026 CMD_CAMERA_TELE_GET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_SET_WB_SCENE=10027 CMD_CAMERA_TELE_SET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_GET_WB_SCENE=10028 CMD_CAMERA_TELE_GET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_SET_WB_CT=10029 CMD_CAMERA_TELE_SET_WB_CT value + * @property {number} CMD_CAMERA_TELE_GET_WB_CT=10030 CMD_CAMERA_TELE_GET_WB_CT value + * @property {number} CMD_CAMERA_TELE_SET_IRCUT=10031 CMD_CAMERA_TELE_SET_IRCUT value + * @property {number} CMD_CAMERA_TELE_GET_IRCUT=10032 CMD_CAMERA_TELE_GET_IRCUT value + * @property {number} CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO=10033 CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO=10034 CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_SET_ALL_PARAMS=10035 CMD_CAMERA_TELE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_ALL_PARAMS=10036 CMD_CAMERA_TELE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_SET_FEATURE_PARAM=10037 CMD_CAMERA_TELE_SET_FEATURE_PARAM value + * @property {number} CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS=10038 CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE=10039 CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE value + * @property {number} CMD_CAMERA_TELE_SET_JPG_QUALITY=10040 CMD_CAMERA_TELE_SET_JPG_QUALITY value + * @property {number} CMD_CAMERA_TELE_PHOTO_RAW=10041 CMD_CAMERA_TELE_PHOTO_RAW value + * @property {number} CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE=10042 CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE value + * @property {number} CMD_ASTRO_START_CALIBRATION=11000 CMD_ASTRO_START_CALIBRATION value + * @property {number} CMD_ASTRO_STOP_CALIBRATION=11001 CMD_ASTRO_STOP_CALIBRATION value + * @property {number} CMD_ASTRO_START_GOTO_DSO=11002 CMD_ASTRO_START_GOTO_DSO value + * @property {number} CMD_ASTRO_START_GOTO_SOLAR_SYSTEM=11003 CMD_ASTRO_START_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_GOTO=11004 CMD_ASTRO_STOP_GOTO value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING=11005 CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING=11006 CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK=11007 CMD_ASTRO_START_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK=11008 CMD_ASTRO_STOP_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_CHECK_GOT_DARK=11009 CMD_ASTRO_CHECK_GOT_DARK value + * @property {number} CMD_ASTRO_GO_LIVE=11010 CMD_ASTRO_GO_LIVE value + * @property {number} CMD_ASTRO_START_TRACK_SPECIAL_TARGET=11011 CMD_ASTRO_START_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET=11012 CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_DSO=11013 CMD_ASTRO_START_ONE_CLICK_GOTO_DSO value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM=11014 CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_ONE_CLICK_GOTO=11015 CMD_ASTRO_STOP_ONE_CLICK_GOTO value + * @property {number} CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING=11016 CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING=11017 CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_EQ_SOLVING=11018 CMD_ASTRO_START_EQ_SOLVING value + * @property {number} CMD_ASTRO_STOP_EQ_SOLVING=11019 CMD_ASTRO_STOP_EQ_SOLVING value + * @property {number} CMD_ASTRO_WIDE_GO_LIVE=11020 CMD_ASTRO_WIDE_GO_LIVE value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM=11021 CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM=11022 CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_DARK_FRAME_LIST=11023 CMD_ASTRO_GET_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_DARK_FRAME_LIST=11024 CMD_ASTRO_DEL_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11025 CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11026 CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST=11027 CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST=11028 CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_CAMERA_WIDE_OPEN_CAMERA=12000 CMD_CAMERA_WIDE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_WIDE_CLOSE_CAMERA=12001 CMD_CAMERA_WIDE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_WIDE_SET_EXP_MODE=12002 CMD_CAMERA_WIDE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_EXP_MODE=12003 CMD_CAMERA_WIDE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_EXP=12004 CMD_CAMERA_WIDE_SET_EXP value + * @property {number} CMD_CAMERA_WIDE_GET_EXP=12005 CMD_CAMERA_WIDE_GET_EXP value + * @property {number} CMD_CAMERA_WIDE_SET_GAIN=12006 CMD_CAMERA_WIDE_SET_GAIN value + * @property {number} CMD_CAMERA_WIDE_GET_GAIN=12007 CMD_CAMERA_WIDE_GET_GAIN value + * @property {number} CMD_CAMERA_WIDE_SET_BRIGHTNESS=12008 CMD_CAMERA_WIDE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_GET_BRIGHTNESS=12009 CMD_CAMERA_WIDE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_SET_CONTRAST=12010 CMD_CAMERA_WIDE_SET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_GET_CONTRAST=12011 CMD_CAMERA_WIDE_GET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_SET_SATURATION=12012 CMD_CAMERA_WIDE_SET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_GET_SATURATION=12013 CMD_CAMERA_WIDE_GET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_SET_HUE=12014 CMD_CAMERA_WIDE_SET_HUE value + * @property {number} CMD_CAMERA_WIDE_GET_HUE=12015 CMD_CAMERA_WIDE_GET_HUE value + * @property {number} CMD_CAMERA_WIDE_SET_SHARPNESS=12016 CMD_CAMERA_WIDE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_GET_SHARPNESS=12017 CMD_CAMERA_WIDE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_SET_WB_MODE=12018 CMD_CAMERA_WIDE_SET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_WB_MODE=12019 CMD_CAMERA_WIDE_GET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_WB_CT=12020 CMD_CAMERA_WIDE_SET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_GET_WB_CT=12021 CMD_CAMERA_WIDE_GET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_PHOTOGRAPH=12022 CMD_CAMERA_WIDE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_WIDE_BURST=12023 CMD_CAMERA_WIDE_BURST value + * @property {number} CMD_CAMERA_WIDE_STOP_BURST=12024 CMD_CAMERA_WIDE_STOP_BURST value + * @property {number} CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO=12025 CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO=12026 CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_GET_ALL_PARAMS=12027 CMD_CAMERA_WIDE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_SET_ALL_PARAMS=12028 CMD_CAMERA_WIDE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_START_RECORD=12030 CMD_CAMERA_WIDE_START_RECORD value + * @property {number} CMD_CAMERA_WIDE_STOP_RECORD=12031 CMD_CAMERA_WIDE_STOP_RECORD value + * @property {number} CMD_SYSTEM_SET_TIME=13000 CMD_SYSTEM_SET_TIME value + * @property {number} CMD_SYSTEM_SET_TIME_ZONE=13001 CMD_SYSTEM_SET_TIME_ZONE value + * @property {number} CMD_SYSTEM_SET_MTP_MODE=13002 CMD_SYSTEM_SET_MTP_MODE value + * @property {number} CMD_SYSTEM_SET_CPU_MODE=13003 CMD_SYSTEM_SET_CPU_MODE value + * @property {number} CMD_SYSTEM_SET_MASTERLOCK=13004 CMD_SYSTEM_SET_MASTERLOCK value + * @property {number} CMD_RGB_POWER_OPEN_RGB=13500 CMD_RGB_POWER_OPEN_RGB value + * @property {number} CMD_RGB_POWER_CLOSE_RGB=13501 CMD_RGB_POWER_CLOSE_RGB value + * @property {number} CMD_RGB_POWER_POWER_DOWN=13502 CMD_RGB_POWER_POWER_DOWN value + * @property {number} CMD_RGB_POWER_POWERIND_ON=13503 CMD_RGB_POWER_POWERIND_ON value + * @property {number} CMD_RGB_POWER_POWERIND_OFF=13504 CMD_RGB_POWER_POWERIND_OFF value + * @property {number} CMD_RGB_POWER_REBOOT=13505 CMD_RGB_POWER_REBOOT value + * @property {number} CMD_STEP_MOTOR_RUN=14000 CMD_STEP_MOTOR_RUN value + * @property {number} CMD_STEP_MOTOR_RUN_TO=14001 CMD_STEP_MOTOR_RUN_TO value + * @property {number} CMD_STEP_MOTOR_STOP=14002 CMD_STEP_MOTOR_STOP value + * @property {number} CMD_STEP_MOTOR_RESET=14003 CMD_STEP_MOTOR_RESET value + * @property {number} CMD_STEP_MOTOR_CHANGE_SPEED=14004 CMD_STEP_MOTOR_CHANGE_SPEED value + * @property {number} CMD_STEP_MOTOR_CHANGE_DIRECTION=14005 CMD_STEP_MOTOR_CHANGE_DIRECTION value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK=14006 CMD_STEP_MOTOR_SERVICE_JOYSTICK value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE=14007 CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP=14008 CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP value + * @property {number} CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE=14009 CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE value + * @property {number} CMD_STEP_MOTOR_RUN_IN_PULSE=14010 CMD_STEP_MOTOR_RUN_IN_PULSE value + * @property {number} CMD_STEP_MOTOR_GET_POSITION=14011 CMD_STEP_MOTOR_GET_POSITION value + * @property {number} CMD_TRACK_START_TRACK=14800 CMD_TRACK_START_TRACK value + * @property {number} CMD_TRACK_STOP_TRACK=14801 CMD_TRACK_STOP_TRACK value + * @property {number} CMD_SENTRY_MODE_START=14802 CMD_SENTRY_MODE_START value + * @property {number} CMD_SENTRY_MODE_STOP=14803 CMD_SENTRY_MODE_STOP value + * @property {number} CMD_MOT_START=14804 CMD_MOT_START value + * @property {number} CMD_MOT_TRACK_ONE=14805 CMD_MOT_TRACK_ONE value + * @property {number} CMD_UFOTRACK_MODE_START=14806 CMD_UFOTRACK_MODE_START value + * @property {number} CMD_UFOTRACK_MODE_STOP=14807 CMD_UFOTRACK_MODE_STOP value + * @property {number} CMD_MOT_WIDE_TRACK_ONE=14808 CMD_MOT_WIDE_TRACK_ONE value + * @property {number} CMD_WIDE_TELE_TRACK_SWITCH=14809 CMD_WIDE_TELE_TRACK_SWITCH value + * @property {number} CMD_UFO_HAND_AOTO_MODE=14810 CMD_UFO_HAND_AOTO_MODE value + * @property {number} CMD_FOCUS_AUTO_FOCUS=15000 CMD_FOCUS_AUTO_FOCUS value + * @property {number} CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS=15001 CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS value + * @property {number} CMD_FOCUS_START_MANUAL_CONTINU_FOCUS=15002 CMD_FOCUS_START_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS=15003 CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_START_ASTRO_AUTO_FOCUS=15004 CMD_FOCUS_START_ASTRO_AUTO_FOCUS value + * @property {number} CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS=15005 CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS value + * @property {number} CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING=15200 CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING value + * @property {number} CMD_NOTIFY_ELE=15201 CMD_NOTIFY_ELE value + * @property {number} CMD_NOTIFY_CHARGE=15202 CMD_NOTIFY_CHARGE value + * @property {number} CMD_NOTIFY_SDCARD_INFO=15203 CMD_NOTIFY_SDCARD_INFO value + * @property {number} CMD_NOTIFY_TELE_RECORD_TIME=15204 CMD_NOTIFY_TELE_RECORD_TIME value + * @property {number} CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME=15205 CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_DARK=15206 CMD_NOTIFY_STATE_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK=15207 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING=15208 CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING=15209 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_STATE_ASTRO_CALIBRATION=15210 CMD_NOTIFY_STATE_ASTRO_CALIBRATION value + * @property {number} CMD_NOTIFY_STATE_ASTRO_GOTO=15211 CMD_NOTIFY_STATE_ASTRO_GOTO value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING=15212 CMD_NOTIFY_STATE_ASTRO_TRACKING value + * @property {number} CMD_NOTIFY_TELE_SET_PARAM=15213 CMD_NOTIFY_TELE_SET_PARAM value + * @property {number} CMD_NOTIFY_WIDE_SET_PARAM=15214 CMD_NOTIFY_WIDE_SET_PARAM value + * @property {number} CMD_NOTIFY_TELE_FUNCTION_STATE=15215 CMD_NOTIFY_TELE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_WIDE_FUNCTION_STATE=15216 CMD_NOTIFY_WIDE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_SET_FEATURE_PARAM=15217 CMD_NOTIFY_SET_FEATURE_PARAM value + * @property {number} CMD_NOTIFY_TELE_BURST_PROGRESS=15218 CMD_NOTIFY_TELE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_PROGRESS=15219 CMD_NOTIFY_PANORAMA_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_BURST_PROGRESS=15220 CMD_NOTIFY_WIDE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_RGB_STATE=15221 CMD_NOTIFY_RGB_STATE value + * @property {number} CMD_NOTIFY_POWER_IND_STATE=15222 CMD_NOTIFY_POWER_IND_STATE value + * @property {number} CMD_NOTIFY_WS_HOST_SLAVE_MODE=15223 CMD_NOTIFY_WS_HOST_SLAVE_MODE value + * @property {number} CMD_NOTIFY_MTP_STATE=15224 CMD_NOTIFY_MTP_STATE value + * @property {number} CMD_NOTIFY_TRACK_RESULT=15225 CMD_NOTIFY_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME=15226 CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_CPU_MODE=15227 CMD_NOTIFY_CPU_MODE value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL=15228 CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL value + * @property {number} CMD_NOTIFY_POWER_OFF=15229 CMD_NOTIFY_POWER_OFF value + * @property {number} CMD_NOTIFY_ALBUM_UPDATE=15230 CMD_NOTIFY_ALBUM_UPDATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_STATE=15231 CMD_NOTIFY_SENTRY_MODE_STATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT=15232 CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO=15233 CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO value + * @property {number} CMD_NOTIFY_STREAM_TYPE=15234 CMD_NOTIFY_STREAM_TYPE value + * @property {number} CMD_NOTIFY_WIDE_RECORD_TIME=15235 CMD_NOTIFY_WIDE_RECORD_TIME value + * @property {number} CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING=15236 CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING=15237 CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_MULTI_TRACK_RESULT=15238 CMD_NOTIFY_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_EQ_SOLVING_STATE=15239 CMD_NOTIFY_EQ_SOLVING_STATE value + * @property {number} CMD_NOTIFY_UFO_MODE_STATE=15240 CMD_NOTIFY_UFO_MODE_STATE value + * @property {number} CMD_NOTIFY_TELE_LONG_EXP_PROGRESS=15241 CMD_NOTIFY_TELE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS=15242 CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_TEMPERATURE=15243 CMD_NOTIFY_TEMPERATURE value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS=15244 CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS=15245 CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE=15246 CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK=15247 CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK value + * @property {number} CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE=15248 CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE value + * @property {number} CMD_NOTIFY_SHOOTING_TASK_STATE=15249 CMD_NOTIFY_SHOOTING_TASK_STATE value + * @property {number} CMD_NOTIFY_SKY_SEACHER_STATE=15250 CMD_NOTIFY_SKY_SEACHER_STATE value + * @property {number} CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT=15251 CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TRACK_RESULT=15252 CMD_NOTIFY_WIDE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_FOCUS=15257 CMD_NOTIFY_FOCUS value + * @property {number} CMD_PANORAMA_START_GRID=15500 CMD_PANORAMA_START_GRID value + * @property {number} CMD_PANORAMA_STOP=15501 CMD_PANORAMA_STOP value + * @property {number} CMD_PANORAMA_START_EULER_RANGE=15502 CMD_PANORAMA_START_EULER_RANGE value + */ +$root.DwarfCMD = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "NO_CMD")] = 0; + values[(valuesById[10000] = "CMD_CAMERA_TELE_OPEN_CAMERA")] = 10000; + values[(valuesById[10001] = "CMD_CAMERA_TELE_CLOSE_CAMERA")] = 10001; + values[(valuesById[10002] = "CMD_CAMERA_TELE_PHOTOGRAPH")] = 10002; + values[(valuesById[10003] = "CMD_CAMERA_TELE_BURST")] = 10003; + values[(valuesById[10004] = "CMD_CAMERA_TELE_STOP_BURST")] = 10004; + values[(valuesById[10005] = "CMD_CAMERA_TELE_START_RECORD")] = 10005; + values[(valuesById[10006] = "CMD_CAMERA_TELE_STOP_RECORD")] = 10006; + values[(valuesById[10007] = "CMD_CAMERA_TELE_SET_EXP_MODE")] = 10007; + values[(valuesById[10008] = "CMD_CAMERA_TELE_GET_EXP_MODE")] = 10008; + values[(valuesById[10009] = "CMD_CAMERA_TELE_SET_EXP")] = 10009; + values[(valuesById[10010] = "CMD_CAMERA_TELE_GET_EXP")] = 10010; + values[(valuesById[10011] = "CMD_CAMERA_TELE_SET_GAIN_MODE")] = 10011; + values[(valuesById[10012] = "CMD_CAMERA_TELE_GET_GAIN_MODE")] = 10012; + values[(valuesById[10013] = "CMD_CAMERA_TELE_SET_GAIN")] = 10013; + values[(valuesById[10014] = "CMD_CAMERA_TELE_GET_GAIN")] = 10014; + values[(valuesById[10015] = "CMD_CAMERA_TELE_SET_BRIGHTNESS")] = 10015; + values[(valuesById[10016] = "CMD_CAMERA_TELE_GET_BRIGHTNESS")] = 10016; + values[(valuesById[10017] = "CMD_CAMERA_TELE_SET_CONTRAST")] = 10017; + values[(valuesById[10018] = "CMD_CAMERA_TELE_GET_CONTRAST")] = 10018; + values[(valuesById[10019] = "CMD_CAMERA_TELE_SET_SATURATION")] = 10019; + values[(valuesById[10020] = "CMD_CAMERA_TELE_GET_SATURATION")] = 10020; + values[(valuesById[10021] = "CMD_CAMERA_TELE_SET_HUE")] = 10021; + values[(valuesById[10022] = "CMD_CAMERA_TELE_GET_HUE")] = 10022; + values[(valuesById[10023] = "CMD_CAMERA_TELE_SET_SHARPNESS")] = 10023; + values[(valuesById[10024] = "CMD_CAMERA_TELE_GET_SHARPNESS")] = 10024; + values[(valuesById[10025] = "CMD_CAMERA_TELE_SET_WB_MODE")] = 10025; + values[(valuesById[10026] = "CMD_CAMERA_TELE_GET_WB_MODE")] = 10026; + values[(valuesById[10027] = "CMD_CAMERA_TELE_SET_WB_SCENE")] = 10027; + values[(valuesById[10028] = "CMD_CAMERA_TELE_GET_WB_SCENE")] = 10028; + values[(valuesById[10029] = "CMD_CAMERA_TELE_SET_WB_CT")] = 10029; + values[(valuesById[10030] = "CMD_CAMERA_TELE_GET_WB_CT")] = 10030; + values[(valuesById[10031] = "CMD_CAMERA_TELE_SET_IRCUT")] = 10031; + values[(valuesById[10032] = "CMD_CAMERA_TELE_GET_IRCUT")] = 10032; + values[(valuesById[10033] = "CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO")] = 10033; + values[(valuesById[10034] = "CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO")] = 10034; + values[(valuesById[10035] = "CMD_CAMERA_TELE_SET_ALL_PARAMS")] = 10035; + values[(valuesById[10036] = "CMD_CAMERA_TELE_GET_ALL_PARAMS")] = 10036; + values[(valuesById[10037] = "CMD_CAMERA_TELE_SET_FEATURE_PARAM")] = 10037; + values[(valuesById[10038] = "CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS")] = 10038; + values[(valuesById[10039] = "CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE")] = 10039; + values[(valuesById[10040] = "CMD_CAMERA_TELE_SET_JPG_QUALITY")] = 10040; + values[(valuesById[10041] = "CMD_CAMERA_TELE_PHOTO_RAW")] = 10041; + values[(valuesById[10042] = "CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE")] = 10042; + values[(valuesById[11000] = "CMD_ASTRO_START_CALIBRATION")] = 11000; + values[(valuesById[11001] = "CMD_ASTRO_STOP_CALIBRATION")] = 11001; + values[(valuesById[11002] = "CMD_ASTRO_START_GOTO_DSO")] = 11002; + values[(valuesById[11003] = "CMD_ASTRO_START_GOTO_SOLAR_SYSTEM")] = 11003; + values[(valuesById[11004] = "CMD_ASTRO_STOP_GOTO")] = 11004; + values[(valuesById[11005] = "CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING")] = 11005; + values[(valuesById[11006] = "CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING")] = 11006; + values[(valuesById[11007] = "CMD_ASTRO_START_CAPTURE_RAW_DARK")] = 11007; + values[(valuesById[11008] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK")] = 11008; + values[(valuesById[11009] = "CMD_ASTRO_CHECK_GOT_DARK")] = 11009; + values[(valuesById[11010] = "CMD_ASTRO_GO_LIVE")] = 11010; + values[(valuesById[11011] = "CMD_ASTRO_START_TRACK_SPECIAL_TARGET")] = 11011; + values[(valuesById[11012] = "CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET")] = 11012; + values[(valuesById[11013] = "CMD_ASTRO_START_ONE_CLICK_GOTO_DSO")] = 11013; + values[(valuesById[11014] = "CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM")] = 11014; + values[(valuesById[11015] = "CMD_ASTRO_STOP_ONE_CLICK_GOTO")] = 11015; + values[(valuesById[11016] = "CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING")] = 11016; + values[(valuesById[11017] = "CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING")] = 11017; + values[(valuesById[11018] = "CMD_ASTRO_START_EQ_SOLVING")] = 11018; + values[(valuesById[11019] = "CMD_ASTRO_STOP_EQ_SOLVING")] = 11019; + values[(valuesById[11020] = "CMD_ASTRO_WIDE_GO_LIVE")] = 11020; + values[(valuesById[11021] = "CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM")] = 11021; + values[(valuesById[11022] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM")] = 11022; + values[(valuesById[11023] = "CMD_ASTRO_GET_DARK_FRAME_LIST")] = 11023; + values[(valuesById[11024] = "CMD_ASTRO_DEL_DARK_FRAME_LIST")] = 11024; + values[(valuesById[11025] = "CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM")] = 11025; + values[(valuesById[11026] = "CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM")] = 11026; + values[(valuesById[11027] = "CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST")] = 11027; + values[(valuesById[11028] = "CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST")] = 11028; + values[(valuesById[12000] = "CMD_CAMERA_WIDE_OPEN_CAMERA")] = 12000; + values[(valuesById[12001] = "CMD_CAMERA_WIDE_CLOSE_CAMERA")] = 12001; + values[(valuesById[12002] = "CMD_CAMERA_WIDE_SET_EXP_MODE")] = 12002; + values[(valuesById[12003] = "CMD_CAMERA_WIDE_GET_EXP_MODE")] = 12003; + values[(valuesById[12004] = "CMD_CAMERA_WIDE_SET_EXP")] = 12004; + values[(valuesById[12005] = "CMD_CAMERA_WIDE_GET_EXP")] = 12005; + values[(valuesById[12006] = "CMD_CAMERA_WIDE_SET_GAIN")] = 12006; + values[(valuesById[12007] = "CMD_CAMERA_WIDE_GET_GAIN")] = 12007; + values[(valuesById[12008] = "CMD_CAMERA_WIDE_SET_BRIGHTNESS")] = 12008; + values[(valuesById[12009] = "CMD_CAMERA_WIDE_GET_BRIGHTNESS")] = 12009; + values[(valuesById[12010] = "CMD_CAMERA_WIDE_SET_CONTRAST")] = 12010; + values[(valuesById[12011] = "CMD_CAMERA_WIDE_GET_CONTRAST")] = 12011; + values[(valuesById[12012] = "CMD_CAMERA_WIDE_SET_SATURATION")] = 12012; + values[(valuesById[12013] = "CMD_CAMERA_WIDE_GET_SATURATION")] = 12013; + values[(valuesById[12014] = "CMD_CAMERA_WIDE_SET_HUE")] = 12014; + values[(valuesById[12015] = "CMD_CAMERA_WIDE_GET_HUE")] = 12015; + values[(valuesById[12016] = "CMD_CAMERA_WIDE_SET_SHARPNESS")] = 12016; + values[(valuesById[12017] = "CMD_CAMERA_WIDE_GET_SHARPNESS")] = 12017; + values[(valuesById[12018] = "CMD_CAMERA_WIDE_SET_WB_MODE")] = 12018; + values[(valuesById[12019] = "CMD_CAMERA_WIDE_GET_WB_MODE")] = 12019; + values[(valuesById[12020] = "CMD_CAMERA_WIDE_SET_WB_CT")] = 12020; + values[(valuesById[12021] = "CMD_CAMERA_WIDE_GET_WB_CT")] = 12021; + values[(valuesById[12022] = "CMD_CAMERA_WIDE_PHOTOGRAPH")] = 12022; + values[(valuesById[12023] = "CMD_CAMERA_WIDE_BURST")] = 12023; + values[(valuesById[12024] = "CMD_CAMERA_WIDE_STOP_BURST")] = 12024; + values[(valuesById[12025] = "CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO")] = 12025; + values[(valuesById[12026] = "CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO")] = 12026; + values[(valuesById[12027] = "CMD_CAMERA_WIDE_GET_ALL_PARAMS")] = 12027; + values[(valuesById[12028] = "CMD_CAMERA_WIDE_SET_ALL_PARAMS")] = 12028; + values[(valuesById[12030] = "CMD_CAMERA_WIDE_START_RECORD")] = 12030; + values[(valuesById[12031] = "CMD_CAMERA_WIDE_STOP_RECORD")] = 12031; + values[(valuesById[13000] = "CMD_SYSTEM_SET_TIME")] = 13000; + values[(valuesById[13001] = "CMD_SYSTEM_SET_TIME_ZONE")] = 13001; + values[(valuesById[13002] = "CMD_SYSTEM_SET_MTP_MODE")] = 13002; + values[(valuesById[13003] = "CMD_SYSTEM_SET_CPU_MODE")] = 13003; + values[(valuesById[13004] = "CMD_SYSTEM_SET_MASTERLOCK")] = 13004; + values[(valuesById[13500] = "CMD_RGB_POWER_OPEN_RGB")] = 13500; + values[(valuesById[13501] = "CMD_RGB_POWER_CLOSE_RGB")] = 13501; + values[(valuesById[13502] = "CMD_RGB_POWER_POWER_DOWN")] = 13502; + values[(valuesById[13503] = "CMD_RGB_POWER_POWERIND_ON")] = 13503; + values[(valuesById[13504] = "CMD_RGB_POWER_POWERIND_OFF")] = 13504; + values[(valuesById[13505] = "CMD_RGB_POWER_REBOOT")] = 13505; + values[(valuesById[14000] = "CMD_STEP_MOTOR_RUN")] = 14000; + values[(valuesById[14001] = "CMD_STEP_MOTOR_RUN_TO")] = 14001; + values[(valuesById[14002] = "CMD_STEP_MOTOR_STOP")] = 14002; + values[(valuesById[14003] = "CMD_STEP_MOTOR_RESET")] = 14003; + values[(valuesById[14004] = "CMD_STEP_MOTOR_CHANGE_SPEED")] = 14004; + values[(valuesById[14005] = "CMD_STEP_MOTOR_CHANGE_DIRECTION")] = 14005; + values[(valuesById[14006] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK")] = 14006; + values[(valuesById[14007] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE")] = 14007; + values[(valuesById[14008] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP")] = 14008; + values[(valuesById[14009] = "CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE")] = 14009; + values[(valuesById[14010] = "CMD_STEP_MOTOR_RUN_IN_PULSE")] = 14010; + values[(valuesById[14011] = "CMD_STEP_MOTOR_GET_POSITION")] = 14011; + values[(valuesById[14800] = "CMD_TRACK_START_TRACK")] = 14800; + values[(valuesById[14801] = "CMD_TRACK_STOP_TRACK")] = 14801; + values[(valuesById[14802] = "CMD_SENTRY_MODE_START")] = 14802; + values[(valuesById[14803] = "CMD_SENTRY_MODE_STOP")] = 14803; + values[(valuesById[14804] = "CMD_MOT_START")] = 14804; + values[(valuesById[14805] = "CMD_MOT_TRACK_ONE")] = 14805; + values[(valuesById[14806] = "CMD_UFOTRACK_MODE_START")] = 14806; + values[(valuesById[14807] = "CMD_UFOTRACK_MODE_STOP")] = 14807; + values[(valuesById[14808] = "CMD_MOT_WIDE_TRACK_ONE")] = 14808; + values[(valuesById[14809] = "CMD_WIDE_TELE_TRACK_SWITCH")] = 14809; + values[(valuesById[14810] = "CMD_UFO_HAND_AOTO_MODE")] = 14810; + values[(valuesById[15000] = "CMD_FOCUS_AUTO_FOCUS")] = 15000; + values[(valuesById[15001] = "CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS")] = 15001; + values[(valuesById[15002] = "CMD_FOCUS_START_MANUAL_CONTINU_FOCUS")] = 15002; + values[(valuesById[15003] = "CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS")] = 15003; + values[(valuesById[15004] = "CMD_FOCUS_START_ASTRO_AUTO_FOCUS")] = 15004; + values[(valuesById[15005] = "CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS")] = 15005; + values[(valuesById[15200] = "CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING")] = 15200; + values[(valuesById[15201] = "CMD_NOTIFY_ELE")] = 15201; + values[(valuesById[15202] = "CMD_NOTIFY_CHARGE")] = 15202; + values[(valuesById[15203] = "CMD_NOTIFY_SDCARD_INFO")] = 15203; + values[(valuesById[15204] = "CMD_NOTIFY_TELE_RECORD_TIME")] = 15204; + values[(valuesById[15205] = "CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME")] = 15205; + values[(valuesById[15206] = "CMD_NOTIFY_STATE_CAPTURE_RAW_DARK")] = 15206; + values[(valuesById[15207] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK")] = 15207; + values[(valuesById[15208] = "CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING")] = 15208; + values[(valuesById[15209] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING")] = 15209; + values[(valuesById[15210] = "CMD_NOTIFY_STATE_ASTRO_CALIBRATION")] = 15210; + values[(valuesById[15211] = "CMD_NOTIFY_STATE_ASTRO_GOTO")] = 15211; + values[(valuesById[15212] = "CMD_NOTIFY_STATE_ASTRO_TRACKING")] = 15212; + values[(valuesById[15213] = "CMD_NOTIFY_TELE_SET_PARAM")] = 15213; + values[(valuesById[15214] = "CMD_NOTIFY_WIDE_SET_PARAM")] = 15214; + values[(valuesById[15215] = "CMD_NOTIFY_TELE_FUNCTION_STATE")] = 15215; + values[(valuesById[15216] = "CMD_NOTIFY_WIDE_FUNCTION_STATE")] = 15216; + values[(valuesById[15217] = "CMD_NOTIFY_SET_FEATURE_PARAM")] = 15217; + values[(valuesById[15218] = "CMD_NOTIFY_TELE_BURST_PROGRESS")] = 15218; + values[(valuesById[15219] = "CMD_NOTIFY_PANORAMA_PROGRESS")] = 15219; + values[(valuesById[15220] = "CMD_NOTIFY_WIDE_BURST_PROGRESS")] = 15220; + values[(valuesById[15221] = "CMD_NOTIFY_RGB_STATE")] = 15221; + values[(valuesById[15222] = "CMD_NOTIFY_POWER_IND_STATE")] = 15222; + values[(valuesById[15223] = "CMD_NOTIFY_WS_HOST_SLAVE_MODE")] = 15223; + values[(valuesById[15224] = "CMD_NOTIFY_MTP_STATE")] = 15224; + values[(valuesById[15225] = "CMD_NOTIFY_TRACK_RESULT")] = 15225; + values[(valuesById[15226] = "CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME")] = 15226; + values[(valuesById[15227] = "CMD_NOTIFY_CPU_MODE")] = 15227; + values[(valuesById[15228] = "CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL")] = 15228; + values[(valuesById[15229] = "CMD_NOTIFY_POWER_OFF")] = 15229; + values[(valuesById[15230] = "CMD_NOTIFY_ALBUM_UPDATE")] = 15230; + values[(valuesById[15231] = "CMD_NOTIFY_SENTRY_MODE_STATE")] = 15231; + values[(valuesById[15232] = "CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT")] = 15232; + values[(valuesById[15233] = "CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO")] = 15233; + values[(valuesById[15234] = "CMD_NOTIFY_STREAM_TYPE")] = 15234; + values[(valuesById[15235] = "CMD_NOTIFY_WIDE_RECORD_TIME")] = 15235; + values[(valuesById[15236] = "CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING")] = 15236; + values[(valuesById[15237] = "CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING")] = 15237; + values[(valuesById[15238] = "CMD_NOTIFY_MULTI_TRACK_RESULT")] = 15238; + values[(valuesById[15239] = "CMD_NOTIFY_EQ_SOLVING_STATE")] = 15239; + values[(valuesById[15240] = "CMD_NOTIFY_UFO_MODE_STATE")] = 15240; + values[(valuesById[15241] = "CMD_NOTIFY_TELE_LONG_EXP_PROGRESS")] = 15241; + values[(valuesById[15242] = "CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS")] = 15242; + values[(valuesById[15243] = "CMD_NOTIFY_TEMPERATURE")] = 15243; + values[(valuesById[15244] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS")] = 15244; + values[(valuesById[15245] = "CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS")] = 15245; + values[(valuesById[15246] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE")] = 15246; + values[(valuesById[15247] = "CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK")] = 15247; + values[(valuesById[15248] = "CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE")] = 15248; + values[(valuesById[15249] = "CMD_NOTIFY_SHOOTING_TASK_STATE")] = 15249; + values[(valuesById[15250] = "CMD_NOTIFY_SKY_SEACHER_STATE")] = 15250; + values[(valuesById[15251] = "CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT")] = 15251; + values[(valuesById[15252] = "CMD_NOTIFY_WIDE_TRACK_RESULT")] = 15252; + values[(valuesById[15257] = "CMD_NOTIFY_FOCUS")] = 15257; + values[(valuesById[15500] = "CMD_PANORAMA_START_GRID")] = 15500; + values[(valuesById[15501] = "CMD_PANORAMA_STOP")] = 15501; + values[(valuesById[15502] = "CMD_PANORAMA_START_EULER_RANGE")] = 15502; + return values; +})(); +/** + * DwarfErrorCode enum. + * @exports DwarfErrorCode + * @enum {number} + * @property {number} OK=0 OK value + * @property {number} WS_PARSE_PROTOBUF_ERROR=-1 WS_PARSE_PROTOBUF_ERROR value + * @property {number} WS_SDCARD_NOT_EXIST=-2 WS_SDCARD_NOT_EXIST value + * @property {number} WS_INVALID_PARAM=-3 WS_INVALID_PARAM value + * @property {number} WS_SDCARD_WRITE_ERROR=-4 WS_SDCARD_WRITE_ERROR value + * @property {number} CODE_CAMERA_TELE_OPENED=-10500 CODE_CAMERA_TELE_OPENED value + * @property {number} CODE_CAMERA_TELE_CLOSED=-10501 CODE_CAMERA_TELE_CLOSED value + * @property {number} CODE_CAMERA_TELE_ISP_SET_FAILED=-10502 CODE_CAMERA_TELE_ISP_SET_FAILED value + * @property {number} CODE_CAMERA_TELE_OPEN_FAILED=-10504 CODE_CAMERA_TELE_OPEN_FAILED value + * @property {number} CODE_CAMERA_TELE_RECORDING=-10506 CODE_CAMERA_TELE_RECORDING value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY_STACK=-10507 CODE_CAMERA_TELE_WORKING_BUSY_STACK value + * @property {number} CODE_CAMERA_TELE_CAPTURE_RAW_FAILED=-10510 CODE_CAMERA_TELE_CAPTURE_RAW_FAILED value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY=-10511 CODE_CAMERA_TELE_WORKING_BUSY value + * @property {number} CODE_ASTRO_PLATE_SOLVING_FAILED=-11500 CODE_ASTRO_PLATE_SOLVING_FAILED value + * @property {number} CODE_ASTRO_FUNCTION_BUSY=-11501 CODE_ASTRO_FUNCTION_BUSY value + * @property {number} CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE=-11502 CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE value + * @property {number} CODE_ASTRO_DARK_NOT_FOUND=-11503 CODE_ASTRO_DARK_NOT_FOUND value + * @property {number} CODE_ASTRO_CALIBRATION_FAILED=-11504 CODE_ASTRO_CALIBRATION_FAILED value + * @property {number} CODE_ASTRO_GOTO_FAILED=-11505 CODE_ASTRO_GOTO_FAILED value + * @property {number} CODE_ASTRO_NEED_GOTO=-11513 CODE_ASTRO_NEED_GOTO value + * @property {number} CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM=-11514 CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM value + * @property {number} CODE_ASTRO_EQ_SOLVING_FAILED=-11516 CODE_ASTRO_EQ_SOLVING_FAILED value + * @property {number} CODE_ASTRO_SKY_SEARCH_FAILED=-11517 CODE_ASTRO_SKY_SEARCH_FAILED value + * @property {number} CODE_CAMERA_WIDE_OPENED=-12500 CODE_CAMERA_WIDE_OPENED value + * @property {number} CODE_CAMERA_WIDE_CLOSED=-12501 CODE_CAMERA_WIDE_CLOSED value + * @property {number} CODE_CAMERA_WIDE_CANNOT_FOUND=-12502 CODE_CAMERA_WIDE_CANNOT_FOUND value + * @property {number} CODE_CAMERA_WIDE_OPEN_FAILED=-12503 CODE_CAMERA_WIDE_OPEN_FAILED value + * @property {number} CODE_CAMERA_WIDE_CLOSE_FAILED=-12504 CODE_CAMERA_WIDE_CLOSE_FAILED value + * @property {number} CODE_CAMERA_WIDE_SET_ISP_FAILED=-12505 CODE_CAMERA_WIDE_SET_ISP_FAILED value + * @property {number} CODE_CAMERA_WIDE_PHOTOGRAPHING=-12506 CODE_CAMERA_WIDE_PHOTOGRAPHING value + * @property {number} CODE_CAMERA_WIDE_EXP_TOO_LONG=-12508 CODE_CAMERA_WIDE_EXP_TOO_LONG value + * @property {number} CODE_SYSTEM_SET_TIME_FAILED=-13300 CODE_SYSTEM_SET_TIME_FAILED value + * @property {number} CODE_SYSTEM_SET_TIMEZONE_FAILED=-13301 CODE_SYSTEM_SET_TIMEZONE_FAILED value + * @property {number} CODE_SYSTEM_SETTING_TIMEZONE_FAILED=-13302 CODE_SYSTEM_SETTING_TIMEZONE_FAILED value + * @property {number} CODE_RGB_POWER_UART_INIT_FAILED=-13800 CODE_RGB_POWER_UART_INIT_FAILED value + * @property {number} CODE_STEP_MOTOR_INVALID_PARAMETER_ID=-14504 CODE_STEP_MOTOR_INVALID_PARAMETER_ID value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_WARNING=-14518 CODE_STEP_MOTOR_LIMIT_POSITION_WARNING value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_HITTED=-14519 CODE_STEP_MOTOR_LIMIT_POSITION_HITTED value + * @property {number} CODE_STEP_MOTOR_POSITION_NEED_RESET=-14520 CODE_STEP_MOTOR_POSITION_NEED_RESET value + * @property {number} CODE_TRACK_TRACKER_INITING=-14900 CODE_TRACK_TRACKER_INITING value + * @property {number} CODE_TRACK_TRACKER_FAILED=-14901 CODE_TRACK_TRACKER_FAILED value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR=-15100 CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR=-15101 CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR value + * @property {number} CODE_PANORAMA_PHOTO_FAILED=-15600 CODE_PANORAMA_PHOTO_FAILED value + * @property {number} CODE_PANORAMA_MOTOR_RESET_FAILED=-15601 CODE_PANORAMA_MOTOR_RESET_FAILED value + */ +$root.DwarfErrorCode = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "OK")] = 0; + values[(valuesById[-1] = "WS_PARSE_PROTOBUF_ERROR")] = -1; + values[(valuesById[-2] = "WS_SDCARD_NOT_EXIST")] = -2; + values[(valuesById[-3] = "WS_INVALID_PARAM")] = -3; + values[(valuesById[-4] = "WS_SDCARD_WRITE_ERROR")] = -4; + values[(valuesById[-10500] = "CODE_CAMERA_TELE_OPENED")] = -10500; + values[(valuesById[-10501] = "CODE_CAMERA_TELE_CLOSED")] = -10501; + values[(valuesById[-10502] = "CODE_CAMERA_TELE_ISP_SET_FAILED")] = -10502; + values[(valuesById[-10504] = "CODE_CAMERA_TELE_OPEN_FAILED")] = -10504; + values[(valuesById[-10506] = "CODE_CAMERA_TELE_RECORDING")] = -10506; + values[(valuesById[-10507] = "CODE_CAMERA_TELE_WORKING_BUSY_STACK")] = -10507; + values[(valuesById[-10510] = "CODE_CAMERA_TELE_CAPTURE_RAW_FAILED")] = -10510; + values[(valuesById[-10511] = "CODE_CAMERA_TELE_WORKING_BUSY")] = -10511; + values[(valuesById[-11500] = "CODE_ASTRO_PLATE_SOLVING_FAILED")] = -11500; + values[(valuesById[-11501] = "CODE_ASTRO_FUNCTION_BUSY")] = -11501; + values[(valuesById[-11502] = "CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE")] = -11502; + values[(valuesById[-11503] = "CODE_ASTRO_DARK_NOT_FOUND")] = -11503; + values[(valuesById[-11504] = "CODE_ASTRO_CALIBRATION_FAILED")] = -11504; + values[(valuesById[-11505] = "CODE_ASTRO_GOTO_FAILED")] = -11505; + values[(valuesById[-11513] = "CODE_ASTRO_NEED_GOTO")] = -11513; + values[(valuesById[-11514] = "CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM")] = -11514; + values[(valuesById[-11516] = "CODE_ASTRO_EQ_SOLVING_FAILED")] = -11516; + values[(valuesById[-11517] = "CODE_ASTRO_SKY_SEARCH_FAILED")] = -11517; + values[(valuesById[-12500] = "CODE_CAMERA_WIDE_OPENED")] = -12500; + values[(valuesById[-12501] = "CODE_CAMERA_WIDE_CLOSED")] = -12501; + values[(valuesById[-12502] = "CODE_CAMERA_WIDE_CANNOT_FOUND")] = -12502; + values[(valuesById[-12503] = "CODE_CAMERA_WIDE_OPEN_FAILED")] = -12503; + values[(valuesById[-12504] = "CODE_CAMERA_WIDE_CLOSE_FAILED")] = -12504; + values[(valuesById[-12505] = "CODE_CAMERA_WIDE_SET_ISP_FAILED")] = -12505; + values[(valuesById[-12506] = "CODE_CAMERA_WIDE_PHOTOGRAPHING")] = -12506; + values[(valuesById[-12508] = "CODE_CAMERA_WIDE_EXP_TOO_LONG")] = -12508; + values[(valuesById[-13300] = "CODE_SYSTEM_SET_TIME_FAILED")] = -13300; + values[(valuesById[-13301] = "CODE_SYSTEM_SET_TIMEZONE_FAILED")] = -13301; + values[(valuesById[-13302] = "CODE_SYSTEM_SETTING_TIMEZONE_FAILED")] = -13302; + values[(valuesById[-13800] = "CODE_RGB_POWER_UART_INIT_FAILED")] = -13800; + values[(valuesById[-14504] = "CODE_STEP_MOTOR_INVALID_PARAMETER_ID")] = + -14504; + values[(valuesById[-14518] = "CODE_STEP_MOTOR_LIMIT_POSITION_WARNING")] = + -14518; + values[(valuesById[-14519] = "CODE_STEP_MOTOR_LIMIT_POSITION_HITTED")] = + -14519; + values[(valuesById[-14520] = "CODE_STEP_MOTOR_POSITION_NEED_RESET")] = -14520; + values[(valuesById[-14900] = "CODE_TRACK_TRACKER_INITING")] = -14900; + values[(valuesById[-14901] = "CODE_TRACK_TRACKER_FAILED")] = -14901; + values[(valuesById[-15100] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR")] = + -15100; + values[(valuesById[-15101] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR")] = + -15101; + values[(valuesById[-15600] = "CODE_PANORAMA_PHOTO_FAILED")] = -15600; + values[(valuesById[-15601] = "CODE_PANORAMA_MOTOR_RESET_FAILED")] = -15601; + return values; +})(); +/** + * AstroTrackingSpecial enum. + * @exports AstroTrackingSpecial + * @enum {number} + * @property {number} TRACKING_SUN=0 TRACKING_SUN value + * @property {number} TRACKING_MOON=1 TRACKING_MOON value + */ +$root.AstroTrackingSpecial = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "TRACKING_SUN")] = 0; + values[(valuesById[1] = "TRACKING_MOON")] = 1; + return values; +})(); +/** + * SolarSystemTarget enum. + * @exports SolarSystemTarget + * @enum {number} + * @property {number} Unknown=0 Unknown value + * @property {number} Mercury=1 Mercury value + * @property {number} Venus=2 Venus value + * @property {number} Mars=3 Mars value + * @property {number} Jupiter=4 Jupiter value + * @property {number} Saturn=5 Saturn value + * @property {number} Uranus=6 Uranus value + * @property {number} Neptune=7 Neptune value + * @property {number} Moon=8 Moon value + * @property {number} Sun=9 Sun value + */ +$root.SolarSystemTarget = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "Unknown")] = 0; + values[(valuesById[1] = "Mercury")] = 1; + values[(valuesById[2] = "Venus")] = 2; + values[(valuesById[3] = "Mars")] = 3; + values[(valuesById[4] = "Jupiter")] = 4; + values[(valuesById[5] = "Saturn")] = 5; + values[(valuesById[6] = "Uranus")] = 6; + values[(valuesById[7] = "Neptune")] = 7; + values[(valuesById[8] = "Moon")] = 8; + values[(valuesById[9] = "Sun")] = 9; + return values; +})(); +/** + * PhotoMode enum. + * @exports PhotoMode + * @enum {number} + * @property {number} Auto=0 Auto value + * @property {number} Manual=1 Manual value + */ +$root.PhotoMode = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "Auto")] = 0; + values[(valuesById[1] = "Manual")] = 1; + return values; +})(); +/** + * WBMode enum. + * @exports WBMode + * @enum {number} + * @property {number} ColorTemperature=0 ColorTemperature value + * @property {number} SceneMode=1 SceneMode value + */ +$root.WBMode = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "ColorTemperature")] = 0; + values[(valuesById[1] = "SceneMode")] = 1; + return values; +})(); +/** + * IrCut enum. + * @exports IrCut + * @enum {number} + * @property {number} CUT=0 CUT value + * @property {number} PASS=1 PASS value + */ +$root.IrCut = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "CUT")] = 0; + values[(valuesById[1] = "PASS")] = 1; + return values; +})(); +$root.ReqOpenRgb = (function () { + /** + * Properties of a ReqOpenRgb. + * @exports IReqOpenRgb + * @interface IReqOpenRgb + */ + /** + * Constructs a new ReqOpenRgb. + * @exports ReqOpenRgb + * @classdesc Represents a ReqOpenRgb. + * @implements IReqOpenRgb + * @constructor + * @param {IReqOpenRgb=} [properties] Properties to set + */ + function ReqOpenRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqOpenRgb instance using the specified properties. + * @function create + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb=} [properties] Properties to set + * @returns {ReqOpenRgb} ReqOpenRgb instance + */ + ReqOpenRgb.create = function create(properties) { + return new ReqOpenRgb(properties); + }; + /** + * Encodes the specified ReqOpenRgb message. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encode + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqOpenRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqOpenRgb message. + * @function verify + * @memberof ReqOpenRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenRgb} ReqOpenRgb + */ + ReqOpenRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenRgb) + return object; + return new $root.ReqOpenRgb(); + }; + /** + * Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenRgb + * @static + * @param {ReqOpenRgb} message ReqOpenRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenRgb.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqOpenRgb to JSON. + * @function toJSON + * @memberof ReqOpenRgb + * @instance + * @returns {Object.} JSON object + */ + ReqOpenRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqOpenRgb + * @function getTypeUrl + * @memberof ReqOpenRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenRgb"; + }; + return ReqOpenRgb; +})(); +$root.ReqCloseRgb = (function () { + /** + * Properties of a ReqCloseRgb. + * @exports IReqCloseRgb + * @interface IReqCloseRgb + */ + /** + * Constructs a new ReqCloseRgb. + * @exports ReqCloseRgb + * @classdesc Represents a ReqCloseRgb. + * @implements IReqCloseRgb + * @constructor + * @param {IReqCloseRgb=} [properties] Properties to set + */ + function ReqCloseRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqCloseRgb instance using the specified properties. + * @function create + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb=} [properties] Properties to set + * @returns {ReqCloseRgb} ReqCloseRgb instance + */ + ReqCloseRgb.create = function create(properties) { + return new ReqCloseRgb(properties); + }; + /** + * Encodes the specified ReqCloseRgb message. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encode + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCloseRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCloseRgb message. + * @function verify + * @memberof ReqCloseRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseRgb} ReqCloseRgb + */ + ReqCloseRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseRgb) + return object; + return new $root.ReqCloseRgb(); + }; + /** + * Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseRgb + * @static + * @param {ReqCloseRgb} message ReqCloseRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseRgb.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqCloseRgb to JSON. + * @function toJSON + * @memberof ReqCloseRgb + * @instance + * @returns {Object.} JSON object + */ + ReqCloseRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCloseRgb + * @function getTypeUrl + * @memberof ReqCloseRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseRgb"; + }; + return ReqCloseRgb; +})(); +$root.ReqPowerDown = (function () { + /** + * Properties of a ReqPowerDown. + * @exports IReqPowerDown + * @interface IReqPowerDown + */ + /** + * Constructs a new ReqPowerDown. + * @exports ReqPowerDown + * @classdesc Represents a ReqPowerDown. + * @implements IReqPowerDown + * @constructor + * @param {IReqPowerDown=} [properties] Properties to set + */ + function ReqPowerDown(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqPowerDown instance using the specified properties. + * @function create + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown=} [properties] Properties to set + * @returns {ReqPowerDown} ReqPowerDown instance + */ + ReqPowerDown.create = function create(properties) { + return new ReqPowerDown(properties); + }; + /** + * Encodes the specified ReqPowerDown message. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encode + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqPowerDown message, length delimited. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqPowerDown message from the specified reader or buffer. + * @function decode + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqPowerDown(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqPowerDown message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqPowerDown message. + * @function verify + * @memberof ReqPowerDown + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPowerDown.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPowerDown + * @static + * @param {Object.} object Plain object + * @returns {ReqPowerDown} ReqPowerDown + */ + ReqPowerDown.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPowerDown) + return object; + return new $root.ReqPowerDown(); + }; + /** + * Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPowerDown + * @static + * @param {ReqPowerDown} message ReqPowerDown + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPowerDown.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqPowerDown to JSON. + * @function toJSON + * @memberof ReqPowerDown + * @instance + * @returns {Object.} JSON object + */ + ReqPowerDown.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqPowerDown + * @function getTypeUrl + * @memberof ReqPowerDown + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPowerDown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPowerDown"; + }; + return ReqPowerDown; +})(); +$root.ReqOpenPowerInd = (function () { + /** + * Properties of a ReqOpenPowerInd. + * @exports IReqOpenPowerInd + * @interface IReqOpenPowerInd + */ + /** + * Constructs a new ReqOpenPowerInd. + * @exports ReqOpenPowerInd + * @classdesc Represents a ReqOpenPowerInd. + * @implements IReqOpenPowerInd + * @constructor + * @param {IReqOpenPowerInd=} [properties] Properties to set + */ + function ReqOpenPowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqOpenPowerInd instance using the specified properties. + * @function create + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd=} [properties] Properties to set + * @returns {ReqOpenPowerInd} ReqOpenPowerInd instance + */ + ReqOpenPowerInd.create = function create(properties) { + return new ReqOpenPowerInd(properties); + }; + /** + * Encodes the specified ReqOpenPowerInd message. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encode + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqOpenPowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqOpenPowerInd message. + * @function verify + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenPowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + */ + ReqOpenPowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenPowerInd) + return object; + return new $root.ReqOpenPowerInd(); + }; + /** + * Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenPowerInd + * @static + * @param {ReqOpenPowerInd} message ReqOpenPowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenPowerInd.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqOpenPowerInd to JSON. + * @function toJSON + * @memberof ReqOpenPowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqOpenPowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqOpenPowerInd + * @function getTypeUrl + * @memberof ReqOpenPowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenPowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenPowerInd"; + }; + return ReqOpenPowerInd; +})(); +$root.ReqClosePowerInd = (function () { + /** + * Properties of a ReqClosePowerInd. + * @exports IReqClosePowerInd + * @interface IReqClosePowerInd + */ + /** + * Constructs a new ReqClosePowerInd. + * @exports ReqClosePowerInd + * @classdesc Represents a ReqClosePowerInd. + * @implements IReqClosePowerInd + * @constructor + * @param {IReqClosePowerInd=} [properties] Properties to set + */ + function ReqClosePowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqClosePowerInd instance using the specified properties. + * @function create + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd=} [properties] Properties to set + * @returns {ReqClosePowerInd} ReqClosePowerInd instance + */ + ReqClosePowerInd.create = function create(properties) { + return new ReqClosePowerInd(properties); + }; + /** + * Encodes the specified ReqClosePowerInd message. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encode + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqClosePowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqClosePowerInd message. + * @function verify + * @memberof ReqClosePowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqClosePowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqClosePowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqClosePowerInd} ReqClosePowerInd + */ + ReqClosePowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqClosePowerInd) + return object; + return new $root.ReqClosePowerInd(); + }; + /** + * Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqClosePowerInd + * @static + * @param {ReqClosePowerInd} message ReqClosePowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqClosePowerInd.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqClosePowerInd to JSON. + * @function toJSON + * @memberof ReqClosePowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqClosePowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqClosePowerInd + * @function getTypeUrl + * @memberof ReqClosePowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqClosePowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqClosePowerInd"; + }; + return ReqClosePowerInd; +})(); +$root.ReqReboot = (function () { + /** + * Properties of a ReqReboot. + * @exports IReqReboot + * @interface IReqReboot + */ + /** + * Constructs a new ReqReboot. + * @exports ReqReboot + * @classdesc Represents a ReqReboot. + * @implements IReqReboot + * @constructor + * @param {IReqReboot=} [properties] Properties to set + */ + function ReqReboot(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqReboot instance using the specified properties. + * @function create + * @memberof ReqReboot + * @static + * @param {IReqReboot=} [properties] Properties to set + * @returns {ReqReboot} ReqReboot instance + */ + ReqReboot.create = function create(properties) { + return new ReqReboot(properties); + }; + /** + * Encodes the specified ReqReboot message. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encode + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqReboot message, length delimited. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqReboot message from the specified reader or buffer. + * @function decode + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqReboot(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqReboot message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqReboot message. + * @function verify + * @memberof ReqReboot + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReboot.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqReboot message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReboot + * @static + * @param {Object.} object Plain object + * @returns {ReqReboot} ReqReboot + */ + ReqReboot.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReboot) + return object; + return new $root.ReqReboot(); + }; + /** + * Creates a plain object from a ReqReboot message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReboot + * @static + * @param {ReqReboot} message ReqReboot + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReboot.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqReboot to JSON. + * @function toJSON + * @memberof ReqReboot + * @instance + * @returns {Object.} JSON object + */ + ReqReboot.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqReboot + * @function getTypeUrl + * @memberof ReqReboot + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReboot.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReboot"; + }; + return ReqReboot; +})(); +/** + * ShootingScheduleState enum. + * @exports ShootingScheduleState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_STATE_INITIALIZED=0 SHOOTING_SCHEDULE_STATE_INITIALIZED value + * @property {number} SHOOTING_SCHEDULE_STATE_PENDING_SHOOT=1 SHOOTING_SCHEDULE_STATE_PENDING_SHOOT value + * @property {number} SHOOTING_SCHEDULE_STATE_SHOOTING=2 SHOOTING_SCHEDULE_STATE_SHOOTING value + * @property {number} SHOOTING_SCHEDULE_STATE_COMPLETED=3 SHOOTING_SCHEDULE_STATE_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_STATE_EXPIRED=4 SHOOTING_SCHEDULE_STATE_EXPIRED value + */ +$root.ShootingScheduleState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_STATE_INITIALIZED")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_STATE_SHOOTING")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_STATE_COMPLETED")] = 3; + values[(valuesById[4] = "SHOOTING_SCHEDULE_STATE_EXPIRED")] = 4; + return values; +})(); +/** + * ShootingScheduleSyncState enum. + * @exports ShootingScheduleSyncState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC=0 SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC value + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_SYNCED=1 SHOOTING_SCHEDULE_SYNC_STATE_SYNCED value + */ +$root.ShootingScheduleSyncState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED")] = 1; + return values; +})(); +/** + * ShootingScheduleResult enum. + * @exports ShootingScheduleResult + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_RESULT_PENDING_START=0 SHOOTING_SCHEDULE_RESULT_PENDING_START value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED=1 SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED=2 SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_FAILED=3 SHOOTING_SCHEDULE_RESULT_ALL_FAILED value + */ +$root.ShootingScheduleResult = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_RESULT_PENDING_START")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_RESULT_ALL_FAILED")] = 3; + return values; +})(); +/** + * ShootingTaskState enum. + * @exports ShootingTaskState + * @enum {number} + * @property {number} SHOOTING_TASK_STATUS_IDLE=0 SHOOTING_TASK_STATUS_IDLE value + * @property {number} SHOOTING_TASK_STATUS_SHOOTING=1 SHOOTING_TASK_STATUS_SHOOTING value + * @property {number} SHOOTING_TASK_STATUS_SUCCESS=2 SHOOTING_TASK_STATUS_SUCCESS value + * @property {number} SHOOTING_TASK_STATUS_FAILED=3 SHOOTING_TASK_STATUS_FAILED value + * @property {number} SHOOTING_TASK_STATUS_INTERRUPTED=4 SHOOTING_TASK_STATUS_INTERRUPTED value + */ +$root.ShootingTaskState = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_TASK_STATUS_IDLE")] = 0; + values[(valuesById[1] = "SHOOTING_TASK_STATUS_SHOOTING")] = 1; + values[(valuesById[2] = "SHOOTING_TASK_STATUS_SUCCESS")] = 2; + values[(valuesById[3] = "SHOOTING_TASK_STATUS_FAILED")] = 3; + values[(valuesById[4] = "SHOOTING_TASK_STATUS_INTERRUPTED")] = 4; + return values; +})(); +/** + * ShootingScheduleMode enum. + * @exports ShootingScheduleMode + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY=0 SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY value + */ +$root.ShootingScheduleMode = (function () { + var valuesById = {}, values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY")] = 0; + return values; +})(); +$root.ShootingTaskMsg = (function () { + /** + * Properties of a ShootingTaskMsg. + * @exports IShootingTaskMsg + * @interface IShootingTaskMsg + * @property {string|null} [scheduleId] ShootingTaskMsg scheduleId + * @property {string|null} [params] ShootingTaskMsg params + * @property {ShootingTaskState|null} [state] ShootingTaskMsg state + * @property {number|null} [code] ShootingTaskMsg code + * @property {number|Long|null} [createdTime] ShootingTaskMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingTaskMsg updatedTime + * @property {string|null} [scheduleTaskId] ShootingTaskMsg scheduleTaskId + * @property {number|null} [paramMode] ShootingTaskMsg paramMode + * @property {number|null} [paramVersion] ShootingTaskMsg paramVersion + * @property {number|null} [createFrom] ShootingTaskMsg createFrom + */ + /** + * Constructs a new ShootingTaskMsg. + * @exports ShootingTaskMsg + * @classdesc Represents a ShootingTaskMsg. + * @implements IShootingTaskMsg + * @constructor + * @param {IShootingTaskMsg=} [properties] Properties to set + */ + function ShootingTaskMsg(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ShootingTaskMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleId = ""; + /** + * ShootingTaskMsg params. + * @member {string} params + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.params = ""; + /** + * ShootingTaskMsg state. + * @member {ShootingTaskState} state + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.state = 0; + /** + * ShootingTaskMsg code. + * @member {number} code + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.code = 0; + /** + * ShootingTaskMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingTaskMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingTaskMsg scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleTaskId = ""; + /** + * ShootingTaskMsg paramMode. + * @member {number} paramMode + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramMode = 0; + /** + * ShootingTaskMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramVersion = 0; + /** + * ShootingTaskMsg createFrom. + * @member {number} createFrom + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createFrom = 0; + /** + * Creates a new ShootingTaskMsg instance using the specified properties. + * @function create + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg=} [properties] Properties to set + * @returns {ShootingTaskMsg} ShootingTaskMsg instance + */ + ShootingTaskMsg.create = function create(properties) { + return new ShootingTaskMsg(properties); + }; + /** + * Encodes the specified ShootingTaskMsg message. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encode + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.params); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.code); + if (message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.createdTime); + if (message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.updatedTime); + if (message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId")) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.scheduleTaskId); + if (message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode")) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.paramMode); + if (message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion")) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.paramVersion); + if (message.createFrom != null && + Object.hasOwnProperty.call(message, "createFrom")) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.createFrom); + return writer; + }; + /** + * Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ShootingTaskMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.params = reader.string(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.code = reader.int32(); + break; + } + case 5: { + message.createdTime = reader.int64(); + break; + } + case 6: { + message.updatedTime = reader.int64(); + break; + } + case 7: { + message.scheduleTaskId = reader.string(); + break; + } + case 8: { + message.paramMode = reader.int32(); + break; + } + case 9: { + message.paramVersion = reader.int32(); + break; + } + case 10: { + message.createFrom = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ShootingTaskMsg message. + * @function verify + * @memberof ShootingTaskMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingTaskMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) + return "params: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (!$util.isInteger(message.createdTime) && + !(message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high))) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (!$util.isInteger(message.updatedTime) && + !(message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high))) + return "updatedTime: integer|Long expected"; + if (message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId")) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + if (!$util.isInteger(message.createFrom)) + return "createFrom: integer expected"; + return null; + }; + /** + * Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingTaskMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingTaskMsg} ShootingTaskMsg + */ + ShootingTaskMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingTaskMsg) + return object; + var message = new $root.ShootingTaskMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.params != null) + message.params = String(object.params); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_TASK_STATUS_IDLE": + case 0: + message.state = 0; + break; + case "SHOOTING_TASK_STATUS_SHOOTING": + case 1: + message.state = 1; + break; + case "SHOOTING_TASK_STATUS_SUCCESS": + case 2: + message.state = 2; + break; + case "SHOOTING_TASK_STATUS_FAILED": + case 3: + message.state = 3; + break; + case "SHOOTING_TASK_STATUS_INTERRUPTED": + case 4: + message.state = 4; + break; + } + if (object.code != null) + message.code = object.code | 0; + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue(object.createdTime)).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits(object.createdTime.low >>> 0, object.createdTime.high >>> 0).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue(object.updatedTime)).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits(object.updatedTime.low >>> 0, object.updatedTime.high >>> 0).toNumber(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.paramMode != null) + message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.createFrom != null) + message.createFrom = object.createFrom | 0; + return message; + }; + /** + * Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingTaskMsg + * @static + * @param {ShootingTaskMsg} message ShootingTaskMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingTaskMsg.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.params = ""; + object.state = options.enums === String ? "SHOOTING_TASK_STATUS_IDLE" : 0; + object.code = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.updatedTime = options.longs === String ? "0" : 0; + object.scheduleTaskId = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.createFrom = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingTaskState[message.state] === undefined + ? message.state + : $root.ShootingTaskState[message.state] + : message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits(message.createdTime.low >>> 0, message.createdTime.high >>> 0).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits(message.updatedTime.low >>> 0, message.updatedTime.high >>> 0).toNumber() + : message.updatedTime; + if (message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId")) + object.scheduleTaskId = message.scheduleTaskId; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + object.createFrom = message.createFrom; + return object; + }; + /** + * Converts this ShootingTaskMsg to JSON. + * @function toJSON + * @memberof ShootingTaskMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingTaskMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ShootingTaskMsg + * @function getTypeUrl + * @memberof ShootingTaskMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingTaskMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingTaskMsg"; + }; + return ShootingTaskMsg; +})(); +$root.ShootingScheduleMsg = (function () { + /** + * Properties of a ShootingScheduleMsg. + * @exports IShootingScheduleMsg + * @interface IShootingScheduleMsg + * @property {string|null} [scheduleId] ShootingScheduleMsg scheduleId + * @property {string|null} [scheduleName] ShootingScheduleMsg scheduleName + * @property {number|null} [deviceId] ShootingScheduleMsg deviceId + * @property {string|null} [macAddress] ShootingScheduleMsg macAddress + * @property {number|Long|null} [startTime] ShootingScheduleMsg startTime + * @property {number|Long|null} [endTime] ShootingScheduleMsg endTime + * @property {ShootingScheduleResult|null} [result] ShootingScheduleMsg result + * @property {number|Long|null} [createdTime] ShootingScheduleMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingScheduleMsg updatedTime + * @property {ShootingScheduleState|null} [state] ShootingScheduleMsg state + * @property {number|null} [lock] ShootingScheduleMsg lock + * @property {string|null} [password] ShootingScheduleMsg password + * @property {Array.|null} [shootingTasks] ShootingScheduleMsg shootingTasks + * @property {number|null} [paramMode] ShootingScheduleMsg paramMode + * @property {number|null} [paramVersion] ShootingScheduleMsg paramVersion + * @property {string|null} [params] ShootingScheduleMsg params + * @property {number|Long|null} [scheduleTime] ShootingScheduleMsg scheduleTime + * @property {ShootingScheduleSyncState|null} [syncState] ShootingScheduleMsg syncState + */ + /** + * Constructs a new ShootingScheduleMsg. + * @exports ShootingScheduleMsg + * @classdesc Represents a ShootingScheduleMsg. + * @implements IShootingScheduleMsg + * @constructor + * @param {IShootingScheduleMsg=} [properties] Properties to set + */ + function ShootingScheduleMsg(properties) { + this.shootingTasks = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ShootingScheduleMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleId = ""; + /** + * ShootingScheduleMsg scheduleName. + * @member {string} scheduleName + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleName = ""; + /** + * ShootingScheduleMsg deviceId. + * @member {number} deviceId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.deviceId = 0; + /** + * ShootingScheduleMsg macAddress. + * @member {string} macAddress + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.macAddress = ""; + /** + * ShootingScheduleMsg startTime. + * @member {number|Long} startTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.startTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingScheduleMsg endTime. + * @member {number|Long} endTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.endTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingScheduleMsg result. + * @member {ShootingScheduleResult} result + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.result = 0; + /** + * ShootingScheduleMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingScheduleMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingScheduleMsg state. + * @member {ShootingScheduleState} state + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.state = 0; + /** + * ShootingScheduleMsg lock. + * @member {number} lock + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.lock = 0; + /** + * ShootingScheduleMsg password. + * @member {string} password + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.password = ""; + /** + * ShootingScheduleMsg shootingTasks. + * @member {Array.} shootingTasks + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.shootingTasks = $util.emptyArray; + /** + * ShootingScheduleMsg paramMode. + * @member {number} paramMode + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramMode = 0; + /** + * ShootingScheduleMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramVersion = 0; + /** + * ShootingScheduleMsg params. + * @member {string} params + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.params = ""; + /** + * ShootingScheduleMsg scheduleTime. + * @member {number|Long} scheduleTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + /** + * ShootingScheduleMsg syncState. + * @member {ShootingScheduleSyncState} syncState + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.syncState = 0; + /** + * Creates a new ShootingScheduleMsg instance using the specified properties. + * @function create + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg=} [properties] Properties to set + * @returns {ShootingScheduleMsg} ShootingScheduleMsg instance + */ + ShootingScheduleMsg.create = function create(properties) { + return new ShootingScheduleMsg(properties); + }; + /** + * Encodes the specified ShootingScheduleMsg message. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encode + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.scheduleName != null && + Object.hasOwnProperty.call(message, "scheduleName")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.scheduleName); + if (message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.deviceId); + if (message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.macAddress); + if (message.startTime != null && + Object.hasOwnProperty.call(message, "startTime")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.startTime); + if (message.endTime != null && + Object.hasOwnProperty.call(message, "endTime")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.endTime); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.result); + if (message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime")) + writer.uint32(/* id 8, wireType 0 =*/ 64).int64(message.createdTime); + if (message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime")) + writer.uint32(/* id 9, wireType 0 =*/ 72).int64(message.updatedTime); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.state); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.lock); + if (message.password != null && + Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 12, wireType 2 =*/ 98).string(message.password); + if (message.shootingTasks != null && message.shootingTasks.length) + for (var i = 0; i < message.shootingTasks.length; ++i) + $root.ShootingTaskMsg.encode(message.shootingTasks[i], writer.uint32(/* id 13, wireType 2 =*/ 106).fork()).ldelim(); + if (message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode")) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.paramMode); + if (message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion")) + writer.uint32(/* id 15, wireType 0 =*/ 120).int32(message.paramVersion); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 16, wireType 2 =*/ 130).string(message.params); + if (message.scheduleTime != null && + Object.hasOwnProperty.call(message, "scheduleTime")) + writer.uint32(/* id 17, wireType 0 =*/ 136).int64(message.scheduleTime); + if (message.syncState != null && + Object.hasOwnProperty.call(message, "syncState")) + writer.uint32(/* id 18, wireType 0 =*/ 144).int32(message.syncState); + return writer; + }; + /** + * Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ShootingScheduleMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.scheduleName = reader.string(); + break; + } + case 3: { + message.deviceId = reader.int32(); + break; + } + case 4: { + message.macAddress = reader.string(); + break; + } + case 5: { + message.startTime = reader.int64(); + break; + } + case 6: { + message.endTime = reader.int64(); + break; + } + case 7: { + message.result = reader.int32(); + break; + } + case 8: { + message.createdTime = reader.int64(); + break; + } + case 9: { + message.updatedTime = reader.int64(); + break; + } + case 10: { + message.state = reader.int32(); + break; + } + case 11: { + message.lock = reader.int32(); + break; + } + case 12: { + message.password = reader.string(); + break; + } + case 13: { + if (!(message.shootingTasks && message.shootingTasks.length)) + message.shootingTasks = []; + message.shootingTasks.push($root.ShootingTaskMsg.decode(reader, reader.uint32())); + break; + } + case 14: { + message.paramMode = reader.int32(); + break; + } + case 15: { + message.paramVersion = reader.int32(); + break; + } + case 16: { + message.params = reader.string(); + break; + } + case 17: { + message.scheduleTime = reader.int64(); + break; + } + case 18: { + message.syncState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ShootingScheduleMsg message. + * @function verify + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingScheduleMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + if (!$util.isString(message.scheduleName)) + return "scheduleName: string expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if (!$util.isInteger(message.startTime) && + !(message.startTime && + $util.isInteger(message.startTime.low) && + $util.isInteger(message.startTime.high))) + return "startTime: integer|Long expected"; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if (!$util.isInteger(message.endTime) && + !(message.endTime && + $util.isInteger(message.endTime.low) && + $util.isInteger(message.endTime.high))) + return "endTime: integer|Long expected"; + if (message.result != null && message.hasOwnProperty("result")) + switch (message.result) { + default: + return "result: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (!$util.isInteger(message.createdTime) && + !(message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high))) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (!$util.isInteger(message.updatedTime) && + !(message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high))) + return "updatedTime: integer|Long expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.lock != null && message.hasOwnProperty("lock")) + if (!$util.isInteger(message.lock)) + return "lock: integer expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + if (message.shootingTasks != null && + message.hasOwnProperty("shootingTasks")) { + if (!Array.isArray(message.shootingTasks)) + return "shootingTasks: array expected"; + for (var i = 0; i < message.shootingTasks.length; ++i) { + var error = $root.ShootingTaskMsg.verify(message.shootingTasks[i]); + if (error) + return "shootingTasks." + error; + } + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) + return "params: string expected"; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if (!$util.isInteger(message.scheduleTime) && + !(message.scheduleTime && + $util.isInteger(message.scheduleTime.low) && + $util.isInteger(message.scheduleTime.high))) + return "scheduleTime: integer|Long expected"; + if (message.syncState != null && message.hasOwnProperty("syncState")) + switch (message.syncState) { + default: + return "syncState: enum value expected"; + case 0: + case 1: + break; + } + return null; + }; + /** + * Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + */ + ShootingScheduleMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingScheduleMsg) + return object; + var message = new $root.ShootingScheduleMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.scheduleName != null) + message.scheduleName = String(object.scheduleName); + if (object.deviceId != null) + message.deviceId = object.deviceId | 0; + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.startTime != null) + if ($util.Long) + (message.startTime = $util.Long.fromValue(object.startTime)).unsigned = false; + else if (typeof object.startTime === "string") + message.startTime = parseInt(object.startTime, 10); + else if (typeof object.startTime === "number") + message.startTime = object.startTime; + else if (typeof object.startTime === "object") + message.startTime = new $util.LongBits(object.startTime.low >>> 0, object.startTime.high >>> 0).toNumber(); + if (object.endTime != null) + if ($util.Long) + (message.endTime = $util.Long.fromValue(object.endTime)).unsigned = false; + else if (typeof object.endTime === "string") + message.endTime = parseInt(object.endTime, 10); + else if (typeof object.endTime === "number") + message.endTime = object.endTime; + else if (typeof object.endTime === "object") + message.endTime = new $util.LongBits(object.endTime.low >>> 0, object.endTime.high >>> 0).toNumber(); + switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; + case "SHOOTING_SCHEDULE_RESULT_PENDING_START": + case 0: + message.result = 0; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED": + case 1: + message.result = 1; + break; + case "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED": + case 2: + message.result = 2; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_FAILED": + case 3: + message.result = 3; + break; + } + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue(object.createdTime)).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits(object.createdTime.low >>> 0, object.createdTime.high >>> 0).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue(object.updatedTime)).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits(object.updatedTime.low >>> 0, object.updatedTime.high >>> 0).toNumber(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_SCHEDULE_STATE_INITIALIZED": + case 0: + message.state = 0; + break; + case "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT": + case 1: + message.state = 1; + break; + case "SHOOTING_SCHEDULE_STATE_SHOOTING": + case 2: + message.state = 2; + break; + case "SHOOTING_SCHEDULE_STATE_COMPLETED": + case 3: + message.state = 3; + break; + case "SHOOTING_SCHEDULE_STATE_EXPIRED": + case 4: + message.state = 4; + break; + } + if (object.lock != null) + message.lock = object.lock | 0; + if (object.password != null) + message.password = String(object.password); + if (object.shootingTasks) { + if (!Array.isArray(object.shootingTasks)) + throw TypeError(".ShootingScheduleMsg.shootingTasks: array expected"); + message.shootingTasks = []; + for (var i = 0; i < object.shootingTasks.length; ++i) { + if (typeof object.shootingTasks[i] !== "object") + throw TypeError(".ShootingScheduleMsg.shootingTasks: object expected"); + message.shootingTasks[i] = $root.ShootingTaskMsg.fromObject(object.shootingTasks[i]); + } + } + if (object.paramMode != null) + message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.params != null) + message.params = String(object.params); + if (object.scheduleTime != null) + if ($util.Long) + (message.scheduleTime = $util.Long.fromValue(object.scheduleTime)).unsigned = false; + else if (typeof object.scheduleTime === "string") + message.scheduleTime = parseInt(object.scheduleTime, 10); + else if (typeof object.scheduleTime === "number") + message.scheduleTime = object.scheduleTime; + else if (typeof object.scheduleTime === "object") + message.scheduleTime = new $util.LongBits(object.scheduleTime.low >>> 0, object.scheduleTime.high >>> 0).toNumber(); + switch (object.syncState) { + default: + if (typeof object.syncState === "number") { + message.syncState = object.syncState; + break; + } + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC": + case 0: + message.syncState = 0; + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED": + case 1: + message.syncState = 1; + break; + } + return message; + }; + /** + * Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingScheduleMsg + * @static + * @param {ShootingScheduleMsg} message ShootingScheduleMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingScheduleMsg.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.shootingTasks = []; + if (options.defaults) { + object.scheduleId = ""; + object.scheduleName = ""; + object.deviceId = 0; + object.macAddress = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.startTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.startTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.endTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.endTime = options.longs === String ? "0" : 0; + object.result = + options.enums === String ? "SHOOTING_SCHEDULE_RESULT_PENDING_START" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.updatedTime = options.longs === String ? "0" : 0; + object.state = + options.enums === String ? "SHOOTING_SCHEDULE_STATE_INITIALIZED" : 0; + object.lock = 0; + object.password = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.params = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.scheduleTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.scheduleTime = options.longs === String ? "0" : 0; + object.syncState = + options.enums === String + ? "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC" + : 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + object.scheduleName = message.scheduleName; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if (typeof message.startTime === "number") + object.startTime = + options.longs === String + ? String(message.startTime) + : message.startTime; + else + object.startTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.startTime) + : options.longs === Number + ? new $util.LongBits(message.startTime.low >>> 0, message.startTime.high >>> 0).toNumber() + : message.startTime; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if (typeof message.endTime === "number") + object.endTime = + options.longs === String ? String(message.endTime) : message.endTime; + else + object.endTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.endTime) + : options.longs === Number + ? new $util.LongBits(message.endTime.low >>> 0, message.endTime.high >>> 0).toNumber() + : message.endTime; + if (message.result != null && message.hasOwnProperty("result")) + object.result = + options.enums === String + ? $root.ShootingScheduleResult[message.result] === undefined + ? message.result + : $root.ShootingScheduleResult[message.result] + : message.result; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits(message.createdTime.low >>> 0, message.createdTime.high >>> 0).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits(message.updatedTime.low >>> 0, message.updatedTime.high >>> 0).toNumber() + : message.updatedTime; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingScheduleState[message.state] === undefined + ? message.state + : $root.ShootingScheduleState[message.state] + : message.state; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + if (message.shootingTasks && message.shootingTasks.length) { + object.shootingTasks = []; + for (var j = 0; j < message.shootingTasks.length; ++j) + object.shootingTasks[j] = $root.ShootingTaskMsg.toObject(message.shootingTasks[j], options); + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if (typeof message.scheduleTime === "number") + object.scheduleTime = + options.longs === String + ? String(message.scheduleTime) + : message.scheduleTime; + else + object.scheduleTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.scheduleTime) + : options.longs === Number + ? new $util.LongBits(message.scheduleTime.low >>> 0, message.scheduleTime.high >>> 0).toNumber() + : message.scheduleTime; + if (message.syncState != null && message.hasOwnProperty("syncState")) + object.syncState = + options.enums === String + ? $root.ShootingScheduleSyncState[message.syncState] === undefined + ? message.syncState + : $root.ShootingScheduleSyncState[message.syncState] + : message.syncState; + return object; + }; + /** + * Converts this ShootingScheduleMsg to JSON. + * @function toJSON + * @memberof ShootingScheduleMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingScheduleMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ShootingScheduleMsg + * @function getTypeUrl + * @memberof ShootingScheduleMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingScheduleMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingScheduleMsg"; + }; + return ShootingScheduleMsg; +})(); +$root.ReqSyncShootingSchedule = (function () { + /** + * Properties of a ReqSyncShootingSchedule. + * @exports IReqSyncShootingSchedule + * @interface IReqSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqSyncShootingSchedule shootingSchedule + */ + /** + * Constructs a new ReqSyncShootingSchedule. + * @exports ReqSyncShootingSchedule + * @classdesc Represents a ReqSyncShootingSchedule. + * @implements IReqSyncShootingSchedule + * @constructor + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + */ + function ReqSyncShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqSyncShootingSchedule + * @instance + */ + ReqSyncShootingSchedule.prototype.shootingSchedule = null; + /** + * Creates a new ReqSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule instance + */ + ReqSyncShootingSchedule.create = function create(properties) { + return new ReqSyncShootingSchedule(properties); + }; + /** + * Encodes the specified ReqSyncShootingSchedule message. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule")) + $root.ShootingScheduleMsg.encode(message.shootingSchedule, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSyncShootingSchedule message. + * @function verify + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) + return "shootingSchedule." + error; + } + return null; + }; + /** + * Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + */ + ReqSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSyncShootingSchedule) + return object; + var message = new $root.ReqSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError(".ReqSyncShootingSchedule.shootingSchedule: object expected"); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule); + } + return message; + }; + /** + * Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {ReqSyncShootingSchedule} message ReqSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.shootingSchedule = null; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject(message.shootingSchedule, options); + return object; + }; + /** + * Converts this ReqSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ReqSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSyncShootingSchedule + * @function getTypeUrl + * @memberof ReqSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSyncShootingSchedule"; + }; + return ReqSyncShootingSchedule; +})(); +$root.ResSyncShootingSchedule = (function () { + /** + * Properties of a ResSyncShootingSchedule. + * @exports IResSyncShootingSchedule + * @interface IResSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResSyncShootingSchedule shootingSchedule + * @property {Array.|null} [timeConflictScheduleIds] ResSyncShootingSchedule timeConflictScheduleIds + * @property {number|null} [code] ResSyncShootingSchedule code + * @property {boolean|null} [canReplace] ResSyncShootingSchedule canReplace + */ + /** + * Constructs a new ResSyncShootingSchedule. + * @exports ResSyncShootingSchedule + * @classdesc Represents a ResSyncShootingSchedule. + * @implements IResSyncShootingSchedule + * @constructor + * @param {IResSyncShootingSchedule=} [properties] Properties to set + */ + function ResSyncShootingSchedule(properties) { + this.timeConflictScheduleIds = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.shootingSchedule = null; + /** + * ResSyncShootingSchedule timeConflictScheduleIds. + * @member {Array.} timeConflictScheduleIds + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.timeConflictScheduleIds = $util.emptyArray; + /** + * ResSyncShootingSchedule code. + * @member {number} code + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.code = 0; + /** + * ResSyncShootingSchedule canReplace. + * @member {boolean} canReplace + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.canReplace = false; + /** + * Creates a new ResSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule=} [properties] Properties to set + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule instance + */ + ResSyncShootingSchedule.create = function create(properties) { + return new ResSyncShootingSchedule(properties); + }; + /** + * Encodes the specified ResSyncShootingSchedule message. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule")) + $root.ShootingScheduleMsg.encode(message.shootingSchedule, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.timeConflictScheduleIds != null && + message.timeConflictScheduleIds.length) + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + writer + .uint32(/* id 2, wireType 2 =*/ 18) + .string(message.timeConflictScheduleIds[i]); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + if (message.canReplace != null && + Object.hasOwnProperty.call(message, "canReplace")) + writer.uint32(/* id 4, wireType 0 =*/ 32).bool(message.canReplace); + return writer; + }; + /** + * Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode(reader, reader.uint32()); + break; + } + case 2: { + if (!(message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length)) + message.timeConflictScheduleIds = []; + message.timeConflictScheduleIds.push(reader.string()); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + case 4: { + message.canReplace = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResSyncShootingSchedule message. + * @function verify + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) + return "shootingSchedule." + error; + } + if (message.timeConflictScheduleIds != null && + message.hasOwnProperty("timeConflictScheduleIds")) { + if (!Array.isArray(message.timeConflictScheduleIds)) + return "timeConflictScheduleIds: array expected"; + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + if (!$util.isString(message.timeConflictScheduleIds[i])) + return "timeConflictScheduleIds: string[] expected"; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + if (typeof message.canReplace !== "boolean") + return "canReplace: boolean expected"; + return null; + }; + /** + * Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + */ + ResSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResSyncShootingSchedule) + return object; + var message = new $root.ResSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError(".ResSyncShootingSchedule.shootingSchedule: object expected"); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule); + } + if (object.timeConflictScheduleIds) { + if (!Array.isArray(object.timeConflictScheduleIds)) + throw TypeError(".ResSyncShootingSchedule.timeConflictScheduleIds: array expected"); + message.timeConflictScheduleIds = []; + for (var i = 0; i < object.timeConflictScheduleIds.length; ++i) + message.timeConflictScheduleIds[i] = String(object.timeConflictScheduleIds[i]); + } + if (object.code != null) + message.code = object.code | 0; + if (object.canReplace != null) + message.canReplace = Boolean(object.canReplace); + return message; + }; + /** + * Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSyncShootingSchedule + * @static + * @param {ResSyncShootingSchedule} message ResSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.timeConflictScheduleIds = []; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + object.canReplace = false; + } + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject(message.shootingSchedule, options); + if (message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length) { + object.timeConflictScheduleIds = []; + for (var j = 0; j < message.timeConflictScheduleIds.length; ++j) + object.timeConflictScheduleIds[j] = message.timeConflictScheduleIds[j]; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + object.canReplace = message.canReplace; + return object; + }; + /** + * Converts this ResSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ResSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResSyncShootingSchedule + * @function getTypeUrl + * @memberof ResSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSyncShootingSchedule"; + }; + return ResSyncShootingSchedule; +})(); +$root.ReqCancelShootingSchedule = (function () { + /** + * Properties of a ReqCancelShootingSchedule. + * @exports IReqCancelShootingSchedule + * @interface IReqCancelShootingSchedule + * @property {string|null} [id] ReqCancelShootingSchedule id + * @property {string|null} [password] ReqCancelShootingSchedule password + */ + /** + * Constructs a new ReqCancelShootingSchedule. + * @exports ReqCancelShootingSchedule + * @classdesc Represents a ReqCancelShootingSchedule. + * @implements IReqCancelShootingSchedule + * @constructor + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + */ + function ReqCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqCancelShootingSchedule id. + * @member {string} id + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.id = ""; + /** + * ReqCancelShootingSchedule password. + * @member {string} password + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.password = ""; + /** + * Creates a new ReqCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule instance + */ + ReqCancelShootingSchedule.create = function create(properties) { + return new ReqCancelShootingSchedule(properties); + }; + /** + * Encodes the specified ReqCancelShootingSchedule message. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.password != null && + Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + /** + * Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqCancelShootingSchedule message. + * @function verify + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + return null; + }; + /** + * Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + */ + ReqCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCancelShootingSchedule) + return object; + var message = new $root.ReqCancelShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.password != null) + message.password = String(object.password); + return message; + }; + /** + * Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {ReqCancelShootingSchedule} message ReqCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + /** + * Converts this ReqCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ReqCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqCancelShootingSchedule + * @function getTypeUrl + * @memberof ReqCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCancelShootingSchedule"; + }; + return ReqCancelShootingSchedule; +})(); +$root.ResCancelShootingSchedule = (function () { + /** + * Properties of a ResCancelShootingSchedule. + * @exports IResCancelShootingSchedule + * @interface IResCancelShootingSchedule + * @property {string|null} [id] ResCancelShootingSchedule id + * @property {number|null} [code] ResCancelShootingSchedule code + */ + /** + * Constructs a new ResCancelShootingSchedule. + * @exports ResCancelShootingSchedule + * @classdesc Represents a ResCancelShootingSchedule. + * @implements IResCancelShootingSchedule + * @constructor + * @param {IResCancelShootingSchedule=} [properties] Properties to set + */ + function ResCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResCancelShootingSchedule id. + * @member {string} id + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.id = ""; + /** + * ResCancelShootingSchedule code. + * @member {number} code + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.code = 0; + /** + * Creates a new ResCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule=} [properties] Properties to set + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule instance + */ + ResCancelShootingSchedule.create = function create(properties) { + return new ResCancelShootingSchedule(properties); + }; + /** + * Encodes the specified ResCancelShootingSchedule message. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResCancelShootingSchedule message. + * @function verify + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + */ + ResCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResCancelShootingSchedule) + return object; + var message = new $root.ResCancelShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCancelShootingSchedule + * @static + * @param {ResCancelShootingSchedule} message ResCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ResCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResCancelShootingSchedule + * @function getTypeUrl + * @memberof ResCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCancelShootingSchedule"; + }; + return ResCancelShootingSchedule; +})(); +$root.ReqGetAllShootingSchedule = (function () { + /** + * Properties of a ReqGetAllShootingSchedule. + * @exports IReqGetAllShootingSchedule + * @interface IReqGetAllShootingSchedule + */ + /** + * Constructs a new ReqGetAllShootingSchedule. + * @exports ReqGetAllShootingSchedule + * @classdesc Represents a ReqGetAllShootingSchedule. + * @implements IReqGetAllShootingSchedule + * @constructor + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + */ + function ReqGetAllShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule instance + */ + ReqGetAllShootingSchedule.create = function create(properties) { + return new ReqGetAllShootingSchedule(properties); + }; + /** + * Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetAllShootingSchedule message. + * @function verify + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + */ + ReqGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllShootingSchedule) + return object; + return new $root.ReqGetAllShootingSchedule(); + }; + /** + * Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {ReqGetAllShootingSchedule} message ReqGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllShootingSchedule.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ReqGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetAllShootingSchedule + * @function getTypeUrl + * @memberof ReqGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllShootingSchedule"; + }; + return ReqGetAllShootingSchedule; +})(); +$root.ResGetAllShootingSchedule = (function () { + /** + * Properties of a ResGetAllShootingSchedule. + * @exports IResGetAllShootingSchedule + * @interface IResGetAllShootingSchedule + * @property {Array.|null} [shootingSchedule] ResGetAllShootingSchedule shootingSchedule + * @property {number|null} [code] ResGetAllShootingSchedule code + */ + /** + * Constructs a new ResGetAllShootingSchedule. + * @exports ResGetAllShootingSchedule + * @classdesc Represents a ResGetAllShootingSchedule. + * @implements IResGetAllShootingSchedule + * @constructor + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + */ + function ResGetAllShootingSchedule(properties) { + this.shootingSchedule = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetAllShootingSchedule shootingSchedule. + * @member {Array.} shootingSchedule + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.shootingSchedule = $util.emptyArray; + /** + * ResGetAllShootingSchedule code. + * @member {number} code + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.code = 0; + /** + * Creates a new ResGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule instance + */ + ResGetAllShootingSchedule.create = function create(properties) { + return new ResGetAllShootingSchedule(properties); + }; + /** + * Encodes the specified ResGetAllShootingSchedule message. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && message.shootingSchedule.length) + for (var i = 0; i < message.shootingSchedule.length; ++i) + $root.ShootingScheduleMsg.encode(message.shootingSchedule[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.shootingSchedule && message.shootingSchedule.length)) + message.shootingSchedule = []; + message.shootingSchedule.push($root.ShootingScheduleMsg.decode(reader, reader.uint32())); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetAllShootingSchedule message. + * @function verify + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + if (!Array.isArray(message.shootingSchedule)) + return "shootingSchedule: array expected"; + for (var i = 0; i < message.shootingSchedule.length; ++i) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule[i]); + if (error) + return "shootingSchedule." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + */ + ResGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllShootingSchedule) + return object; + var message = new $root.ResGetAllShootingSchedule(); + if (object.shootingSchedule) { + if (!Array.isArray(object.shootingSchedule)) + throw TypeError(".ResGetAllShootingSchedule.shootingSchedule: array expected"); + message.shootingSchedule = []; + for (var i = 0; i < object.shootingSchedule.length; ++i) { + if (typeof object.shootingSchedule[i] !== "object") + throw TypeError(".ResGetAllShootingSchedule.shootingSchedule: object expected"); + message.shootingSchedule[i] = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule[i]); + } + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {ResGetAllShootingSchedule} message ResGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.shootingSchedule = []; + if (options.defaults) + object.code = 0; + if (message.shootingSchedule && message.shootingSchedule.length) { + object.shootingSchedule = []; + for (var j = 0; j < message.shootingSchedule.length; ++j) + object.shootingSchedule[j] = $root.ShootingScheduleMsg.toObject(message.shootingSchedule[j], options); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ResGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetAllShootingSchedule + * @function getTypeUrl + * @memberof ResGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllShootingSchedule"; + }; + return ResGetAllShootingSchedule; +})(); +$root.ReqGetShootingScheduleById = (function () { + /** + * Properties of a ReqGetShootingScheduleById. + * @exports IReqGetShootingScheduleById + * @interface IReqGetShootingScheduleById + * @property {string|null} [id] ReqGetShootingScheduleById id + */ + /** + * Constructs a new ReqGetShootingScheduleById. + * @exports ReqGetShootingScheduleById + * @classdesc Represents a ReqGetShootingScheduleById. + * @implements IReqGetShootingScheduleById + * @constructor + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + */ + function ReqGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetShootingScheduleById id. + * @member {string} id + * @memberof ReqGetShootingScheduleById + * @instance + */ + ReqGetShootingScheduleById.prototype.id = ""; + /** + * Creates a new ReqGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById instance + */ + ReqGetShootingScheduleById.create = function create(properties) { + return new ReqGetShootingScheduleById(properties); + }; + /** + * Encodes the specified ReqGetShootingScheduleById message. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + /** + * Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetShootingScheduleById message. + * @function verify + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + return null; + }; + /** + * Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + */ + ReqGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingScheduleById) + return object; + var message = new $root.ReqGetShootingScheduleById(); + if (object.id != null) + message.id = String(object.id); + return message; + }; + /** + * Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {ReqGetShootingScheduleById} message ReqGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + /** + * Converts this ReqGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ReqGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetShootingScheduleById + * @function getTypeUrl + * @memberof ReqGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingScheduleById"; + }; + return ReqGetShootingScheduleById; +})(); +$root.ResGetShootingScheduleById = (function () { + /** + * Properties of a ResGetShootingScheduleById. + * @exports IResGetShootingScheduleById + * @interface IResGetShootingScheduleById + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResGetShootingScheduleById shootingSchedule + * @property {number|null} [code] ResGetShootingScheduleById code + */ + /** + * Constructs a new ResGetShootingScheduleById. + * @exports ResGetShootingScheduleById + * @classdesc Represents a ResGetShootingScheduleById. + * @implements IResGetShootingScheduleById + * @constructor + * @param {IResGetShootingScheduleById=} [properties] Properties to set + */ + function ResGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetShootingScheduleById shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.shootingSchedule = null; + /** + * ResGetShootingScheduleById code. + * @member {number} code + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.code = 0; + /** + * Creates a new ResGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById=} [properties] Properties to set + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById instance + */ + ResGetShootingScheduleById.create = function create(properties) { + return new ResGetShootingScheduleById(properties); + }; + /** + * Encodes the specified ResGetShootingScheduleById message. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule")) + $root.ShootingScheduleMsg.encode(message.shootingSchedule, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode(reader, reader.uint32()); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetShootingScheduleById message. + * @function verify + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) + return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + */ + ResGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingScheduleById) + return object; + var message = new $root.ResGetShootingScheduleById(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError(".ResGetShootingScheduleById.shootingSchedule: object expected"); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule); + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingScheduleById + * @static + * @param {ResGetShootingScheduleById} message ResGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject(message.shootingSchedule, options); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ResGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetShootingScheduleById + * @function getTypeUrl + * @memberof ResGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingScheduleById"; + }; + return ResGetShootingScheduleById; +})(); +$root.ReqGetShootingTaskById = (function () { + /** + * Properties of a ReqGetShootingTaskById. + * @exports IReqGetShootingTaskById + * @interface IReqGetShootingTaskById + * @property {string|null} [id] ReqGetShootingTaskById id + */ + /** + * Constructs a new ReqGetShootingTaskById. + * @exports ReqGetShootingTaskById + * @classdesc Represents a ReqGetShootingTaskById. + * @implements IReqGetShootingTaskById + * @constructor + * @param {IReqGetShootingTaskById=} [properties] Properties to set + */ + function ReqGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetShootingTaskById id. + * @member {string} id + * @memberof ReqGetShootingTaskById + * @instance + */ + ReqGetShootingTaskById.prototype.id = ""; + /** + * Creates a new ReqGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById=} [properties] Properties to set + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById instance + */ + ReqGetShootingTaskById.create = function create(properties) { + return new ReqGetShootingTaskById(properties); + }; + /** + * Encodes the specified ReqGetShootingTaskById message. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + /** + * Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetShootingTaskById message. + * @function verify + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + return null; + }; + /** + * Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + */ + ReqGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingTaskById) + return object; + var message = new $root.ReqGetShootingTaskById(); + if (object.id != null) + message.id = String(object.id); + return message; + }; + /** + * Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingTaskById + * @static + * @param {ReqGetShootingTaskById} message ReqGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + /** + * Converts this ReqGetShootingTaskById to JSON. + * @function toJSON + * @memberof ReqGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetShootingTaskById + * @function getTypeUrl + * @memberof ReqGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingTaskById"; + }; + return ReqGetShootingTaskById; +})(); +$root.ResGetShootingTaskById = (function () { + /** + * Properties of a ResGetShootingTaskById. + * @exports IResGetShootingTaskById + * @interface IResGetShootingTaskById + * @property {IShootingTaskMsg|null} [shootingTask] ResGetShootingTaskById shootingTask + * @property {number|null} [code] ResGetShootingTaskById code + */ + /** + * Constructs a new ResGetShootingTaskById. + * @exports ResGetShootingTaskById + * @classdesc Represents a ResGetShootingTaskById. + * @implements IResGetShootingTaskById + * @constructor + * @param {IResGetShootingTaskById=} [properties] Properties to set + */ + function ResGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResGetShootingTaskById shootingTask. + * @member {IShootingTaskMsg|null|undefined} shootingTask + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.shootingTask = null; + /** + * ResGetShootingTaskById code. + * @member {number} code + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.code = 0; + /** + * Creates a new ResGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById=} [properties] Properties to set + * @returns {ResGetShootingTaskById} ResGetShootingTaskById instance + */ + ResGetShootingTaskById.create = function create(properties) { + return new ResGetShootingTaskById(properties); + }; + /** + * Encodes the specified ResGetShootingTaskById message. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingTask != null && + Object.hasOwnProperty.call(message, "shootingTask")) + $root.ShootingTaskMsg.encode(message.shootingTask, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingTask = $root.ShootingTaskMsg.decode(reader, reader.uint32()); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResGetShootingTaskById message. + * @function verify + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingTask != null && + message.hasOwnProperty("shootingTask")) { + var error = $root.ShootingTaskMsg.verify(message.shootingTask); + if (error) + return "shootingTask." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + */ + ResGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingTaskById) + return object; + var message = new $root.ResGetShootingTaskById(); + if (object.shootingTask != null) { + if (typeof object.shootingTask !== "object") + throw TypeError(".ResGetShootingTaskById.shootingTask: object expected"); + message.shootingTask = $root.ShootingTaskMsg.fromObject(object.shootingTask); + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingTaskById + * @static + * @param {ResGetShootingTaskById} message ResGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.shootingTask = null; + object.code = 0; + } + if (message.shootingTask != null && message.hasOwnProperty("shootingTask")) + object.shootingTask = $root.ShootingTaskMsg.toObject(message.shootingTask, options); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResGetShootingTaskById to JSON. + * @function toJSON + * @memberof ResGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResGetShootingTaskById + * @function getTypeUrl + * @memberof ResGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingTaskById"; + }; + return ResGetShootingTaskById; +})(); +$root.ReqReplaceShootingSchedule = (function () { + /** + * Properties of a ReqReplaceShootingSchedule. + * @exports IReqReplaceShootingSchedule + * @interface IReqReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqReplaceShootingSchedule shootingSchedule + */ + /** + * Constructs a new ReqReplaceShootingSchedule. + * @exports ReqReplaceShootingSchedule + * @classdesc Represents a ReqReplaceShootingSchedule. + * @implements IReqReplaceShootingSchedule + * @constructor + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + */ + function ReqReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqReplaceShootingSchedule + * @instance + */ + ReqReplaceShootingSchedule.prototype.shootingSchedule = null; + /** + * Creates a new ReqReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule instance + */ + ReqReplaceShootingSchedule.create = function create(properties) { + return new ReqReplaceShootingSchedule(properties); + }; + /** + * Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule")) + $root.ShootingScheduleMsg.encode(message.shootingSchedule, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + return writer; + }; + /** + * Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqReplaceShootingSchedule message. + * @function verify + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) + return "shootingSchedule." + error; + } + return null; + }; + /** + * Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + */ + ReqReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReplaceShootingSchedule) + return object; + var message = new $root.ReqReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError(".ReqReplaceShootingSchedule.shootingSchedule: object expected"); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule); + } + return message; + }; + /** + * Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {ReqReplaceShootingSchedule} message ReqReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.shootingSchedule = null; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject(message.shootingSchedule, options); + return object; + }; + /** + * Converts this ReqReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ReqReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqReplaceShootingSchedule + * @function getTypeUrl + * @memberof ReqReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReplaceShootingSchedule"; + }; + return ReqReplaceShootingSchedule; +})(); +$root.ResReplaceShootingSchedule = (function () { + /** + * Properties of a ResReplaceShootingSchedule. + * @exports IResReplaceShootingSchedule + * @interface IResReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResReplaceShootingSchedule shootingSchedule + * @property {number|null} [code] ResReplaceShootingSchedule code + */ + /** + * Constructs a new ResReplaceShootingSchedule. + * @exports ResReplaceShootingSchedule + * @classdesc Represents a ResReplaceShootingSchedule. + * @implements IResReplaceShootingSchedule + * @constructor + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + */ + function ResReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.shootingSchedule = null; + /** + * ResReplaceShootingSchedule code. + * @member {number} code + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.code = 0; + /** + * Creates a new ResReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule instance + */ + ResReplaceShootingSchedule.create = function create(properties) { + return new ResReplaceShootingSchedule(properties); + }; + /** + * Encodes the specified ResReplaceShootingSchedule message. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule")) + $root.ShootingScheduleMsg.encode(message.shootingSchedule, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode(reader, reader.uint32()); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResReplaceShootingSchedule message. + * @function verify + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) + return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + */ + ResReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResReplaceShootingSchedule) + return object; + var message = new $root.ResReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError(".ResReplaceShootingSchedule.shootingSchedule: object expected"); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(object.shootingSchedule); + } + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {ResReplaceShootingSchedule} message ResReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if (message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule")) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject(message.shootingSchedule, options); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ResReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResReplaceShootingSchedule + * @function getTypeUrl + * @memberof ResReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReplaceShootingSchedule"; + }; + return ResReplaceShootingSchedule; +})(); +$root.ReqUnlockShootingSchedule = (function () { + /** + * Properties of a ReqUnlockShootingSchedule. + * @exports IReqUnlockShootingSchedule + * @interface IReqUnlockShootingSchedule + * @property {string|null} [id] ReqUnlockShootingSchedule id + * @property {string|null} [password] ReqUnlockShootingSchedule password + */ + /** + * Constructs a new ReqUnlockShootingSchedule. + * @exports ReqUnlockShootingSchedule + * @classdesc Represents a ReqUnlockShootingSchedule. + * @implements IReqUnlockShootingSchedule + * @constructor + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + */ + function ReqUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqUnlockShootingSchedule id. + * @member {string} id + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.id = ""; + /** + * ReqUnlockShootingSchedule password. + * @member {string} password + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.password = ""; + /** + * Creates a new ReqUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule instance + */ + ReqUnlockShootingSchedule.create = function create(properties) { + return new ReqUnlockShootingSchedule(properties); + }; + /** + * Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.password != null && + Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + /** + * Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqUnlockShootingSchedule message. + * @function verify + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + return null; + }; + /** + * Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + */ + ReqUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqUnlockShootingSchedule) + return object; + var message = new $root.ReqUnlockShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.password != null) + message.password = String(object.password); + return message; + }; + /** + * Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {ReqUnlockShootingSchedule} message ReqUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + /** + * Converts this ReqUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqUnlockShootingSchedule + * @function getTypeUrl + * @memberof ReqUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqUnlockShootingSchedule"; + }; + return ReqUnlockShootingSchedule; +})(); +$root.ResUnlockShootingSchedule = (function () { + /** + * Properties of a ResUnlockShootingSchedule. + * @exports IResUnlockShootingSchedule + * @interface IResUnlockShootingSchedule + * @property {string|null} [id] ResUnlockShootingSchedule id + * @property {number|null} [code] ResUnlockShootingSchedule code + */ + /** + * Constructs a new ResUnlockShootingSchedule. + * @exports ResUnlockShootingSchedule + * @classdesc Represents a ResUnlockShootingSchedule. + * @implements IResUnlockShootingSchedule + * @constructor + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + */ + function ResUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResUnlockShootingSchedule id. + * @member {string} id + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.id = ""; + /** + * ResUnlockShootingSchedule code. + * @member {number} code + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.code = 0; + /** + * Creates a new ResUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule instance + */ + ResUnlockShootingSchedule.create = function create(properties) { + return new ResUnlockShootingSchedule(properties); + }; + /** + * Encodes the specified ResUnlockShootingSchedule message. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResUnlockShootingSchedule message. + * @function verify + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + */ + ResUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResUnlockShootingSchedule) + return object; + var message = new $root.ResUnlockShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {ResUnlockShootingSchedule} message ResUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ResUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResUnlockShootingSchedule + * @function getTypeUrl + * @memberof ResUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResUnlockShootingSchedule"; + }; + return ResUnlockShootingSchedule; +})(); +$root.ReqLockShootingSchedule = (function () { + /** + * Properties of a ReqLockShootingSchedule. + * @exports IReqLockShootingSchedule + * @interface IReqLockShootingSchedule + * @property {string|null} [id] ReqLockShootingSchedule id + * @property {string|null} [password] ReqLockShootingSchedule password + */ + /** + * Constructs a new ReqLockShootingSchedule. + * @exports ReqLockShootingSchedule + * @classdesc Represents a ReqLockShootingSchedule. + * @implements IReqLockShootingSchedule + * @constructor + * @param {IReqLockShootingSchedule=} [properties] Properties to set + */ + function ReqLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqLockShootingSchedule id. + * @member {string} id + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.id = ""; + /** + * ReqLockShootingSchedule password. + * @member {string} password + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.password = ""; + /** + * Creates a new ReqLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule=} [properties] Properties to set + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule instance + */ + ReqLockShootingSchedule.create = function create(properties) { + return new ReqLockShootingSchedule(properties); + }; + /** + * Encodes the specified ReqLockShootingSchedule message. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.password != null && + Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + /** + * Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqLockShootingSchedule message. + * @function verify + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + return null; + }; + /** + * Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + */ + ReqLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqLockShootingSchedule) + return object; + var message = new $root.ReqLockShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.password != null) + message.password = String(object.password); + return message; + }; + /** + * Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqLockShootingSchedule + * @static + * @param {ReqLockShootingSchedule} message ReqLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + /** + * Converts this ReqLockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqLockShootingSchedule + * @function getTypeUrl + * @memberof ReqLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqLockShootingSchedule"; + }; + return ReqLockShootingSchedule; +})(); +$root.ResLockShootingSchedule = (function () { + /** + * Properties of a ResLockShootingSchedule. + * @exports IResLockShootingSchedule + * @interface IResLockShootingSchedule + * @property {string|null} [id] ResLockShootingSchedule id + * @property {number|null} [code] ResLockShootingSchedule code + */ + /** + * Constructs a new ResLockShootingSchedule. + * @exports ResLockShootingSchedule + * @classdesc Represents a ResLockShootingSchedule. + * @implements IResLockShootingSchedule + * @constructor + * @param {IResLockShootingSchedule=} [properties] Properties to set + */ + function ResLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResLockShootingSchedule id. + * @member {string} id + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.id = ""; + /** + * ResLockShootingSchedule code. + * @member {number} code + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.code = 0; + /** + * Creates a new ResLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule=} [properties] Properties to set + * @returns {ResLockShootingSchedule} ResLockShootingSchedule instance + */ + ResLockShootingSchedule.create = function create(properties) { + return new ResLockShootingSchedule(properties); + }; + /** + * Encodes the specified ResLockShootingSchedule message. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResLockShootingSchedule message. + * @function verify + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + */ + ResLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResLockShootingSchedule) + return object; + var message = new $root.ResLockShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResLockShootingSchedule + * @static + * @param {ResLockShootingSchedule} message ResLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResLockShootingSchedule to JSON. + * @function toJSON + * @memberof ResLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResLockShootingSchedule + * @function getTypeUrl + * @memberof ResLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResLockShootingSchedule"; + }; + return ResLockShootingSchedule; +})(); +$root.ReqDeleteShootingSchedule = (function () { + /** + * Properties of a ReqDeleteShootingSchedule. + * @exports IReqDeleteShootingSchedule + * @interface IReqDeleteShootingSchedule + * @property {string|null} [id] ReqDeleteShootingSchedule id + * @property {string|null} [password] ReqDeleteShootingSchedule password + */ + /** + * Constructs a new ReqDeleteShootingSchedule. + * @exports ReqDeleteShootingSchedule + * @classdesc Represents a ReqDeleteShootingSchedule. + * @implements IReqDeleteShootingSchedule + * @constructor + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + */ + function ReqDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDeleteShootingSchedule id. + * @member {string} id + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.id = ""; + /** + * ReqDeleteShootingSchedule password. + * @member {string} password + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.password = ""; + /** + * Creates a new ReqDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule instance + */ + ReqDeleteShootingSchedule.create = function create(properties) { + return new ReqDeleteShootingSchedule(properties); + }; + /** + * Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.password != null && + Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + /** + * Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDeleteShootingSchedule message. + * @function verify + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + return null; + }; + /** + * Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + */ + ReqDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeleteShootingSchedule) + return object; + var message = new $root.ReqDeleteShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.password != null) + message.password = String(object.password); + return message; + }; + /** + * Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {ReqDeleteShootingSchedule} message ReqDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + /** + * Converts this ReqDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ReqDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDeleteShootingSchedule + * @function getTypeUrl + * @memberof ReqDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeleteShootingSchedule"; + }; + return ReqDeleteShootingSchedule; +})(); +$root.ResDeleteShootingSchedule = (function () { + /** + * Properties of a ResDeleteShootingSchedule. + * @exports IResDeleteShootingSchedule + * @interface IResDeleteShootingSchedule + * @property {string|null} [id] ResDeleteShootingSchedule id + * @property {number|null} [code] ResDeleteShootingSchedule code + */ + /** + * Constructs a new ResDeleteShootingSchedule. + * @exports ResDeleteShootingSchedule + * @classdesc Represents a ResDeleteShootingSchedule. + * @implements IResDeleteShootingSchedule + * @constructor + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + */ + function ResDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDeleteShootingSchedule id. + * @member {string} id + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.id = ""; + /** + * ResDeleteShootingSchedule code. + * @member {number} code + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.code = 0; + /** + * Creates a new ResDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule instance + */ + ResDeleteShootingSchedule.create = function create(properties) { + return new ResDeleteShootingSchedule(properties); + }; + /** + * Encodes the specified ResDeleteShootingSchedule message. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + /** + * Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDeleteShootingSchedule message. + * @function verify + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + return null; + }; + /** + * Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + */ + ResDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeleteShootingSchedule) + return object; + var message = new $root.ResDeleteShootingSchedule(); + if (object.id != null) + message.id = String(object.id); + if (object.code != null) + message.code = object.code | 0; + return message; + }; + /** + * Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {ResDeleteShootingSchedule} message ResDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + /** + * Converts this ResDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ResDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDeleteShootingSchedule + * @function getTypeUrl + * @memberof ResDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeleteShootingSchedule"; + }; + return ResDeleteShootingSchedule; +})(); +$root.ReqSetTime = (function () { + /** + * Properties of a ReqSetTime. + * @exports IReqSetTime + * @interface IReqSetTime + * @property {number|Long|null} [timestamp] ReqSetTime timestamp + * @property {number|null} [timezoneOffset] ReqSetTime timezoneOffset + */ + /** + * Constructs a new ReqSetTime. + * @exports ReqSetTime + * @classdesc Represents a ReqSetTime. + * @implements IReqSetTime + * @constructor + * @param {IReqSetTime=} [properties] Properties to set + */ + function ReqSetTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetTime timestamp. + * @member {number|Long} timestamp + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timestamp = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + /** + * ReqSetTime timezoneOffset. + * @member {number} timezoneOffset + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timezoneOffset = 0; + /** + * Creates a new ReqSetTime instance using the specified properties. + * @function create + * @memberof ReqSetTime + * @static + * @param {IReqSetTime=} [properties] Properties to set + * @returns {ReqSetTime} ReqSetTime instance + */ + ReqSetTime.create = function create(properties) { + return new ReqSetTime(properties); + }; + /** + * Encodes the specified ReqSetTime message. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encode + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.timestamp != null && + Object.hasOwnProperty.call(message, "timestamp")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.timestamp); + if (message.timezoneOffset != null && + Object.hasOwnProperty.call(message, "timezoneOffset")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.timezoneOffset); + return writer; + }; + /** + * Encodes the specified ReqSetTime message, length delimited. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetTime message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timestamp = reader.uint64(); + break; + } + case 2: { + message.timezoneOffset = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetTime message. + * @function verify + * @memberof ReqSetTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if (!$util.isInteger(message.timestamp) && + !(message.timestamp && + $util.isInteger(message.timestamp.low) && + $util.isInteger(message.timestamp.high))) + return "timestamp: integer|Long expected"; + if (message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset")) + if (typeof message.timezoneOffset !== "number") + return "timezoneOffset: number expected"; + return null; + }; + /** + * Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTime + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTime} ReqSetTime + */ + ReqSetTime.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTime) + return object; + var message = new $root.ReqSetTime(); + if (object.timestamp != null) + if ($util.Long) + (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true; + else if (typeof object.timestamp === "string") + message.timestamp = parseInt(object.timestamp, 10); + else if (typeof object.timestamp === "number") + message.timestamp = object.timestamp; + else if (typeof object.timestamp === "object") + message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true); + if (object.timezoneOffset != null) + message.timezoneOffset = Number(object.timezoneOffset); + return message; + }; + /** + * Creates a plain object from a ReqSetTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTime + * @static + * @param {ReqSetTime} message ReqSetTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTime.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.timestamp = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } + else + object.timestamp = options.longs === String ? "0" : 0; + object.timezoneOffset = 0; + } + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if (typeof message.timestamp === "number") + object.timestamp = + options.longs === String + ? String(message.timestamp) + : message.timestamp; + else + object.timestamp = + options.longs === String + ? $util.Long.prototype.toString.call(message.timestamp) + : options.longs === Number + ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) + : message.timestamp; + if (message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset")) + object.timezoneOffset = + options.json && !isFinite(message.timezoneOffset) + ? String(message.timezoneOffset) + : message.timezoneOffset; + return object; + }; + /** + * Converts this ReqSetTime to JSON. + * @function toJSON + * @memberof ReqSetTime + * @instance + * @returns {Object.} JSON object + */ + ReqSetTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetTime + * @function getTypeUrl + * @memberof ReqSetTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTime"; + }; + return ReqSetTime; +})(); +$root.ReqSetTimezone = (function () { + /** + * Properties of a ReqSetTimezone. + * @exports IReqSetTimezone + * @interface IReqSetTimezone + * @property {string|null} [timezone] ReqSetTimezone timezone + */ + /** + * Constructs a new ReqSetTimezone. + * @exports ReqSetTimezone + * @classdesc Represents a ReqSetTimezone. + * @implements IReqSetTimezone + * @constructor + * @param {IReqSetTimezone=} [properties] Properties to set + */ + function ReqSetTimezone(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetTimezone timezone. + * @member {string} timezone + * @memberof ReqSetTimezone + * @instance + */ + ReqSetTimezone.prototype.timezone = ""; + /** + * Creates a new ReqSetTimezone instance using the specified properties. + * @function create + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone=} [properties] Properties to set + * @returns {ReqSetTimezone} ReqSetTimezone instance + */ + ReqSetTimezone.create = function create(properties) { + return new ReqSetTimezone(properties); + }; + /** + * Encodes the specified ReqSetTimezone message. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encode + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.timezone != null && + Object.hasOwnProperty.call(message, "timezone")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.timezone); + return writer; + }; + /** + * Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetTimezone(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timezone = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetTimezone message. + * @function verify + * @memberof ReqSetTimezone + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTimezone.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timezone != null && message.hasOwnProperty("timezone")) + if (!$util.isString(message.timezone)) + return "timezone: string expected"; + return null; + }; + /** + * Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTimezone + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTimezone} ReqSetTimezone + */ + ReqSetTimezone.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTimezone) + return object; + var message = new $root.ReqSetTimezone(); + if (object.timezone != null) + message.timezone = String(object.timezone); + return message; + }; + /** + * Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTimezone + * @static + * @param {ReqSetTimezone} message ReqSetTimezone + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTimezone.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.timezone = ""; + if (message.timezone != null && message.hasOwnProperty("timezone")) + object.timezone = message.timezone; + return object; + }; + /** + * Converts this ReqSetTimezone to JSON. + * @function toJSON + * @memberof ReqSetTimezone + * @instance + * @returns {Object.} JSON object + */ + ReqSetTimezone.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetTimezone + * @function getTypeUrl + * @memberof ReqSetTimezone + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTimezone.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTimezone"; + }; + return ReqSetTimezone; +})(); +$root.ReqSetMtpMode = (function () { + /** + * Properties of a ReqSetMtpMode. + * @exports IReqSetMtpMode + * @interface IReqSetMtpMode + * @property {number|null} [mode] ReqSetMtpMode mode + */ + /** + * Constructs a new ReqSetMtpMode. + * @exports ReqSetMtpMode + * @classdesc Represents a ReqSetMtpMode. + * @implements IReqSetMtpMode + * @constructor + * @param {IReqSetMtpMode=} [properties] Properties to set + */ + function ReqSetMtpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetMtpMode mode. + * @member {number} mode + * @memberof ReqSetMtpMode + * @instance + */ + ReqSetMtpMode.prototype.mode = 0; + /** + * Creates a new ReqSetMtpMode instance using the specified properties. + * @function create + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode=} [properties] Properties to set + * @returns {ReqSetMtpMode} ReqSetMtpMode instance + */ + ReqSetMtpMode.create = function create(properties) { + return new ReqSetMtpMode(properties); + }; + /** + * Encodes the specified ReqSetMtpMode message. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetMtpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetMtpMode message. + * @function verify + * @memberof ReqSetMtpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetMtpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetMtpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetMtpMode} ReqSetMtpMode + */ + ReqSetMtpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetMtpMode) + return object; + var message = new $root.ReqSetMtpMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetMtpMode + * @static + * @param {ReqSetMtpMode} message ReqSetMtpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetMtpMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqSetMtpMode to JSON. + * @function toJSON + * @memberof ReqSetMtpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetMtpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetMtpMode + * @function getTypeUrl + * @memberof ReqSetMtpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetMtpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetMtpMode"; + }; + return ReqSetMtpMode; +})(); +$root.ReqSetCpuMode = (function () { + /** + * Properties of a ReqSetCpuMode. + * @exports IReqSetCpuMode + * @interface IReqSetCpuMode + * @property {number|null} [mode] ReqSetCpuMode mode + */ + /** + * Constructs a new ReqSetCpuMode. + * @exports ReqSetCpuMode + * @classdesc Represents a ReqSetCpuMode. + * @implements IReqSetCpuMode + * @constructor + * @param {IReqSetCpuMode=} [properties] Properties to set + */ + function ReqSetCpuMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqSetCpuMode mode. + * @member {number} mode + * @memberof ReqSetCpuMode + * @instance + */ + ReqSetCpuMode.prototype.mode = 0; + /** + * Creates a new ReqSetCpuMode instance using the specified properties. + * @function create + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode=} [properties] Properties to set + * @returns {ReqSetCpuMode} ReqSetCpuMode instance + */ + ReqSetCpuMode.create = function create(properties) { + return new ReqSetCpuMode(properties); + }; + /** + * Encodes the specified ReqSetCpuMode message. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encode + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqSetCpuMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqSetCpuMode message. + * @function verify + * @memberof ReqSetCpuMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetCpuMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetCpuMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetCpuMode} ReqSetCpuMode + */ + ReqSetCpuMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetCpuMode) + return object; + var message = new $root.ReqSetCpuMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetCpuMode + * @static + * @param {ReqSetCpuMode} message ReqSetCpuMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetCpuMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqSetCpuMode to JSON. + * @function toJSON + * @memberof ReqSetCpuMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetCpuMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqSetCpuMode + * @function getTypeUrl + * @memberof ReqSetCpuMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetCpuMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetCpuMode"; + }; + return ReqSetCpuMode; +})(); +$root.ReqsetMasterLock = (function () { + /** + * Properties of a ReqsetMasterLock. + * @exports IReqsetMasterLock + * @interface IReqsetMasterLock + * @property {boolean|null} [lock] ReqsetMasterLock lock + */ + /** + * Constructs a new ReqsetMasterLock. + * @exports ReqsetMasterLock + * @classdesc Represents a ReqsetMasterLock. + * @implements IReqsetMasterLock + * @constructor + * @param {IReqsetMasterLock=} [properties] Properties to set + */ + function ReqsetMasterLock(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqsetMasterLock lock. + * @member {boolean} lock + * @memberof ReqsetMasterLock + * @instance + */ + ReqsetMasterLock.prototype.lock = false; + /** + * Creates a new ReqsetMasterLock instance using the specified properties. + * @function create + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock=} [properties] Properties to set + * @returns {ReqsetMasterLock} ReqsetMasterLock instance + */ + ReqsetMasterLock.create = function create(properties) { + return new ReqsetMasterLock(properties); + }; + /** + * Encodes the specified ReqsetMasterLock message. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encode + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.lock); + return writer; + }; + /** + * Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer. + * @function decode + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqsetMasterLock(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqsetMasterLock message. + * @function verify + * @memberof ReqsetMasterLock + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqsetMasterLock.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") + return "lock: boolean expected"; + return null; + }; + /** + * Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqsetMasterLock + * @static + * @param {Object.} object Plain object + * @returns {ReqsetMasterLock} ReqsetMasterLock + */ + ReqsetMasterLock.fromObject = function fromObject(object) { + if (object instanceof $root.ReqsetMasterLock) + return object; + var message = new $root.ReqsetMasterLock(); + if (object.lock != null) + message.lock = Boolean(object.lock); + return message; + }; + /** + * Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqsetMasterLock + * @static + * @param {ReqsetMasterLock} message ReqsetMasterLock + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqsetMasterLock.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.lock = false; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + /** + * Converts this ReqsetMasterLock to JSON. + * @function toJSON + * @memberof ReqsetMasterLock + * @instance + * @returns {Object.} JSON object + */ + ReqsetMasterLock.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqsetMasterLock + * @function getTypeUrl + * @memberof ReqsetMasterLock + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqsetMasterLock.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqsetMasterLock"; + }; + return ReqsetMasterLock; +})(); +$root.ReqGetDeviceActivateInfo = (function () { + /** + * Properties of a ReqGetDeviceActivateInfo. + * @exports IReqGetDeviceActivateInfo + * @interface IReqGetDeviceActivateInfo + * @property {number|null} [issuer] ReqGetDeviceActivateInfo issuer + */ + /** + * Constructs a new ReqGetDeviceActivateInfo. + * @exports ReqGetDeviceActivateInfo + * @classdesc Represents a ReqGetDeviceActivateInfo. + * @implements IReqGetDeviceActivateInfo + * @constructor + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + */ + function ReqGetDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqGetDeviceActivateInfo issuer. + * @member {number} issuer + * @memberof ReqGetDeviceActivateInfo + * @instance + */ + ReqGetDeviceActivateInfo.prototype.issuer = 0; + /** + * Creates a new ReqGetDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo instance + */ + ReqGetDeviceActivateInfo.create = function create(properties) { + return new ReqGetDeviceActivateInfo(properties); + }; + /** + * Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.issuer); + return writer; + }; + /** + * Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqGetDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.issuer = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqGetDeviceActivateInfo message. + * @function verify + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.issuer != null && message.hasOwnProperty("issuer")) + if (!$util.isInteger(message.issuer)) + return "issuer: integer expected"; + return null; + }; + /** + * Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + */ + ReqGetDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDeviceActivateInfo) + return object; + var message = new $root.ReqGetDeviceActivateInfo(); + if (object.issuer != null) + message.issuer = object.issuer | 0; + return message; + }; + /** + * Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {ReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.issuer = 0; + if (message.issuer != null && message.hasOwnProperty("issuer")) + object.issuer = message.issuer; + return object; + }; + /** + * Converts this ReqGetDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ReqGetDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqGetDeviceActivateInfo + * @function getTypeUrl + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDeviceActivateInfo"; + }; + return ReqGetDeviceActivateInfo; +})(); +$root.ResDeviceActivateInfo = (function () { + /** + * Properties of a ResDeviceActivateInfo. + * @exports IResDeviceActivateInfo + * @interface IResDeviceActivateInfo + * @property {number|null} [activateState] ResDeviceActivateInfo activateState + * @property {number|null} [activateProcessState] ResDeviceActivateInfo activateProcessState + * @property {string|null} [requestParam] ResDeviceActivateInfo requestParam + */ + /** + * Constructs a new ResDeviceActivateInfo. + * @exports ResDeviceActivateInfo + * @classdesc Represents a ResDeviceActivateInfo. + * @implements IResDeviceActivateInfo + * @constructor + * @param {IResDeviceActivateInfo=} [properties] Properties to set + */ + function ResDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDeviceActivateInfo activateState. + * @member {number} activateState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateState = 0; + /** + * ResDeviceActivateInfo activateProcessState. + * @member {number} activateProcessState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateProcessState = 0; + /** + * ResDeviceActivateInfo requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.requestParam = ""; + /** + * Creates a new ResDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo=} [properties] Properties to set + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo instance + */ + ResDeviceActivateInfo.create = function create(properties) { + return new ResDeviceActivateInfo(properties); + }; + /** + * Encodes the specified ResDeviceActivateInfo message. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.activateState != null && + Object.hasOwnProperty.call(message, "activateState")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.activateState); + if (message.activateProcessState != null && + Object.hasOwnProperty.call(message, "activateProcessState")) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.activateProcessState); + if (message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.requestParam); + return writer; + }; + /** + * Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.activateState = reader.int32(); + break; + } + case 2: { + message.activateProcessState = reader.int32(); + break; + } + case 3: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDeviceActivateInfo message. + * @function verify + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.activateState != null && + message.hasOwnProperty("activateState")) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + if (message.activateProcessState != null && + message.hasOwnProperty("activateProcessState")) + if (!$util.isInteger(message.activateProcessState)) + return "activateProcessState: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + /** + * Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + */ + ResDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateInfo) + return object; + var message = new $root.ResDeviceActivateInfo(); + if (object.activateState != null) + message.activateState = object.activateState | 0; + if (object.activateProcessState != null) + message.activateProcessState = object.activateProcessState | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + /** + * Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateInfo + * @static + * @param {ResDeviceActivateInfo} message ResDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.activateState = 0; + object.activateProcessState = 0; + object.requestParam = ""; + } + if (message.activateState != null && + message.hasOwnProperty("activateState")) + object.activateState = message.activateState; + if (message.activateProcessState != null && + message.hasOwnProperty("activateProcessState")) + object.activateProcessState = message.activateProcessState; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + /** + * Converts this ResDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ResDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDeviceActivateInfo + * @function getTypeUrl + * @memberof ResDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateInfo"; + }; + return ResDeviceActivateInfo; +})(); +$root.ReqDeviceActivateWriteFile = (function () { + /** + * Properties of a ReqDeviceActivateWriteFile. + * @exports IReqDeviceActivateWriteFile + * @interface IReqDeviceActivateWriteFile + * @property {string|null} [requestParam] ReqDeviceActivateWriteFile requestParam + */ + /** + * Constructs a new ReqDeviceActivateWriteFile. + * @exports ReqDeviceActivateWriteFile + * @classdesc Represents a ReqDeviceActivateWriteFile. + * @implements IReqDeviceActivateWriteFile + * @constructor + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + */ + function ReqDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateWriteFile + * @instance + */ + ReqDeviceActivateWriteFile.prototype.requestParam = ""; + /** + * Creates a new ReqDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile instance + */ + ReqDeviceActivateWriteFile.create = function create(properties) { + return new ReqDeviceActivateWriteFile(properties); + }; + /** + * Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + /** + * Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDeviceActivateWriteFile message. + * @function verify + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + /** + * Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + */ + ReqDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateWriteFile) + return object; + var message = new $root.ReqDeviceActivateWriteFile(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + /** + * Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {ReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + /** + * Converts this ReqDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ReqDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateWriteFile"; + }; + return ReqDeviceActivateWriteFile; +})(); +$root.ResDeviceActivateWriteFile = (function () { + /** + * Properties of a ResDeviceActivateWriteFile. + * @exports IResDeviceActivateWriteFile + * @interface IResDeviceActivateWriteFile + * @property {number|null} [code] ResDeviceActivateWriteFile code + * @property {string|null} [requestParam] ResDeviceActivateWriteFile requestParam + */ + /** + * Constructs a new ResDeviceActivateWriteFile. + * @exports ResDeviceActivateWriteFile + * @classdesc Represents a ResDeviceActivateWriteFile. + * @implements IResDeviceActivateWriteFile + * @constructor + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + */ + function ResDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDeviceActivateWriteFile code. + * @member {number} code + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.code = 0; + /** + * ResDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.requestParam = ""; + /** + * Creates a new ResDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile instance + */ + ResDeviceActivateWriteFile.create = function create(properties) { + return new ResDeviceActivateWriteFile(properties); + }; + /** + * Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.requestParam); + return writer; + }; + /** + * Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDeviceActivateWriteFile message. + * @function verify + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + /** + * Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + */ + ResDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateWriteFile) + return object; + var message = new $root.ResDeviceActivateWriteFile(); + if (object.code != null) + message.code = object.code | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + /** + * Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {ResDeviceActivateWriteFile} message ResDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.requestParam = ""; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + /** + * Converts this ResDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ResDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ResDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateWriteFile"; + }; + return ResDeviceActivateWriteFile; +})(); +$root.ReqDeviceActivateSuccessfull = (function () { + /** + * Properties of a ReqDeviceActivateSuccessfull. + * @exports IReqDeviceActivateSuccessfull + * @interface IReqDeviceActivateSuccessfull + * @property {string|null} [requestParam] ReqDeviceActivateSuccessfull requestParam + */ + /** + * Constructs a new ReqDeviceActivateSuccessfull. + * @exports ReqDeviceActivateSuccessfull + * @classdesc Represents a ReqDeviceActivateSuccessfull. + * @implements IReqDeviceActivateSuccessfull + * @constructor + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ReqDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDeviceActivateSuccessfull requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateSuccessfull + * @instance + */ + ReqDeviceActivateSuccessfull.prototype.requestParam = ""; + /** + * Creates a new ReqDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull instance + */ + ReqDeviceActivateSuccessfull.create = function create(properties) { + return new ReqDeviceActivateSuccessfull(properties); + }; + /** + * Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + /** + * Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDeviceActivateSuccessfull message. + * @function verify + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + /** + * Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + */ + ReqDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateSuccessfull) + return object; + var message = new $root.ReqDeviceActivateSuccessfull(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + /** + * Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {ReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + /** + * Converts this ReqDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ReqDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateSuccessfull"; + }; + return ReqDeviceActivateSuccessfull; +})(); +$root.ResDeviceActivateSuccessfull = (function () { + /** + * Properties of a ResDeviceActivateSuccessfull. + * @exports IResDeviceActivateSuccessfull + * @interface IResDeviceActivateSuccessfull + * @property {number|null} [code] ResDeviceActivateSuccessfull code + * @property {number|null} [activateState] ResDeviceActivateSuccessfull activateState + */ + /** + * Constructs a new ResDeviceActivateSuccessfull. + * @exports ResDeviceActivateSuccessfull + * @classdesc Represents a ResDeviceActivateSuccessfull. + * @implements IResDeviceActivateSuccessfull + * @constructor + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ResDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDeviceActivateSuccessfull code. + * @member {number} code + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.code = 0; + /** + * ResDeviceActivateSuccessfull activateState. + * @member {number} activateState + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.activateState = 0; + /** + * Creates a new ResDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull instance + */ + ResDeviceActivateSuccessfull.create = function create(properties) { + return new ResDeviceActivateSuccessfull(properties); + }; + /** + * Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.activateState != null && + Object.hasOwnProperty.call(message, "activateState")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + /** + * Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDeviceActivateSuccessfull message. + * @function verify + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.activateState != null && + message.hasOwnProperty("activateState")) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + /** + * Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + */ + ResDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateSuccessfull) + return object; + var message = new $root.ResDeviceActivateSuccessfull(); + if (object.code != null) + message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + /** + * Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {ResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.activateState != null && + message.hasOwnProperty("activateState")) + object.activateState = message.activateState; + return object; + }; + /** + * Converts this ResDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ResDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateSuccessfull"; + }; + return ResDeviceActivateSuccessfull; +})(); +$root.ReqDisableDeviceActivate = (function () { + /** + * Properties of a ReqDisableDeviceActivate. + * @exports IReqDisableDeviceActivate + * @interface IReqDisableDeviceActivate + * @property {string|null} [requestParam] ReqDisableDeviceActivate requestParam + */ + /** + * Constructs a new ReqDisableDeviceActivate. + * @exports ReqDisableDeviceActivate + * @classdesc Represents a ReqDisableDeviceActivate. + * @implements IReqDisableDeviceActivate + * @constructor + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + */ + function ReqDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqDisableDeviceActivate requestParam. + * @member {string} requestParam + * @memberof ReqDisableDeviceActivate + * @instance + */ + ReqDisableDeviceActivate.prototype.requestParam = ""; + /** + * Creates a new ReqDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate instance + */ + ReqDisableDeviceActivate.create = function create(properties) { + return new ReqDisableDeviceActivate(properties); + }; + /** + * Encodes the specified ReqDisableDeviceActivate message. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + /** + * Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqDisableDeviceActivate message. + * @function verify + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + /** + * Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + */ + ReqDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableDeviceActivate) + return object; + var message = new $root.ReqDisableDeviceActivate(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + /** + * Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {ReqDisableDeviceActivate} message ReqDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + /** + * Converts this ReqDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ReqDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ReqDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqDisableDeviceActivate + * @function getTypeUrl + * @memberof ReqDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableDeviceActivate"; + }; + return ReqDisableDeviceActivate; +})(); +$root.ResDisableDeviceActivate = (function () { + /** + * Properties of a ResDisableDeviceActivate. + * @exports IResDisableDeviceActivate + * @interface IResDisableDeviceActivate + * @property {number|null} [code] ResDisableDeviceActivate code + * @property {number|null} [activateState] ResDisableDeviceActivate activateState + */ + /** + * Constructs a new ResDisableDeviceActivate. + * @exports ResDisableDeviceActivate + * @classdesc Represents a ResDisableDeviceActivate. + * @implements IResDisableDeviceActivate + * @constructor + * @param {IResDisableDeviceActivate=} [properties] Properties to set + */ + function ResDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ResDisableDeviceActivate code. + * @member {number} code + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.code = 0; + /** + * ResDisableDeviceActivate activateState. + * @member {number} activateState + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.activateState = 0; + /** + * Creates a new ResDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate=} [properties] Properties to set + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate instance + */ + ResDisableDeviceActivate.create = function create(properties) { + return new ResDisableDeviceActivate(properties); + }; + /** + * Encodes the specified ResDisableDeviceActivate message. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.activateState != null && + Object.hasOwnProperty.call(message, "activateState")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + /** + * Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ResDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ResDisableDeviceActivate message. + * @function verify + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) + return "code: integer expected"; + if (message.activateState != null && + message.hasOwnProperty("activateState")) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + /** + * Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + */ + ResDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ResDisableDeviceActivate) + return object; + var message = new $root.ResDisableDeviceActivate(); + if (object.code != null) + message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + /** + * Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDisableDeviceActivate + * @static + * @param {ResDisableDeviceActivate} message ResDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.activateState != null && + message.hasOwnProperty("activateState")) + object.activateState = message.activateState; + return object; + }; + /** + * Converts this ResDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ResDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ResDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ResDisableDeviceActivate + * @function getTypeUrl + * @memberof ResDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDisableDeviceActivate"; + }; + return ResDisableDeviceActivate; +})(); +$root.ReqStartTrack = (function () { + /** + * Properties of a ReqStartTrack. + * @exports IReqStartTrack + * @interface IReqStartTrack + * @property {number|null} [x] ReqStartTrack x + * @property {number|null} [y] ReqStartTrack y + * @property {number|null} [w] ReqStartTrack w + * @property {number|null} [h] ReqStartTrack h + */ + /** + * Constructs a new ReqStartTrack. + * @exports ReqStartTrack + * @classdesc Represents a ReqStartTrack. + * @implements IReqStartTrack + * @constructor + * @param {IReqStartTrack=} [properties] Properties to set + */ + function ReqStartTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartTrack x. + * @member {number} x + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.x = 0; + /** + * ReqStartTrack y. + * @member {number} y + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.y = 0; + /** + * ReqStartTrack w. + * @member {number} w + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.w = 0; + /** + * ReqStartTrack h. + * @member {number} h + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.h = 0; + /** + * Creates a new ReqStartTrack instance using the specified properties. + * @function create + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack=} [properties] Properties to set + * @returns {ReqStartTrack} ReqStartTrack instance + */ + ReqStartTrack.create = function create(properties) { + return new ReqStartTrack(properties); + }; + /** + * Encodes the specified ReqStartTrack message. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encode + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + /** + * Encodes the specified ReqStartTrack message, length delimited. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartTrack message. + * @function verify + * @memberof ReqStartTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) + return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) + return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) + return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) + return "h: integer expected"; + return null; + }; + /** + * Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTrack} ReqStartTrack + */ + ReqStartTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTrack) + return object; + var message = new $root.ReqStartTrack(); + if (object.x != null) + message.x = object.x | 0; + if (object.y != null) + message.y = object.y | 0; + if (object.w != null) + message.w = object.w | 0; + if (object.h != null) + message.h = object.h | 0; + return message; + }; + /** + * Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTrack + * @static + * @param {ReqStartTrack} message ReqStartTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTrack.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) + object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) + object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) + object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) + object.h = message.h; + return object; + }; + /** + * Converts this ReqStartTrack to JSON. + * @function toJSON + * @memberof ReqStartTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStartTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartTrack + * @function getTypeUrl + * @memberof ReqStartTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTrack"; + }; + return ReqStartTrack; +})(); +$root.ReqStopTrack = (function () { + /** + * Properties of a ReqStopTrack. + * @exports IReqStopTrack + * @interface IReqStopTrack + */ + /** + * Constructs a new ReqStopTrack. + * @exports ReqStopTrack + * @classdesc Represents a ReqStopTrack. + * @implements IReqStopTrack + * @constructor + * @param {IReqStopTrack=} [properties] Properties to set + */ + function ReqStopTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopTrack instance using the specified properties. + * @function create + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack=} [properties] Properties to set + * @returns {ReqStopTrack} ReqStopTrack instance + */ + ReqStopTrack.create = function create(properties) { + return new ReqStopTrack(properties); + }; + /** + * Encodes the specified ReqStopTrack message. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encode + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopTrack message, length delimited. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopTrack message. + * @function verify + * @memberof ReqStopTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrack} ReqStopTrack + */ + ReqStopTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrack) + return object; + return new $root.ReqStopTrack(); + }; + /** + * Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrack + * @static + * @param {ReqStopTrack} message ReqStopTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrack.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopTrack to JSON. + * @function toJSON + * @memberof ReqStopTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopTrack + * @function getTypeUrl + * @memberof ReqStopTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrack"; + }; + return ReqStopTrack; +})(); +$root.ReqPauseTrack = (function () { + /** + * Properties of a ReqPauseTrack. + * @exports IReqPauseTrack + * @interface IReqPauseTrack + */ + /** + * Constructs a new ReqPauseTrack. + * @exports ReqPauseTrack + * @classdesc Represents a ReqPauseTrack. + * @implements IReqPauseTrack + * @constructor + * @param {IReqPauseTrack=} [properties] Properties to set + */ + function ReqPauseTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqPauseTrack instance using the specified properties. + * @function create + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack=} [properties] Properties to set + * @returns {ReqPauseTrack} ReqPauseTrack instance + */ + ReqPauseTrack.create = function create(properties) { + return new ReqPauseTrack(properties); + }; + /** + * Encodes the specified ReqPauseTrack message. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encode + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqPauseTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqPauseTrack message. + * @function verify + * @memberof ReqPauseTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPauseTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPauseTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqPauseTrack} ReqPauseTrack + */ + ReqPauseTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPauseTrack) + return object; + return new $root.ReqPauseTrack(); + }; + /** + * Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPauseTrack + * @static + * @param {ReqPauseTrack} message ReqPauseTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPauseTrack.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqPauseTrack to JSON. + * @function toJSON + * @memberof ReqPauseTrack + * @instance + * @returns {Object.} JSON object + */ + ReqPauseTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqPauseTrack + * @function getTypeUrl + * @memberof ReqPauseTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPauseTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPauseTrack"; + }; + return ReqPauseTrack; +})(); +$root.ReqContinueTrack = (function () { + /** + * Properties of a ReqContinueTrack. + * @exports IReqContinueTrack + * @interface IReqContinueTrack + */ + /** + * Constructs a new ReqContinueTrack. + * @exports ReqContinueTrack + * @classdesc Represents a ReqContinueTrack. + * @implements IReqContinueTrack + * @constructor + * @param {IReqContinueTrack=} [properties] Properties to set + */ + function ReqContinueTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqContinueTrack instance using the specified properties. + * @function create + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack=} [properties] Properties to set + * @returns {ReqContinueTrack} ReqContinueTrack instance + */ + ReqContinueTrack.create = function create(properties) { + return new ReqContinueTrack(properties); + }; + /** + * Encodes the specified ReqContinueTrack message. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encode + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqContinueTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqContinueTrack message. + * @function verify + * @memberof ReqContinueTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqContinueTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqContinueTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqContinueTrack} ReqContinueTrack + */ + ReqContinueTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqContinueTrack) + return object; + return new $root.ReqContinueTrack(); + }; + /** + * Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqContinueTrack + * @static + * @param {ReqContinueTrack} message ReqContinueTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqContinueTrack.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqContinueTrack to JSON. + * @function toJSON + * @memberof ReqContinueTrack + * @instance + * @returns {Object.} JSON object + */ + ReqContinueTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqContinueTrack + * @function getTypeUrl + * @memberof ReqContinueTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqContinueTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqContinueTrack"; + }; + return ReqContinueTrack; +})(); +$root.ReqStartSentryMode = (function () { + /** + * Properties of a ReqStartSentryMode. + * @exports IReqStartSentryMode + * @interface IReqStartSentryMode + * @property {number|null} [mode] ReqStartSentryMode mode + */ + /** + * Constructs a new ReqStartSentryMode. + * @exports ReqStartSentryMode + * @classdesc Represents a ReqStartSentryMode. + * @implements IReqStartSentryMode + * @constructor + * @param {IReqStartSentryMode=} [properties] Properties to set + */ + function ReqStartSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqStartSentryMode mode. + * @member {number} mode + * @memberof ReqStartSentryMode + * @instance + */ + ReqStartSentryMode.prototype.mode = 0; + /** + * Creates a new ReqStartSentryMode instance using the specified properties. + * @function create + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode=} [properties] Properties to set + * @returns {ReqStartSentryMode} ReqStartSentryMode instance + */ + ReqStartSentryMode.create = function create(properties) { + return new ReqStartSentryMode(properties); + }; + /** + * Encodes the specified ReqStartSentryMode message. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + /** + * Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStartSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStartSentryMode message. + * @function verify + * @memberof ReqStartSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) + return "mode: integer expected"; + return null; + }; + /** + * Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStartSentryMode} ReqStartSentryMode + */ + ReqStartSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartSentryMode) + return object; + var message = new $root.ReqStartSentryMode(); + if (object.mode != null) + message.mode = object.mode | 0; + return message; + }; + /** + * Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartSentryMode + * @static + * @param {ReqStartSentryMode} message ReqStartSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartSentryMode.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + /** + * Converts this ReqStartSentryMode to JSON. + * @function toJSON + * @memberof ReqStartSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStartSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStartSentryMode + * @function getTypeUrl + * @memberof ReqStartSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartSentryMode"; + }; + return ReqStartSentryMode; +})(); +$root.ReqStopSentryMode = (function () { + /** + * Properties of a ReqStopSentryMode. + * @exports IReqStopSentryMode + * @interface IReqStopSentryMode + */ + /** + * Constructs a new ReqStopSentryMode. + * @exports ReqStopSentryMode + * @classdesc Represents a ReqStopSentryMode. + * @implements IReqStopSentryMode + * @constructor + * @param {IReqStopSentryMode=} [properties] Properties to set + */ + function ReqStopSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqStopSentryMode instance using the specified properties. + * @function create + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode=} [properties] Properties to set + * @returns {ReqStopSentryMode} ReqStopSentryMode instance + */ + ReqStopSentryMode.create = function create(properties) { + return new ReqStopSentryMode(properties); + }; + /** + * Encodes the specified ReqStopSentryMode message. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqStopSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqStopSentryMode message. + * @function verify + * @memberof ReqStopSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStopSentryMode} ReqStopSentryMode + */ + ReqStopSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopSentryMode) + return object; + return new $root.ReqStopSentryMode(); + }; + /** + * Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopSentryMode + * @static + * @param {ReqStopSentryMode} message ReqStopSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopSentryMode.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqStopSentryMode to JSON. + * @function toJSON + * @memberof ReqStopSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStopSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqStopSentryMode + * @function getTypeUrl + * @memberof ReqStopSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopSentryMode"; + }; + return ReqStopSentryMode; +})(); +$root.ReqMOTTrack = (function () { + /** + * Properties of a ReqMOTTrack. + * @exports IReqMOTTrack + * @interface IReqMOTTrack + */ + /** + * Constructs a new ReqMOTTrack. + * @exports ReqMOTTrack + * @classdesc Represents a ReqMOTTrack. + * @implements IReqMOTTrack + * @constructor + * @param {IReqMOTTrack=} [properties] Properties to set + */ + function ReqMOTTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * Creates a new ReqMOTTrack instance using the specified properties. + * @function create + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack=} [properties] Properties to set + * @returns {ReqMOTTrack} ReqMOTTrack instance + */ + ReqMOTTrack.create = function create(properties) { + return new ReqMOTTrack(properties); + }; + /** + * Encodes the specified ReqMOTTrack message. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + /** + * Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMOTTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMOTTrack message. + * @function verify + * @memberof ReqMOTTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + /** + * Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrack} ReqMOTTrack + */ + ReqMOTTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrack) + return object; + return new $root.ReqMOTTrack(); + }; + /** + * Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrack + * @static + * @param {ReqMOTTrack} message ReqMOTTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrack.toObject = function toObject() { + return {}; + }; + /** + * Converts this ReqMOTTrack to JSON. + * @function toJSON + * @memberof ReqMOTTrack + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMOTTrack + * @function getTypeUrl + * @memberof ReqMOTTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrack"; + }; + return ReqMOTTrack; +})(); +$root.ReqMOTTrackOne = (function () { + /** + * Properties of a ReqMOTTrackOne. + * @exports IReqMOTTrackOne + * @interface IReqMOTTrackOne + * @property {number|null} [id] ReqMOTTrackOne id + */ + /** + * Constructs a new ReqMOTTrackOne. + * @exports ReqMOTTrackOne + * @classdesc Represents a ReqMOTTrackOne. + * @implements IReqMOTTrackOne + * @constructor + * @param {IReqMOTTrackOne=} [properties] Properties to set + */ + function ReqMOTTrackOne(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + /** + * ReqMOTTrackOne id. + * @member {number} id + * @memberof ReqMOTTrackOne + * @instance + */ + ReqMOTTrackOne.prototype.id = 0; + /** + * Creates a new ReqMOTTrackOne instance using the specified properties. + * @function create + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne=} [properties] Properties to set + * @returns {ReqMOTTrackOne} ReqMOTTrackOne instance + */ + ReqMOTTrackOne.create = function create(properties) { + return new ReqMOTTrackOne(properties); + }; + /** + * Encodes the specified ReqMOTTrackOne message. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + /** + * Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ReqMOTTrackOne(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + /** + * Verifies a ReqMOTTrackOne message. + * @function verify + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrackOne.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) + return "id: integer expected"; + return null; + }; + /** + * Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + */ + ReqMOTTrackOne.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrackOne) + return object; + var message = new $root.ReqMOTTrackOne(); + if (object.id != null) + message.id = object.id | 0; + return message; + }; + /** + * Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrackOne + * @static + * @param {ReqMOTTrackOne} message ReqMOTTrackOne + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrackOne.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + /** + * Converts this ReqMOTTrackOne to JSON. + * @function toJSON + * @memberof ReqMOTTrackOne + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrackOne.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + /** + * Gets the default type url for ReqMOTTrackOne + * @function getTypeUrl + * @memberof ReqMOTTrackOne + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrackOne.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrackOne"; + }; + return ReqMOTTrackOne; +})(); +export default $root; diff --git a/dist/src/rgb_power.d.ts b/dist/src/rgb_power.d.ts new file mode 100644 index 00000000..061aa475 --- /dev/null +++ b/dist/src/rgb_power.d.ts @@ -0,0 +1,40 @@ +/*** -------------------------------------------------- ***/ +/*** ---------------- MODULE RGB POWER ---------------- ***/ +/*** -------------------------------------------------- ***/ +/** + * 4.12.3 Turn on the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_OPEN_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerOpenRGB(): Uint8Array; +/** + * 4.12.4 Turn off the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_CLOSE_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerCloseRGB(): Uint8Array; +/** + * 4.12.5 Turn on the battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_ON + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndON(): Uint8Array; +/** + * 4.12.6 Turn off battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_OFF + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndOFF(): Uint8Array; +/** + * 4.12.7 Shut down + * Create Encoded Packet for the command CMD_RGB_POWER_POWER_DOWN + * @returns {Uint8Array} + */ +export function messageRgbPowerDown(): Uint8Array; +/** + * 4.12.8 Restart + * Create Encoded Packet for the command CMD_RGB_POWER_REBOOT + * @returns {Uint8Array} + */ +export function messageRgbPowerReboot(): Uint8Array; +//# sourceMappingURL=rgb_power.d.ts.map \ No newline at end of file diff --git a/dist/src/rgb_power.d.ts.map b/dist/src/rgb_power.d.ts.map new file mode 100644 index 00000000..ce03d66f --- /dev/null +++ b/dist/src/rgb_power.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"rgb_power.d.ts","sourceRoot":"","sources":["../../src/rgb_power.js"],"names":[],"mappings":"AAOA,4DAA4D;AAC5D,4DAA4D;AAC5D,4DAA4D;AAC5D;;;;GAIG;AACH,0CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,2CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,6CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,8CAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,uCAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,yCAFa,UAAU,CAiBtB"} \ No newline at end of file diff --git a/dist/src/rgb_power.js b/dist/src/rgb_power.js new file mode 100644 index 00000000..8ebd0924 --- /dev/null +++ b/dist/src/rgb_power.js @@ -0,0 +1,123 @@ +/** @module rgp_power */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** -------------------------------------------------- ***/ +/*** ---------------- MODULE RGB POWER ---------------- ***/ +/*** -------------------------------------------------- ***/ +/** + * 4.12.3 Turn on the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_OPEN_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerOpenRGB() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_OPEN_RGB; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.4 Turn off the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_CLOSE_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerCloseRGB() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_CLOSE_RGB; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.5 Turn on the battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_ON + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndON() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_ON; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.6 Turn off battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_OFF + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndOFF() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_OFF; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.7 Shut down + * Create Encoded Packet for the command CMD_RGB_POWER_POWER_DOWN + * @returns {Uint8Array} + */ +export function messageRgbPowerDown() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWER_DOWN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.8 Restart + * Create Encoded Packet for the command CMD_RGB_POWER_REBOOT + * @returns {Uint8Array} + */ +export function messageRgbPowerReboot() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_REBOOT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/set_isp_settings.d.ts b/dist/src/set_isp_settings.d.ts deleted file mode 100644 index 215da5c2..00000000 --- a/dist/src/set_isp_settings.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 3.3.1 brightness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setBrightness(camera: number, value: number): any; -/** - * 3.3.2 contrast - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setContrast(camera: number, value: number): any; -/** - * 3.3.3 saturation - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSaturation(camera: number, value: number): any; -/** - * 3.3.4 hue - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setHue(camera: number, value: number): any; -/** - * 3.3.5 sharpness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSharpness(camera: number, value: number): any; -/** - * 3.3.6 Set exposure mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setExposureMode(camera?: number, mode?: number): any; -/** - * 3.3.7 Set exposure value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setExposure(camera: number, value: number): any; -/** - * 3.3.8 Set gain mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setGainMode(camera?: number, mode?: number): any; -/** - * 3.3.9 Set gain value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setGain(camera: number, value: number): any; -/** - * 3.3.10 Start autofocus - * @param {number} camera - * @param {number} mode - * @param {number} x - * @param {number} y - * @returns {Object} - */ -export function autoFocus(camera?: number, mode?: number, x?: number, y?: number): any; -/** - * 3.3.11 Set the white balance mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceMode(camera?: number, mode?: number): any; -/** - * 3.3.12 Set the white balance scene - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceScene(mode?: number): any; -/** - * 3.3.13 Set the white balance color temperature parameter - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setWhiteBalanceColor(camera: number, value: number): any; -/** - * 3.3.14 IR_CUT - * @param {number} value - * @returns {Object} - */ -export function setIR(value?: number): any; -//# sourceMappingURL=set_isp_settings.d.ts.map \ No newline at end of file diff --git a/dist/src/set_isp_settings.d.ts.map b/dist/src/set_isp_settings.d.ts.map deleted file mode 100644 index 1fcd08b8..00000000 --- a/dist/src/set_isp_settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"set_isp_settings.d.ts","sourceRoot":"","sources":["../../src/set_isp_settings.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AACH,sCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,oCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,+BAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,qCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,yCAJW,MAAM,SACN,MAAM,OAUhB;AAED;;;;;GAKG;AACH,oCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;GAKG;AACH,qCAJW,MAAM,SACN,MAAM,OAUhB;AAED;;;;;GAKG;AACH,gCAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;;;;GAOG;AACH,mCANW,MAAM,SACN,MAAM,MACN,MAAM,MACN,MAAM,OAmBhB;AAED;;;;;GAKG;AACH,6CAJW,MAAM,SACN,MAAM,OAahB;AAED;;;;GAIG;AACH,4CAHW,MAAM,OAYhB;AAED;;;;;GAKG;AACH,6CAJW,MAAM,SACN,MAAM,OAYhB;AAED;;;;GAIG;AACH,8BAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/set_isp_settings.js b/dist/src/set_isp_settings.js deleted file mode 100644 index e7eb2d39..00000000 --- a/dist/src/set_isp_settings.js +++ /dev/null @@ -1,218 +0,0 @@ -/** @module set_isp_settings */ -import { telephotoCamera, setExposureModeCmd, setExposureValueCmd, setGainModeCmd, setGainValueCmd, IRCut, setIRCmd, autofocusArea, autofocusCmd, setBrightnessValueCmd, setContrastValueCmd, setSaturationValueCmd, setHueValueCmd, setSharpnessValueCmd, setWhiteBalanceModeCmd, setWhiteBalanceScenceCmd, whiteBalanceScenesValueID, setWhiteBalanceColorCmd, modeManual, } from "./api_codes.js"; -/** - * 3.3.1 brightness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setBrightness(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: -64-64 default:0 - const options = { - interface: setBrightnessValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.2 contrast - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setContrast(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: 0-95 default:0 - const options = { - interface: setContrastValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.3 saturation - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSaturation(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: 0-100 default:80 - const options = { - interface: setSaturationValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.4 hue - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setHue(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: -2000-2000 default:0 - const options = { - interface: setHueValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.5 sharpness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSharpness(camera = telephotoCamera, value) { - // telephoto values: 0-100 default:50 - // wideangle values: 1-7 default:2 - const options = { - interface: setSharpnessValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.6 Set exposure mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setExposureMode(camera = telephotoCamera, mode = modeManual) { - const options = { - interface: setExposureModeCmd, - camId: camera, - mode: mode, - }; - return options; -} -/** - * 3.3.7 Set exposure value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setExposure(camera = telephotoCamera, value) { - // Long focal camera:0.0000-15.0000 - // Wide-angle camera:0.0003-1.0 - const options = { - interface: setExposureValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.8 Set gain mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setGainMode(camera = telephotoCamera, mode = modeManual) { - const options = { - interface: setGainModeCmd, - camId: camera, - mode: mode, - }; - return options; -} -/** - * 3.3.9 Set gain value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setGain(camera = telephotoCamera, value) { - // Long focal camera:0-240 - // Wide-angle camera:64-8000 - const options = { - interface: setGainValueCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.10 Start autofocus - * @param {number} camera - * @param {number} mode - * @param {number} x - * @param {number} y - * @returns {Object} - */ -export function autoFocus(camera = telephotoCamera, mode = autofocusArea, x = 0, y = 0) { - // centerX: 0-1920 - // centerY: 0-1080 - const options = { - interface: autofocusCmd, - camId: camera, - mode, - centerX: x, - centerY: y, - }; - return options; -} -/** - * 3.3.11 Set the white balance mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceMode(camera = telephotoCamera, mode = modeManual) { - const options = { - interface: setWhiteBalanceModeCmd, - camId: camera, - mode: mode, - }; - return options; -} -/** - * 3.3.12 Set the white balance scene - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceScene(mode = whiteBalanceScenesValueID["incandescent lamp"]) { - const options = { - interface: setWhiteBalanceScenceCmd, - camId: telephotoCamera, - mode, - }; - return options; -} -/** - * 3.3.13 Set the white balance color temperature parameter - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setWhiteBalanceColor(camera = telephotoCamera, value) { - // Long focal camera: 2800-7500 - // Wide-angle camera: 2800-6000 - const options = { - interface: setWhiteBalanceColorCmd, - camId: camera, - value, - }; - return options; -} -/** - * 3.3.14 IR_CUT - * @param {number} value - * @returns {Object} - */ -export function setIR(value = IRCut) { - const options = { - interface: setIRCmd, - camId: telephotoCamera, - value, - }; - return options; -} diff --git a/dist/src/system.d.ts b/dist/src/system.d.ts new file mode 100644 index 00000000..1b0ad1d9 --- /dev/null +++ b/dist/src/system.d.ts @@ -0,0 +1,38 @@ +/*** ----------------------------------------------- ***/ +/*** ---------------- MODULE SYSTEM ---------------- ***/ +/*** ----------------------------------------------- ***/ +/** + * 4.11.3 Set the system time + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME + * @returns {Uint8Array} + */ +export function messageSystemSetTime(): Uint8Array; +/** + * 4.11.4 Set the time zone + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME_ZONE + * @param {string} timezone + * @returns {Uint8Array} + */ +export function messageSystemSetTimezone(timezone: string): Uint8Array; +/** + * 4.11.5 Set MTP mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MTP_MODE + * @param {number} mode //Can be omitted, default is on, cannot be closed + * @returns {Uint8Array} + */ +export function messageSystemSetMtpMode(mode: number): Uint8Array; +/** + * 4.11.6 Set CPU mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_CPU_MODE + * @param {number} mode //0: Normal mode 1: Performance mode + * @returns {Uint8Array} + */ +export function messageSystemSetCpuMode(mode: number): Uint8Array; +/** + * 4.11.7 Set HOST mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MASTERLOCK + * @param {boolean} lock //false: Master UnLock true: Master Lock + * @returns {Uint8Array} + */ +export function messageSystemSetMasterLock(lock: boolean): Uint8Array; +//# sourceMappingURL=system.d.ts.map \ No newline at end of file diff --git a/dist/src/system.d.ts.map b/dist/src/system.d.ts.map new file mode 100644 index 00000000..96a1bf45 --- /dev/null +++ b/dist/src/system.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/system.js"],"names":[],"mappings":"AAOA,yDAAyD;AACzD,yDAAyD;AACzD,yDAAyD;AACzD;;;;GAIG;AACH,wCAFa,UAAU,CAuBtB;AACD;;;;;GAKG;AACH,mDAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,8CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,8CAHW,MAAM,GACJ,UAAU,CAgBtB;AACD;;;;;GAKG;AACH,iDAHW,OAAO,GACL,UAAU,CAgBtB"} \ No newline at end of file diff --git a/dist/src/system.js b/dist/src/system.js new file mode 100644 index 00000000..24cafd7b --- /dev/null +++ b/dist/src/system.js @@ -0,0 +1,110 @@ +/** @module system */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** ----------------------------------------------- ***/ +/*** ---------------- MODULE SYSTEM ---------------- ***/ +/*** ----------------------------------------------- ***/ +/** + * 4.11.3 Set the system time + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME + * @returns {Uint8Array} + */ +export function messageSystemSetTime() { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + const date = new Date(); + let timezoneOffset = date.getTimezoneOffset(); // Offset in minutes + // Convert to hours and round to the nearest 0.25 + let roundedTimezoneOffset = Math.round((timezoneOffset / 60) * 4) / 4; + let message = class_message.create({ + timestamp: Math.floor(Date.now() / 1000), + timezoneOffset: roundedTimezoneOffset, + }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.4 Set the time zone + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME_ZONE + * @param {string} timezone + * @returns {Uint8Array} + */ +export function messageSystemSetTimezone(timezone) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME_ZONE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ timezone: timezone }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.5 Set MTP mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MTP_MODE + * @param {number} mode //Can be omitted, default is on, cannot be closed + * @returns {Uint8Array} + */ +export function messageSystemSetMtpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MTP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.6 Set CPU mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_CPU_MODE + * @param {number} mode //0: Normal mode 1: Performance mode + * @returns {Uint8Array} + */ +export function messageSystemSetCpuMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_CPU_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.7 Set HOST mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MASTERLOCK + * @param {boolean} lock //false: Master UnLock true: Master Lock + * @returns {Uint8Array} + */ +export function messageSystemSetMasterLock(lock) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MASTERLOCK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ lock: lock }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/dist/src/system_settings.d.ts b/dist/src/system_settings.d.ts deleted file mode 100644 index 8b2ee632..00000000 --- a/dist/src/system_settings.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * 7.11 Shut down - * @returns {Object} - */ -export function shutDown(): any; -//# sourceMappingURL=system_settings.d.ts.map \ No newline at end of file diff --git a/dist/src/system_settings.d.ts.map b/dist/src/system_settings.d.ts.map deleted file mode 100644 index b7e62ad0..00000000 --- a/dist/src/system_settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"system_settings.d.ts","sourceRoot":"","sources":["../../src/system_settings.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,gCAKC"} \ No newline at end of file diff --git a/dist/src/system_settings.js b/dist/src/system_settings.js deleted file mode 100644 index fc5f79fc..00000000 --- a/dist/src/system_settings.js +++ /dev/null @@ -1,12 +0,0 @@ -/** @module system_settings */ -import { shutDownCmd } from "./api_codes.js"; -/** - * 7.11 Shut down - * @returns {Object} - */ -export function shutDown() { - const options = { - interface: shutDownCmd, - }; - return options; -} diff --git a/dist/src/tracking.d.ts b/dist/src/tracking.d.ts index 9b95b6ee..6eeebb05 100644 --- a/dist/src/tracking.d.ts +++ b/dist/src/tracking.d.ts @@ -1,20 +1,59 @@ +/*** --------------------------------------------- ***/ +/*** ---------------- MODULE TRACK---------------- ***/ +/*** --------------------------------------------- ***/ /** - * 4.2.1 Trace initialization - * @returns {Object} + * 4.14.3 Started tracking + * Create Encoded Packet for the command CMD_TRACK_START_TRACK + * @param {number} x ; //x coordinate of the upper left point of the target box + * @param {number} y ; // The y coordinate of the upper left point of the target box + * @param {number} w ; // width of the target box + * @param {number} h ; //The length of the target box + * @returns {Uint8Array} */ -export function startTrace(): any; +export function messageTrackStartTrack(x: number, y: number, w: number, h: number): Uint8Array; /** - * 4.2.2 Start tracking - * @param {number} x - * @param {number} y - * @param {number} width - * @param {number} height - * @returns {Object} + * 3.14.4 Stop tracking + * Create Encoded Packet for the command CMD_TRACK_STOP_TRACK + * @returns {Uint8Array} */ -export function startTracking(x: number, y: number, width: number, height: number): any; +export function messageTrackStopTrack(): Uint8Array; /** - * 4.2.3 Stop tracking - * @returns {Object} + * 3.14.5 Start Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} */ -export function stopTracking(): any; +export function messageSentryModeStart(mode?: number): Uint8Array; +/** + * 3.14.6 Stop Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_STOP + * @returns {Uint8Array} + */ +export function messageSentryModeStop(): Uint8Array; +/** + * 3.14.7 Start "Multi-Object Tracking" + * Create Encoded Packet for the command CMD_MOT_START + * @returns {Uint8Array} + */ +export function messageMOTStart(): Uint8Array; +/** + * 3.14.8 "Multi-Object Tracking" feature starts tracking a target + * Create Encoded Packet for the command CMD_MOT_TRACK_ONE + * @param {number} id ; // target id + * @returns {Uint8Array} + */ +export function messageMOTStartOne(id: number): Uint8Array; +/** + * 3.14.9 Start UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} + */ +export function messageUFOTrackModeStart(mode?: number): Uint8Array; +/** + * 3.14.10 Stop UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP + * @returns {Uint8Array} + */ +export function messageUFOTrackModeStop(): Uint8Array; //# sourceMappingURL=tracking.d.ts.map \ No newline at end of file diff --git a/dist/src/tracking.d.ts.map b/dist/src/tracking.d.ts.map index c5ac8343..c5dba7be 100644 --- a/dist/src/tracking.d.ts.map +++ b/dist/src/tracking.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../../src/tracking.js"],"names":[],"mappings":"AASA;;;GAGG;AACH,kCAGC;AAED;;;;;;;GAOG;AACH,iCANW,MAAM,KACN,MAAM,SACN,MAAM,UACN,MAAM,OAiBhB;AAED;;;GAGG;AACH,oCAKC"} \ No newline at end of file +{"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../../src/tracking.js"],"names":[],"mappings":"AAOA,uDAAuD;AACvD,uDAAuD;AACvD,uDAAuD;AACvD;;;;;;;;GAQG;AACH,0CANW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,yCAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,8CAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,yCAFa,UAAU,CAiBtB;AACD;;;;GAIG;AACH,mCAFa,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,uCAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;;GAKG;AACH,gDAHW,MAAM,GACJ,UAAU,CAiBtB;AACD;;;;GAIG;AACH,2CAFa,UAAU,CAiBtB"} \ No newline at end of file diff --git a/dist/src/tracking.js b/dist/src/tracking.js index d54af388..43e1c216 100644 --- a/dist/src/tracking.js +++ b/dist/src/tracking.js @@ -1,43 +1,168 @@ -/** @module tracking */ -import { traceInitCmd, startTrackingCmd, stopTrackingCmd, telephotoCamera, } from "./api_codes.js"; -/** - * 4.2.1 Trace initialization - * @returns {Object} - */ -export function startTrace() { - const options = { interface: traceInitCmd }; - return options; -} -/** - * 4.2.2 Start tracking - * @param {number} x - * @param {number} y - * @param {number} width - * @param {number} height - * @returns {Object} - */ -export function startTracking(x, y, width, height) { - // x 0-1920 - // y 0-1080 - // w 0-1920 - // h 0-1080 - const options = { - interface: startTrackingCmd, - camId: telephotoCamera, - x, - y, - w: width, - h: height, - }; - return options; -} -/** - * 4.2.3 Stop tracking - * @returns {Object} - */ -export function stopTracking() { - const options = { - interface: stopTrackingCmd, - }; - return options; +/** @module track */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** --------------------------------------------- ***/ +/*** ---------------- MODULE TRACK---------------- ***/ +/*** --------------------------------------------- ***/ +/** + * 4.14.3 Started tracking + * Create Encoded Packet for the command CMD_TRACK_START_TRACK + * @param {number} x ; //x coordinate of the upper left point of the target box + * @param {number} y ; // The y coordinate of the upper left point of the target box + * @param {number} w ; // width of the target box + * @param {number} h ; //The length of the target box + * @returns {Uint8Array} + */ +export function messageTrackStartTrack(x, y, w, h) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_START_TRACK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ x: x, y: y, w: w, h: h }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.4 Stop tracking + * Create Encoded Packet for the command CMD_TRACK_STOP_TRACK + * @returns {Uint8Array} + */ +export function messageTrackStopTrack() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_STOP_TRACK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.5 Start Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} + */ +export function messageSentryModeStart(mode = 0) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.6 Stop Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_STOP + * @returns {Uint8Array} + */ +export function messageSentryModeStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.7 Start "Multi-Object Tracking" + * Create Encoded Packet for the command CMD_MOT_START + * @returns {Uint8Array} + */ +export function messageMOTStart() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.8 "Multi-Object Tracking" feature starts tracking a target + * Create Encoded Packet for the command CMD_MOT_TRACK_ONE + * @param {number} id ; // target id + * @returns {Uint8Array} + */ +export function messageMOTStartOne(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_TRACK_ONE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ id: id }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.9 Start UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} + */ +export function messageUFOTrackModeStart(mode = 0) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.10 Stop UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP + * @returns {Uint8Array} + */ +export function messageUFOTrackModeStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log(`class Message = ${cmdClass} created message = ${JSON.stringify(message)}`); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } diff --git a/dist/src/txt_mapping.d.ts b/dist/src/txt_mapping.d.ts new file mode 100644 index 00000000..2163f075 --- /dev/null +++ b/dist/src/txt_mapping.d.ts @@ -0,0 +1,265 @@ +export const errorTxtMapping: { + 0: string; + 1: string; + 2: string; + 3: string; + 4: string; + 10500: string; + 10501: string; + 10502: string; + 10504: string; + 10506: string; + 10507: string; + 10510: string; + 10511: string; + 11500: string; + 11501: string; + 11502: string; + 11503: string; + 11504: string; + 11505: string; + 11513: string; + 11514: string; + 11516: string; + 11517: string; + 12500: string; + 12501: string; + 12502: string; + 12503: string; + 12504: string; + 12505: string; + 12506: string; + 12508: string; + 13300: string; + 13301: string; + 13302: string; + 13800: string; + 14504: string; + 14518: string; + 14519: string; + 14520: string; + 14900: string; + 14901: string; + 15100: string; + 15101: string; + 15600: string; + 15601: string; +}; +export const cmdTxtMapping: { + 1: string; + 2: string; + 3: string; + 4: string; + 5: string; + 6: string; + 7: string; + 8: string; + 10000: string; + 10001: string; + 10002: string; + 10003: string; + 10004: string; + 10005: string; + 10006: string; + 10007: string; + 10008: string; + 10009: string; + 10010: string; + 10011: string; + 10012: string; + 10013: string; + 10014: string; + 10015: string; + 10016: string; + 10017: string; + 10018: string; + 10019: string; + 10020: string; + 10021: string; + 10022: string; + 10023: string; + 10024: string; + 10025: string; + 10026: string; + 10027: string; + 10028: string; + 10029: string; + 10030: string; + 10031: string; + 10032: string; + 10033: string; + 10034: string; + 10035: string; + 10036: string; + 10037: string; + 10038: string; + 10039: string; + 10040: string; + 10041: string; + 10042: string; + 11000: string; + 11001: string; + 11002: string; + 11003: string; + 11004: string; + 11005: string; + 11006: string; + 11007: string; + 11008: string; + 11009: string; + 11010: string; + 11011: string; + 11012: string; + 11013: string; + 11014: string; + 11015: string; + 11016: string; + 11017: string; + 11018: string; + 11019: string; + 11020: string; + 11021: string; + 11022: string; + 11023: string; + 11024: string; + 11025: string; + 11026: string; + 11027: string; + 11028: string; + 12000: string; + 12001: string; + 12002: string; + 12003: string; + 12004: string; + 12005: string; + 12006: string; + 12007: string; + 12008: string; + 12009: string; + 12010: string; + 12011: string; + 12012: string; + 12013: string; + 12014: string; + 12015: string; + 12016: string; + 12017: string; + 12018: string; + 12019: string; + 12020: string; + 12021: string; + 12022: string; + 12023: string; + 12024: string; + 12025: string; + 12026: string; + 12027: string; + 12028: string; + 12030: string; + 12031: string; + 13000: string; + 13001: string; + 13002: string; + 13003: string; + 13004: string; + 13500: string; + 13501: string; + 13502: string; + 13503: string; + 13504: string; + 13505: string; + 14000: string; + 14001: string; + 14002: string; + 14003: string; + 14004: string; + 14005: string; + 14006: string; + 14007: string; + 14008: string; + 14009: string; + 14010: string; + 14011: string; + 14800: string; + 14801: string; + 14802: string; + 14803: string; + 14804: string; + 14805: string; + 14806: string; + 14807: string; + 14808: string; + 14809: string; + 14810: string; + 15000: string; + 15001: string; + 15002: string; + 15003: string; + 15004: string; + 15005: string; + 15200: string; + 15201: string; + 15202: string; + 15203: string; + 15204: string; + 15205: string; + 15206: string; + 15207: string; + 15208: string; + 15209: string; + 15210: string; + 15211: string; + 15212: string; + 15213: string; + 15214: string; + 15215: string; + 15216: string; + 15217: string; + 15218: string; + 15219: string; + 15220: string; + 15221: string; + 15222: string; + 15223: string; + 15224: string; + 15225: string; + 15226: string; + 15227: string; + 15228: string; + 15229: string; + 15230: string; + 15231: string; + 15232: string; + 15233: string; + 15234: string; + 15235: string; + 15236: string; + 15237: string; + 15238: string; + 15239: string; + 15240: string; + 15241: string; + 15242: string; + 15243: string; + 15244: string; + 15245: string; + 15246: string; + 15247: string; + 15248: string; + 15249: string; + 15250: string; + 15251: string; + 15252: string; + 15257: string; + 15500: string; + 15501: string; + 15502: string; +}; +export const stateTxtMapping: { + 0: string; + 1: string; + 2: string; + 3: string; + 4: string; +}; +//# sourceMappingURL=txt_mapping.d.ts.map \ No newline at end of file diff --git a/dist/src/txt_mapping.d.ts.map b/dist/src/txt_mapping.d.ts.map new file mode 100644 index 00000000..2af83d5d --- /dev/null +++ b/dist/src/txt_mapping.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"txt_mapping.d.ts","sourceRoot":"","sources":["../../src/txt_mapping.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsOE;AAEF;;;;;;EAME"} \ No newline at end of file diff --git a/dist/src/txt_mapping.js b/dist/src/txt_mapping.js new file mode 100644 index 00000000..5f62ee1e --- /dev/null +++ b/dist/src/txt_mapping.js @@ -0,0 +1,269 @@ +// Access the plain text error message associated with a error Code +// errorCode = -10500: "negative value +// const errorTxt = errorTxtMapping[-errorCode]; +// console.log(errorTxt): "diplay "Camera is turned on" +export const errorTxtMapping = { + 0: "OK: No Error", + 1: "Protobuf parsing failed", + 2: "SD card not detected", + 3: "Invalid parameter", + 4: "Image writing to SD card failed (maybe the card is full)", + 10500: "Camera is turned on", + 10501: "Camera is off", + 10502: "ISP parameter settings failed", + 10504: "Camera failed to open", + 10506: "Recording", + 10507: "The telephoto camera is busy", + 10510: "Failed to catch RAW image", + 10511: "The telephoto camera is busy with work", + 11500: "Plate solving failed", + 11501: "Astronomical function busy", + 11502: "Gain beyond darkfield shooting range (darkfield coverage 30-150 gain)", + 11503: "Darkfield not found", + 11504: "Calibration failed", + 11505: "GOTO failed", + 11513: "No GOTO", + 11514: "Parameters are not suitable", + 11516: "EQ calculation failed", + 11517: "Sky detection failed", + 12500: "Wide-angle camera turned on", + 12501: "The wide-angle camera is turned off", + 12502: "Can't find the camera", + 12503: "Failed to open camera", + 12504: "Failed to turn off camera", + 12505: "Failed to set ISP parameters", + 12506: "Taking pictures", + 12508: "The exposure time is too long", + 13300: "Set time failed", + 13301: "Failed to set time zone", + 13302: "Time zone setting failed", + 13800: "Serial port Initialization failed", + 14504: "Motor Invalid Id Parameter", + 14518: "GOTO limit warning", + 14519: "Star collision limit", + 14520: "Motor Position need Reset", + 14900: "Tracking is initializing", + 14901: "Trace failed", + 15100: "Slow astronomical autofocus failed", + 15101: "Fast astronomical autofocus failed, you need to perform a slow astronomical autofocus first", + 15600: "Panoramic shooting failed", + 15601: "Panoramic shooting motor reset failed", +}; +export const cmdTxtMapping = { + // BLE Class Command + 1: "Get WiFi configuration", + 2: "Configure WiFi AP mode", + 3: "Configure WiFi STA mode", + 4: "Configure BLE wifi", + 5: "Reset Bluetooth WiFi", + 6: "Get WiFi list", + 7: "Obtain device information", + 8: "Check File", + 10000: "Turn on the camera", + 10001: "Turn off the camera", + 10002: "Take photos", + 10003: "Start continuous shooting", + 10004: "Stop continuous shooting", + 10005: "Start recording", + 10006: "Stop recording", + 10007: "Set exposure mode", + 10008: "Acquire exposure mode", + 10009: "Set exposure value", + 10010: "Get exposure value", + 10011: "Set gain mode", + 10012: "Acquisition gain mode", + 10013: "Set gain value", + 10014: "Get gain value", + 10015: "Set brightness", + 10016: "Acquire brightness", + 10017: "Set contrast", + 10018: "Get contrast", + 10019: "Set saturation", + 10020: "Acquire saturation", + 10021: "Set tone", + 10022: "Get hue", + 10023: "Set sharpness", + 10024: "Acquire sharpness", + 10025: "Set white balance mode", + 10026: "Acquire white balance mode", + 10027: "Set white balance scene", + 10028: "Get white balance scene", + 10029: "Set the white balance color temperature value", + 10030: "Obtain the white balance color temperature value", + 10031: "Set IRCUT", + 10032: "Get IRCUT status", + 10033: "Start time-lapse photography", + 10034: "Stop time-lapse photography", + 10035: "Set all parameters", + 10036: "Get all parameters", + 10037: "Set feature parameters", + 10038: "Get all feature parameters", + 10039: "Get the working status of the whole machine", + 10040: "Set jpg preview quality", + 10041: "Shoot RAW image", + 10042: "Set rtsp preview bit rate type", + 11000: "Start calibration", + 11001: "Stop calibration", + 11002: "Start GOTO Deep Space Object", + 11003: "Start GOTO Solar System Target", + 11004: "Stop GOTO", + 11005: "Start stacking", + 11006: "Stop overlay", + 11007: "Start shooting dark scenes", + 11008: "Stop filming darkfield", + 11009: "Inquire about the dark field that has been shot", + 11010: "GO LIVE interface", + 11011: "Start tracking the sun and moon", + 11012: "Stop tracking the sun and moon", + 11013: "One-click GOTO deep space celestial body", + 11014: "One-click GOTO solar system target", + 11015: "Stop one-click GOTO", + 11016: "Start wide-angle overlay", + 11017: "Stop wide-angle overlay", + 11018: "Start EQ verification", + 11019: "Stop EQ verification", + 11020: "Wide-angle GO LIVE interface", + 11021: "Start shooting the dark field with specified parameters (manually set exposure, gain, binning)", + 11022: "Stop shooting the dark field with specified parameters", + 11023: "Query the list of recorded dark scenes", + 11024: "Delete the specified dark field list", + 11025: "Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work).", + 11026: "Stop shooting dark field with wide-angle specified parameters", + 11027: "Query the list of wide-angle dark scenes taken", + 11028: "Delete the specified wide-angle dark field list", + 12000: "Turn on the camera", + 12001: "Turn off the camera", + 12002: "Set exposure mode", + 12003: "Acquire exposure mode", + 12004: "Set exposure value", + 12005: "Get exposure value", + 12006: "Set gain", + 12007: "Acquisition gain", + 12008: "Set brightness", + 12009: "Acquire brightness", + 12010: "Set contrast", + 12011: "Get contrast", + 12012: "Set saturation", + 12013: "Acquire saturation", + 12014: "Set tone", + 12015: "Get hue", + 12016: "Set sharpness", + 12017: "Acquire sharpness", + 12018: "Set white balance mode", + 12019: "Acquire white balance mode", + 12020: "Set white balance color temperature", + 12021: "Obtain white balance color temperature", + 12022: "Take photos", + 12023: "Continuous shooting", + 12024: "Stop continuous shooting", + 12025: "Start time-lapse photography", + 12026: "Stop time-lapse photography", + 12027: "Get all parameters", + 12028: "Set all parameters", + 12030: "Start wide recording", + 12031: "Stop wide recording", + 13000: "Set the system time", + 13001: "Set the time zone", + 13002: "Set MTP mode", + 13003: "Set CPU mode", + 13004: "Set HOST SLAVE mode", + 13500: "Turn on the ring light", + 13501: "Turn off the ring light", + 13502: "Shut down", + 13503: "Turn on the battery indicator", + 13504: "Turn off battery indicator", + 13505: "Restart", + 14000: "Motor motion", + 14001: "Motor motion to", + 14002: "Motor stop", + 14003: "Motor Reset", + 14004: "Motor Change Speed", + 14005: "Motor ChangeDirection", + 14006: "Joystick", + 14007: "Short press the arrow keys with the joystick", + 14008: "Stop joystick", + 14009: "Dual camera linkage", + 14010: "Motor get Position", + 14011: "Motor run in pulse", + 14800: "Started tracking", + 14801: "Stop tracking", + 14802: "Start Sentinel Mode (Pack", + 14803: "Stop Sentinel Mode", + 14804: "Start 'Multi-Object Tracking' feature", + 14805: "Telephoto: 'Multi-Object Tracking' starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation)", + 14806: "Start sentinel UFO mode", + 14807: "Stop Sentinel UFO Mode", + 14808: "Wide-angle: 'Multi-Object Tracking' starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks)", + 14809: "Object Detection with 30 classes for post-production non-sentinel mode. Choose between wide-angle and telephoto tracking button instructions", + 14810: "Used for post-UFO mode selection manual or automatic", + 15000: "Normal mode autofocus", + 15001: "Manual single-step focusing", + 15002: "Start manual continuous focus", + 15003: "Stop manual continuous focus", + 15004: "Start astronomical autofocus", + 15005: "Stop astronomical autofocus", + 15200: "Telephoto wide-angle image matching", + 15201: "Battery Notification", + 15202: "Charge status notification", + 15203: "SD card capacity notification", + 15204: "Recording time", + 15205: "Telephoto time-lapse photography time", + 15206: "Dark field shooting state", + 15207: "Dark field shooting progress", + 15208: "Astronomical overlay shooting status", + 15209: "Astronomical overlay shooting progress", + 15210: "Astronomical calibration status", + 15211: "Astronomical GOTO status", + 15212: "Astronomical tracking status", + 15213: "Telephoto parameter echo", + 15214: "Wide-angle parametric echo", + 15215: "Telephoto functional status", + 15216: "Wide-angle functional status", + 15217: "Feature parameter echo", + 15218: "Telephoto continuous shooting progress", + 15219: "Telephoto panoramic shooting progress", + 15220: "Wide-angle continuous shooting progress", + 15221: "RGB Ring Light Status", + 15222: "Power indicator status", + 15223: "Leader/follower mode notification", + 15224: "MTP mode notification", + 15225: "Tracking result notification", + 15226: "Wide-angle time-lapse photography time", + 15227: "CPU mode", + 15228: "Sun and moon tracking status", + 15229: "Shutdown notification", + 15230: "New Media Created", + 15231: "Sentinel mode status", + 15232: "Sentinel mode tracking box result notification", + 15233: "One-click GOTO status", + 15234: "Image type notification", + 15235: "Wide Recording time", + 15236: "Astronomical overlay wide shooting status", + 15237: "Astronomical overlay wide shooting progress", + 15238: "Multi-Object Tracking Result Notification", + 15239: "EQ check status", + 15240: "Sentinel-UFO Mode Status", + 15241: "Telephoto long exposure progress", + 15242: "Wide-angle long exposure progress", + 15243: "Temperature", + 15244: "Panorama upload compression progress", + 15245: "Panorama upload upload progress", + 15246: "Panorama upload complete", + 15247: "Wide-angle dark field shooting state", + 15248: "Shooting Schedule result and state", + 15249: "Sky seacher state", + 15250: "Sky detection status", + 15251: "Wide-angle multi-target box result notification", + 15252: "Wide-angle single target box result notification", + 15257: "Focus Position", + 15500: "Start panorama", + 15501: "Stop panorama", + 15502: "ReqStartPanoramaByEulerRange", // Start panorama Euler Range +}; +export const stateTxtMapping = { + 0: "Idle state", + 1: "Running", + 2: "Is stopping", + 3: "Has stopped", + 4: "Astronomy is Plating Solving", +}; diff --git a/dist/src/websocket_class.d.ts b/dist/src/websocket_class.d.ts new file mode 100644 index 00000000..4743d6a3 --- /dev/null +++ b/dist/src/websocket_class.d.ts @@ -0,0 +1,166 @@ +/** + * WebSocketHandler is the main interface to send messages to the Dwarf via websocket + * It will analyse all messages received by the Dwarf and send the recieved messages to the caller + * It's a singleton class + * @class + * @constructor + * @public + */ +export class WebSocketHandler { + static instance: any; + /** + * Create a link to the Api and set the IP address of the Dwarf to connect to + * @param {string | undefined} IPDwarf ; Set the IP address of the Dwarf to connect to + */ + constructor(IPDwarf: string | undefined); + socket: any; + is_opened: boolean; + IPDwarf: any; + proxyURL: any; + useHttps: boolean; + WS_Packet: {}; + isCallbackMessages: boolean; + packetCallbackMessages: {}; + isCallbackErrors: boolean; + packetCallbackErrors: {}; + isCallbackConnectStates: boolean; + packetCallbackConnectStates: {}; + callbackReconnectFunction: any; + /** + * closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long + */ + closeSocketTimer: any; + /** + * closeTimerHandler : function could be defined : to close the timeout timer. + */ + closeTimerHandler: () => void; + /** + * onStopTimerHandler : function could be defined : this function will be called in case of error during connection + */ + onStopTimerHandler: () => void; + keep_connection: boolean; + is_running: boolean; + is_sending: boolean; + is_receiving: boolean; + is_stopping: boolean; + is_buffered: boolean; + sendingQueue: Queue; + is_pong_received: boolean; + is_ping_stopped: boolean; + signal_ping_stop: boolean; + ping_interval: number; + nb_reconnect_default: number; + nb_reconnect: number; + nb_ping_error_default: number; + nb_ping_error: number; + /** + * Set the IP address of the Dwarf to connect to + * @param {string} IPDwarf ; Set the IP address of the Dwarf to connect to, force another one that was configured when calling the constructor. + * @returns {Promise} + */ + setNewIpDwarf(IPDwarf: string): Promise; + /** + * Set the URL address of the proxy uses to connect to the dwarf, + * by default not used, set it to empty param for not using a proxy + * @param {string} proxyURL ; Set the URL address of the Proxy the Dwarf to connect to. + * @returns {Promise} + */ + setProxyUrl(proxyURL?: string): Promise; + /** + * Set the Https mode of the proxy connection, the Dwarf connect to + * @param {boolean} useHttps ; true if Https, then wss should be used with a proxy connection + * @returns {Promise} + */ + setHttpsMode(useHttps: boolean): Promise; + /** + * Set the device ID of the Dwarf connected (readen from the Dwarf or from the config file on the Dwarf) + * @param {number} deviceIdDwarf ; Set the device ID of the Dwarf connected. + * @returns {boolean} status + */ + setDeviceIdDwarf(deviceIdDwarf: number): boolean; + /** + * Set the intervall of the build in Ping function defult is 10s + * @param {number} IntervalInSecond ; in Seconds + * @returns {void} + */ + setPingInterval(IntervalInSecond: number): void; + /** + * Set the nb of times for trying to reconnect to the Dwarf if the connection closes, default is 5. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultReconnect(nbTimes: number): void; + /** + * Set the nb of times to stop connection after not receiving pong, default is 10. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultPongError(nbTimes: number): void; + /** + * Verify the status of the connection with the Dwarf + * @returns {boolean} status of the connection + */ + isConnected(): boolean; + /** + * Main function, to call after prepare function, send the message and start dialogue with the Dwarf + * @returns {Promise} false if the IP has not been set or if old Socket can't be closed + */ + run(): Promise; + start(): void; + /** + * Prepare function : Define the message to send and the command to listen to and the callbacks functions + * @param {Object|Object[]} WS_Packet ; Message or Array of Messages from the API to send to the Dwarf + * @param {string} senderId ; identifier of the sender + * @param {string[]} expectedResponseCmd ; List of the Command Id to listen to, can be "*" to get all commands. + * @param {function} callbackMessage ; Callback Fonction (const customMessageHandler = (txt_info:string, result_data:object)) to analyse reponses from the Dwarf + * @param {function} callbackConnectState ; Callback Fonction (const customStateHandler = (state)) to get the status result of the current connection of the Dwarf + * @param {function} callbackError ; Callback Fonction (const customErrorHandler = ()) called after an socket error. + * @param {function} callbackReconnect ; Callback Fonction (const customReconnectHandler = ()) called after a socket reconnection. + * @returns {Promise} + */ + prepare(WS_Packet: any | any[], senderId: string, expectedResponseCmd?: string[], callbackMessage?: Function, callbackConnectState?: Function, callbackError?: Function, callbackReconnect?: Function): Promise; + pingDwarf(): Promise; + wait_ping_stop(): Promise; + send(): Promise; + /** + * stopCallbacks function : Stop receiving on the callbacks functions + * @param {string} senderId ; Identifier of caller + * @returns {void} + **/ + stopCallbacks(senderId: string): void; + deleteCallbacks(senderId?: string): void; + packetCallbackReconnect: any[]; + verifyCallBacks(): void; + sendCallbackConnectStates(state: any): void; + sendCallbackErrors(): void; + handleMessage(event: any): void; + handleError(message: any): void; + /** + * Handle close event of the socket connection with the Dwarf + * To call from a timeout function during the connection with the Dwarf + * @returns {Promise} + */ + handleClose(message: any): Promise; + /** + * Force close the socket connection with the Dwarf + * @returns {Promise} + */ + close(): Promise; + /** + * cleanup function : Stop all the functions + * @param {boolean} forceStop ; if true do not try a reconnection, false by default + * @returns {Promise} + **/ + cleanup(forceStop?: boolean): Promise; + cleanup_socket(): Promise; +} +declare class Queue { + constructor(...elements: any[]); + elements: any[]; + push(...args: any[]): number; + shift(...args: any[]): any; + set length(length: number); + get length(): number; +} +export {}; +//# sourceMappingURL=websocket_class.d.ts.map \ No newline at end of file diff --git a/dist/src/websocket_class.d.ts.map b/dist/src/websocket_class.d.ts.map new file mode 100644 index 00000000..6f4ad340 --- /dev/null +++ b/dist/src/websocket_class.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"websocket_class.d.ts","sourceRoot":"","sources":["../../src/websocket_class.js"],"names":[],"mappings":"AA+BA;;;;;;;GAOG;AACH;IACE,qBAA4B;IAmD5B;;;OAGG;IACH,qBAFW,MAAM,GAAG,SAAS,EAS5B;IA7DD,YAAc;IACd,mBAAkB;IAElB,aAAoB;IACpB,cAAqB;IACrB,kBAAiB;IACjB,cAAe;IAEf,4BAA2B;IAC3B,2BAA4B;IAC5B,0BAAyB;IACzB,yBAA0B;IAC1B,iCAAgC;IAChC,gCAAiC;IAEjC,+BAAsC;IAEtC;;OAEG;IACH,sBAA6B;IAE7B;;OAEG;IACH,8BAAmC;IAEnC;;OAEG;IACH,+BAAoC;IAEpC,yBAAwB;IACxB,oBAAmB;IACnB,oBAAmB;IACnB,sBAAqB;IACrB,qBAAoB;IACpB,qBAAoB;IACpB,oBAA2B;IAE3B,0BAAyB;IACzB,yBAAuB;IACvB,0BAAyB;IACzB,sBAAmB;IAEnB,6BAAyB;IACzB,qBAAiB;IACjB,8BAA2B;IAC3B,sBAAmB;IAenB;;;;OAIG;IACH,uBAHW,MAAM,GACJ,QAAQ,IAAI,CAAC,CAczB;IAED;;;;;OAKG;IACH,uBAHW,MAAM,GACJ,QAAQ,IAAI,CAAC,CAiBzB;IAED;;;;OAIG;IACH,uBAHW,OAAO,GACL,QAAQ,IAAI,CAAC,CAiBzB;IAED;;;;OAIG;IACH,gCAHW,MAAM,GACJ,OAAO,CAiBnB;IAED;;;;OAIG;IACH,kCAHW,MAAM,GACJ,IAAI,CAMhB;IAED;;;;OAIG;IACH,6BAHW,MAAM,GACJ,IAAI,CAIhB;IAED;;;;OAIG;IACH,6BAHW,MAAM,GACJ,IAAI,CAIhB;IAED;;;OAGG;IACH,eAFa,OAAO,CAUnB;IAED;;;OAGG;IACH,OAFa,QAAQ,OAAO,CAAC,CAuH5B;IAED,cAcC;IAED;;;;;;;;;;OAUG;IACH,mBATW,MAAO,KAAQ,YACf,MAAM,wBACN,MAAM,EAAE,wHAKN,QAAQ,IAAI,CAAC,CAyEzB;IAED,2BAgHC;IAED,gCAIC;IAED,sBAgDC;IAED;;;;QAII;IACJ,wBAHW,MAAM,GACJ,IAAI,CAIhB;IAED,yCAqBC;IAHG,+BAAiC;IAKrC,wBAMC;IAED,4CAiBC;IAED,2BAeC;IAED,gCA+DC;IAED,gCAUC;IAED;;;;OAIG;IACH,2BAFa,QAAQ,IAAI,CAAC,CAczB;IAED;;;OAGG;IACH,SAFa,QAAQ,IAAI,CAAC,CAezB;IAED;;;;QAII;IACJ,oBAHW,OAAO,GACL,QAAQ,IAAI,CAAC,CAwEzB;IAED,gCASC;CACF;AA93BD;IACE,gCAGC;IADC,gBAA6B;IAG/B,6BAEC;IACD,2BAEC;IAKD,2BAEC;IALD,qBAEC;CAIF"} \ No newline at end of file diff --git a/dist/src/websocket_class.js b/dist/src/websocket_class.js new file mode 100644 index 00000000..5813ca5b --- /dev/null +++ b/dist/src/websocket_class.js @@ -0,0 +1,852 @@ +/** @module websocket_class */ +/* eslint no-unused-vars: 0 */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +function sleep(ms) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} +import { wsURL } from "./api_codes.js"; +import { setDwarfDeviceID, analyzePacket } from "./api_utils.js"; +class Queue { + constructor(...elements) { + // Initializing the queue with given arguments + this.elements = [...elements]; + } + // Proxying the push/shift methods + push(...args) { + return this.elements.push(...args); + } + shift(...args) { + return this.elements.shift(); + } + // Add some length utility methods + get length() { + return this.elements.length; + } + set length(length) { + this.elements.length = length; + } +} +/** + * WebSocketHandler is the main interface to send messages to the Dwarf via websocket + * It will analyse all messages received by the Dwarf and send the recieved messages to the caller + * It's a singleton class + * @class + * @constructor + * @public + */ +export class WebSocketHandler { + /** + * Create a link to the Api and set the IP address of the Dwarf to connect to + * @param {string | undefined} IPDwarf ; Set the IP address of the Dwarf to connect to + */ + constructor(IPDwarf) { + this.socket = null; + this.is_opened = false; + this.IPDwarf = undefined; + this.proxyURL = undefined; + this.useHttps = false; + this.WS_Packet = {}; + this.isCallbackMessages = false; + this.packetCallbackMessages = {}; + this.isCallbackErrors = false; + this.packetCallbackErrors = {}; + this.isCallbackConnectStates = false; + this.packetCallbackConnectStates = {}; + this.callbackReconnectFunction = undefined; + /** + * closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long + */ + this.closeSocketTimer = undefined; + /** + * closeTimerHandler : function could be defined : to close the timeout timer. + */ + this.closeTimerHandler = function () { }; + /** + * onStopTimerHandler : function could be defined : this function will be called in case of error during connection + */ + this.onStopTimerHandler = function () { }; + this.keep_connection = false; + this.is_running = false; + this.is_sending = false; + this.is_receiving = false; + this.is_stopping = false; + this.is_buffered = false; + this.sendingQueue = new Queue(); + this.is_pong_received = false; + this.is_ping_stopped = true; + this.signal_ping_stop = false; + this.ping_interval = 10; + this.nb_reconnect_default = 3; + this.nb_reconnect = 3; + this.nb_ping_error_default = 10; + this.nb_ping_error = 10; + if (IPDwarf) + this.IPDwarf = IPDwarf; + if (!WebSocketHandler.instance) { + WebSocketHandler.instance = this; + console.info("Creating a new WebSocketHandler with IP: ", IPDwarf); + } + return WebSocketHandler.instance; + } + /** + * Set the IP address of the Dwarf to connect to + * @param {string} IPDwarf ; Set the IP address of the Dwarf to connect to, force another one that was configured when calling the constructor. + * @returns {Promise} + */ + setNewIpDwarf(IPDwarf) { + return __awaiter(this, void 0, void 0, function* () { + console.debug("websocket_class : setIpDwarf : ", IPDwarf); + if (IPDwarf != this.IPDwarf) { + console.debug("websocket_class : new IP received, closing old one: ", this.IPDwarf); + this.close(); + yield sleep(1000); + } + this.IPDwarf = IPDwarf; + console.debug("websocket_class : new Ip: ", this.IPDwarf); + }); + } + /** + * Set the URL address of the proxy uses to connect to the dwarf, + * by default not used, set it to empty param for not using a proxy + * @param {string} proxyURL ; Set the URL address of the Proxy the Dwarf to connect to. + * @returns {Promise} + */ + setProxyUrl(proxyURL = undefined) { + return __awaiter(this, void 0, void 0, function* () { + if (!proxyURL) + console.debug("websocket_class : Resetting Proxy URL value"); + else + console.debug("websocket_class : Setting Proxy URL: ", proxyURL); + if (proxyURL != this.proxyURL) { + console.debug("websocket_class : new Proxy Url received, closing connection: ", this.proxyURL); + this.close(); + yield sleep(1000); + } + this.proxyURL = proxyURL; + if (this.proxyURL) + console.debug("websocket_class : Using Proxy URL: ", this.proxyURL); + else + console.debug("websocket_class : Proxy URL reset"); + }); + } + /** + * Set the Https mode of the proxy connection, the Dwarf connect to + * @param {boolean} useHttps ; true if Https, then wss should be used with a proxy connection + * @returns {Promise} + */ + setHttpsMode(useHttps) { + return __awaiter(this, void 0, void 0, function* () { + console.debug("websocket_class : setHttpsMode : ", useHttps); + if (useHttps !== this.useHttps) { + console.debug("websocket_class : change Https mode, closing connection. Previous mode : ", this.useHttps ? "on" : "off"); + this.close(); + yield sleep(1000); + } + this.useHttps = useHttps; + console.debug("websocket_class : Updated HTTPS mode : ", this.useHttps ? "on" : "off"); + }); + } + /** + * Set the device ID of the Dwarf connected (readen from the Dwarf or from the config file on the Dwarf) + * @param {number} deviceIdDwarf ; Set the device ID of the Dwarf connected. + * @returns {boolean} status + */ + setDeviceIdDwarf(deviceIdDwarf) { + console.debug("websocket_class : setDeviceIdDwarf : ", deviceIdDwarf); + if (setDwarfDeviceID(deviceIdDwarf)) { + console.debug("websocket_class : success setting the device ID of the Dwarf : ", deviceIdDwarf); + return true; + } + else { + console.error("websocket_class : error setting the device ID of the Dwarf : ", deviceIdDwarf); + return false; + } + } + /** + * Set the intervall of the build in Ping function defult is 10s + * @param {number} IntervalInSecond ; in Seconds + * @returns {void} + */ + setPingInterval(IntervalInSecond) { + if (IntervalInSecond) { + this.ping_interval = IntervalInSecond; + } + } + /** + * Set the nb of times for trying to reconnect to the Dwarf if the connection closes, default is 5. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultReconnect(nbTimes) { + this.nb_reconnect_default = nbTimes; + } + /** + * Set the nb of times to stop connection after not receiving pong, default is 10. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultPongError(nbTimes) { + this.nb_ping_error_default = nbTimes; + } + /** + * Verify the status of the connection with the Dwarf + * @returns {boolean} status of the connection + */ + isConnected() { + if (this.socket && + this.is_opened && + this.socket.readyState === WebSocket.OPEN) + return true; + else + return false; + } + /** + * Main function, to call after prepare function, send the message and start dialogue with the Dwarf + * @returns {Promise} false if the IP has not been set or if old Socket can't be closed + */ + run() { + return __awaiter(this, void 0, void 0, function* () { + // Check if ipDwarf is defined before calling wsURL + if (!this.IPDwarf) { + console.error("IPDwarf is undefined. Unable to create WebSocket."); + return false; + } + console.debug("websocket_class : running function starting..."); + try { + yield sleep(10); + this.keep_connection = false; + if (this.socket && this.socket.readyState === WebSocket.OPEN) { + console.log("Keep old Websocket opened"); + this.keep_connection = true; + } + else { + if (this.socket && this.socket.readyState !== WebSocket.OPEN) { + // Socket still hangs, hard close + console.log("Old Websocket force close"); + this.cleanup_socket(); + yield sleep(100); + } + } + if (this.keep_connection) { + // Need Stopping Ping + yield this.wait_ping_stop(); + // Start manually no open event + this.start(); + } + else { + // restarting + // verify Stopping Ping + yield this.wait_ping_stop(); + this.is_stopping = false; + this.is_opened = false; + // Create WebSocket + this.socket = undefined; + let new_socket = undefined; + new_socket = new WebSocket(wsURL(this.IPDwarf, this.proxyURL, this.useHttps)); + console.log("Launch open new Socket"); + // Socket Binary Mode + new_socket.binaryType = "arraybuffer"; + new_socket.onopen = () => { + if (new_socket) { + this.socket = new_socket; + console.debug("new socket created", new_socket); + this.is_opened = true; + if (!this.proxyURL) + console.debug(`websocket_class : open... on IP : ${this.IPDwarf}`); + else { + console.debug(`websocket_class: open... on IP: ${this.IPDwarf} using proxy: ${this.proxyURL || "none"}${this.useHttps ? " (HTTPS on)" : ""}`); + } + console.debug("class instance open:", this); + // Start on the open event + this.start(); + } + else { + console.debug(`websocket_class : open error socket undefined`); + } + }; + new_socket.onmessage = (event) => __awaiter(this, void 0, void 0, function* () { + console.debug("websocket_class : onmessage function..."); + while (this.is_sending || this.is_buffered) { + yield sleep(10); + } + console.debug("websocket_class : onmessage function starting..."); + this.is_receiving = true; + yield this.handleMessage(event); + this.is_receiving = false; + console.debug("websocket_class : onmessage function ending..."); + }); + new_socket.onerror = (message) => { + if (this.is_opened) { + this.handleError(message); + } + }; + new_socket.onclose = (message) => __awaiter(this, void 0, void 0, function* () { + if (this.is_opened) { + yield this.handleClose(message); + } + // Cleanup event handlers after disconnection + yield this.cleanup(); + if (false && new_socket) { + new_socket.onopen = null; + new_socket.onerror = null; + new_socket.onclose = null; + } + }); + } + console.debug("class instance :", this); + return true; + } + catch (error) { + console.error("websocket_class Exception Error creating WebSocket:", error); + this.socket = undefined; + return false; + } + }); + } + start() { + console.debug("websocket_class : start function ..."); + this.is_running = true; + this.nb_reconnect = this.nb_reconnect_default; + // Start ping command + this.is_pong_received = true; + this.pingDwarf(); + // start send function + this.send(); + this.sendCallbackConnectStates(true); + } + /** + * Prepare function : Define the message to send and the command to listen to and the callbacks functions + * @param {Object|Object[]} WS_Packet ; Message or Array of Messages from the API to send to the Dwarf + * @param {string} senderId ; identifier of the sender + * @param {string[]} expectedResponseCmd ; List of the Command Id to listen to, can be "*" to get all commands. + * @param {function} callbackMessage ; Callback Fonction (const customMessageHandler = (txt_info:string, result_data:object)) to analyse reponses from the Dwarf + * @param {function} callbackConnectState ; Callback Fonction (const customStateHandler = (state)) to get the status result of the current connection of the Dwarf + * @param {function} callbackError ; Callback Fonction (const customErrorHandler = ()) called after an socket error. + * @param {function} callbackReconnect ; Callback Fonction (const customReconnectHandler = ()) called after a socket reconnection. + * @returns {Promise} + */ + prepare(WS_Packet, // can be an array of Packets + senderId, expectedResponseCmd = [], callbackMessage = function () { }, callbackConnectState = function () { }, callbackError = function () { }, callbackReconnect = undefined) { + return __awaiter(this, void 0, void 0, function* () { + console.debug("websocket_class : prepare function..."); + while (this.is_sending || this.is_receiving) { + yield sleep(10); + } + console.debug("websocket_class : prepare function starting..."); + this.is_buffered = true; + // Store the callback function and expected response types for later use + if (senderId) { + if (callbackMessage && typeof callbackMessage === "function") { + if (!this.packetCallbackMessages[senderId]) { + this.packetCallbackMessages[senderId] = {}; + } + expectedResponseCmd.forEach((idCmd) => { + console.log(` -> Prepare for ${senderId} => ${idCmd}`); + // empty the tab if exist : just one callback function per command + this.packetCallbackMessages[senderId][idCmd] = []; + this.packetCallbackMessages[senderId][idCmd].push(callbackMessage); + }); + } + if (callbackConnectState && typeof callbackConnectState === "function") { + // empty the tab if exist : just one callback function per sender + this.packetCallbackConnectStates[senderId] = []; + this.packetCallbackConnectStates[senderId].push(callbackConnectState); + } + if (callbackError && typeof callbackError === "function") { + // empty the tab if exist : just one callback function per sender + this.packetCallbackErrors[senderId] = []; + this.packetCallbackErrors[senderId].push(callbackError); + } + if (callbackReconnect && typeof callbackReconnect === "function") { + // empty the tab if exist : just one callback Reconnect function + this.callbackReconnectFunction = callbackReconnect; + console.log(` -> Add a callbackReconnect function => ${callbackReconnect}`); + } + this.verifyCallBacks(); + } + if (Array.isArray(WS_Packet)) { + console.log(` -> Prepare ${WS_Packet.length} packets for ${senderId}`); + this.sendingQueue.push(...WS_Packet); + } + else { + console.log(` -> Prepare one packet for ${senderId}`); + this.sendingQueue.push(WS_Packet); + } + yield sleep(50); + this.is_buffered = false; + console.debug("websocket_class : prepare function ending..."); + }); + } + pingDwarf() { + return __awaiter(this, void 0, void 0, function* () { + console.debug("websocket_class : init ping function..."); + this.is_ping_stopped = false; + yield sleep(10); + while (!this.is_running) { + yield sleep(10); + } + console.debug("websocket_class : ping function..."); + console.debug("websocket_class : is_running...", this.is_running); + console.debug("websocket_class : is_stopping...", this.is_stopping); + console.debug("websocket_class : signal_ping_stop...", this.signal_ping_stop); + console.debug("websocket_class : is_stopping...", this.is_stopping); + console.debug("websocket_class : is_pong_received...", this.is_pong_received); + this.is_sending = false; + this.nb_ping_error = this.nb_ping_error_default; + let interval_no_ping = this.ping_interval * 10 + 1; + let interval = this.ping_interval; + let ping_send = false; + while (!this.is_stopping && !this.signal_ping_stop) { + yield sleep(100); + if (!this.is_sending && this.is_pong_received && this.isConnected()) { + console.debug("websocket_class : ping function starting..."); + this.is_sending = true; + // reset interval_no_ping + interval_no_ping = this.ping_interval * 10 + 1; + this.nb_ping_error = this.nb_ping_error_default; + // Send Command: + this.is_pong_received = false; + //this.socket.ping(""); + this.socket.send("ping"); + console.log("websocket_class : sending ping"); + this.is_sending = false; + ping_send = true; + console.debug("websocket_class : ping function waiting..."); + interval = this.ping_interval; + console.debug(`websocket_class : ping interval wait : ${interval}`); + while (interval > 0 && !this.is_stopping && !this.signal_ping_stop) { + yield sleep(1000); + interval = interval - 1; + } + console.debug(`websocket_class : ping interval: ${interval}`); + console.debug(`websocket_class : pong: ${this.is_pong_received}`); + // Test if wet get Pong before the wait time in normal wait: no is_stopping nor signal_ping_stop + if (interval == 0 && + !this.is_pong_received && + !this.is_stopping && + !this.signal_ping_stop) { + this.nb_ping_error -= 1; + console.error(`websocket_class : no pong received after sending Ping ${this.nb_ping_error_default - this.nb_ping_error}`); + } + else if (this.is_pong_received) { + // OK or stop reset + this.nb_ping_error = this.nb_ping_error_default; + } + console.debug("websocket_class : ping function stopping..."); + } + if (this.is_pong_received) { + // OK or stop reset + this.nb_ping_error = this.nb_ping_error_default; + ping_send = false; + } + if (ping_send) { + if (this.nb_ping_error != this.nb_ping_error_default) { + interval_no_ping -= 1; + if (interval_no_ping <= 0) { + this.nb_ping_error -= 1; + console.error(`websocket_class : no pong received after sending Ping ${this.nb_ping_error_default - this.nb_ping_error}`); + if (this.nb_ping_error <= 0) { + console.error(`websocket_class : no pong received after ${this.nb_ping_error_default} tries: deconnect!`); + this.signal_ping_stop = true; + this.cleanup(true); + } + else { + interval_no_ping = this.ping_interval * 10; + } + } + } + } + } + this.is_sending = false; + this.is_ping_stopped = true; + console.debug("websocket_class : ping function ending..."); + }); + } + wait_ping_stop() { + return __awaiter(this, void 0, void 0, function* () { + this.signal_ping_stop = true; + while (!this.is_ping_stopped) + yield sleep(100); + this.signal_ping_stop = false; + }); + } + send() { + return __awaiter(this, void 0, void 0, function* () { + yield sleep(250); + while (!this.is_running) { + yield sleep(10); + } + console.debug("websocket_class : send function..."); + this.is_sending = false; + while (!this.is_stopping) { + yield sleep(10); + let lenQueue = this.sendingQueue.length; + if (!this.is_buffered && + !this.is_sending && + this.sendingQueue.length > 0 && + this.isConnected()) { + console.debug("websocket_class : send function starting..."); + this.is_sending = true; + this.WS_Packet = this.sendingQueue.shift(); + // Send Command: + if (this.WS_Packet) { + this.socket.send(this.WS_Packet); + console.log(`websocket_class : sending buffer = ${Array.prototype.toString.call(this.WS_Packet)}`); + yield sleep(100); + } + else { + console.error(`websocket_class : sending buffer empty : lenqueue = ${lenQueue}`); + } + this.is_sending = false; + console.debug("websocket_class : send function stopping..."); + } + } + this.is_sending = false; + console.debug("websocket_class : send function ending..."); + }); + } + /** + * stopCallbacks function : Stop receiving on the callbacks functions + * @param {string} senderId ; Identifier of caller + * @returns {void} + **/ + stopCallbacks(senderId) { + this.deleteCallbacks(senderId); + } + deleteCallbacks(senderId = "") { + console.debug(`deleteCallbacks for : ${senderId}`); + if (senderId) { + if (this.packetCallbackMessages[senderId]) { + this.packetCallbackMessages[senderId] = {}; + } + if (this.packetCallbackConnectStates[senderId]) { + this.packetCallbackConnectStates[senderId] = []; + this.isCallbackConnectStates = false; + } + if (this.packetCallbackErrors[senderId]) { + this.packetCallbackErrors[senderId] = []; + this.isCallbackErrors = false; + } + } + else if (senderId == "*") { + this.packetCallbackMessages = {}; + this.packetCallbackErrors = {}; + this.packetCallbackConnectStates = {}; + this.packetCallbackReconnect = []; + } + this.verifyCallBacks(); + } + verifyCallBacks() { + this.isCallbackMessages = + Object.keys(this.packetCallbackMessages).length > 0; + this.isCallbackConnectStates = + Object.keys(this.packetCallbackConnectStates).length > 0; + this.isCallbackErrors = Object.keys(this.packetCallbackErrors).length > 0; + } + sendCallbackConnectStates(state) { + // Iterate over all stored callback functions + Object.values(this.packetCallbackConnectStates).forEach((callbacksConnectStates) => { + console.log("Retrieve1 - Structure:", callbacksConnectStates); + if (Array.isArray(callbacksConnectStates) && + callbacksConnectStates[0] && + typeof callbacksConnectStates[0] === "function") { + // Call the callback function with the received data + console.log(" -> Sending back data to callbackState...."); + callbacksConnectStates[0](state); + } + }); + } + sendCallbackErrors() { + // Iterate over all stored callback functions + Object.values(this.packetCallbackErrors).forEach((callbacksErrors) => { + console.log("Retrieve2 - Structure:", callbacksErrors); + if (Array.isArray(callbacksErrors) && + callbacksErrors[0] && + typeof callbacksErrors[0] === "function") { + // Call the callback function with the received data + console.log(" -> Sending back data to callbackError...."); + callbacksErrors[0](); + } + }); + } + handleMessage(event) { + // Close Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.closeTimerHandler !== undefined) + this.closeTimerHandler(); + } + // it can be a string like an array ?? + let find_real_string_buffer = false; + if (typeof event.data === "string") { + // Count the occurrences of commas + const numberOfCommas = (event.data.match(/,/g) || []).length; + if (numberOfCommas < 5) { + console.log("Received: '" + event.data + "'"); + // test pong received ? + if (event.data == "pong") { + this.is_pong_received = true; + console.log("Pong Received"); + } + find_real_string_buffer = true; + } + else + console.log("Received: a string buffer that matchs a binary one"); + } + if (!find_real_string_buffer) { + console.log(" -> Receiving data ....."); + // send Callback Status OK + this.sendCallbackConnectStates(true); + let decodedmessage = analyzePacket(event.data); + console.log(decodedmessage); + let result_data = JSON.parse(decodedmessage); + // Call the subscriber if found + let idCmd = ""; + if (result_data.cmd) { + idCmd = result_data.cmd; + console.log(`-> Sending back data for ${idCmd}`); + // Retrieve the callback functions associated with the idCmd + Object.entries(this.packetCallbackMessages).forEach(([sender, callbacksMessageInfo]) => { + // the special value "*" accepts all Cmd and will be transmited back + const callbacksMessageCmd = callbacksMessageInfo[idCmd] || callbacksMessageInfo["*"] || {}; + console.log("Retrieve - Structure:", callbacksMessageCmd); + if (Array.isArray(callbacksMessageCmd) && + callbacksMessageCmd[0] && + typeof callbacksMessageCmd[0] === "function") { + // Call the callback function with the received data + console.log(` -> Sending back data to callbackInfo.... for ${sender}`); + callbacksMessageCmd[0](sender, result_data); + } + }); + } + } + } + handleError(message) { + // Stop Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.onStopTimerHandler !== undefined) + this.onStopTimerHandler(); + } + // send Callback Status KO + this.sendCallbackConnectStates(false); + // send Callback Error + this.sendCallbackErrors(); + } + /** + * Handle close event of the socket connection with the Dwarf + * To call from a timeout function during the connection with the Dwarf + * @returns {Promise} + */ + handleClose(message) { + return __awaiter(this, void 0, void 0, function* () { + // Stop Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.onStopTimerHandler !== undefined) + this.onStopTimerHandler(); + } + // send Callback Status KO + this.sendCallbackConnectStates(false); + // send Callback Error + this.sendCallbackErrors(); + // Stop ping command + yield this.wait_ping_stop(); + }); + } + /** + * Force close the socket connection with the Dwarf + * @returns {Promise} + */ + close() { + return __awaiter(this, void 0, void 0, function* () { + // need closing socket if connected + if (this.socket && this.socket.readyState === WebSocket.OPEN) { + console.log("Websocket close"); + this.socket.close(1000, "Normal closure"); + yield sleep(1000); + } + if (this.socket && this.socket.readyState != WebSocket.CLOSED) { + // Socket still hangs, hard close + this.socket.close(1000, "Force close after timeout"); + console.log("Websocket force close"); + yield sleep(1000); + } + }); + } + /** + * cleanup function : Stop all the functions + * @param {boolean} forceStop ; if true do not try a reconnection, false by default + * @returns {Promise} + **/ + cleanup(forceStop = false) { + return __awaiter(this, void 0, void 0, function* () { + console.log("WebSocketHandler cleanup"); + if (forceStop) { + // send Callback Status KO + this.handleClose(); + console.error("WebSocketHandler Force Stop!"); + } + let continue_cleanup = true; + let needDisconnect = forceStop || !this.is_running; + let initial_running = this.is_running; + if (!forceStop && this.is_running) { + // need to verify if callback functions are still OK if running + let testCallbackMessages = Object.keys(this.packetCallbackMessages).length > 0; + let testCallbackConnectStates = Object.keys(this.packetCallbackConnectStates).length > 0; + let testCallbackErrors = Object.keys(this.packetCallbackErrors).length > 0; + if (testCallbackMessages != this.isCallbackMessages || + testCallbackConnectStates != this.isCallbackConnectStates || + testCallbackErrors != this.isCallbackErrors) { + needDisconnect = true; + console.log("WebSocketHandler need to be disconnect"); + } + } + if (this.closeSocketTimer !== undefined) + clearTimeout(this.closeSocketTimer); + this.is_stopping = true; + this.is_running = false; + console.log("WebSocketHandler close ping"); + yield this.wait_ping_stop(); + // Remove event listeners during cleanup + yield this.cleanup_socket(); + yield sleep(2000); + let stop_try_reconnect = false; + if (initial_running) { + console.log("WebSocketHandler max try connection: %d", this.nb_reconnect_default); + } + if (!needDisconnect && this.nb_reconnect > 0) { + this.is_running = initial_running; + this.nb_reconnect -= 1; + console.log("WebSocketHandler retry connection: %d", this.nb_reconnect_default - this.nb_reconnect); + continue_cleanup = false; + console.log("WebSocketHandler retry connection OK"); + if (this.callbackReconnectFunction) { + console.log("WebSocketHandler launch Reconnect function"); + this.callbackReconnectFunction(); + } + continue_cleanup = yield !this.run(); + } + if (continue_cleanup) { + this.handleClose(); + if (this.closeSocketTimer !== undefined) + clearTimeout(this.closeSocketTimer); + // delete CallbacksFunction + console.log("WebSocketHandler final closing functions"); + this.stopCallbacks("*"); + this.is_opened = false; + } + }); + } + cleanup_socket() { + return __awaiter(this, void 0, void 0, function* () { + // Remove event listeners during cleanup + if (this.socket) { + this.socket.onopen = null; + this.socket.onmessage = null; + this.socket.onerror = null; + this.socket.onclose = null; + this.socket = undefined; + } + }); + } +} +WebSocketHandler.instance = undefined; +/* + +// Example usage: + + const customMessageHandler = (txt_info, result_data) => { + if (result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO) { + setConnecting(false); + return true; + } else if ( + result_data.cmd == + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + ) { + setConnecting(false); + } else if ( + result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE + ) { + if (result_data.data.mode == 1) { + console.log("WARNING SLAVE MODE"); + setSlavemode(true); + } else { + console.log("OK : HOST MODE"); + setSlavemode(false); + } + return true; + } else { + logger("", result_data, connectionCtx); + } + logger(txt_info, result_data, connectionCtx); + }; + + const customErrorHandler = () => { + console.error("ConnectDwarf : Socket Close!"); + setConnecting(false); + setConnectionStatus(false); + }; + + const customStateHandler = (state) => { + setConnecting(false); + setConnectionStatus(false); + }; + + // Create WebSocketHandler if need + const webSocketHandler = new WebSocketHandler(IPDwarf); + + // Force IP + webSocketHandler.setIpDwarf(IPDwarf); + + webSocketHandler.closeTimerHandler = () => { + setConnecting(true); + }; + webSocketHandler.onStopTimerHandler = () => { + setConnecting(false); + }; + + // close socket is request takes too long + webSocketHandler.closeSocketTimer = setTimeout(() => { + webSocketHandler.handleClose(""); + console.log(" -> Close Timer....."); + setConnecting(false); + setConnectionStatus(false); + }, 5000); + + + // Send Commands : cmdCameraTeleGetSystemWorkingState + let WS_Packet = messageCameraTeleGetSystemWorkingState(); + let WS_Packet1 = messageCameraTeleOpenCamera(); + let WS_Packet2 = messageCameraWideOpenCamera(); + let txtInfoCommand = "Connection"; + + webSocketHandler.prepare( + [WS_Packet, WS_Packet1, WS_Packet2], + txtInfoCommand, + [ + "*", // Get All Data + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE, + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA, + ], + customMessageHandler, + customStateHandler, + customErrorHandler + ); + + if (!webSocketHandler.run()) { + console.error(" Can't launch Web Socket Run Action!"); + } + +*/ diff --git a/dist_js/index.html b/dist_js/index.html new file mode 100644 index 00000000..87012458 --- /dev/null +++ b/dist_js/index.html @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + diff --git a/dist_js/src/protobuf/minimal.js b/dist_js/src/protobuf/minimal.js new file mode 100644 index 00000000..d5163379 --- /dev/null +++ b/dist_js/src/protobuf/minimal.js @@ -0,0 +1,3 @@ +var $protobuf = protobuf; + +export default $protobuf; \ No newline at end of file diff --git a/dist_js/src/protobuf/protobuf.js b/dist_js/src/protobuf/protobuf.js new file mode 100644 index 00000000..e6bb7db8 --- /dev/null +++ b/dist_js/src/protobuf/protobuf.js @@ -0,0 +1,50858 @@ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +// @ts-nocheck +import $protobuf from "./minimal.js"; + +// Common aliases +var $Reader = $protobuf.Reader, + $Writer = $protobuf.Writer, + $util = $protobuf.util; + +// Exported root namespace +var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); + +$root.ReqStartCalibration = (function () { + /** + * Properties of a ReqStartCalibration. + * @exports IReqStartCalibration + * @interface IReqStartCalibration + */ + + /** + * Constructs a new ReqStartCalibration. + * @exports ReqStartCalibration + * @classdesc Represents a ReqStartCalibration. + * @implements IReqStartCalibration + * @constructor + * @param {IReqStartCalibration=} [properties] Properties to set + */ + function ReqStartCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartCalibration instance using the specified properties. + * @function create + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration=} [properties] Properties to set + * @returns {ReqStartCalibration} ReqStartCalibration instance + */ + ReqStartCalibration.create = function create(properties) { + return new ReqStartCalibration(properties); + }; + + /** + * Encodes the specified ReqStartCalibration message. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartCalibration message. + * @function verify + * @memberof ReqStartCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStartCalibration} ReqStartCalibration + */ + ReqStartCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartCalibration) return object; + return new $root.ReqStartCalibration(); + }; + + /** + * Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartCalibration + * @static + * @param {ReqStartCalibration} message ReqStartCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartCalibration.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartCalibration to JSON. + * @function toJSON + * @memberof ReqStartCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStartCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartCalibration + * @function getTypeUrl + * @memberof ReqStartCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartCalibration"; + }; + + return ReqStartCalibration; +})(); + +$root.ReqStopCalibration = (function () { + /** + * Properties of a ReqStopCalibration. + * @exports IReqStopCalibration + * @interface IReqStopCalibration + */ + + /** + * Constructs a new ReqStopCalibration. + * @exports ReqStopCalibration + * @classdesc Represents a ReqStopCalibration. + * @implements IReqStopCalibration + * @constructor + * @param {IReqStopCalibration=} [properties] Properties to set + */ + function ReqStopCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCalibration instance using the specified properties. + * @function create + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration=} [properties] Properties to set + * @returns {ReqStopCalibration} ReqStopCalibration instance + */ + ReqStopCalibration.create = function create(properties) { + return new ReqStopCalibration(properties); + }; + + /** + * Encodes the specified ReqStopCalibration message. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCalibration message. + * @function verify + * @memberof ReqStopCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCalibration} ReqStopCalibration + */ + ReqStopCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCalibration) return object; + return new $root.ReqStopCalibration(); + }; + + /** + * Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCalibration + * @static + * @param {ReqStopCalibration} message ReqStopCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCalibration.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCalibration to JSON. + * @function toJSON + * @memberof ReqStopCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStopCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCalibration + * @function getTypeUrl + * @memberof ReqStopCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCalibration"; + }; + + return ReqStopCalibration; +})(); + +$root.ReqGotoDSO = (function () { + /** + * Properties of a ReqGotoDSO. + * @exports IReqGotoDSO + * @interface IReqGotoDSO + * @property {number|null} [ra] ReqGotoDSO ra + * @property {number|null} [dec] ReqGotoDSO dec + * @property {string|null} [targetName] ReqGotoDSO targetName + */ + + /** + * Constructs a new ReqGotoDSO. + * @exports ReqGotoDSO + * @classdesc Represents a ReqGotoDSO. + * @implements IReqGotoDSO + * @constructor + * @param {IReqGotoDSO=} [properties] Properties to set + */ + function ReqGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGotoDSO ra. + * @member {number} ra + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.ra = 0; + + /** + * ReqGotoDSO dec. + * @member {number} dec + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.dec = 0; + + /** + * ReqGotoDSO targetName. + * @member {string} targetName + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.targetName = ""; + + /** + * Creates a new ReqGotoDSO instance using the specified properties. + * @function create + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO=} [properties] Properties to set + * @returns {ReqGotoDSO} ReqGotoDSO instance + */ + ReqGotoDSO.create = function create(properties) { + return new ReqGotoDSO(properties); + }; + + /** + * Encodes the specified ReqGotoDSO message. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGotoDSO message. + * @function verify + * @memberof ReqGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoDSO} ReqGotoDSO + */ + ReqGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoDSO) return object; + var message = new $root.ReqGotoDSO(); + if (object.ra != null) message.ra = Number(object.ra); + if (object.dec != null) message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoDSO + * @static + * @param {ReqGotoDSO} message ReqGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoDSO.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqGotoDSO to JSON. + * @function toJSON + * @memberof ReqGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGotoDSO + * @function getTypeUrl + * @memberof ReqGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoDSO"; + }; + + return ReqGotoDSO; +})(); + +$root.ReqGotoSolarSystem = (function () { + /** + * Properties of a ReqGotoSolarSystem. + * @exports IReqGotoSolarSystem + * @interface IReqGotoSolarSystem + * @property {number|null} [index] ReqGotoSolarSystem index + * @property {number|null} [lon] ReqGotoSolarSystem lon + * @property {number|null} [lat] ReqGotoSolarSystem lat + * @property {string|null} [targetName] ReqGotoSolarSystem targetName + */ + + /** + * Constructs a new ReqGotoSolarSystem. + * @exports ReqGotoSolarSystem + * @classdesc Represents a ReqGotoSolarSystem. + * @implements IReqGotoSolarSystem + * @constructor + * @param {IReqGotoSolarSystem=} [properties] Properties to set + */ + function ReqGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGotoSolarSystem index. + * @member {number} index + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.index = 0; + + /** + * ReqGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lon = 0; + + /** + * ReqGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lat = 0; + + /** + * ReqGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.targetName = ""; + + /** + * Creates a new ReqGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem=} [properties] Properties to set + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem instance + */ + ReqGotoSolarSystem.create = function create(properties) { + return new ReqGotoSolarSystem(properties); + }; + + /** + * Encodes the specified ReqGotoSolarSystem message. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGotoSolarSystem message. + * @function verify + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + */ + ReqGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoSolarSystem) return object; + var message = new $root.ReqGotoSolarSystem(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoSolarSystem + * @static + * @param {ReqGotoSolarSystem} message ReqGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGotoSolarSystem + * @function getTypeUrl + * @memberof ReqGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoSolarSystem"; + }; + + return ReqGotoSolarSystem; +})(); + +$root.ReqStopGoto = (function () { + /** + * Properties of a ReqStopGoto. + * @exports IReqStopGoto + * @interface IReqStopGoto + */ + + /** + * Constructs a new ReqStopGoto. + * @exports ReqStopGoto + * @classdesc Represents a ReqStopGoto. + * @implements IReqStopGoto + * @constructor + * @param {IReqStopGoto=} [properties] Properties to set + */ + function ReqStopGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopGoto instance using the specified properties. + * @function create + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto=} [properties] Properties to set + * @returns {ReqStopGoto} ReqStopGoto instance + */ + ReqStopGoto.create = function create(properties) { + return new ReqStopGoto(properties); + }; + + /** + * Encodes the specified ReqStopGoto message. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopGoto message, length delimited. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopGoto message. + * @function verify + * @memberof ReqStopGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopGoto} ReqStopGoto + */ + ReqStopGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopGoto) return object; + return new $root.ReqStopGoto(); + }; + + /** + * Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopGoto + * @static + * @param {ReqStopGoto} message ReqStopGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopGoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopGoto to JSON. + * @function toJSON + * @memberof ReqStopGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopGoto + * @function getTypeUrl + * @memberof ReqStopGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopGoto"; + }; + + return ReqStopGoto; +})(); + +$root.ReqCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureRawLiveStacking. + * @exports IReqCaptureRawLiveStacking + * @interface IReqCaptureRawLiveStacking + */ + + /** + * Constructs a new ReqCaptureRawLiveStacking. + * @exports ReqCaptureRawLiveStacking + * @classdesc Represents a ReqCaptureRawLiveStacking. + * @implements IReqCaptureRawLiveStacking + * @constructor + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking instance + */ + ReqCaptureRawLiveStacking.create = function create(properties) { + return new ReqCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureRawLiveStacking message. + * @function verify + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + */ + ReqCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureRawLiveStacking) return object; + return new $root.ReqCaptureRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {ReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureRawLiveStacking"; + }; + + return ReqCaptureRawLiveStacking; +})(); + +$root.ReqStopCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureRawLiveStacking. + * @exports IReqStopCaptureRawLiveStacking + * @interface IReqStopCaptureRawLiveStacking + */ + + /** + * Constructs a new ReqStopCaptureRawLiveStacking. + * @exports ReqStopCaptureRawLiveStacking + * @classdesc Represents a ReqStopCaptureRawLiveStacking. + * @implements IReqStopCaptureRawLiveStacking + * @constructor + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking instance + */ + ReqStopCaptureRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + */ + ReqStopCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureRawLiveStacking) return object; + return new $root.ReqStopCaptureRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {ReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureRawLiveStacking"; + }; + + return ReqStopCaptureRawLiveStacking; +})(); + +$root.ReqCheckDarkFrame = (function () { + /** + * Properties of a ReqCheckDarkFrame. + * @exports IReqCheckDarkFrame + * @interface IReqCheckDarkFrame + */ + + /** + * Constructs a new ReqCheckDarkFrame. + * @exports ReqCheckDarkFrame + * @classdesc Represents a ReqCheckDarkFrame. + * @implements IReqCheckDarkFrame + * @constructor + * @param {IReqCheckDarkFrame=} [properties] Properties to set + */ + function ReqCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame=} [properties] Properties to set + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame instance + */ + ReqCheckDarkFrame.create = function create(properties) { + return new ReqCheckDarkFrame(properties); + }; + + /** + * Encodes the specified ReqCheckDarkFrame message. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCheckDarkFrame message. + * @function verify + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + */ + ReqCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckDarkFrame) return object; + return new $root.ReqCheckDarkFrame(); + }; + + /** + * Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckDarkFrame + * @static + * @param {ReqCheckDarkFrame} message ReqCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckDarkFrame.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCheckDarkFrame to JSON. + * @function toJSON + * @memberof ReqCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCheckDarkFrame + * @function getTypeUrl + * @memberof ReqCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckDarkFrame"; + }; + + return ReqCheckDarkFrame; +})(); + +$root.ResCheckDarkFrame = (function () { + /** + * Properties of a ResCheckDarkFrame. + * @exports IResCheckDarkFrame + * @interface IResCheckDarkFrame + * @property {number|null} [progress] ResCheckDarkFrame progress + * @property {number|null} [code] ResCheckDarkFrame code + */ + + /** + * Constructs a new ResCheckDarkFrame. + * @exports ResCheckDarkFrame + * @classdesc Represents a ResCheckDarkFrame. + * @implements IResCheckDarkFrame + * @constructor + * @param {IResCheckDarkFrame=} [properties] Properties to set + */ + function ResCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCheckDarkFrame progress. + * @member {number} progress + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.progress = 0; + + /** + * ResCheckDarkFrame code. + * @member {number} code + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.code = 0; + + /** + * Creates a new ResCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame=} [properties] Properties to set + * @returns {ResCheckDarkFrame} ResCheckDarkFrame instance + */ + ResCheckDarkFrame.create = function create(properties) { + return new ResCheckDarkFrame(properties); + }; + + /** + * Encodes the specified ResCheckDarkFrame message. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.progress != null && + Object.hasOwnProperty.call(message, "progress") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCheckDarkFrame message. + * @function verify + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + */ + ResCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckDarkFrame) return object; + var message = new $root.ResCheckDarkFrame(); + if (object.progress != null) message.progress = object.progress | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckDarkFrame + * @static + * @param {ResCheckDarkFrame} message ResCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.code = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCheckDarkFrame to JSON. + * @function toJSON + * @memberof ResCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ResCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCheckDarkFrame + * @function getTypeUrl + * @memberof ResCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckDarkFrame"; + }; + + return ResCheckDarkFrame; +})(); + +$root.ReqCaptureDarkFrame = (function () { + /** + * Properties of a ReqCaptureDarkFrame. + * @exports IReqCaptureDarkFrame + * @interface IReqCaptureDarkFrame + * @property {number|null} [reshoot] ReqCaptureDarkFrame reshoot + */ + + /** + * Constructs a new ReqCaptureDarkFrame. + * @exports ReqCaptureDarkFrame + * @classdesc Represents a ReqCaptureDarkFrame. + * @implements IReqCaptureDarkFrame + * @constructor + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + */ + function ReqCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureDarkFrame reshoot. + * @member {number} reshoot + * @memberof ReqCaptureDarkFrame + * @instance + */ + ReqCaptureDarkFrame.prototype.reshoot = 0; + + /** + * Creates a new ReqCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame instance + */ + ReqCaptureDarkFrame.create = function create(properties) { + return new ReqCaptureDarkFrame(properties); + }; + + /** + * Encodes the specified ReqCaptureDarkFrame message. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.reshoot != null && + Object.hasOwnProperty.call(message, "reshoot") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.reshoot); + return writer; + }; + + /** + * Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.reshoot = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureDarkFrame message. + * @function verify + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + if (!$util.isInteger(message.reshoot)) return "reshoot: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + */ + ReqCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrame) return object; + var message = new $root.ReqCaptureDarkFrame(); + if (object.reshoot != null) message.reshoot = object.reshoot | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {ReqCaptureDarkFrame} message ReqCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.reshoot = 0; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + object.reshoot = message.reshoot; + return object; + }; + + /** + * Converts this ReqCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrame"; + }; + + return ReqCaptureDarkFrame; +})(); + +$root.ReqStopCaptureDarkFrame = (function () { + /** + * Properties of a ReqStopCaptureDarkFrame. + * @exports IReqStopCaptureDarkFrame + * @interface IReqStopCaptureDarkFrame + */ + + /** + * Constructs a new ReqStopCaptureDarkFrame. + * @exports ReqStopCaptureDarkFrame + * @classdesc Represents a ReqStopCaptureDarkFrame. + * @implements IReqStopCaptureDarkFrame + * @constructor + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame instance + */ + ReqStopCaptureDarkFrame.create = function create(properties) { + return new ReqStopCaptureDarkFrame(properties); + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureDarkFrame message. + * @function verify + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + */ + ReqStopCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrame) return object; + return new $root.ReqStopCaptureDarkFrame(); + }; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {ReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrame.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrame"; + }; + + return ReqStopCaptureDarkFrame; +})(); + +$root.ReqCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureDarkFrameWithParam. + * @exports IReqCaptureDarkFrameWithParam + * @interface IReqCaptureDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureDarkFrameWithParam capSize + */ + + /** + * Constructs a new ReqCaptureDarkFrameWithParam. + * @exports ReqCaptureDarkFrameWithParam + * @classdesc Represents a ReqCaptureDarkFrameWithParam. + * @implements IReqCaptureDarkFrameWithParam + * @constructor + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.expIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.gainIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.binIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.capSize = 0; + + /** + * Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam instance + */ + ReqCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.capSize != null && + Object.hasOwnProperty.call(message, "capSize") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) return "capSize: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + */ + ReqCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrameWithParam) return object; + var message = new $root.ReqCaptureDarkFrameWithParam(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.capSize != null) message.capSize = object.capSize | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {ReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrameWithParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + + /** + * Converts this ReqCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrameWithParam"; + }; + + return ReqCaptureDarkFrameWithParam; +})(); + +$root.ReqStopCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureDarkFrameWithParam. + * @exports IReqStopCaptureDarkFrameWithParam + * @interface IReqStopCaptureDarkFrameWithParam + */ + + /** + * Constructs a new ReqStopCaptureDarkFrameWithParam. + * @exports ReqStopCaptureDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureDarkFrameWithParam. + * @implements IReqStopCaptureDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam instance + */ + ReqStopCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + */ + ReqStopCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrameWithParam) return object; + return new $root.ReqStopCaptureDarkFrameWithParam(); + }; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {ReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrameWithParam"; + }; + + return ReqStopCaptureDarkFrameWithParam; +})(); + +$root.ReqGetDarkFrameList = (function () { + /** + * Properties of a ReqGetDarkFrameList. + * @exports IReqGetDarkFrameList + * @interface IReqGetDarkFrameList + */ + + /** + * Constructs a new ReqGetDarkFrameList. + * @exports ReqGetDarkFrameList + * @classdesc Represents a ReqGetDarkFrameList. + * @implements IReqGetDarkFrameList + * @constructor + * @param {IReqGetDarkFrameList=} [properties] Properties to set + */ + function ReqGetDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList=} [properties] Properties to set + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList instance + */ + ReqGetDarkFrameList.create = function create(properties) { + return new ReqGetDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqGetDarkFrameList message. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetDarkFrameList message. + * @function verify + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + */ + ReqGetDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDarkFrameList) return object; + return new $root.ReqGetDarkFrameList(); + }; + + /** + * Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDarkFrameList + * @static + * @param {ReqGetDarkFrameList} message ReqGetDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDarkFrameList.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetDarkFrameList + * @function getTypeUrl + * @memberof ReqGetDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDarkFrameList"; + }; + + return ReqGetDarkFrameList; +})(); + +$root.ResGetDarkFrameInfo = (function () { + /** + * Properties of a ResGetDarkFrameInfo. + * @exports IResGetDarkFrameInfo + * @interface IResGetDarkFrameInfo + * @property {number|null} [expIndex] ResGetDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetDarkFrameInfo expName + * @property {string|null} [gainName] ResGetDarkFrameInfo gainName + * @property {string|null} [binName] ResGetDarkFrameInfo binName + * @property {number|null} [temperature] ResGetDarkFrameInfo temperature + */ + + /** + * Constructs a new ResGetDarkFrameInfo. + * @exports ResGetDarkFrameInfo + * @classdesc Represents a ResGetDarkFrameInfo. + * @implements IResGetDarkFrameInfo + * @constructor + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + */ + function ResGetDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expIndex = 0; + + /** + * ResGetDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainIndex = 0; + + /** + * ResGetDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binIndex = 0; + + /** + * ResGetDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expName = ""; + + /** + * ResGetDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainName = ""; + + /** + * ResGetDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binName = ""; + + /** + * ResGetDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.temperature = 0; + + /** + * Creates a new ResGetDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo instance + */ + ResGetDarkFrameInfo.create = function create(properties) { + return new ResGetDarkFrameInfo(properties); + }; + + /** + * Encodes the specified ResGetDarkFrameInfo message. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.expName != null && + Object.hasOwnProperty.call(message, "expName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if ( + message.gainName != null && + Object.hasOwnProperty.call(message, "gainName") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if ( + message.binName != null && + Object.hasOwnProperty.call(message, "binName") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetDarkFrameInfo message. + * @function verify + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + */ + ResGetDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfo) return object; + var message = new $root.ResGetDarkFrameInfo(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.expName != null) message.expName = String(object.expName); + if (object.gainName != null) message.gainName = String(object.gainName); + if (object.binName != null) message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {ResGetDarkFrameInfo} message ResGetDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResGetDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfo"; + }; + + return ResGetDarkFrameInfo; +})(); + +$root.ResGetDarkFrameInfoList = (function () { + /** + * Properties of a ResGetDarkFrameInfoList. + * @exports IResGetDarkFrameInfoList + * @interface IResGetDarkFrameInfoList + * @property {number|null} [code] ResGetDarkFrameInfoList code + * @property {Array.|null} [results] ResGetDarkFrameInfoList results + */ + + /** + * Constructs a new ResGetDarkFrameInfoList. + * @exports ResGetDarkFrameInfoList + * @classdesc Represents a ResGetDarkFrameInfoList. + * @implements IResGetDarkFrameInfoList + * @constructor + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.code = 0; + + /** + * ResGetDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.results = $util.emptyArray; + + /** + * Creates a new ResGetDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList instance + */ + ResGetDarkFrameInfoList.create = function create(properties) { + return new ResGetDarkFrameInfoList(properties); + }; + + /** + * Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode( + message.results[i], + writer.uint32(/* id 2, wireType 2 =*/ 18).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push( + $root.ResGetDarkFrameInfo.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetDarkFrameInfoList message. + * @function verify + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) return "results." + error; + } + } + return null; + }; + + /** + * Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + */ + ResGetDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfoList) return object; + var message = new $root.ResGetDarkFrameInfoList(); + if (object.code != null) message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError(".ResGetDarkFrameInfoList.results: object expected"); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject( + object.results[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {ResGetDarkFrameInfoList} message ResGetDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.results = []; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject( + message.results[j], + options + ); + } + return object; + }; + + /** + * Converts this ResGetDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfoList"; + }; + + return ResGetDarkFrameInfoList; +})(); + +$root.ReqDelDarkFrame = (function () { + /** + * Properties of a ReqDelDarkFrame. + * @exports IReqDelDarkFrame + * @interface IReqDelDarkFrame + * @property {number|null} [expIndex] ReqDelDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelDarkFrame binIndex + */ + + /** + * Constructs a new ReqDelDarkFrame. + * @exports ReqDelDarkFrame + * @classdesc Represents a ReqDelDarkFrame. + * @implements IReqDelDarkFrame + * @constructor + * @param {IReqDelDarkFrame=} [properties] Properties to set + */ + function ReqDelDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.expIndex = 0; + + /** + * ReqDelDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.gainIndex = 0; + + /** + * ReqDelDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.binIndex = 0; + + /** + * Creates a new ReqDelDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame=} [properties] Properties to set + * @returns {ReqDelDarkFrame} ReqDelDarkFrame instance + */ + ReqDelDarkFrame.create = function create(properties) { + return new ReqDelDarkFrame(properties); + }; + + /** + * Encodes the specified ReqDelDarkFrame message. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + + /** + * Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelDarkFrame message. + * @function verify + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + + /** + * Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + */ + ReqDelDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrame) return object; + var message = new $root.ReqDelDarkFrame(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrame + * @static + * @param {ReqDelDarkFrame} message ReqDelDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + + /** + * Converts this ReqDelDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelDarkFrame + * @function getTypeUrl + * @memberof ReqDelDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrame"; + }; + + return ReqDelDarkFrame; +})(); + +$root.ReqDelDarkFrameList = (function () { + /** + * Properties of a ReqDelDarkFrameList. + * @exports IReqDelDarkFrameList + * @interface IReqDelDarkFrameList + * @property {Array.|null} [darkList] ReqDelDarkFrameList darkList + */ + + /** + * Constructs a new ReqDelDarkFrameList. + * @exports ReqDelDarkFrameList + * @classdesc Represents a ReqDelDarkFrameList. + * @implements IReqDelDarkFrameList + * @constructor + * @param {IReqDelDarkFrameList=} [properties] Properties to set + */ + function ReqDelDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelDarkFrameList + * @instance + */ + ReqDelDarkFrameList.prototype.darkList = $util.emptyArray; + + /** + * Creates a new ReqDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList=} [properties] Properties to set + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList instance + */ + ReqDelDarkFrameList.create = function create(properties) { + return new ReqDelDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqDelDarkFrameList message. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode( + message.darkList[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push( + $root.ReqDelDarkFrame.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelDarkFrameList message. + * @function verify + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) return "darkList." + error; + } + } + return null; + }; + + /** + * Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + */ + ReqDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrameList) return object; + var message = new $root.ReqDelDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject( + object.darkList[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrameList + * @static + * @param {ReqDelDarkFrameList} message ReqDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject( + message.darkList[j], + options + ); + } + return object; + }; + + /** + * Converts this ReqDelDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelDarkFrameList + * @function getTypeUrl + * @memberof ReqDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrameList"; + }; + + return ReqDelDarkFrameList; +})(); + +$root.ResDelDarkFrameList = (function () { + /** + * Properties of a ResDelDarkFrameList. + * @exports IResDelDarkFrameList + * @interface IResDelDarkFrameList + * @property {number|null} [code] ResDelDarkFrameList code + */ + + /** + * Constructs a new ResDelDarkFrameList. + * @exports ResDelDarkFrameList + * @classdesc Represents a ResDelDarkFrameList. + * @implements IResDelDarkFrameList + * @constructor + * @param {IResDelDarkFrameList=} [properties] Properties to set + */ + function ResDelDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDelDarkFrameList code. + * @member {number} code + * @memberof ResDelDarkFrameList + * @instance + */ + ResDelDarkFrameList.prototype.code = 0; + + /** + * Creates a new ResDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList=} [properties] Properties to set + * @returns {ResDelDarkFrameList} ResDelDarkFrameList instance + */ + ResDelDarkFrameList.create = function create(properties) { + return new ResDelDarkFrameList(properties); + }; + + /** + * Encodes the specified ResDelDarkFrameList message. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDelDarkFrameList message. + * @function verify + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + */ + ResDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelDarkFrameList) return object; + var message = new $root.ResDelDarkFrameList(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelDarkFrameList + * @static + * @param {ResDelDarkFrameList} message ResDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDelDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDelDarkFrameList + * @function getTypeUrl + * @memberof ResDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelDarkFrameList"; + }; + + return ResDelDarkFrameList; +})(); + +$root.ReqGoLive = (function () { + /** + * Properties of a ReqGoLive. + * @exports IReqGoLive + * @interface IReqGoLive + */ + + /** + * Constructs a new ReqGoLive. + * @exports ReqGoLive + * @classdesc Represents a ReqGoLive. + * @implements IReqGoLive + * @constructor + * @param {IReqGoLive=} [properties] Properties to set + */ + function ReqGoLive(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGoLive instance using the specified properties. + * @function create + * @memberof ReqGoLive + * @static + * @param {IReqGoLive=} [properties] Properties to set + * @returns {ReqGoLive} ReqGoLive instance + */ + ReqGoLive.create = function create(properties) { + return new ReqGoLive(properties); + }; + + /** + * Encodes the specified ReqGoLive message. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encode + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGoLive message, length delimited. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer. + * @function decode + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGoLive(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGoLive message. + * @function verify + * @memberof ReqGoLive + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGoLive.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGoLive + * @static + * @param {Object.} object Plain object + * @returns {ReqGoLive} ReqGoLive + */ + ReqGoLive.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGoLive) return object; + return new $root.ReqGoLive(); + }; + + /** + * Creates a plain object from a ReqGoLive message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGoLive + * @static + * @param {ReqGoLive} message ReqGoLive + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGoLive.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGoLive to JSON. + * @function toJSON + * @memberof ReqGoLive + * @instance + * @returns {Object.} JSON object + */ + ReqGoLive.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGoLive + * @function getTypeUrl + * @memberof ReqGoLive + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGoLive.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGoLive"; + }; + + return ReqGoLive; +})(); + +$root.ReqTrackSpecialTarget = (function () { + /** + * Properties of a ReqTrackSpecialTarget. + * @exports IReqTrackSpecialTarget + * @interface IReqTrackSpecialTarget + * @property {number|null} [index] ReqTrackSpecialTarget index + * @property {number|null} [lon] ReqTrackSpecialTarget lon + * @property {number|null} [lat] ReqTrackSpecialTarget lat + */ + + /** + * Constructs a new ReqTrackSpecialTarget. + * @exports ReqTrackSpecialTarget + * @classdesc Represents a ReqTrackSpecialTarget. + * @implements IReqTrackSpecialTarget + * @constructor + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + */ + function ReqTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqTrackSpecialTarget index. + * @member {number} index + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.index = 0; + + /** + * ReqTrackSpecialTarget lon. + * @member {number} lon + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lon = 0; + + /** + * ReqTrackSpecialTarget lat. + * @member {number} lat + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lat = 0; + + /** + * Creates a new ReqTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget instance + */ + ReqTrackSpecialTarget.create = function create(properties) { + return new ReqTrackSpecialTarget(properties); + }; + + /** + * Encodes the specified ReqTrackSpecialTarget message. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + return writer; + }; + + /** + * Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqTrackSpecialTarget message. + * @function verify + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + return null; + }; + + /** + * Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + */ + ReqTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqTrackSpecialTarget) return object; + var message = new $root.ReqTrackSpecialTarget(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + return message; + }; + + /** + * Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {ReqTrackSpecialTarget} message ReqTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqTrackSpecialTarget.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + + /** + * Converts this ReqTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqTrackSpecialTarget"; + }; + + return ReqTrackSpecialTarget; +})(); + +$root.ReqStopTrackSpecialTarget = (function () { + /** + * Properties of a ReqStopTrackSpecialTarget. + * @exports IReqStopTrackSpecialTarget + * @interface IReqStopTrackSpecialTarget + */ + + /** + * Constructs a new ReqStopTrackSpecialTarget. + * @exports ReqStopTrackSpecialTarget + * @classdesc Represents a ReqStopTrackSpecialTarget. + * @implements IReqStopTrackSpecialTarget + * @constructor + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + */ + function ReqStopTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget instance + */ + ReqStopTrackSpecialTarget.create = function create(properties) { + return new ReqStopTrackSpecialTarget(properties); + }; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTrackSpecialTarget message. + * @function verify + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + */ + ReqStopTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrackSpecialTarget) return object; + return new $root.ReqStopTrackSpecialTarget(); + }; + + /** + * Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {ReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrackSpecialTarget.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqStopTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrackSpecialTarget"; + }; + + return ReqStopTrackSpecialTarget; +})(); + +$root.ReqOneClickGotoDSO = (function () { + /** + * Properties of a ReqOneClickGotoDSO. + * @exports IReqOneClickGotoDSO + * @interface IReqOneClickGotoDSO + * @property {number|null} [ra] ReqOneClickGotoDSO ra + * @property {number|null} [dec] ReqOneClickGotoDSO dec + * @property {string|null} [targetName] ReqOneClickGotoDSO targetName + */ + + /** + * Constructs a new ReqOneClickGotoDSO. + * @exports ReqOneClickGotoDSO + * @classdesc Represents a ReqOneClickGotoDSO. + * @implements IReqOneClickGotoDSO + * @constructor + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + */ + function ReqOneClickGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOneClickGotoDSO ra. + * @member {number} ra + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.ra = 0; + + /** + * ReqOneClickGotoDSO dec. + * @member {number} dec + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.dec = 0; + + /** + * ReqOneClickGotoDSO targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.targetName = ""; + + /** + * Creates a new ReqOneClickGotoDSO instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO instance + */ + ReqOneClickGotoDSO.create = function create(properties) { + return new ReqOneClickGotoDSO(properties); + }; + + /** + * Encodes the specified ReqOneClickGotoDSO message. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOneClickGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOneClickGotoDSO message. + * @function verify + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + */ + ReqOneClickGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoDSO) return object; + var message = new $root.ReqOneClickGotoDSO(); + if (object.ra != null) message.ra = Number(object.ra); + if (object.dec != null) message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {ReqOneClickGotoDSO} message ReqOneClickGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoDSO.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqOneClickGotoDSO to JSON. + * @function toJSON + * @memberof ReqOneClickGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOneClickGotoDSO + * @function getTypeUrl + * @memberof ReqOneClickGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoDSO"; + }; + + return ReqOneClickGotoDSO; +})(); + +$root.ReqOneClickGotoSolarSystem = (function () { + /** + * Properties of a ReqOneClickGotoSolarSystem. + * @exports IReqOneClickGotoSolarSystem + * @interface IReqOneClickGotoSolarSystem + * @property {number|null} [index] ReqOneClickGotoSolarSystem index + * @property {number|null} [lon] ReqOneClickGotoSolarSystem lon + * @property {number|null} [lat] ReqOneClickGotoSolarSystem lat + * @property {string|null} [targetName] ReqOneClickGotoSolarSystem targetName + */ + + /** + * Constructs a new ReqOneClickGotoSolarSystem. + * @exports ReqOneClickGotoSolarSystem + * @classdesc Represents a ReqOneClickGotoSolarSystem. + * @implements IReqOneClickGotoSolarSystem + * @constructor + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + */ + function ReqOneClickGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOneClickGotoSolarSystem index. + * @member {number} index + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.index = 0; + + /** + * ReqOneClickGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lon = 0; + + /** + * ReqOneClickGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lat = 0; + + /** + * ReqOneClickGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.targetName = ""; + + /** + * Creates a new ReqOneClickGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem instance + */ + ReqOneClickGotoSolarSystem.create = function create(properties) { + return new ReqOneClickGotoSolarSystem(properties); + }; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOneClickGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOneClickGotoSolarSystem message. + * @function verify + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + */ + ReqOneClickGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoSolarSystem) return object; + var message = new $root.ReqOneClickGotoSolarSystem(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {ReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqOneClickGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqOneClickGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOneClickGotoSolarSystem + * @function getTypeUrl + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoSolarSystem"; + }; + + return ReqOneClickGotoSolarSystem; +})(); + +$root.ResOneClickGoto = (function () { + /** + * Properties of a ResOneClickGoto. + * @exports IResOneClickGoto + * @interface IResOneClickGoto + * @property {number|null} [step] ResOneClickGoto step + * @property {number|null} [code] ResOneClickGoto code + * @property {boolean|null} [allEnd] ResOneClickGoto allEnd + */ + + /** + * Constructs a new ResOneClickGoto. + * @exports ResOneClickGoto + * @classdesc Represents a ResOneClickGoto. + * @implements IResOneClickGoto + * @constructor + * @param {IResOneClickGoto=} [properties] Properties to set + */ + function ResOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResOneClickGoto step. + * @member {number} step + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.step = 0; + + /** + * ResOneClickGoto code. + * @member {number} code + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.code = 0; + + /** + * ResOneClickGoto allEnd. + * @member {boolean} allEnd + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.allEnd = false; + + /** + * Creates a new ResOneClickGoto instance using the specified properties. + * @function create + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto=} [properties] Properties to set + * @returns {ResOneClickGoto} ResOneClickGoto instance + */ + ResOneClickGoto.create = function create(properties) { + return new ResOneClickGoto(properties); + }; + + /** + * Encodes the specified ResOneClickGoto message. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.allEnd != null && Object.hasOwnProperty.call(message, "allEnd")) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.allEnd); + return writer; + }; + + /** + * Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.allEnd = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResOneClickGoto message. + * @function verify + * @memberof ResOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) return "step: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + if (typeof message.allEnd !== "boolean") + return "allEnd: boolean expected"; + return null; + }; + + /** + * Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ResOneClickGoto} ResOneClickGoto + */ + ResOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResOneClickGoto) return object; + var message = new $root.ResOneClickGoto(); + if (object.step != null) message.step = object.step | 0; + if (object.code != null) message.code = object.code | 0; + if (object.allEnd != null) message.allEnd = Boolean(object.allEnd); + return message; + }; + + /** + * Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResOneClickGoto + * @static + * @param {ResOneClickGoto} message ResOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResOneClickGoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.step = 0; + object.code = 0; + object.allEnd = false; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + object.allEnd = message.allEnd; + return object; + }; + + /** + * Converts this ResOneClickGoto to JSON. + * @function toJSON + * @memberof ResOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ResOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResOneClickGoto + * @function getTypeUrl + * @memberof ResOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResOneClickGoto"; + }; + + return ResOneClickGoto; +})(); + +$root.ReqStopOneClickGoto = (function () { + /** + * Properties of a ReqStopOneClickGoto. + * @exports IReqStopOneClickGoto + * @interface IReqStopOneClickGoto + */ + + /** + * Constructs a new ReqStopOneClickGoto. + * @exports ReqStopOneClickGoto + * @classdesc Represents a ReqStopOneClickGoto. + * @implements IReqStopOneClickGoto + * @constructor + * @param {IReqStopOneClickGoto=} [properties] Properties to set + */ + function ReqStopOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopOneClickGoto instance using the specified properties. + * @function create + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto=} [properties] Properties to set + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto instance + */ + ReqStopOneClickGoto.create = function create(properties) { + return new ReqStopOneClickGoto(properties); + }; + + /** + * Encodes the specified ReqStopOneClickGoto message. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopOneClickGoto message. + * @function verify + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + */ + ReqStopOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopOneClickGoto) return object; + return new $root.ReqStopOneClickGoto(); + }; + + /** + * Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopOneClickGoto + * @static + * @param {ReqStopOneClickGoto} message ReqStopOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopOneClickGoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopOneClickGoto to JSON. + * @function toJSON + * @memberof ReqStopOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopOneClickGoto + * @function getTypeUrl + * @memberof ReqStopOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopOneClickGoto"; + }; + + return ReqStopOneClickGoto; +})(); + +$root.ReqCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureWideRawLiveStacking. + * @exports IReqCaptureWideRawLiveStacking + * @interface IReqCaptureWideRawLiveStacking + */ + + /** + * Constructs a new ReqCaptureWideRawLiveStacking. + * @exports ReqCaptureWideRawLiveStacking + * @classdesc Represents a ReqCaptureWideRawLiveStacking. + * @implements IReqCaptureWideRawLiveStacking + * @constructor + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking instance + */ + ReqCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqCaptureWideRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + */ + ReqCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideRawLiveStacking) return object; + return new $root.ReqCaptureWideRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {ReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideRawLiveStacking"; + }; + + return ReqCaptureWideRawLiveStacking; +})(); + +$root.ReqStopCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureWideRawLiveStacking. + * @exports IReqStopCaptureWideRawLiveStacking + * @interface IReqStopCaptureWideRawLiveStacking + */ + + /** + * Constructs a new ReqStopCaptureWideRawLiveStacking. + * @exports ReqStopCaptureWideRawLiveStacking + * @classdesc Represents a ReqStopCaptureWideRawLiveStacking. + * @implements IReqStopCaptureWideRawLiveStacking + * @constructor + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking instance + */ + ReqStopCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureWideRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + */ + ReqStopCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureWideRawLiveStacking) + return object; + return new $root.ReqStopCaptureWideRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {ReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideRawLiveStacking"; + }; + + return ReqStopCaptureWideRawLiveStacking; +})(); + +$root.ReqStartEqSolving = (function () { + /** + * Properties of a ReqStartEqSolving. + * @exports IReqStartEqSolving + * @interface IReqStartEqSolving + * @property {number|null} [lon] ReqStartEqSolving lon + * @property {number|null} [lat] ReqStartEqSolving lat + */ + + /** + * Constructs a new ReqStartEqSolving. + * @exports ReqStartEqSolving + * @classdesc Represents a ReqStartEqSolving. + * @implements IReqStartEqSolving + * @constructor + * @param {IReqStartEqSolving=} [properties] Properties to set + */ + function ReqStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartEqSolving lon. + * @member {number} lon + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lon = 0; + + /** + * ReqStartEqSolving lat. + * @member {number} lat + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lat = 0; + + /** + * Creates a new ReqStartEqSolving instance using the specified properties. + * @function create + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving=} [properties] Properties to set + * @returns {ReqStartEqSolving} ReqStartEqSolving instance + */ + ReqStartEqSolving.create = function create(properties) { + return new ReqStartEqSolving(properties); + }; + + /** + * Encodes the specified ReqStartEqSolving message. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lat); + return writer; + }; + + /** + * Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lon = reader.double(); + break; + } + case 2: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartEqSolving message. + * @function verify + * @memberof ReqStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + return null; + }; + + /** + * Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStartEqSolving} ReqStartEqSolving + */ + ReqStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartEqSolving) return object; + var message = new $root.ReqStartEqSolving(); + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + return message; + }; + + /** + * Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartEqSolving + * @static + * @param {ReqStartEqSolving} message ReqStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartEqSolving.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.lon = 0; + object.lat = 0; + } + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + + /** + * Converts this ReqStartEqSolving to JSON. + * @function toJSON + * @memberof ReqStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartEqSolving + * @function getTypeUrl + * @memberof ReqStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartEqSolving"; + }; + + return ReqStartEqSolving; +})(); + +$root.ResStartEqSolving = (function () { + /** + * Properties of a ResStartEqSolving. + * @exports IResStartEqSolving + * @interface IResStartEqSolving + * @property {number|null} [aziErr] ResStartEqSolving aziErr + * @property {number|null} [altErr] ResStartEqSolving altErr + * @property {number|null} [code] ResStartEqSolving code + */ + + /** + * Constructs a new ResStartEqSolving. + * @exports ResStartEqSolving + * @classdesc Represents a ResStartEqSolving. + * @implements IResStartEqSolving + * @constructor + * @param {IResStartEqSolving=} [properties] Properties to set + */ + function ResStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResStartEqSolving aziErr. + * @member {number} aziErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.aziErr = 0; + + /** + * ResStartEqSolving altErr. + * @member {number} altErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.altErr = 0; + + /** + * ResStartEqSolving code. + * @member {number} code + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.code = 0; + + /** + * Creates a new ResStartEqSolving instance using the specified properties. + * @function create + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving=} [properties] Properties to set + * @returns {ResStartEqSolving} ResStartEqSolving instance + */ + ResStartEqSolving.create = function create(properties) { + return new ResStartEqSolving(properties); + }; + + /** + * Encodes the specified ResStartEqSolving message. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.aziErr != null && Object.hasOwnProperty.call(message, "aziErr")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.aziErr); + if (message.altErr != null && Object.hasOwnProperty.call(message, "altErr")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.altErr); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.aziErr = reader.double(); + break; + } + case 2: { + message.altErr = reader.double(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResStartEqSolving message. + * @function verify + * @memberof ResStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + if (typeof message.aziErr !== "number") return "aziErr: number expected"; + if (message.altErr != null && message.hasOwnProperty("altErr")) + if (typeof message.altErr !== "number") return "altErr: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ResStartEqSolving} ResStartEqSolving + */ + ResStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ResStartEqSolving) return object; + var message = new $root.ResStartEqSolving(); + if (object.aziErr != null) message.aziErr = Number(object.aziErr); + if (object.altErr != null) message.altErr = Number(object.altErr); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ResStartEqSolving + * @static + * @param {ResStartEqSolving} message ResStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResStartEqSolving.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.aziErr = 0; + object.altErr = 0; + object.code = 0; + } + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + object.aziErr = + options.json && !isFinite(message.aziErr) + ? String(message.aziErr) + : message.aziErr; + if (message.altErr != null && message.hasOwnProperty("altErr")) + object.altErr = + options.json && !isFinite(message.altErr) + ? String(message.altErr) + : message.altErr; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResStartEqSolving to JSON. + * @function toJSON + * @memberof ResStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ResStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResStartEqSolving + * @function getTypeUrl + * @memberof ResStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResStartEqSolving"; + }; + + return ResStartEqSolving; +})(); + +$root.ReqStopEqSolving = (function () { + /** + * Properties of a ReqStopEqSolving. + * @exports IReqStopEqSolving + * @interface IReqStopEqSolving + */ + + /** + * Constructs a new ReqStopEqSolving. + * @exports ReqStopEqSolving + * @classdesc Represents a ReqStopEqSolving. + * @implements IReqStopEqSolving + * @constructor + * @param {IReqStopEqSolving=} [properties] Properties to set + */ + function ReqStopEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopEqSolving instance using the specified properties. + * @function create + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving=} [properties] Properties to set + * @returns {ReqStopEqSolving} ReqStopEqSolving instance + */ + ReqStopEqSolving.create = function create(properties) { + return new ReqStopEqSolving(properties); + }; + + /** + * Encodes the specified ReqStopEqSolving message. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopEqSolving message. + * @function verify + * @memberof ReqStopEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStopEqSolving} ReqStopEqSolving + */ + ReqStopEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopEqSolving) return object; + return new $root.ReqStopEqSolving(); + }; + + /** + * Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopEqSolving + * @static + * @param {ReqStopEqSolving} message ReqStopEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopEqSolving.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopEqSolving to JSON. + * @function toJSON + * @memberof ReqStopEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStopEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopEqSolving + * @function getTypeUrl + * @memberof ReqStopEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopEqSolving"; + }; + + return ReqStopEqSolving; +})(); + +$root.ReqCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureWideDarkFrameWithParam. + * @exports IReqCaptureWideDarkFrameWithParam + * @interface IReqCaptureWideDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureWideDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureWideDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureWideDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureWideDarkFrameWithParam capSize + */ + + /** + * Constructs a new ReqCaptureWideDarkFrameWithParam. + * @exports ReqCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqCaptureWideDarkFrameWithParam. + * @implements IReqCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureWideDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.expIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.gainIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.binIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.capSize = 0; + + /** + * Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam instance + */ + ReqCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureWideDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.capSize != null && + Object.hasOwnProperty.call(message, "capSize") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) return "capSize: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + */ + ReqCaptureWideDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideDarkFrameWithParam) return object; + var message = new $root.ReqCaptureWideDarkFrameWithParam(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.capSize != null) message.capSize = object.capSize | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {ReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideDarkFrameWithParam.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + + /** + * Converts this ReqCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideDarkFrameWithParam"; + }; + + return ReqCaptureWideDarkFrameWithParam; +})(); + +$root.ReqStopCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureWideDarkFrameWithParam. + * @exports IReqStopCaptureWideDarkFrameWithParam + * @interface IReqStopCaptureWideDarkFrameWithParam + */ + + /** + * Constructs a new ReqStopCaptureWideDarkFrameWithParam. + * @exports ReqStopCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureWideDarkFrameWithParam. + * @implements IReqStopCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam instance + */ + ReqStopCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureWideDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + */ + ReqStopCaptureWideDarkFrameWithParam.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ReqStopCaptureWideDarkFrameWithParam) + return object; + return new $root.ReqStopCaptureWideDarkFrameWithParam(); + }; + + /** + * Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {ReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideDarkFrameWithParam"; + }; + + return ReqStopCaptureWideDarkFrameWithParam; +})(); + +$root.ReqGetWideDarkFrameList = (function () { + /** + * Properties of a ReqGetWideDarkFrameList. + * @exports IReqGetWideDarkFrameList + * @interface IReqGetWideDarkFrameList + */ + + /** + * Constructs a new ReqGetWideDarkFrameList. + * @exports ReqGetWideDarkFrameList + * @classdesc Represents a ReqGetWideDarkFrameList. + * @implements IReqGetWideDarkFrameList + * @constructor + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + */ + function ReqGetWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList instance + */ + ReqGetWideDarkFrameList.create = function create(properties) { + return new ReqGetWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWideDarkFrameList message. + * @function verify + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + */ + ReqGetWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWideDarkFrameList) return object; + return new $root.ReqGetWideDarkFrameList(); + }; + + /** + * Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {ReqGetWideDarkFrameList} message ReqGetWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWideDarkFrameList.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWideDarkFrameList + * @function getTypeUrl + * @memberof ReqGetWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWideDarkFrameList"; + }; + + return ReqGetWideDarkFrameList; +})(); + +$root.ResGetWideDarkFrameInfo = (function () { + /** + * Properties of a ResGetWideDarkFrameInfo. + * @exports IResGetWideDarkFrameInfo + * @interface IResGetWideDarkFrameInfo + * @property {number|null} [expIndex] ResGetWideDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetWideDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetWideDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetWideDarkFrameInfo expName + * @property {string|null} [gainName] ResGetWideDarkFrameInfo gainName + * @property {string|null} [binName] ResGetWideDarkFrameInfo binName + * @property {number|null} [temperature] ResGetWideDarkFrameInfo temperature + */ + + /** + * Constructs a new ResGetWideDarkFrameInfo. + * @exports ResGetWideDarkFrameInfo + * @classdesc Represents a ResGetWideDarkFrameInfo. + * @implements IResGetWideDarkFrameInfo + * @constructor + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetWideDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expIndex = 0; + + /** + * ResGetWideDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainIndex = 0; + + /** + * ResGetWideDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binIndex = 0; + + /** + * ResGetWideDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expName = ""; + + /** + * ResGetWideDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainName = ""; + + /** + * ResGetWideDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binName = ""; + + /** + * ResGetWideDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.temperature = 0; + + /** + * Creates a new ResGetWideDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo instance + */ + ResGetWideDarkFrameInfo.create = function create(properties) { + return new ResGetWideDarkFrameInfo(properties); + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.expName != null && + Object.hasOwnProperty.call(message, "expName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if ( + message.gainName != null && + Object.hasOwnProperty.call(message, "gainName") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if ( + message.binName != null && + Object.hasOwnProperty.call(message, "binName") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetWideDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetWideDarkFrameInfo message. + * @function verify + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + */ + ResGetWideDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfo) return object; + var message = new $root.ResGetWideDarkFrameInfo(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.expName != null) message.expName = String(object.expName); + if (object.gainName != null) message.gainName = String(object.gainName); + if (object.binName != null) message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {ResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResGetWideDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfo"; + }; + + return ResGetWideDarkFrameInfo; +})(); + +$root.ResGetWideDarkFrameInfoList = (function () { + /** + * Properties of a ResGetWideDarkFrameInfoList. + * @exports IResGetWideDarkFrameInfoList + * @interface IResGetWideDarkFrameInfoList + * @property {number|null} [code] ResGetWideDarkFrameInfoList code + * @property {Array.|null} [results] ResGetWideDarkFrameInfoList results + */ + + /** + * Constructs a new ResGetWideDarkFrameInfoList. + * @exports ResGetWideDarkFrameInfoList + * @classdesc Represents a ResGetWideDarkFrameInfoList. + * @implements IResGetWideDarkFrameInfoList + * @constructor + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetWideDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.code = 0; + + /** + * ResGetWideDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.results = $util.emptyArray; + + /** + * Creates a new ResGetWideDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList instance + */ + ResGetWideDarkFrameInfoList.create = function create(properties) { + return new ResGetWideDarkFrameInfoList(properties); + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode( + message.results[i], + writer.uint32(/* id 2, wireType 2 =*/ 18).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetWideDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push( + $root.ResGetDarkFrameInfo.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetWideDarkFrameInfoList message. + * @function verify + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) return "results." + error; + } + } + return null; + }; + + /** + * Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + */ + ResGetWideDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfoList) return object; + var message = new $root.ResGetWideDarkFrameInfoList(); + if (object.code != null) message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetWideDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError( + ".ResGetWideDarkFrameInfoList.results: object expected" + ); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject( + object.results[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {ResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.results = []; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject( + message.results[j], + options + ); + } + return object; + }; + + /** + * Converts this ResGetWideDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfoList"; + }; + + return ResGetWideDarkFrameInfoList; +})(); + +$root.ReqDelWideDarkFrame = (function () { + /** + * Properties of a ReqDelWideDarkFrame. + * @exports IReqDelWideDarkFrame + * @interface IReqDelWideDarkFrame + * @property {number|null} [expIndex] ReqDelWideDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelWideDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelWideDarkFrame binIndex + */ + + /** + * Constructs a new ReqDelWideDarkFrame. + * @exports ReqDelWideDarkFrame + * @classdesc Represents a ReqDelWideDarkFrame. + * @implements IReqDelWideDarkFrame + * @constructor + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + */ + function ReqDelWideDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelWideDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.expIndex = 0; + + /** + * ReqDelWideDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.gainIndex = 0; + + /** + * ReqDelWideDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.binIndex = 0; + + /** + * Creates a new ReqDelWideDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame instance + */ + ReqDelWideDarkFrame.create = function create(properties) { + return new ReqDelWideDarkFrame(properties); + }; + + /** + * Encodes the specified ReqDelWideDarkFrame message. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + + /** + * Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelWideDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelWideDarkFrame message. + * @function verify + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + + /** + * Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + */ + ReqDelWideDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrame) return object; + var message = new $root.ReqDelWideDarkFrame(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {ReqDelWideDarkFrame} message ReqDelWideDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + + /** + * Converts this ReqDelWideDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelWideDarkFrame + * @function getTypeUrl + * @memberof ReqDelWideDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrame"; + }; + + return ReqDelWideDarkFrame; +})(); + +$root.ReqDelWideDarkFrameList = (function () { + /** + * Properties of a ReqDelWideDarkFrameList. + * @exports IReqDelWideDarkFrameList + * @interface IReqDelWideDarkFrameList + * @property {Array.|null} [darkList] ReqDelWideDarkFrameList darkList + */ + + /** + * Constructs a new ReqDelWideDarkFrameList. + * @exports ReqDelWideDarkFrameList + * @classdesc Represents a ReqDelWideDarkFrameList. + * @implements IReqDelWideDarkFrameList + * @constructor + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + */ + function ReqDelWideDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelWideDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelWideDarkFrameList + * @instance + */ + ReqDelWideDarkFrameList.prototype.darkList = $util.emptyArray; + + /** + * Creates a new ReqDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList instance + */ + ReqDelWideDarkFrameList.create = function create(properties) { + return new ReqDelWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode( + message.darkList[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push( + $root.ReqDelDarkFrame.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelWideDarkFrameList message. + * @function verify + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) return "darkList." + error; + } + } + return null; + }; + + /** + * Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + */ + ReqDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrameList) return object; + var message = new $root.ReqDelWideDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelWideDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelWideDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject( + object.darkList[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {ReqDelWideDarkFrameList} message ReqDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject( + message.darkList[j], + options + ); + } + return object; + }; + + /** + * Converts this ReqDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelWideDarkFrameList + * @function getTypeUrl + * @memberof ReqDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrameList"; + }; + + return ReqDelWideDarkFrameList; +})(); + +$root.ResDelWideDarkFrameList = (function () { + /** + * Properties of a ResDelWideDarkFrameList. + * @exports IResDelWideDarkFrameList + * @interface IResDelWideDarkFrameList + * @property {number|null} [code] ResDelWideDarkFrameList code + */ + + /** + * Constructs a new ResDelWideDarkFrameList. + * @exports ResDelWideDarkFrameList + * @classdesc Represents a ResDelWideDarkFrameList. + * @implements IResDelWideDarkFrameList + * @constructor + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + */ + function ResDelWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDelWideDarkFrameList code. + * @member {number} code + * @memberof ResDelWideDarkFrameList + * @instance + */ + ResDelWideDarkFrameList.prototype.code = 0; + + /** + * Creates a new ResDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList instance + */ + ResDelWideDarkFrameList.create = function create(properties) { + return new ResDelWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ResDelWideDarkFrameList message. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDelWideDarkFrameList message. + * @function verify + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + */ + ResDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelWideDarkFrameList) return object; + var message = new $root.ResDelWideDarkFrameList(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {ResDelWideDarkFrameList} message ResDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDelWideDarkFrameList + * @function getTypeUrl + * @memberof ResDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelWideDarkFrameList"; + }; + + return ResDelWideDarkFrameList; +})(); + +/** + * WsMajorVersion enum. + * @exports WsMajorVersion + * @enum {number} + * @property {number} WS_MAJOR_VERSION_UNKNOWN=0 WS_MAJOR_VERSION_UNKNOWN value + * @property {number} WS_MAJOR_VERSION_NUMBER=1 WS_MAJOR_VERSION_NUMBER value + */ +$root.WsMajorVersion = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "WS_MAJOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[1] = "WS_MAJOR_VERSION_NUMBER")] = 1; + return values; +})(); + +/** + * WsMinorVersion enum. + * @exports WsMinorVersion + * @enum {number} + * @property {number} WS_MINOR_VERSION_UNKNOWN=0 WS_MINOR_VERSION_UNKNOWN value + * @property {number} WS_MINOR_VERSION_NUMBER=9 WS_MINOR_VERSION_NUMBER value + */ +$root.WsMinorVersion = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "WS_MINOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[9] = "WS_MINOR_VERSION_NUMBER")] = 9; + return values; +})(); + +$root.WsPacket = (function () { + /** + * Properties of a WsPacket. + * @exports IWsPacket + * @interface IWsPacket + * @property {number|null} [majorVersion] WsPacket majorVersion + * @property {number|null} [minorVersion] WsPacket minorVersion + * @property {number|null} [deviceId] WsPacket deviceId + * @property {number|null} [moduleId] WsPacket moduleId + * @property {number|null} [cmd] WsPacket cmd + * @property {number|null} [type] WsPacket type + * @property {Uint8Array|null} [data] WsPacket data + * @property {string|null} [clientId] WsPacket clientId + */ + + /** + * Constructs a new WsPacket. + * @exports WsPacket + * @classdesc Represents a WsPacket. + * @implements IWsPacket + * @constructor + * @param {IWsPacket=} [properties] Properties to set + */ + function WsPacket(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * WsPacket majorVersion. + * @member {number} majorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.majorVersion = 0; + + /** + * WsPacket minorVersion. + * @member {number} minorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.minorVersion = 0; + + /** + * WsPacket deviceId. + * @member {number} deviceId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.deviceId = 0; + + /** + * WsPacket moduleId. + * @member {number} moduleId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.moduleId = 0; + + /** + * WsPacket cmd. + * @member {number} cmd + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.cmd = 0; + + /** + * WsPacket type. + * @member {number} type + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.type = 0; + + /** + * WsPacket data. + * @member {Uint8Array} data + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.data = $util.newBuffer([]); + + /** + * WsPacket clientId. + * @member {string} clientId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.clientId = ""; + + /** + * Creates a new WsPacket instance using the specified properties. + * @function create + * @memberof WsPacket + * @static + * @param {IWsPacket=} [properties] Properties to set + * @returns {WsPacket} WsPacket instance + */ + WsPacket.create = function create(properties) { + return new WsPacket(properties); + }; + + /** + * Encodes the specified WsPacket message. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encode + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.majorVersion != null && + Object.hasOwnProperty.call(message, "majorVersion") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.majorVersion); + if ( + message.minorVersion != null && + Object.hasOwnProperty.call(message, "minorVersion") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.minorVersion); + if ( + message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.deviceId); + if ( + message.moduleId != null && + Object.hasOwnProperty.call(message, "moduleId") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.moduleId); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.cmd); + if (message.type != null && Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.type); + if (message.data != null && Object.hasOwnProperty.call(message, "data")) + writer.uint32(/* id 7, wireType 2 =*/ 58).bytes(message.data); + if ( + message.clientId != null && + Object.hasOwnProperty.call(message, "clientId") + ) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.clientId); + return writer; + }; + + /** + * Encodes the specified WsPacket message, length delimited. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encodeDelimited + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a WsPacket message from the specified reader or buffer. + * @function decode + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.WsPacket(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.majorVersion = reader.uint32(); + break; + } + case 2: { + message.minorVersion = reader.uint32(); + break; + } + case 3: { + message.deviceId = reader.uint32(); + break; + } + case 4: { + message.moduleId = reader.uint32(); + break; + } + case 5: { + message.cmd = reader.uint32(); + break; + } + case 6: { + message.type = reader.uint32(); + break; + } + case 7: { + message.data = reader.bytes(); + break; + } + case 8: { + message.clientId = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a WsPacket message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a WsPacket message. + * @function verify + * @memberof WsPacket + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WsPacket.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + if (!$util.isInteger(message.majorVersion)) + return "majorVersion: integer expected"; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + if (!$util.isInteger(message.minorVersion)) + return "minorVersion: integer expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + if (!$util.isInteger(message.moduleId)) + return "moduleId: integer expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.type != null && message.hasOwnProperty("type")) + if (!$util.isInteger(message.type)) return "type: integer expected"; + if (message.data != null && message.hasOwnProperty("data")) + if ( + !( + (message.data && typeof message.data.length === "number") || + $util.isString(message.data) + ) + ) + return "data: buffer expected"; + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) return "clientId: string expected"; + return null; + }; + + /** + * Creates a WsPacket message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof WsPacket + * @static + * @param {Object.} object Plain object + * @returns {WsPacket} WsPacket + */ + WsPacket.fromObject = function fromObject(object) { + if (object instanceof $root.WsPacket) return object; + var message = new $root.WsPacket(); + if (object.majorVersion != null) + message.majorVersion = object.majorVersion >>> 0; + if (object.minorVersion != null) + message.minorVersion = object.minorVersion >>> 0; + if (object.deviceId != null) message.deviceId = object.deviceId >>> 0; + if (object.moduleId != null) message.moduleId = object.moduleId >>> 0; + if (object.cmd != null) message.cmd = object.cmd >>> 0; + if (object.type != null) message.type = object.type >>> 0; + if (object.data != null) + if (typeof object.data === "string") + $util.base64.decode( + object.data, + (message.data = $util.newBuffer($util.base64.length(object.data))), + 0 + ); + else if (object.data.length >= 0) message.data = object.data; + if (object.clientId != null) message.clientId = String(object.clientId); + return message; + }; + + /** + * Creates a plain object from a WsPacket message. Also converts values to other types if specified. + * @function toObject + * @memberof WsPacket + * @static + * @param {WsPacket} message WsPacket + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + WsPacket.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.majorVersion = 0; + object.minorVersion = 0; + object.deviceId = 0; + object.moduleId = 0; + object.cmd = 0; + object.type = 0; + if (options.bytes === String) object.data = ""; + else { + object.data = []; + if (options.bytes !== Array) object.data = $util.newBuffer(object.data); + } + object.clientId = ""; + } + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + object.majorVersion = message.majorVersion; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + object.minorVersion = message.minorVersion; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + object.moduleId = message.moduleId; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.type != null && message.hasOwnProperty("type")) + object.type = message.type; + if (message.data != null && message.hasOwnProperty("data")) + object.data = + options.bytes === String + ? $util.base64.encode(message.data, 0, message.data.length) + : options.bytes === Array + ? Array.prototype.slice.call(message.data) + : message.data; + if (message.clientId != null && message.hasOwnProperty("clientId")) + object.clientId = message.clientId; + return object; + }; + + /** + * Converts this WsPacket to JSON. + * @function toJSON + * @memberof WsPacket + * @instance + * @returns {Object.} JSON object + */ + WsPacket.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for WsPacket + * @function getTypeUrl + * @memberof WsPacket + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WsPacket.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/WsPacket"; + }; + + return WsPacket; +})(); + +$root.ComResponse = (function () { + /** + * Properties of a ComResponse. + * @exports IComResponse + * @interface IComResponse + * @property {number|null} [code] ComResponse code + */ + + /** + * Constructs a new ComResponse. + * @exports ComResponse + * @classdesc Represents a ComResponse. + * @implements IComResponse + * @constructor + * @param {IComResponse=} [properties] Properties to set + */ + function ComResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResponse code. + * @member {number} code + * @memberof ComResponse + * @instance + */ + ComResponse.prototype.code = 0; + + /** + * Creates a new ComResponse instance using the specified properties. + * @function create + * @memberof ComResponse + * @static + * @param {IComResponse=} [properties] Properties to set + * @returns {ComResponse} ComResponse instance + */ + ComResponse.create = function create(properties) { + return new ComResponse(properties); + }; + + /** + * Encodes the specified ComResponse message. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encode + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResponse message, length delimited. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResponse message from the specified reader or buffer. + * @function decode + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResponse message. + * @function verify + * @memberof ComResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResponse + * @static + * @param {Object.} object Plain object + * @returns {ComResponse} ComResponse + */ + ComResponse.fromObject = function fromObject(object) { + if (object instanceof $root.ComResponse) return object; + var message = new $root.ComResponse(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResponse + * @static + * @param {ComResponse} message ComResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResponse.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResponse to JSON. + * @function toJSON + * @memberof ComResponse + * @instance + * @returns {Object.} JSON object + */ + ComResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResponse + * @function getTypeUrl + * @memberof ComResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResponse"; + }; + + return ComResponse; +})(); + +$root.ComResWithInt = (function () { + /** + * Properties of a ComResWithInt. + * @exports IComResWithInt + * @interface IComResWithInt + * @property {number|null} [value] ComResWithInt value + * @property {number|null} [code] ComResWithInt code + */ + + /** + * Constructs a new ComResWithInt. + * @exports ComResWithInt + * @classdesc Represents a ComResWithInt. + * @implements IComResWithInt + * @constructor + * @param {IComResWithInt=} [properties] Properties to set + */ + function ComResWithInt(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithInt value. + * @member {number} value + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.value = 0; + + /** + * ComResWithInt code. + * @member {number} code + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.code = 0; + + /** + * Creates a new ComResWithInt instance using the specified properties. + * @function create + * @memberof ComResWithInt + * @static + * @param {IComResWithInt=} [properties] Properties to set + * @returns {ComResWithInt} ComResWithInt instance + */ + ComResWithInt.create = function create(properties) { + return new ComResWithInt(properties); + }; + + /** + * Encodes the specified ComResWithInt message. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encode + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithInt message, length delimited. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer. + * @function decode + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithInt(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithInt message. + * @function verify + * @memberof ComResWithInt + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithInt.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithInt + * @static + * @param {Object.} object Plain object + * @returns {ComResWithInt} ComResWithInt + */ + ComResWithInt.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithInt) return object; + var message = new $root.ComResWithInt(); + if (object.value != null) message.value = object.value | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithInt message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithInt + * @static + * @param {ComResWithInt} message ComResWithInt + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithInt.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithInt to JSON. + * @function toJSON + * @memberof ComResWithInt + * @instance + * @returns {Object.} JSON object + */ + ComResWithInt.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithInt + * @function getTypeUrl + * @memberof ComResWithInt + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithInt.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithInt"; + }; + + return ComResWithInt; +})(); + +$root.ComResWithDouble = (function () { + /** + * Properties of a ComResWithDouble. + * @exports IComResWithDouble + * @interface IComResWithDouble + * @property {number|null} [value] ComResWithDouble value + * @property {number|null} [code] ComResWithDouble code + */ + + /** + * Constructs a new ComResWithDouble. + * @exports ComResWithDouble + * @classdesc Represents a ComResWithDouble. + * @implements IComResWithDouble + * @constructor + * @param {IComResWithDouble=} [properties] Properties to set + */ + function ComResWithDouble(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithDouble value. + * @member {number} value + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.value = 0; + + /** + * ComResWithDouble code. + * @member {number} code + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.code = 0; + + /** + * Creates a new ComResWithDouble instance using the specified properties. + * @function create + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble=} [properties] Properties to set + * @returns {ComResWithDouble} ComResWithDouble instance + */ + ComResWithDouble.create = function create(properties) { + return new ComResWithDouble(properties); + }; + + /** + * Encodes the specified ComResWithDouble message. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encode + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithDouble message, length delimited. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer. + * @function decode + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithDouble(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.double(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithDouble message. + * @function verify + * @memberof ComResWithDouble + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithDouble.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithDouble + * @static + * @param {Object.} object Plain object + * @returns {ComResWithDouble} ComResWithDouble + */ + ComResWithDouble.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithDouble) return object; + var message = new $root.ComResWithDouble(); + if (object.value != null) message.value = Number(object.value); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithDouble + * @static + * @param {ComResWithDouble} message ComResWithDouble + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithDouble.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithDouble to JSON. + * @function toJSON + * @memberof ComResWithDouble + * @instance + * @returns {Object.} JSON object + */ + ComResWithDouble.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithDouble + * @function getTypeUrl + * @memberof ComResWithDouble + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithDouble"; + }; + + return ComResWithDouble; +})(); + +$root.ComResWithString = (function () { + /** + * Properties of a ComResWithString. + * @exports IComResWithString + * @interface IComResWithString + * @property {string|null} [str] ComResWithString str + * @property {number|null} [code] ComResWithString code + */ + + /** + * Constructs a new ComResWithString. + * @exports ComResWithString + * @classdesc Represents a ComResWithString. + * @implements IComResWithString + * @constructor + * @param {IComResWithString=} [properties] Properties to set + */ + function ComResWithString(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithString str. + * @member {string} str + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.str = ""; + + /** + * ComResWithString code. + * @member {number} code + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.code = 0; + + /** + * Creates a new ComResWithString instance using the specified properties. + * @function create + * @memberof ComResWithString + * @static + * @param {IComResWithString=} [properties] Properties to set + * @returns {ComResWithString} ComResWithString instance + */ + ComResWithString.create = function create(properties) { + return new ComResWithString(properties); + }; + + /** + * Encodes the specified ComResWithString message. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encode + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.str != null && Object.hasOwnProperty.call(message, "str")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.str); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithString message, length delimited. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithString message from the specified reader or buffer. + * @function decode + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithString(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.str = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithString message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithString message. + * @function verify + * @memberof ComResWithString + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithString.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.str != null && message.hasOwnProperty("str")) + if (!$util.isString(message.str)) return "str: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithString message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithString + * @static + * @param {Object.} object Plain object + * @returns {ComResWithString} ComResWithString + */ + ComResWithString.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithString) return object; + var message = new $root.ComResWithString(); + if (object.str != null) message.str = String(object.str); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithString message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithString + * @static + * @param {ComResWithString} message ComResWithString + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithString.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.str = ""; + object.code = 0; + } + if (message.str != null && message.hasOwnProperty("str")) + object.str = message.str; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithString to JSON. + * @function toJSON + * @memberof ComResWithString + * @instance + * @returns {Object.} JSON object + */ + ComResWithString.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithString + * @function getTypeUrl + * @memberof ComResWithString + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithString"; + }; + + return ComResWithString; +})(); + +$root.CommonParam = (function () { + /** + * Properties of a CommonParam. + * @exports ICommonParam + * @interface ICommonParam + * @property {boolean|null} [hasAuto] CommonParam hasAuto + * @property {number|null} [autoMode] CommonParam autoMode + * @property {number|null} [id] CommonParam id + * @property {number|null} [modeIndex] CommonParam modeIndex + * @property {number|null} [index] CommonParam index + * @property {number|null} [continueValue] CommonParam continueValue + */ + + /** + * Constructs a new CommonParam. + * @exports CommonParam + * @classdesc Represents a CommonParam. + * @implements ICommonParam + * @constructor + * @param {ICommonParam=} [properties] Properties to set + */ + function CommonParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * CommonParam hasAuto. + * @member {boolean} hasAuto + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.hasAuto = false; + + /** + * CommonParam autoMode. + * @member {number} autoMode + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.autoMode = 0; + + /** + * CommonParam id. + * @member {number} id + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.id = 0; + + /** + * CommonParam modeIndex. + * @member {number} modeIndex + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.modeIndex = 0; + + /** + * CommonParam index. + * @member {number} index + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.index = 0; + + /** + * CommonParam continueValue. + * @member {number} continueValue + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.continueValue = 0; + + /** + * Creates a new CommonParam instance using the specified properties. + * @function create + * @memberof CommonParam + * @static + * @param {ICommonParam=} [properties] Properties to set + * @returns {CommonParam} CommonParam instance + */ + CommonParam.create = function create(properties) { + return new CommonParam(properties); + }; + + /** + * Encodes the specified CommonParam message. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encode + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.hasAuto != null && + Object.hasOwnProperty.call(message, "hasAuto") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.hasAuto); + if ( + message.autoMode != null && + Object.hasOwnProperty.call(message, "autoMode") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoMode); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.id); + if ( + message.modeIndex != null && + Object.hasOwnProperty.call(message, "modeIndex") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.modeIndex); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.index); + if ( + message.continueValue != null && + Object.hasOwnProperty.call(message, "continueValue") + ) + writer.uint32(/* id 6, wireType 1 =*/ 49).double(message.continueValue); + return writer; + }; + + /** + * Encodes the specified CommonParam message, length delimited. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encodeDelimited + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CommonParam message from the specified reader or buffer. + * @function decode + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.CommonParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.hasAuto = reader.bool(); + break; + } + case 2: { + message.autoMode = reader.int32(); + break; + } + case 3: { + message.id = reader.int32(); + break; + } + case 4: { + message.modeIndex = reader.int32(); + break; + } + case 5: { + message.index = reader.int32(); + break; + } + case 6: { + message.continueValue = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a CommonParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CommonParam message. + * @function verify + * @memberof CommonParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CommonParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + if (typeof message.hasAuto !== "boolean") + return "hasAuto: boolean expected"; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + if (!$util.isInteger(message.autoMode)) + return "autoMode: integer expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + if (!$util.isInteger(message.modeIndex)) + return "modeIndex: integer expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if ( + message.continueValue != null && + message.hasOwnProperty("continueValue") + ) + if (typeof message.continueValue !== "number") + return "continueValue: number expected"; + return null; + }; + + /** + * Creates a CommonParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof CommonParam + * @static + * @param {Object.} object Plain object + * @returns {CommonParam} CommonParam + */ + CommonParam.fromObject = function fromObject(object) { + if (object instanceof $root.CommonParam) return object; + var message = new $root.CommonParam(); + if (object.hasAuto != null) message.hasAuto = Boolean(object.hasAuto); + if (object.autoMode != null) message.autoMode = object.autoMode | 0; + if (object.id != null) message.id = object.id | 0; + if (object.modeIndex != null) message.modeIndex = object.modeIndex | 0; + if (object.index != null) message.index = object.index | 0; + if (object.continueValue != null) + message.continueValue = Number(object.continueValue); + return message; + }; + + /** + * Creates a plain object from a CommonParam message. Also converts values to other types if specified. + * @function toObject + * @memberof CommonParam + * @static + * @param {CommonParam} message CommonParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CommonParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.hasAuto = false; + object.autoMode = 0; + object.id = 0; + object.modeIndex = 0; + object.index = 0; + object.continueValue = 0; + } + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + object.hasAuto = message.hasAuto; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + object.autoMode = message.autoMode; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + object.modeIndex = message.modeIndex; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if ( + message.continueValue != null && + message.hasOwnProperty("continueValue") + ) + object.continueValue = + options.json && !isFinite(message.continueValue) + ? String(message.continueValue) + : message.continueValue; + return object; + }; + + /** + * Converts this CommonParam to JSON. + * @function toJSON + * @memberof CommonParam + * @instance + * @returns {Object.} JSON object + */ + CommonParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CommonParam + * @function getTypeUrl + * @memberof CommonParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommonParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/CommonParam"; + }; + + return CommonParam; +})(); + +/** + * DwarfBleErrorCode enum. + * @exports DwarfBleErrorCode + * @enum {number} + * @property {number} BLE_OK=0 BLE_OK value + * @property {number} BLE_PASSWORD_ERROR=-1 BLE_PASSWORD_ERROR value + * @property {number} BLE_MESSAGE_MALLOC_ERROR=-2 BLE_MESSAGE_MALLOC_ERROR value + * @property {number} BLE_MESSAGE_PARSE_ERROR=-3 BLE_MESSAGE_PARSE_ERROR value + * @property {number} BLE_MESSAGE_CRC_ERROR=-4 BLE_MESSAGE_CRC_ERROR value + * @property {number} BLE_WIFI_CONFIGING=-5 BLE_WIFI_CONFIGING value + * @property {number} BLE_WIFI_CONFIGED=-6 BLE_WIFI_CONFIGED value + * @property {number} BLE_GET_WIFI_LIST_ERROR=-7 BLE_GET_WIFI_LIST_ERROR value + * @property {number} BLE_WIFI_STA_PASSWORD_EMPTY=-8 BLE_WIFI_STA_PASSWORD_EMPTY value + * @property {number} BLE_WIFI_STA_PASSWORD_ERROR=-9 BLE_WIFI_STA_PASSWORD_ERROR value + * @property {number} BLE_WIFI_SET_SSID_PSD_ERROR=-10 BLE_WIFI_SET_SSID_PSD_ERROR value + * @property {number} BLE_WIFI_RESET_WAITING=-11 BLE_WIFI_RESET_WAITING value + * @property {number} BLE_WIFI_RESETED=-12 BLE_WIFI_RESETED value + * @property {number} BLE_GET_SYSTEM_INFO_ERROR=-13 BLE_GET_SYSTEM_INFO_ERROR value + * @property {number} BLE_RECEIVE_FRAME_HEAD_ERROR=-14 BLE_RECEIVE_FRAME_HEAD_ERROR value + * @property {number} BLE_RECEIVE_FRAME_TAIL_ERROR=-15 BLE_RECEIVE_FRAME_TAIL_ERROR value + * @property {number} BLE_CHECK_FILE_NOT_EXIST=-16 BLE_CHECK_FILE_NOT_EXIST value + * @property {number} BLE_CHECK_FILE_MD5_ERROR=-17 BLE_CHECK_FILE_MD5_ERROR value + * @property {number} BLE_WIFI_RESET_FAILED=-18 BLE_WIFI_RESET_FAILED value + */ +$root.DwarfBleErrorCode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "BLE_OK")] = 0; + values[(valuesById[-1] = "BLE_PASSWORD_ERROR")] = -1; + values[(valuesById[-2] = "BLE_MESSAGE_MALLOC_ERROR")] = -2; + values[(valuesById[-3] = "BLE_MESSAGE_PARSE_ERROR")] = -3; + values[(valuesById[-4] = "BLE_MESSAGE_CRC_ERROR")] = -4; + values[(valuesById[-5] = "BLE_WIFI_CONFIGING")] = -5; + values[(valuesById[-6] = "BLE_WIFI_CONFIGED")] = -6; + values[(valuesById[-7] = "BLE_GET_WIFI_LIST_ERROR")] = -7; + values[(valuesById[-8] = "BLE_WIFI_STA_PASSWORD_EMPTY")] = -8; + values[(valuesById[-9] = "BLE_WIFI_STA_PASSWORD_ERROR")] = -9; + values[(valuesById[-10] = "BLE_WIFI_SET_SSID_PSD_ERROR")] = -10; + values[(valuesById[-11] = "BLE_WIFI_RESET_WAITING")] = -11; + values[(valuesById[-12] = "BLE_WIFI_RESETED")] = -12; + values[(valuesById[-13] = "BLE_GET_SYSTEM_INFO_ERROR")] = -13; + values[(valuesById[-14] = "BLE_RECEIVE_FRAME_HEAD_ERROR")] = -14; + values[(valuesById[-15] = "BLE_RECEIVE_FRAME_TAIL_ERROR")] = -15; + values[(valuesById[-16] = "BLE_CHECK_FILE_NOT_EXIST")] = -16; + values[(valuesById[-17] = "BLE_CHECK_FILE_MD5_ERROR")] = -17; + values[(valuesById[-18] = "BLE_WIFI_RESET_FAILED")] = -18; + return values; +})(); + +$root.ReqGetconfig = (function () { + /** + * Properties of a ReqGetconfig. + * @exports IReqGetconfig + * @interface IReqGetconfig + * @property {number|null} [cmd] ReqGetconfig cmd + * @property {string|null} [blePsd] ReqGetconfig blePsd + */ + + /** + * Constructs a new ReqGetconfig. + * @exports ReqGetconfig + * @classdesc Represents a ReqGetconfig. + * @implements IReqGetconfig + * @constructor + * @param {IReqGetconfig=} [properties] Properties to set + */ + function ReqGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetconfig cmd. + * @member {number} cmd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.cmd = 0; + + /** + * ReqGetconfig blePsd. + * @member {string} blePsd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.blePsd = ""; + + /** + * Creates a new ReqGetconfig instance using the specified properties. + * @function create + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig=} [properties] Properties to set + * @returns {ReqGetconfig} ReqGetconfig instance + */ + ReqGetconfig.create = function create(properties) { + return new ReqGetconfig(properties); + }; + + /** + * Encodes the specified ReqGetconfig message. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encode + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.blePsd); + return writer; + }; + + /** + * Encodes the specified ReqGetconfig message, length delimited. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetconfig message. + * @function verify + * @memberof ReqGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + return null; + }; + + /** + * Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ReqGetconfig} ReqGetconfig + */ + ReqGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetconfig) return object; + var message = new $root.ReqGetconfig(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + return message; + }; + + /** + * Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetconfig + * @static + * @param {ReqGetconfig} message ReqGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetconfig.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + + /** + * Converts this ReqGetconfig to JSON. + * @function toJSON + * @memberof ReqGetconfig + * @instance + * @returns {Object.} JSON object + */ + ReqGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetconfig + * @function getTypeUrl + * @memberof ReqGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetconfig"; + }; + + return ReqGetconfig; +})(); + +$root.ReqAp = (function () { + /** + * Properties of a ReqAp. + * @exports IReqAp + * @interface IReqAp + * @property {number|null} [cmd] ReqAp cmd + * @property {number|null} [wifiType] ReqAp wifiType + * @property {number|null} [autoStart] ReqAp autoStart + * @property {number|null} [countryList] ReqAp countryList + * @property {string|null} [country] ReqAp country + * @property {string|null} [blePsd] ReqAp blePsd + */ + + /** + * Constructs a new ReqAp. + * @exports ReqAp + * @classdesc Represents a ReqAp. + * @implements IReqAp + * @constructor + * @param {IReqAp=} [properties] Properties to set + */ + function ReqAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqAp cmd. + * @member {number} cmd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.cmd = 0; + + /** + * ReqAp wifiType. + * @member {number} wifiType + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.wifiType = 0; + + /** + * ReqAp autoStart. + * @member {number} autoStart + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.autoStart = 0; + + /** + * ReqAp countryList. + * @member {number} countryList + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.countryList = 0; + + /** + * ReqAp country. + * @member {string} country + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.country = ""; + + /** + * ReqAp blePsd. + * @member {string} blePsd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.blePsd = ""; + + /** + * Creates a new ReqAp instance using the specified properties. + * @function create + * @memberof ReqAp + * @static + * @param {IReqAp=} [properties] Properties to set + * @returns {ReqAp} ReqAp instance + */ + ReqAp.create = function create(properties) { + return new ReqAp(properties); + }; + + /** + * Encodes the specified ReqAp message. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encode + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.wifiType != null && + Object.hasOwnProperty.call(message, "wifiType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.wifiType); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.autoStart); + if ( + message.countryList != null && + Object.hasOwnProperty.call(message, "countryList") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.countryList); + if ( + message.country != null && + Object.hasOwnProperty.call(message, "country") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.country); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.blePsd); + return writer; + }; + + /** + * Encodes the specified ReqAp message, length delimited. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqAp message from the specified reader or buffer. + * @function decode + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.wifiType = reader.int32(); + break; + } + case 3: { + message.autoStart = reader.int32(); + break; + } + case 4: { + message.countryList = reader.int32(); + break; + } + case 5: { + message.country = reader.string(); + break; + } + case 6: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqAp message. + * @function verify + * @memberof ReqAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + if (!$util.isInteger(message.wifiType)) + return "wifiType: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.countryList != null && message.hasOwnProperty("countryList")) + if (!$util.isInteger(message.countryList)) + return "countryList: integer expected"; + if (message.country != null && message.hasOwnProperty("country")) + if (!$util.isString(message.country)) return "country: string expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + return null; + }; + + /** + * Creates a ReqAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAp + * @static + * @param {Object.} object Plain object + * @returns {ReqAp} ReqAp + */ + ReqAp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAp) return object; + var message = new $root.ReqAp(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.wifiType != null) message.wifiType = object.wifiType | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.countryList != null) + message.countryList = object.countryList | 0; + if (object.country != null) message.country = String(object.country); + if (object.blePsd != null) message.blePsd = String(object.blePsd); + return message; + }; + + /** + * Creates a plain object from a ReqAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAp + * @static + * @param {ReqAp} message ReqAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.wifiType = 0; + object.autoStart = 0; + object.countryList = 0; + object.country = ""; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + object.wifiType = message.wifiType; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.countryList != null && message.hasOwnProperty("countryList")) + object.countryList = message.countryList; + if (message.country != null && message.hasOwnProperty("country")) + object.country = message.country; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + + /** + * Converts this ReqAp to JSON. + * @function toJSON + * @memberof ReqAp + * @instance + * @returns {Object.} JSON object + */ + ReqAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqAp + * @function getTypeUrl + * @memberof ReqAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAp"; + }; + + return ReqAp; +})(); + +$root.ReqSta = (function () { + /** + * Properties of a ReqSta. + * @exports IReqSta + * @interface IReqSta + * @property {number|null} [cmd] ReqSta cmd + * @property {number|null} [autoStart] ReqSta autoStart + * @property {string|null} [blePsd] ReqSta blePsd + * @property {string|null} [ssid] ReqSta ssid + * @property {string|null} [psd] ReqSta psd + */ + + /** + * Constructs a new ReqSta. + * @exports ReqSta + * @classdesc Represents a ReqSta. + * @implements IReqSta + * @constructor + * @param {IReqSta=} [properties] Properties to set + */ + function ReqSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSta cmd. + * @member {number} cmd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.cmd = 0; + + /** + * ReqSta autoStart. + * @member {number} autoStart + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.autoStart = 0; + + /** + * ReqSta blePsd. + * @member {string} blePsd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.blePsd = ""; + + /** + * ReqSta ssid. + * @member {string} ssid + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.ssid = ""; + + /** + * ReqSta psd. + * @member {string} psd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.psd = ""; + + /** + * Creates a new ReqSta instance using the specified properties. + * @function create + * @memberof ReqSta + * @static + * @param {IReqSta=} [properties] Properties to set + * @returns {ReqSta} ReqSta instance + */ + ReqSta.create = function create(properties) { + return new ReqSta(properties); + }; + + /** + * Encodes the specified ReqSta message. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encode + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoStart); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + + /** + * Encodes the specified ReqSta message, length delimited. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSta message from the specified reader or buffer. + * @function decode + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.autoStart = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSta message. + * @function verify + * @memberof ReqSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + return null; + }; + + /** + * Creates a ReqSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSta + * @static + * @param {Object.} object Plain object + * @returns {ReqSta} ReqSta + */ + ReqSta.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSta) return object; + var message = new $root.ReqSta(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + return message; + }; + + /** + * Creates a plain object from a ReqSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSta + * @static + * @param {ReqSta} message ReqSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSta.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.autoStart = 0; + object.blePsd = ""; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + + /** + * Converts this ReqSta to JSON. + * @function toJSON + * @memberof ReqSta + * @instance + * @returns {Object.} JSON object + */ + ReqSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSta + * @function getTypeUrl + * @memberof ReqSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSta"; + }; + + return ReqSta; +})(); + +$root.ReqSetblewifi = (function () { + /** + * Properties of a ReqSetblewifi. + * @exports IReqSetblewifi + * @interface IReqSetblewifi + * @property {number|null} [cmd] ReqSetblewifi cmd + * @property {number|null} [mode] ReqSetblewifi mode + * @property {string|null} [blePsd] ReqSetblewifi blePsd + * @property {string|null} [value] ReqSetblewifi value + */ + + /** + * Constructs a new ReqSetblewifi. + * @exports ReqSetblewifi + * @classdesc Represents a ReqSetblewifi. + * @implements IReqSetblewifi + * @constructor + * @param {IReqSetblewifi=} [properties] Properties to set + */ + function ReqSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetblewifi cmd. + * @member {number} cmd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.cmd = 0; + + /** + * ReqSetblewifi mode. + * @member {number} mode + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.mode = 0; + + /** + * ReqSetblewifi blePsd. + * @member {string} blePsd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.blePsd = ""; + + /** + * ReqSetblewifi value. + * @member {string} value + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.value = ""; + + /** + * Creates a new ReqSetblewifi instance using the specified properties. + * @function create + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi=} [properties] Properties to set + * @returns {ReqSetblewifi} ReqSetblewifi instance + */ + ReqSetblewifi.create = function create(properties) { + return new ReqSetblewifi(properties); + }; + + /** + * Encodes the specified ReqSetblewifi message. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encode + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.mode); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.mode = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetblewifi message. + * @function verify + * @memberof ReqSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) return "value: string expected"; + return null; + }; + + /** + * Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ReqSetblewifi} ReqSetblewifi + */ + ReqSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetblewifi) return object; + var message = new $root.ReqSetblewifi(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + if (object.value != null) message.value = String(object.value); + return message; + }; + + /** + * Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetblewifi + * @static + * @param {ReqSetblewifi} message ReqSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetblewifi.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.mode = 0; + object.blePsd = ""; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetblewifi to JSON. + * @function toJSON + * @memberof ReqSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ReqSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetblewifi + * @function getTypeUrl + * @memberof ReqSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetblewifi"; + }; + + return ReqSetblewifi; +})(); + +$root.ReqReset = (function () { + /** + * Properties of a ReqReset. + * @exports IReqReset + * @interface IReqReset + * @property {number|null} [cmd] ReqReset cmd + */ + + /** + * Constructs a new ReqReset. + * @exports ReqReset + * @classdesc Represents a ReqReset. + * @implements IReqReset + * @constructor + * @param {IReqReset=} [properties] Properties to set + */ + function ReqReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqReset cmd. + * @member {number} cmd + * @memberof ReqReset + * @instance + */ + ReqReset.prototype.cmd = 0; + + /** + * Creates a new ReqReset instance using the specified properties. + * @function create + * @memberof ReqReset + * @static + * @param {IReqReset=} [properties] Properties to set + * @returns {ReqReset} ReqReset instance + */ + ReqReset.create = function create(properties) { + return new ReqReset(properties); + }; + + /** + * Encodes the specified ReqReset message. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encode + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqReset message, length delimited. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReset message from the specified reader or buffer. + * @function decode + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReset message. + * @function verify + * @memberof ReqReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReset + * @static + * @param {Object.} object Plain object + * @returns {ReqReset} ReqReset + */ + ReqReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReset) return object; + var message = new $root.ReqReset(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReset + * @static + * @param {ReqReset} message ReqReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqReset to JSON. + * @function toJSON + * @memberof ReqReset + * @instance + * @returns {Object.} JSON object + */ + ReqReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReset + * @function getTypeUrl + * @memberof ReqReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReset"; + }; + + return ReqReset; +})(); + +$root.ReqGetwifilist = (function () { + /** + * Properties of a ReqGetwifilist. + * @exports IReqGetwifilist + * @interface IReqGetwifilist + * @property {number|null} [cmd] ReqGetwifilist cmd + */ + + /** + * Constructs a new ReqGetwifilist. + * @exports ReqGetwifilist + * @classdesc Represents a ReqGetwifilist. + * @implements IReqGetwifilist + * @constructor + * @param {IReqGetwifilist=} [properties] Properties to set + */ + function ReqGetwifilist(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetwifilist cmd. + * @member {number} cmd + * @memberof ReqGetwifilist + * @instance + */ + ReqGetwifilist.prototype.cmd = 0; + + /** + * Creates a new ReqGetwifilist instance using the specified properties. + * @function create + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist=} [properties] Properties to set + * @returns {ReqGetwifilist} ReqGetwifilist instance + */ + ReqGetwifilist.create = function create(properties) { + return new ReqGetwifilist(properties); + }; + + /** + * Encodes the specified ReqGetwifilist message. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encode + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer. + * @function decode + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetwifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetwifilist message. + * @function verify + * @memberof ReqGetwifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetwifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetwifilist + * @static + * @param {Object.} object Plain object + * @returns {ReqGetwifilist} ReqGetwifilist + */ + ReqGetwifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetwifilist) return object; + var message = new $root.ReqGetwifilist(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetwifilist + * @static + * @param {ReqGetwifilist} message ReqGetwifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetwifilist.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqGetwifilist to JSON. + * @function toJSON + * @memberof ReqGetwifilist + * @instance + * @returns {Object.} JSON object + */ + ReqGetwifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetwifilist + * @function getTypeUrl + * @memberof ReqGetwifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetwifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetwifilist"; + }; + + return ReqGetwifilist; +})(); + +$root.ReqGetsysteminfo = (function () { + /** + * Properties of a ReqGetsysteminfo. + * @exports IReqGetsysteminfo + * @interface IReqGetsysteminfo + * @property {number|null} [cmd] ReqGetsysteminfo cmd + */ + + /** + * Constructs a new ReqGetsysteminfo. + * @exports ReqGetsysteminfo + * @classdesc Represents a ReqGetsysteminfo. + * @implements IReqGetsysteminfo + * @constructor + * @param {IReqGetsysteminfo=} [properties] Properties to set + */ + function ReqGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetsysteminfo cmd. + * @member {number} cmd + * @memberof ReqGetsysteminfo + * @instance + */ + ReqGetsysteminfo.prototype.cmd = 0; + + /** + * Creates a new ReqGetsysteminfo instance using the specified properties. + * @function create + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo=} [properties] Properties to set + * @returns {ReqGetsysteminfo} ReqGetsysteminfo instance + */ + ReqGetsysteminfo.create = function create(properties) { + return new ReqGetsysteminfo(properties); + }; + + /** + * Encodes the specified ReqGetsysteminfo message. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetsysteminfo message. + * @function verify + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + */ + ReqGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetsysteminfo) return object; + var message = new $root.ReqGetsysteminfo(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetsysteminfo + * @static + * @param {ReqGetsysteminfo} message ReqGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetsysteminfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqGetsysteminfo to JSON. + * @function toJSON + * @memberof ReqGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetsysteminfo + * @function getTypeUrl + * @memberof ReqGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetsysteminfo"; + }; + + return ReqGetsysteminfo; +})(); + +$root.ReqCheckFile = (function () { + /** + * Properties of a ReqCheckFile. + * @exports IReqCheckFile + * @interface IReqCheckFile + * @property {number|null} [cmd] ReqCheckFile cmd + * @property {string|null} [filePath] ReqCheckFile filePath + * @property {string|null} [md5] ReqCheckFile md5 + */ + + /** + * Constructs a new ReqCheckFile. + * @exports ReqCheckFile + * @classdesc Represents a ReqCheckFile. + * @implements IReqCheckFile + * @constructor + * @param {IReqCheckFile=} [properties] Properties to set + */ + function ReqCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCheckFile cmd. + * @member {number} cmd + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.cmd = 0; + + /** + * ReqCheckFile filePath. + * @member {string} filePath + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.filePath = ""; + + /** + * ReqCheckFile md5. + * @member {string} md5 + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.md5 = ""; + + /** + * Creates a new ReqCheckFile instance using the specified properties. + * @function create + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile=} [properties] Properties to set + * @returns {ReqCheckFile} ReqCheckFile instance + */ + ReqCheckFile.create = function create(properties) { + return new ReqCheckFile(properties); + }; + + /** + * Encodes the specified ReqCheckFile message. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encode + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.filePath != null && + Object.hasOwnProperty.call(message, "filePath") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.filePath); + if (message.md5 != null && Object.hasOwnProperty.call(message, "md5")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.md5); + return writer; + }; + + /** + * Encodes the specified ReqCheckFile message, length delimited. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.filePath = reader.string(); + break; + } + case 3: { + message.md5 = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCheckFile message. + * @function verify + * @memberof ReqCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.filePath != null && message.hasOwnProperty("filePath")) + if (!$util.isString(message.filePath)) return "filePath: string expected"; + if (message.md5 != null && message.hasOwnProperty("md5")) + if (!$util.isString(message.md5)) return "md5: string expected"; + return null; + }; + + /** + * Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckFile} ReqCheckFile + */ + ReqCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckFile) return object; + var message = new $root.ReqCheckFile(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.filePath != null) message.filePath = String(object.filePath); + if (object.md5 != null) message.md5 = String(object.md5); + return message; + }; + + /** + * Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckFile + * @static + * @param {ReqCheckFile} message ReqCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.filePath = ""; + object.md5 = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.filePath != null && message.hasOwnProperty("filePath")) + object.filePath = message.filePath; + if (message.md5 != null && message.hasOwnProperty("md5")) + object.md5 = message.md5; + return object; + }; + + /** + * Converts this ReqCheckFile to JSON. + * @function toJSON + * @memberof ReqCheckFile + * @instance + * @returns {Object.} JSON object + */ + ReqCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCheckFile + * @function getTypeUrl + * @memberof ReqCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckFile"; + }; + + return ReqCheckFile; +})(); + +$root.ResGetconfig = (function () { + /** + * Properties of a ResGetconfig. + * @exports IResGetconfig + * @interface IResGetconfig + * @property {number|null} [cmd] ResGetconfig cmd + * @property {number|null} [code] ResGetconfig code + * @property {number|null} [state] ResGetconfig state + * @property {number|null} [wifiMode] ResGetconfig wifiMode + * @property {number|null} [apMode] ResGetconfig apMode + * @property {number|null} [autoStart] ResGetconfig autoStart + * @property {number|null} [apCountryList] ResGetconfig apCountryList + * @property {string|null} [ssid] ResGetconfig ssid + * @property {string|null} [psd] ResGetconfig psd + * @property {string|null} [ip] ResGetconfig ip + * @property {string|null} [apCountry] ResGetconfig apCountry + */ + + /** + * Constructs a new ResGetconfig. + * @exports ResGetconfig + * @classdesc Represents a ResGetconfig. + * @implements IResGetconfig + * @constructor + * @param {IResGetconfig=} [properties] Properties to set + */ + function ResGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetconfig cmd. + * @member {number} cmd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.cmd = 0; + + /** + * ResGetconfig code. + * @member {number} code + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.code = 0; + + /** + * ResGetconfig state. + * @member {number} state + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.state = 0; + + /** + * ResGetconfig wifiMode. + * @member {number} wifiMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.wifiMode = 0; + + /** + * ResGetconfig apMode. + * @member {number} apMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apMode = 0; + + /** + * ResGetconfig autoStart. + * @member {number} autoStart + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.autoStart = 0; + + /** + * ResGetconfig apCountryList. + * @member {number} apCountryList + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountryList = 0; + + /** + * ResGetconfig ssid. + * @member {string} ssid + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ssid = ""; + + /** + * ResGetconfig psd. + * @member {string} psd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.psd = ""; + + /** + * ResGetconfig ip. + * @member {string} ip + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ip = ""; + + /** + * ResGetconfig apCountry. + * @member {string} apCountry + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountry = ""; + + /** + * Creates a new ResGetconfig instance using the specified properties. + * @function create + * @memberof ResGetconfig + * @static + * @param {IResGetconfig=} [properties] Properties to set + * @returns {ResGetconfig} ResGetconfig instance + */ + ResGetconfig.create = function create(properties) { + return new ResGetconfig(properties); + }; + + /** + * Encodes the specified ResGetconfig message. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encode + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if ( + message.wifiMode != null && + Object.hasOwnProperty.call(message, "wifiMode") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.wifiMode); + if (message.apMode != null && Object.hasOwnProperty.call(message, "apMode")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.apMode); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.autoStart); + if ( + message.apCountryList != null && + Object.hasOwnProperty.call(message, "apCountryList") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.apCountryList); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 9, wireType 2 =*/ 74).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 10, wireType 2 =*/ 82).string(message.ip); + if ( + message.apCountry != null && + Object.hasOwnProperty.call(message, "apCountry") + ) + writer.uint32(/* id 11, wireType 2 =*/ 90).string(message.apCountry); + return writer; + }; + + /** + * Encodes the specified ResGetconfig message, length delimited. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.wifiMode = reader.int32(); + break; + } + case 5: { + message.apMode = reader.int32(); + break; + } + case 6: { + message.autoStart = reader.int32(); + break; + } + case 7: { + message.apCountryList = reader.int32(); + break; + } + case 8: { + message.ssid = reader.string(); + break; + } + case 9: { + message.psd = reader.string(); + break; + } + case 10: { + message.ip = reader.string(); + break; + } + case 11: { + message.apCountry = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetconfig message. + * @function verify + * @memberof ResGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + if (!$util.isInteger(message.wifiMode)) + return "wifiMode: integer expected"; + if (message.apMode != null && message.hasOwnProperty("apMode")) + if (!$util.isInteger(message.apMode)) return "apMode: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if ( + message.apCountryList != null && + message.hasOwnProperty("apCountryList") + ) + if (!$util.isInteger(message.apCountryList)) + return "apCountryList: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) return "ip: string expected"; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + if (!$util.isString(message.apCountry)) + return "apCountry: string expected"; + return null; + }; + + /** + * Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ResGetconfig} ResGetconfig + */ + ResGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetconfig) return object; + var message = new $root.ResGetconfig(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.state != null) message.state = object.state | 0; + if (object.wifiMode != null) message.wifiMode = object.wifiMode | 0; + if (object.apMode != null) message.apMode = object.apMode | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.apCountryList != null) + message.apCountryList = object.apCountryList | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + if (object.ip != null) message.ip = String(object.ip); + if (object.apCountry != null) message.apCountry = String(object.apCountry); + return message; + }; + + /** + * Creates a plain object from a ResGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetconfig + * @static + * @param {ResGetconfig} message ResGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetconfig.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.state = 0; + object.wifiMode = 0; + object.apMode = 0; + object.autoStart = 0; + object.apCountryList = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + object.apCountry = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + object.wifiMode = message.wifiMode; + if (message.apMode != null && message.hasOwnProperty("apMode")) + object.apMode = message.apMode; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if ( + message.apCountryList != null && + message.hasOwnProperty("apCountryList") + ) + object.apCountryList = message.apCountryList; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + object.apCountry = message.apCountry; + return object; + }; + + /** + * Converts this ResGetconfig to JSON. + * @function toJSON + * @memberof ResGetconfig + * @instance + * @returns {Object.} JSON object + */ + ResGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetconfig + * @function getTypeUrl + * @memberof ResGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetconfig"; + }; + + return ResGetconfig; +})(); + +$root.ResAp = (function () { + /** + * Properties of a ResAp. + * @exports IResAp + * @interface IResAp + * @property {number|null} [cmd] ResAp cmd + * @property {number|null} [code] ResAp code + * @property {number|null} [mode] ResAp mode + * @property {string|null} [ssid] ResAp ssid + * @property {string|null} [psd] ResAp psd + */ + + /** + * Constructs a new ResAp. + * @exports ResAp + * @classdesc Represents a ResAp. + * @implements IResAp + * @constructor + * @param {IResAp=} [properties] Properties to set + */ + function ResAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResAp cmd. + * @member {number} cmd + * @memberof ResAp + * @instance + */ + ResAp.prototype.cmd = 0; + + /** + * ResAp code. + * @member {number} code + * @memberof ResAp + * @instance + */ + ResAp.prototype.code = 0; + + /** + * ResAp mode. + * @member {number} mode + * @memberof ResAp + * @instance + */ + ResAp.prototype.mode = 0; + + /** + * ResAp ssid. + * @member {string} ssid + * @memberof ResAp + * @instance + */ + ResAp.prototype.ssid = ""; + + /** + * ResAp psd. + * @member {string} psd + * @memberof ResAp + * @instance + */ + ResAp.prototype.psd = ""; + + /** + * Creates a new ResAp instance using the specified properties. + * @function create + * @memberof ResAp + * @static + * @param {IResAp=} [properties] Properties to set + * @returns {ResAp} ResAp instance + */ + ResAp.create = function create(properties) { + return new ResAp(properties); + }; + + /** + * Encodes the specified ResAp message. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encode + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + + /** + * Encodes the specified ResAp message, length delimited. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResAp message from the specified reader or buffer. + * @function decode + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResAp message. + * @function verify + * @memberof ResAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + return null; + }; + + /** + * Creates a ResAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResAp + * @static + * @param {Object.} object Plain object + * @returns {ResAp} ResAp + */ + ResAp.fromObject = function fromObject(object) { + if (object instanceof $root.ResAp) return object; + var message = new $root.ResAp(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + return message; + }; + + /** + * Creates a plain object from a ResAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ResAp + * @static + * @param {ResAp} message ResAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResAp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + + /** + * Converts this ResAp to JSON. + * @function toJSON + * @memberof ResAp + * @instance + * @returns {Object.} JSON object + */ + ResAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResAp + * @function getTypeUrl + * @memberof ResAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResAp"; + }; + + return ResAp; +})(); + +$root.ResSta = (function () { + /** + * Properties of a ResSta. + * @exports IResSta + * @interface IResSta + * @property {number|null} [cmd] ResSta cmd + * @property {number|null} [code] ResSta code + * @property {string|null} [ssid] ResSta ssid + * @property {string|null} [psd] ResSta psd + * @property {string|null} [ip] ResSta ip + */ + + /** + * Constructs a new ResSta. + * @exports ResSta + * @classdesc Represents a ResSta. + * @implements IResSta + * @constructor + * @param {IResSta=} [properties] Properties to set + */ + function ResSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSta cmd. + * @member {number} cmd + * @memberof ResSta + * @instance + */ + ResSta.prototype.cmd = 0; + + /** + * ResSta code. + * @member {number} code + * @memberof ResSta + * @instance + */ + ResSta.prototype.code = 0; + + /** + * ResSta ssid. + * @member {string} ssid + * @memberof ResSta + * @instance + */ + ResSta.prototype.ssid = ""; + + /** + * ResSta psd. + * @member {string} psd + * @memberof ResSta + * @instance + */ + ResSta.prototype.psd = ""; + + /** + * ResSta ip. + * @member {string} ip + * @memberof ResSta + * @instance + */ + ResSta.prototype.ip = ""; + + /** + * Creates a new ResSta instance using the specified properties. + * @function create + * @memberof ResSta + * @static + * @param {IResSta=} [properties] Properties to set + * @returns {ResSta} ResSta instance + */ + ResSta.create = function create(properties) { + return new ResSta(properties); + }; + + /** + * Encodes the specified ResSta message. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encode + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ip); + return writer; + }; + + /** + * Encodes the specified ResSta message, length delimited. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSta message from the specified reader or buffer. + * @function decode + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.ssid = reader.string(); + break; + } + case 4: { + message.psd = reader.string(); + break; + } + case 5: { + message.ip = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSta message. + * @function verify + * @memberof ResSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) return "ip: string expected"; + return null; + }; + + /** + * Creates a ResSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSta + * @static + * @param {Object.} object Plain object + * @returns {ResSta} ResSta + */ + ResSta.fromObject = function fromObject(object) { + if (object instanceof $root.ResSta) return object; + var message = new $root.ResSta(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + if (object.ip != null) message.ip = String(object.ip); + return message; + }; + + /** + * Creates a plain object from a ResSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSta + * @static + * @param {ResSta} message ResSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSta.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + return object; + }; + + /** + * Converts this ResSta to JSON. + * @function toJSON + * @memberof ResSta + * @instance + * @returns {Object.} JSON object + */ + ResSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSta + * @function getTypeUrl + * @memberof ResSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSta"; + }; + + return ResSta; +})(); + +$root.ResSetblewifi = (function () { + /** + * Properties of a ResSetblewifi. + * @exports IResSetblewifi + * @interface IResSetblewifi + * @property {number|null} [cmd] ResSetblewifi cmd + * @property {number|null} [code] ResSetblewifi code + * @property {number|null} [mode] ResSetblewifi mode + * @property {string|null} [value] ResSetblewifi value + */ + + /** + * Constructs a new ResSetblewifi. + * @exports ResSetblewifi + * @classdesc Represents a ResSetblewifi. + * @implements IResSetblewifi + * @constructor + * @param {IResSetblewifi=} [properties] Properties to set + */ + function ResSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSetblewifi cmd. + * @member {number} cmd + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.cmd = 0; + + /** + * ResSetblewifi code. + * @member {number} code + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.code = 0; + + /** + * ResSetblewifi mode. + * @member {number} mode + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.mode = 0; + + /** + * ResSetblewifi value. + * @member {string} value + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.value = ""; + + /** + * Creates a new ResSetblewifi instance using the specified properties. + * @function create + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi=} [properties] Properties to set + * @returns {ResSetblewifi} ResSetblewifi instance + */ + ResSetblewifi.create = function create(properties) { + return new ResSetblewifi(properties); + }; + + /** + * Encodes the specified ResSetblewifi message. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encode + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + + /** + * Encodes the specified ResSetblewifi message, length delimited. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSetblewifi message. + * @function verify + * @memberof ResSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) return "value: string expected"; + return null; + }; + + /** + * Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ResSetblewifi} ResSetblewifi + */ + ResSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ResSetblewifi) return object; + var message = new $root.ResSetblewifi(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.value != null) message.value = String(object.value); + return message; + }; + + /** + * Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSetblewifi + * @static + * @param {ResSetblewifi} message ResSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSetblewifi.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ResSetblewifi to JSON. + * @function toJSON + * @memberof ResSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ResSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSetblewifi + * @function getTypeUrl + * @memberof ResSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSetblewifi"; + }; + + return ResSetblewifi; +})(); + +$root.ResReset = (function () { + /** + * Properties of a ResReset. + * @exports IResReset + * @interface IResReset + * @property {number|null} [cmd] ResReset cmd + * @property {number|null} [code] ResReset code + */ + + /** + * Constructs a new ResReset. + * @exports ResReset + * @classdesc Represents a ResReset. + * @implements IResReset + * @constructor + * @param {IResReset=} [properties] Properties to set + */ + function ResReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReset cmd. + * @member {number} cmd + * @memberof ResReset + * @instance + */ + ResReset.prototype.cmd = 0; + + /** + * ResReset code. + * @member {number} code + * @memberof ResReset + * @instance + */ + ResReset.prototype.code = 0; + + /** + * Creates a new ResReset instance using the specified properties. + * @function create + * @memberof ResReset + * @static + * @param {IResReset=} [properties] Properties to set + * @returns {ResReset} ResReset instance + */ + ResReset.create = function create(properties) { + return new ResReset(properties); + }; + + /** + * Encodes the specified ResReset message. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encode + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReset message, length delimited. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReset message from the specified reader or buffer. + * @function decode + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReset message. + * @function verify + * @memberof ResReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReset + * @static + * @param {Object.} object Plain object + * @returns {ResReset} ResReset + */ + ResReset.fromObject = function fromObject(object) { + if (object instanceof $root.ResReset) return object; + var message = new $root.ResReset(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReset + * @static + * @param {ResReset} message ResReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReset to JSON. + * @function toJSON + * @memberof ResReset + * @instance + * @returns {Object.} JSON object + */ + ResReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReset + * @function getTypeUrl + * @memberof ResReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReset"; + }; + + return ResReset; +})(); + +$root.ResWifilist = (function () { + /** + * Properties of a ResWifilist. + * @exports IResWifilist + * @interface IResWifilist + * @property {number|null} [cmd] ResWifilist cmd + * @property {number|null} [code] ResWifilist code + * @property {Array.|null} [ssid] ResWifilist ssid + */ + + /** + * Constructs a new ResWifilist. + * @exports ResWifilist + * @classdesc Represents a ResWifilist. + * @implements IResWifilist + * @constructor + * @param {IResWifilist=} [properties] Properties to set + */ + function ResWifilist(properties) { + this.ssid = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResWifilist cmd. + * @member {number} cmd + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.cmd = 0; + + /** + * ResWifilist code. + * @member {number} code + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.code = 0; + + /** + * ResWifilist ssid. + * @member {Array.} ssid + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.ssid = $util.emptyArray; + + /** + * Creates a new ResWifilist instance using the specified properties. + * @function create + * @memberof ResWifilist + * @static + * @param {IResWifilist=} [properties] Properties to set + * @returns {ResWifilist} ResWifilist instance + */ + ResWifilist.create = function create(properties) { + return new ResWifilist(properties); + }; + + /** + * Encodes the specified ResWifilist message. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encode + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && message.ssid.length) + for (var i = 0; i < message.ssid.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid[i]); + return writer; + }; + + /** + * Encodes the specified ResWifilist message, length delimited. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResWifilist message from the specified reader or buffer. + * @function decode + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResWifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 4: { + if (!(message.ssid && message.ssid.length)) message.ssid = []; + message.ssid.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResWifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResWifilist message. + * @function verify + * @memberof ResWifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResWifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) { + if (!Array.isArray(message.ssid)) return "ssid: array expected"; + for (var i = 0; i < message.ssid.length; ++i) + if (!$util.isString(message.ssid[i])) return "ssid: string[] expected"; + } + return null; + }; + + /** + * Creates a ResWifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResWifilist + * @static + * @param {Object.} object Plain object + * @returns {ResWifilist} ResWifilist + */ + ResWifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ResWifilist) return object; + var message = new $root.ResWifilist(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.ssid) { + if (!Array.isArray(object.ssid)) + throw TypeError(".ResWifilist.ssid: array expected"); + message.ssid = []; + for (var i = 0; i < object.ssid.length; ++i) + message.ssid[i] = String(object.ssid[i]); + } + return message; + }; + + /** + * Creates a plain object from a ResWifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ResWifilist + * @static + * @param {ResWifilist} message ResWifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResWifilist.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.ssid = []; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid && message.ssid.length) { + object.ssid = []; + for (var j = 0; j < message.ssid.length; ++j) + object.ssid[j] = message.ssid[j]; + } + return object; + }; + + /** + * Converts this ResWifilist to JSON. + * @function toJSON + * @memberof ResWifilist + * @instance + * @returns {Object.} JSON object + */ + ResWifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResWifilist + * @function getTypeUrl + * @memberof ResWifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResWifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResWifilist"; + }; + + return ResWifilist; +})(); + +$root.ResGetsysteminfo = (function () { + /** + * Properties of a ResGetsysteminfo. + * @exports IResGetsysteminfo + * @interface IResGetsysteminfo + * @property {number|null} [cmd] ResGetsysteminfo cmd + * @property {number|null} [code] ResGetsysteminfo code + * @property {number|null} [protocolVersion] ResGetsysteminfo protocolVersion + * @property {string|null} [device] ResGetsysteminfo device + * @property {string|null} [macAddress] ResGetsysteminfo macAddress + * @property {string|null} [dwarfOtaVersion] ResGetsysteminfo dwarfOtaVersion + */ + + /** + * Constructs a new ResGetsysteminfo. + * @exports ResGetsysteminfo + * @classdesc Represents a ResGetsysteminfo. + * @implements IResGetsysteminfo + * @constructor + * @param {IResGetsysteminfo=} [properties] Properties to set + */ + function ResGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetsysteminfo cmd. + * @member {number} cmd + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.cmd = 0; + + /** + * ResGetsysteminfo code. + * @member {number} code + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.code = 0; + + /** + * ResGetsysteminfo protocolVersion. + * @member {number} protocolVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.protocolVersion = 0; + + /** + * ResGetsysteminfo device. + * @member {string} device + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.device = ""; + + /** + * ResGetsysteminfo macAddress. + * @member {string} macAddress + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.macAddress = ""; + + /** + * ResGetsysteminfo dwarfOtaVersion. + * @member {string} dwarfOtaVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.dwarfOtaVersion = ""; + + /** + * Creates a new ResGetsysteminfo instance using the specified properties. + * @function create + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo=} [properties] Properties to set + * @returns {ResGetsysteminfo} ResGetsysteminfo instance + */ + ResGetsysteminfo.create = function create(properties) { + return new ResGetsysteminfo(properties); + }; + + /** + * Encodes the specified ResGetsysteminfo message. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if ( + message.protocolVersion != null && + Object.hasOwnProperty.call(message, "protocolVersion") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.protocolVersion); + if (message.device != null && Object.hasOwnProperty.call(message, "device")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.device); + if ( + message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.macAddress); + if ( + message.dwarfOtaVersion != null && + Object.hasOwnProperty.call(message, "dwarfOtaVersion") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.dwarfOtaVersion); + return writer; + }; + + /** + * Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.protocolVersion = reader.int32(); + break; + } + case 4: { + message.device = reader.string(); + break; + } + case 5: { + message.macAddress = reader.string(); + break; + } + case 6: { + message.dwarfOtaVersion = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetsysteminfo message. + * @function verify + * @memberof ResGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.protocolVersion != null && + message.hasOwnProperty("protocolVersion") + ) + if (!$util.isInteger(message.protocolVersion)) + return "protocolVersion: integer expected"; + if (message.device != null && message.hasOwnProperty("device")) + if (!$util.isString(message.device)) return "device: string expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if ( + message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion") + ) + if (!$util.isString(message.dwarfOtaVersion)) + return "dwarfOtaVersion: string expected"; + return null; + }; + + /** + * Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetsysteminfo} ResGetsysteminfo + */ + ResGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetsysteminfo) return object; + var message = new $root.ResGetsysteminfo(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.protocolVersion != null) + message.protocolVersion = object.protocolVersion | 0; + if (object.device != null) message.device = String(object.device); + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.dwarfOtaVersion != null) + message.dwarfOtaVersion = String(object.dwarfOtaVersion); + return message; + }; + + /** + * Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetsysteminfo + * @static + * @param {ResGetsysteminfo} message ResGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetsysteminfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.protocolVersion = 0; + object.device = ""; + object.macAddress = ""; + object.dwarfOtaVersion = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.protocolVersion != null && + message.hasOwnProperty("protocolVersion") + ) + object.protocolVersion = message.protocolVersion; + if (message.device != null && message.hasOwnProperty("device")) + object.device = message.device; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if ( + message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion") + ) + object.dwarfOtaVersion = message.dwarfOtaVersion; + return object; + }; + + /** + * Converts this ResGetsysteminfo to JSON. + * @function toJSON + * @memberof ResGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ResGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetsysteminfo + * @function getTypeUrl + * @memberof ResGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetsysteminfo"; + }; + + return ResGetsysteminfo; +})(); + +$root.ResReceiveDataError = (function () { + /** + * Properties of a ResReceiveDataError. + * @exports IResReceiveDataError + * @interface IResReceiveDataError + * @property {number|null} [cmd] ResReceiveDataError cmd + * @property {number|null} [code] ResReceiveDataError code + */ + + /** + * Constructs a new ResReceiveDataError. + * @exports ResReceiveDataError + * @classdesc Represents a ResReceiveDataError. + * @implements IResReceiveDataError + * @constructor + * @param {IResReceiveDataError=} [properties] Properties to set + */ + function ResReceiveDataError(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReceiveDataError cmd. + * @member {number} cmd + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.cmd = 0; + + /** + * ResReceiveDataError code. + * @member {number} code + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.code = 0; + + /** + * Creates a new ResReceiveDataError instance using the specified properties. + * @function create + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError=} [properties] Properties to set + * @returns {ResReceiveDataError} ResReceiveDataError instance + */ + ResReceiveDataError.create = function create(properties) { + return new ResReceiveDataError(properties); + }; + + /** + * Encodes the specified ResReceiveDataError message. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encode + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer. + * @function decode + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReceiveDataError(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReceiveDataError message. + * @function verify + * @memberof ResReceiveDataError + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReceiveDataError.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReceiveDataError + * @static + * @param {Object.} object Plain object + * @returns {ResReceiveDataError} ResReceiveDataError + */ + ResReceiveDataError.fromObject = function fromObject(object) { + if (object instanceof $root.ResReceiveDataError) return object; + var message = new $root.ResReceiveDataError(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReceiveDataError + * @static + * @param {ResReceiveDataError} message ResReceiveDataError + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReceiveDataError.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReceiveDataError to JSON. + * @function toJSON + * @memberof ResReceiveDataError + * @instance + * @returns {Object.} JSON object + */ + ResReceiveDataError.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReceiveDataError + * @function getTypeUrl + * @memberof ResReceiveDataError + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReceiveDataError.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReceiveDataError"; + }; + + return ResReceiveDataError; +})(); + +$root.ResCheckFile = (function () { + /** + * Properties of a ResCheckFile. + * @exports IResCheckFile + * @interface IResCheckFile + * @property {number|null} [cmd] ResCheckFile cmd + * @property {number|null} [code] ResCheckFile code + */ + + /** + * Constructs a new ResCheckFile. + * @exports ResCheckFile + * @classdesc Represents a ResCheckFile. + * @implements IResCheckFile + * @constructor + * @param {IResCheckFile=} [properties] Properties to set + */ + function ResCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCheckFile cmd. + * @member {number} cmd + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.cmd = 0; + + /** + * ResCheckFile code. + * @member {number} code + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.code = 0; + + /** + * Creates a new ResCheckFile instance using the specified properties. + * @function create + * @memberof ResCheckFile + * @static + * @param {IResCheckFile=} [properties] Properties to set + * @returns {ResCheckFile} ResCheckFile instance + */ + ResCheckFile.create = function create(properties) { + return new ResCheckFile(properties); + }; + + /** + * Encodes the specified ResCheckFile message. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encode + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCheckFile message, length delimited. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCheckFile message. + * @function verify + * @memberof ResCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ResCheckFile} ResCheckFile + */ + ResCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckFile) return object; + var message = new $root.ResCheckFile(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckFile + * @static + * @param {ResCheckFile} message ResCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCheckFile to JSON. + * @function toJSON + * @memberof ResCheckFile + * @instance + * @returns {Object.} JSON object + */ + ResCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCheckFile + * @function getTypeUrl + * @memberof ResCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckFile"; + }; + + return ResCheckFile; +})(); + +$root.ReqOpenCamera = (function () { + /** + * Properties of a ReqOpenCamera. + * @exports IReqOpenCamera + * @interface IReqOpenCamera + * @property {boolean|null} [binning] ReqOpenCamera binning + * @property {number|null} [rtspEncodeType] ReqOpenCamera rtspEncodeType + */ + + /** + * Constructs a new ReqOpenCamera. + * @exports ReqOpenCamera + * @classdesc Represents a ReqOpenCamera. + * @implements IReqOpenCamera + * @constructor + * @param {IReqOpenCamera=} [properties] Properties to set + */ + function ReqOpenCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOpenCamera binning. + * @member {boolean} binning + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.binning = false; + + /** + * ReqOpenCamera rtspEncodeType. + * @member {number} rtspEncodeType + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.rtspEncodeType = 0; + + /** + * Creates a new ReqOpenCamera instance using the specified properties. + * @function create + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera=} [properties] Properties to set + * @returns {ReqOpenCamera} ReqOpenCamera instance + */ + ReqOpenCamera.create = function create(properties) { + return new ReqOpenCamera(properties); + }; + + /** + * Encodes the specified ReqOpenCamera message. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encode + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.binning != null && + Object.hasOwnProperty.call(message, "binning") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.binning); + if ( + message.rtspEncodeType != null && + Object.hasOwnProperty.call(message, "rtspEncodeType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.rtspEncodeType); + return writer; + }; + + /** + * Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.binning = reader.bool(); + break; + } + case 2: { + message.rtspEncodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenCamera message. + * @function verify + * @memberof ReqOpenCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.binning != null && message.hasOwnProperty("binning")) + if (typeof message.binning !== "boolean") + return "binning: boolean expected"; + if ( + message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType") + ) + if (!$util.isInteger(message.rtspEncodeType)) + return "rtspEncodeType: integer expected"; + return null; + }; + + /** + * Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenCamera} ReqOpenCamera + */ + ReqOpenCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenCamera) return object; + var message = new $root.ReqOpenCamera(); + if (object.binning != null) message.binning = Boolean(object.binning); + if (object.rtspEncodeType != null) + message.rtspEncodeType = object.rtspEncodeType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenCamera + * @static + * @param {ReqOpenCamera} message ReqOpenCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenCamera.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.binning = false; + object.rtspEncodeType = 0; + } + if (message.binning != null && message.hasOwnProperty("binning")) + object.binning = message.binning; + if ( + message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType") + ) + object.rtspEncodeType = message.rtspEncodeType; + return object; + }; + + /** + * Converts this ReqOpenCamera to JSON. + * @function toJSON + * @memberof ReqOpenCamera + * @instance + * @returns {Object.} JSON object + */ + ReqOpenCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenCamera + * @function getTypeUrl + * @memberof ReqOpenCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenCamera"; + }; + + return ReqOpenCamera; +})(); + +$root.ReqCloseCamera = (function () { + /** + * Properties of a ReqCloseCamera. + * @exports IReqCloseCamera + * @interface IReqCloseCamera + */ + + /** + * Constructs a new ReqCloseCamera. + * @exports ReqCloseCamera + * @classdesc Represents a ReqCloseCamera. + * @implements IReqCloseCamera + * @constructor + * @param {IReqCloseCamera=} [properties] Properties to set + */ + function ReqCloseCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCloseCamera instance using the specified properties. + * @function create + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera=} [properties] Properties to set + * @returns {ReqCloseCamera} ReqCloseCamera instance + */ + ReqCloseCamera.create = function create(properties) { + return new ReqCloseCamera(properties); + }; + + /** + * Encodes the specified ReqCloseCamera message. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encode + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCloseCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCloseCamera message. + * @function verify + * @memberof ReqCloseCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseCamera} ReqCloseCamera + */ + ReqCloseCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseCamera) return object; + return new $root.ReqCloseCamera(); + }; + + /** + * Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseCamera + * @static + * @param {ReqCloseCamera} message ReqCloseCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseCamera.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCloseCamera to JSON. + * @function toJSON + * @memberof ReqCloseCamera + * @instance + * @returns {Object.} JSON object + */ + ReqCloseCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCloseCamera + * @function getTypeUrl + * @memberof ReqCloseCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseCamera"; + }; + + return ReqCloseCamera; +})(); + +$root.ReqPhoto = (function () { + /** + * Properties of a ReqPhoto. + * @exports IReqPhoto + * @interface IReqPhoto + */ + + /** + * Constructs a new ReqPhoto. + * @exports ReqPhoto + * @classdesc Represents a ReqPhoto. + * @implements IReqPhoto + * @constructor + * @param {IReqPhoto=} [properties] Properties to set + */ + function ReqPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPhoto instance using the specified properties. + * @function create + * @memberof ReqPhoto + * @static + * @param {IReqPhoto=} [properties] Properties to set + * @returns {ReqPhoto} ReqPhoto instance + */ + ReqPhoto.create = function create(properties) { + return new ReqPhoto(properties); + }; + + /** + * Encodes the specified ReqPhoto message. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encode + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPhoto message, length delimited. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPhoto message. + * @function verify + * @memberof ReqPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqPhoto} ReqPhoto + */ + ReqPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhoto) return object; + return new $root.ReqPhoto(); + }; + + /** + * Creates a plain object from a ReqPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhoto + * @static + * @param {ReqPhoto} message ReqPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPhoto to JSON. + * @function toJSON + * @memberof ReqPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPhoto + * @function getTypeUrl + * @memberof ReqPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhoto"; + }; + + return ReqPhoto; +})(); + +$root.ReqBurstPhoto = (function () { + /** + * Properties of a ReqBurstPhoto. + * @exports IReqBurstPhoto + * @interface IReqBurstPhoto + * @property {number|null} [count] ReqBurstPhoto count + */ + + /** + * Constructs a new ReqBurstPhoto. + * @exports ReqBurstPhoto + * @classdesc Represents a ReqBurstPhoto. + * @implements IReqBurstPhoto + * @constructor + * @param {IReqBurstPhoto=} [properties] Properties to set + */ + function ReqBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqBurstPhoto count. + * @member {number} count + * @memberof ReqBurstPhoto + * @instance + */ + ReqBurstPhoto.prototype.count = 0; + + /** + * Creates a new ReqBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto=} [properties] Properties to set + * @returns {ReqBurstPhoto} ReqBurstPhoto instance + */ + ReqBurstPhoto.create = function create(properties) { + return new ReqBurstPhoto(properties); + }; + + /** + * Encodes the specified ReqBurstPhoto message. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.count != null && Object.hasOwnProperty.call(message, "count")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.count); + return writer; + }; + + /** + * Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.count = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqBurstPhoto message. + * @function verify + * @memberof ReqBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.count != null && message.hasOwnProperty("count")) + if (!$util.isInteger(message.count)) return "count: integer expected"; + return null; + }; + + /** + * Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqBurstPhoto} ReqBurstPhoto + */ + ReqBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqBurstPhoto) return object; + var message = new $root.ReqBurstPhoto(); + if (object.count != null) message.count = object.count | 0; + return message; + }; + + /** + * Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqBurstPhoto + * @static + * @param {ReqBurstPhoto} message ReqBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqBurstPhoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.count = 0; + if (message.count != null && message.hasOwnProperty("count")) + object.count = message.count; + return object; + }; + + /** + * Converts this ReqBurstPhoto to JSON. + * @function toJSON + * @memberof ReqBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqBurstPhoto + * @function getTypeUrl + * @memberof ReqBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqBurstPhoto"; + }; + + return ReqBurstPhoto; +})(); + +$root.ReqStopBurstPhoto = (function () { + /** + * Properties of a ReqStopBurstPhoto. + * @exports IReqStopBurstPhoto + * @interface IReqStopBurstPhoto + */ + + /** + * Constructs a new ReqStopBurstPhoto. + * @exports ReqStopBurstPhoto + * @classdesc Represents a ReqStopBurstPhoto. + * @implements IReqStopBurstPhoto + * @constructor + * @param {IReqStopBurstPhoto=} [properties] Properties to set + */ + function ReqStopBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto=} [properties] Properties to set + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto instance + */ + ReqStopBurstPhoto.create = function create(properties) { + return new ReqStopBurstPhoto(properties); + }; + + /** + * Encodes the specified ReqStopBurstPhoto message. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopBurstPhoto message. + * @function verify + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + */ + ReqStopBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopBurstPhoto) return object; + return new $root.ReqStopBurstPhoto(); + }; + + /** + * Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopBurstPhoto + * @static + * @param {ReqStopBurstPhoto} message ReqStopBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopBurstPhoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopBurstPhoto to JSON. + * @function toJSON + * @memberof ReqStopBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopBurstPhoto + * @function getTypeUrl + * @memberof ReqStopBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopBurstPhoto"; + }; + + return ReqStopBurstPhoto; +})(); + +$root.ReqStartRecord = (function () { + /** + * Properties of a ReqStartRecord. + * @exports IReqStartRecord + * @interface IReqStartRecord + * @property {number|null} [encodeType] ReqStartRecord encodeType + */ + + /** + * Constructs a new ReqStartRecord. + * @exports ReqStartRecord + * @classdesc Represents a ReqStartRecord. + * @implements IReqStartRecord + * @constructor + * @param {IReqStartRecord=} [properties] Properties to set + */ + function ReqStartRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartRecord encodeType. + * @member {number} encodeType + * @memberof ReqStartRecord + * @instance + */ + ReqStartRecord.prototype.encodeType = 0; + + /** + * Creates a new ReqStartRecord instance using the specified properties. + * @function create + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord=} [properties] Properties to set + * @returns {ReqStartRecord} ReqStartRecord instance + */ + ReqStartRecord.create = function create(properties) { + return new ReqStartRecord(properties); + }; + + /** + * Encodes the specified ReqStartRecord message. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encode + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.encodeType != null && + Object.hasOwnProperty.call(message, "encodeType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.encodeType); + return writer; + }; + + /** + * Encodes the specified ReqStartRecord message, length delimited. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.encodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartRecord message. + * @function verify + * @memberof ReqStartRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + if (!$util.isInteger(message.encodeType)) + return "encodeType: integer expected"; + return null; + }; + + /** + * Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStartRecord} ReqStartRecord + */ + ReqStartRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartRecord) return object; + var message = new $root.ReqStartRecord(); + if (object.encodeType != null) message.encodeType = object.encodeType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartRecord + * @static + * @param {ReqStartRecord} message ReqStartRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartRecord.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.encodeType = 0; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + object.encodeType = message.encodeType; + return object; + }; + + /** + * Converts this ReqStartRecord to JSON. + * @function toJSON + * @memberof ReqStartRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStartRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartRecord + * @function getTypeUrl + * @memberof ReqStartRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartRecord"; + }; + + return ReqStartRecord; +})(); + +$root.ReqStopRecord = (function () { + /** + * Properties of a ReqStopRecord. + * @exports IReqStopRecord + * @interface IReqStopRecord + */ + + /** + * Constructs a new ReqStopRecord. + * @exports ReqStopRecord + * @classdesc Represents a ReqStopRecord. + * @implements IReqStopRecord + * @constructor + * @param {IReqStopRecord=} [properties] Properties to set + */ + function ReqStopRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopRecord instance using the specified properties. + * @function create + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord=} [properties] Properties to set + * @returns {ReqStopRecord} ReqStopRecord instance + */ + ReqStopRecord.create = function create(properties) { + return new ReqStopRecord(properties); + }; + + /** + * Encodes the specified ReqStopRecord message. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encode + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopRecord message, length delimited. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopRecord message. + * @function verify + * @memberof ReqStopRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStopRecord} ReqStopRecord + */ + ReqStopRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopRecord) return object; + return new $root.ReqStopRecord(); + }; + + /** + * Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopRecord + * @static + * @param {ReqStopRecord} message ReqStopRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopRecord.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopRecord to JSON. + * @function toJSON + * @memberof ReqStopRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStopRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopRecord + * @function getTypeUrl + * @memberof ReqStopRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopRecord"; + }; + + return ReqStopRecord; +})(); + +$root.ReqSetExpMode = (function () { + /** + * Properties of a ReqSetExpMode. + * @exports IReqSetExpMode + * @interface IReqSetExpMode + * @property {number|null} [mode] ReqSetExpMode mode + */ + + /** + * Constructs a new ReqSetExpMode. + * @exports ReqSetExpMode + * @classdesc Represents a ReqSetExpMode. + * @implements IReqSetExpMode + * @constructor + * @param {IReqSetExpMode=} [properties] Properties to set + */ + function ReqSetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetExpMode mode. + * @member {number} mode + * @memberof ReqSetExpMode + * @instance + */ + ReqSetExpMode.prototype.mode = 0; + + /** + * Creates a new ReqSetExpMode instance using the specified properties. + * @function create + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode=} [properties] Properties to set + * @returns {ReqSetExpMode} ReqSetExpMode instance + */ + ReqSetExpMode.create = function create(properties) { + return new ReqSetExpMode(properties); + }; + + /** + * Encodes the specified ReqSetExpMode message. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetExpMode message. + * @function verify + * @memberof ReqSetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExpMode} ReqSetExpMode + */ + ReqSetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExpMode) return object; + var message = new $root.ReqSetExpMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExpMode + * @static + * @param {ReqSetExpMode} message ReqSetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExpMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetExpMode to JSON. + * @function toJSON + * @memberof ReqSetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetExpMode + * @function getTypeUrl + * @memberof ReqSetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExpMode"; + }; + + return ReqSetExpMode; +})(); + +$root.ReqGetExpMode = (function () { + /** + * Properties of a ReqGetExpMode. + * @exports IReqGetExpMode + * @interface IReqGetExpMode + */ + + /** + * Constructs a new ReqGetExpMode. + * @exports ReqGetExpMode + * @classdesc Represents a ReqGetExpMode. + * @implements IReqGetExpMode + * @constructor + * @param {IReqGetExpMode=} [properties] Properties to set + */ + function ReqGetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetExpMode instance using the specified properties. + * @function create + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode=} [properties] Properties to set + * @returns {ReqGetExpMode} ReqGetExpMode instance + */ + ReqGetExpMode.create = function create(properties) { + return new ReqGetExpMode(properties); + }; + + /** + * Encodes the specified ReqGetExpMode message. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetExpMode message. + * @function verify + * @memberof ReqGetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExpMode} ReqGetExpMode + */ + ReqGetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExpMode) return object; + return new $root.ReqGetExpMode(); + }; + + /** + * Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExpMode + * @static + * @param {ReqGetExpMode} message ReqGetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExpMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetExpMode to JSON. + * @function toJSON + * @memberof ReqGetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetExpMode + * @function getTypeUrl + * @memberof ReqGetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExpMode"; + }; + + return ReqGetExpMode; +})(); + +$root.ReqSetExp = (function () { + /** + * Properties of a ReqSetExp. + * @exports IReqSetExp + * @interface IReqSetExp + * @property {number|null} [index] ReqSetExp index + */ + + /** + * Constructs a new ReqSetExp. + * @exports ReqSetExp + * @classdesc Represents a ReqSetExp. + * @implements IReqSetExp + * @constructor + * @param {IReqSetExp=} [properties] Properties to set + */ + function ReqSetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetExp index. + * @member {number} index + * @memberof ReqSetExp + * @instance + */ + ReqSetExp.prototype.index = 0; + + /** + * Creates a new ReqSetExp instance using the specified properties. + * @function create + * @memberof ReqSetExp + * @static + * @param {IReqSetExp=} [properties] Properties to set + * @returns {ReqSetExp} ReqSetExp instance + */ + ReqSetExp.create = function create(properties) { + return new ReqSetExp(properties); + }; + + /** + * Encodes the specified ReqSetExp message. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encode + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetExp message, length delimited. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetExp message. + * @function verify + * @memberof ReqSetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExp} ReqSetExp + */ + ReqSetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExp) return object; + var message = new $root.ReqSetExp(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExp + * @static + * @param {ReqSetExp} message ReqSetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetExp to JSON. + * @function toJSON + * @memberof ReqSetExp + * @instance + * @returns {Object.} JSON object + */ + ReqSetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetExp + * @function getTypeUrl + * @memberof ReqSetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExp"; + }; + + return ReqSetExp; +})(); + +$root.ReqGetExp = (function () { + /** + * Properties of a ReqGetExp. + * @exports IReqGetExp + * @interface IReqGetExp + */ + + /** + * Constructs a new ReqGetExp. + * @exports ReqGetExp + * @classdesc Represents a ReqGetExp. + * @implements IReqGetExp + * @constructor + * @param {IReqGetExp=} [properties] Properties to set + */ + function ReqGetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetExp instance using the specified properties. + * @function create + * @memberof ReqGetExp + * @static + * @param {IReqGetExp=} [properties] Properties to set + * @returns {ReqGetExp} ReqGetExp instance + */ + ReqGetExp.create = function create(properties) { + return new ReqGetExp(properties); + }; + + /** + * Encodes the specified ReqGetExp message. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encode + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetExp message, length delimited. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetExp message. + * @function verify + * @memberof ReqGetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExp} ReqGetExp + */ + ReqGetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExp) return object; + return new $root.ReqGetExp(); + }; + + /** + * Creates a plain object from a ReqGetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExp + * @static + * @param {ReqGetExp} message ReqGetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExp.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetExp to JSON. + * @function toJSON + * @memberof ReqGetExp + * @instance + * @returns {Object.} JSON object + */ + ReqGetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetExp + * @function getTypeUrl + * @memberof ReqGetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExp"; + }; + + return ReqGetExp; +})(); + +$root.ReqSetGainMode = (function () { + /** + * Properties of a ReqSetGainMode. + * @exports IReqSetGainMode + * @interface IReqSetGainMode + * @property {number|null} [mode] ReqSetGainMode mode + */ + + /** + * Constructs a new ReqSetGainMode. + * @exports ReqSetGainMode + * @classdesc Represents a ReqSetGainMode. + * @implements IReqSetGainMode + * @constructor + * @param {IReqSetGainMode=} [properties] Properties to set + */ + function ReqSetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetGainMode mode. + * @member {number} mode + * @memberof ReqSetGainMode + * @instance + */ + ReqSetGainMode.prototype.mode = 0; + + /** + * Creates a new ReqSetGainMode instance using the specified properties. + * @function create + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode=} [properties] Properties to set + * @returns {ReqSetGainMode} ReqSetGainMode instance + */ + ReqSetGainMode.create = function create(properties) { + return new ReqSetGainMode(properties); + }; + + /** + * Encodes the specified ReqSetGainMode message. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetGainMode message. + * @function verify + * @memberof ReqSetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGainMode} ReqSetGainMode + */ + ReqSetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGainMode) return object; + var message = new $root.ReqSetGainMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGainMode + * @static + * @param {ReqSetGainMode} message ReqSetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGainMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetGainMode to JSON. + * @function toJSON + * @memberof ReqSetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetGainMode + * @function getTypeUrl + * @memberof ReqSetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGainMode"; + }; + + return ReqSetGainMode; +})(); + +$root.ReqGetGainMode = (function () { + /** + * Properties of a ReqGetGainMode. + * @exports IReqGetGainMode + * @interface IReqGetGainMode + */ + + /** + * Constructs a new ReqGetGainMode. + * @exports ReqGetGainMode + * @classdesc Represents a ReqGetGainMode. + * @implements IReqGetGainMode + * @constructor + * @param {IReqGetGainMode=} [properties] Properties to set + */ + function ReqGetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetGainMode instance using the specified properties. + * @function create + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode=} [properties] Properties to set + * @returns {ReqGetGainMode} ReqGetGainMode instance + */ + ReqGetGainMode.create = function create(properties) { + return new ReqGetGainMode(properties); + }; + + /** + * Encodes the specified ReqGetGainMode message. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetGainMode message. + * @function verify + * @memberof ReqGetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGainMode} ReqGetGainMode + */ + ReqGetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGainMode) return object; + return new $root.ReqGetGainMode(); + }; + + /** + * Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGainMode + * @static + * @param {ReqGetGainMode} message ReqGetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGainMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetGainMode to JSON. + * @function toJSON + * @memberof ReqGetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetGainMode + * @function getTypeUrl + * @memberof ReqGetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGainMode"; + }; + + return ReqGetGainMode; +})(); + +$root.ReqSetGain = (function () { + /** + * Properties of a ReqSetGain. + * @exports IReqSetGain + * @interface IReqSetGain + * @property {number|null} [index] ReqSetGain index + */ + + /** + * Constructs a new ReqSetGain. + * @exports ReqSetGain + * @classdesc Represents a ReqSetGain. + * @implements IReqSetGain + * @constructor + * @param {IReqSetGain=} [properties] Properties to set + */ + function ReqSetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetGain index. + * @member {number} index + * @memberof ReqSetGain + * @instance + */ + ReqSetGain.prototype.index = 0; + + /** + * Creates a new ReqSetGain instance using the specified properties. + * @function create + * @memberof ReqSetGain + * @static + * @param {IReqSetGain=} [properties] Properties to set + * @returns {ReqSetGain} ReqSetGain instance + */ + ReqSetGain.create = function create(properties) { + return new ReqSetGain(properties); + }; + + /** + * Encodes the specified ReqSetGain message. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encode + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetGain message, length delimited. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetGain message. + * @function verify + * @memberof ReqSetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGain} ReqSetGain + */ + ReqSetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGain) return object; + var message = new $root.ReqSetGain(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGain + * @static + * @param {ReqSetGain} message ReqSetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGain.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetGain to JSON. + * @function toJSON + * @memberof ReqSetGain + * @instance + * @returns {Object.} JSON object + */ + ReqSetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetGain + * @function getTypeUrl + * @memberof ReqSetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGain"; + }; + + return ReqSetGain; +})(); + +$root.ReqGetGain = (function () { + /** + * Properties of a ReqGetGain. + * @exports IReqGetGain + * @interface IReqGetGain + */ + + /** + * Constructs a new ReqGetGain. + * @exports ReqGetGain + * @classdesc Represents a ReqGetGain. + * @implements IReqGetGain + * @constructor + * @param {IReqGetGain=} [properties] Properties to set + */ + function ReqGetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetGain instance using the specified properties. + * @function create + * @memberof ReqGetGain + * @static + * @param {IReqGetGain=} [properties] Properties to set + * @returns {ReqGetGain} ReqGetGain instance + */ + ReqGetGain.create = function create(properties) { + return new ReqGetGain(properties); + }; + + /** + * Encodes the specified ReqGetGain message. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encode + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetGain message, length delimited. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetGain message. + * @function verify + * @memberof ReqGetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGain} ReqGetGain + */ + ReqGetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGain) return object; + return new $root.ReqGetGain(); + }; + + /** + * Creates a plain object from a ReqGetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGain + * @static + * @param {ReqGetGain} message ReqGetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGain.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetGain to JSON. + * @function toJSON + * @memberof ReqGetGain + * @instance + * @returns {Object.} JSON object + */ + ReqGetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetGain + * @function getTypeUrl + * @memberof ReqGetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGain"; + }; + + return ReqGetGain; +})(); + +$root.ReqSetBrightness = (function () { + /** + * Properties of a ReqSetBrightness. + * @exports IReqSetBrightness + * @interface IReqSetBrightness + * @property {number|null} [value] ReqSetBrightness value + */ + + /** + * Constructs a new ReqSetBrightness. + * @exports ReqSetBrightness + * @classdesc Represents a ReqSetBrightness. + * @implements IReqSetBrightness + * @constructor + * @param {IReqSetBrightness=} [properties] Properties to set + */ + function ReqSetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetBrightness value. + * @member {number} value + * @memberof ReqSetBrightness + * @instance + */ + ReqSetBrightness.prototype.value = 0; + + /** + * Creates a new ReqSetBrightness instance using the specified properties. + * @function create + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness=} [properties] Properties to set + * @returns {ReqSetBrightness} ReqSetBrightness instance + */ + ReqSetBrightness.create = function create(properties) { + return new ReqSetBrightness(properties); + }; + + /** + * Encodes the specified ReqSetBrightness message. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetBrightness message. + * @function verify + * @memberof ReqSetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetBrightness} ReqSetBrightness + */ + ReqSetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetBrightness) return object; + var message = new $root.ReqSetBrightness(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetBrightness + * @static + * @param {ReqSetBrightness} message ReqSetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetBrightness.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetBrightness to JSON. + * @function toJSON + * @memberof ReqSetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqSetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetBrightness + * @function getTypeUrl + * @memberof ReqSetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetBrightness"; + }; + + return ReqSetBrightness; +})(); + +$root.ReqGetBrightness = (function () { + /** + * Properties of a ReqGetBrightness. + * @exports IReqGetBrightness + * @interface IReqGetBrightness + */ + + /** + * Constructs a new ReqGetBrightness. + * @exports ReqGetBrightness + * @classdesc Represents a ReqGetBrightness. + * @implements IReqGetBrightness + * @constructor + * @param {IReqGetBrightness=} [properties] Properties to set + */ + function ReqGetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetBrightness instance using the specified properties. + * @function create + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness=} [properties] Properties to set + * @returns {ReqGetBrightness} ReqGetBrightness instance + */ + ReqGetBrightness.create = function create(properties) { + return new ReqGetBrightness(properties); + }; + + /** + * Encodes the specified ReqGetBrightness message. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetBrightness message. + * @function verify + * @memberof ReqGetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetBrightness} ReqGetBrightness + */ + ReqGetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetBrightness) return object; + return new $root.ReqGetBrightness(); + }; + + /** + * Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetBrightness + * @static + * @param {ReqGetBrightness} message ReqGetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetBrightness.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetBrightness to JSON. + * @function toJSON + * @memberof ReqGetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqGetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetBrightness + * @function getTypeUrl + * @memberof ReqGetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetBrightness"; + }; + + return ReqGetBrightness; +})(); + +$root.ReqSetContrast = (function () { + /** + * Properties of a ReqSetContrast. + * @exports IReqSetContrast + * @interface IReqSetContrast + * @property {number|null} [value] ReqSetContrast value + */ + + /** + * Constructs a new ReqSetContrast. + * @exports ReqSetContrast + * @classdesc Represents a ReqSetContrast. + * @implements IReqSetContrast + * @constructor + * @param {IReqSetContrast=} [properties] Properties to set + */ + function ReqSetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetContrast value. + * @member {number} value + * @memberof ReqSetContrast + * @instance + */ + ReqSetContrast.prototype.value = 0; + + /** + * Creates a new ReqSetContrast instance using the specified properties. + * @function create + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast=} [properties] Properties to set + * @returns {ReqSetContrast} ReqSetContrast instance + */ + ReqSetContrast.create = function create(properties) { + return new ReqSetContrast(properties); + }; + + /** + * Encodes the specified ReqSetContrast message. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encode + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetContrast message, length delimited. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetContrast message. + * @function verify + * @memberof ReqSetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqSetContrast} ReqSetContrast + */ + ReqSetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetContrast) return object; + var message = new $root.ReqSetContrast(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetContrast + * @static + * @param {ReqSetContrast} message ReqSetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetContrast.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetContrast to JSON. + * @function toJSON + * @memberof ReqSetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqSetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetContrast + * @function getTypeUrl + * @memberof ReqSetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetContrast"; + }; + + return ReqSetContrast; +})(); + +$root.ReqGetContrast = (function () { + /** + * Properties of a ReqGetContrast. + * @exports IReqGetContrast + * @interface IReqGetContrast + */ + + /** + * Constructs a new ReqGetContrast. + * @exports ReqGetContrast + * @classdesc Represents a ReqGetContrast. + * @implements IReqGetContrast + * @constructor + * @param {IReqGetContrast=} [properties] Properties to set + */ + function ReqGetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetContrast instance using the specified properties. + * @function create + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast=} [properties] Properties to set + * @returns {ReqGetContrast} ReqGetContrast instance + */ + ReqGetContrast.create = function create(properties) { + return new ReqGetContrast(properties); + }; + + /** + * Encodes the specified ReqGetContrast message. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encode + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetContrast message, length delimited. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetContrast message. + * @function verify + * @memberof ReqGetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqGetContrast} ReqGetContrast + */ + ReqGetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetContrast) return object; + return new $root.ReqGetContrast(); + }; + + /** + * Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetContrast + * @static + * @param {ReqGetContrast} message ReqGetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetContrast.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetContrast to JSON. + * @function toJSON + * @memberof ReqGetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqGetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetContrast + * @function getTypeUrl + * @memberof ReqGetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetContrast"; + }; + + return ReqGetContrast; +})(); + +$root.ReqSetHue = (function () { + /** + * Properties of a ReqSetHue. + * @exports IReqSetHue + * @interface IReqSetHue + * @property {number|null} [value] ReqSetHue value + */ + + /** + * Constructs a new ReqSetHue. + * @exports ReqSetHue + * @classdesc Represents a ReqSetHue. + * @implements IReqSetHue + * @constructor + * @param {IReqSetHue=} [properties] Properties to set + */ + function ReqSetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetHue value. + * @member {number} value + * @memberof ReqSetHue + * @instance + */ + ReqSetHue.prototype.value = 0; + + /** + * Creates a new ReqSetHue instance using the specified properties. + * @function create + * @memberof ReqSetHue + * @static + * @param {IReqSetHue=} [properties] Properties to set + * @returns {ReqSetHue} ReqSetHue instance + */ + ReqSetHue.create = function create(properties) { + return new ReqSetHue(properties); + }; + + /** + * Encodes the specified ReqSetHue message. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encode + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetHue message, length delimited. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetHue message. + * @function verify + * @memberof ReqSetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqSetHue} ReqSetHue + */ + ReqSetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetHue) return object; + var message = new $root.ReqSetHue(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetHue + * @static + * @param {ReqSetHue} message ReqSetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetHue.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetHue to JSON. + * @function toJSON + * @memberof ReqSetHue + * @instance + * @returns {Object.} JSON object + */ + ReqSetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetHue + * @function getTypeUrl + * @memberof ReqSetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetHue"; + }; + + return ReqSetHue; +})(); + +$root.ReqGetHue = (function () { + /** + * Properties of a ReqGetHue. + * @exports IReqGetHue + * @interface IReqGetHue + */ + + /** + * Constructs a new ReqGetHue. + * @exports ReqGetHue + * @classdesc Represents a ReqGetHue. + * @implements IReqGetHue + * @constructor + * @param {IReqGetHue=} [properties] Properties to set + */ + function ReqGetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetHue instance using the specified properties. + * @function create + * @memberof ReqGetHue + * @static + * @param {IReqGetHue=} [properties] Properties to set + * @returns {ReqGetHue} ReqGetHue instance + */ + ReqGetHue.create = function create(properties) { + return new ReqGetHue(properties); + }; + + /** + * Encodes the specified ReqGetHue message. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encode + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetHue message, length delimited. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetHue message. + * @function verify + * @memberof ReqGetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqGetHue} ReqGetHue + */ + ReqGetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetHue) return object; + return new $root.ReqGetHue(); + }; + + /** + * Creates a plain object from a ReqGetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetHue + * @static + * @param {ReqGetHue} message ReqGetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetHue.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetHue to JSON. + * @function toJSON + * @memberof ReqGetHue + * @instance + * @returns {Object.} JSON object + */ + ReqGetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetHue + * @function getTypeUrl + * @memberof ReqGetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetHue"; + }; + + return ReqGetHue; +})(); + +$root.ReqSetSaturation = (function () { + /** + * Properties of a ReqSetSaturation. + * @exports IReqSetSaturation + * @interface IReqSetSaturation + * @property {number|null} [value] ReqSetSaturation value + */ + + /** + * Constructs a new ReqSetSaturation. + * @exports ReqSetSaturation + * @classdesc Represents a ReqSetSaturation. + * @implements IReqSetSaturation + * @constructor + * @param {IReqSetSaturation=} [properties] Properties to set + */ + function ReqSetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetSaturation value. + * @member {number} value + * @memberof ReqSetSaturation + * @instance + */ + ReqSetSaturation.prototype.value = 0; + + /** + * Creates a new ReqSetSaturation instance using the specified properties. + * @function create + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation=} [properties] Properties to set + * @returns {ReqSetSaturation} ReqSetSaturation instance + */ + ReqSetSaturation.create = function create(properties) { + return new ReqSetSaturation(properties); + }; + + /** + * Encodes the specified ReqSetSaturation message. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetSaturation message. + * @function verify + * @memberof ReqSetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSaturation} ReqSetSaturation + */ + ReqSetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSaturation) return object; + var message = new $root.ReqSetSaturation(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSaturation + * @static + * @param {ReqSetSaturation} message ReqSetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSaturation.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetSaturation to JSON. + * @function toJSON + * @memberof ReqSetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqSetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetSaturation + * @function getTypeUrl + * @memberof ReqSetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSaturation"; + }; + + return ReqSetSaturation; +})(); + +$root.ReqGetSaturation = (function () { + /** + * Properties of a ReqGetSaturation. + * @exports IReqGetSaturation + * @interface IReqGetSaturation + */ + + /** + * Constructs a new ReqGetSaturation. + * @exports ReqGetSaturation + * @classdesc Represents a ReqGetSaturation. + * @implements IReqGetSaturation + * @constructor + * @param {IReqGetSaturation=} [properties] Properties to set + */ + function ReqGetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSaturation instance using the specified properties. + * @function create + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation=} [properties] Properties to set + * @returns {ReqGetSaturation} ReqGetSaturation instance + */ + ReqGetSaturation.create = function create(properties) { + return new ReqGetSaturation(properties); + }; + + /** + * Encodes the specified ReqGetSaturation message. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSaturation message. + * @function verify + * @memberof ReqGetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSaturation} ReqGetSaturation + */ + ReqGetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSaturation) return object; + return new $root.ReqGetSaturation(); + }; + + /** + * Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSaturation + * @static + * @param {ReqGetSaturation} message ReqGetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSaturation.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSaturation to JSON. + * @function toJSON + * @memberof ReqGetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqGetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSaturation + * @function getTypeUrl + * @memberof ReqGetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSaturation"; + }; + + return ReqGetSaturation; +})(); + +$root.ReqSetSharpness = (function () { + /** + * Properties of a ReqSetSharpness. + * @exports IReqSetSharpness + * @interface IReqSetSharpness + * @property {number|null} [value] ReqSetSharpness value + */ + + /** + * Constructs a new ReqSetSharpness. + * @exports ReqSetSharpness + * @classdesc Represents a ReqSetSharpness. + * @implements IReqSetSharpness + * @constructor + * @param {IReqSetSharpness=} [properties] Properties to set + */ + function ReqSetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetSharpness value. + * @member {number} value + * @memberof ReqSetSharpness + * @instance + */ + ReqSetSharpness.prototype.value = 0; + + /** + * Creates a new ReqSetSharpness instance using the specified properties. + * @function create + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness=} [properties] Properties to set + * @returns {ReqSetSharpness} ReqSetSharpness instance + */ + ReqSetSharpness.create = function create(properties) { + return new ReqSetSharpness(properties); + }; + + /** + * Encodes the specified ReqSetSharpness message. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetSharpness message. + * @function verify + * @memberof ReqSetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSharpness} ReqSetSharpness + */ + ReqSetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSharpness) return object; + var message = new $root.ReqSetSharpness(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSharpness + * @static + * @param {ReqSetSharpness} message ReqSetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSharpness.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetSharpness to JSON. + * @function toJSON + * @memberof ReqSetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqSetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetSharpness + * @function getTypeUrl + * @memberof ReqSetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSharpness"; + }; + + return ReqSetSharpness; +})(); + +$root.ReqGetSharpness = (function () { + /** + * Properties of a ReqGetSharpness. + * @exports IReqGetSharpness + * @interface IReqGetSharpness + */ + + /** + * Constructs a new ReqGetSharpness. + * @exports ReqGetSharpness + * @classdesc Represents a ReqGetSharpness. + * @implements IReqGetSharpness + * @constructor + * @param {IReqGetSharpness=} [properties] Properties to set + */ + function ReqGetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSharpness instance using the specified properties. + * @function create + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness=} [properties] Properties to set + * @returns {ReqGetSharpness} ReqGetSharpness instance + */ + ReqGetSharpness.create = function create(properties) { + return new ReqGetSharpness(properties); + }; + + /** + * Encodes the specified ReqGetSharpness message. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSharpness message. + * @function verify + * @memberof ReqGetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSharpness} ReqGetSharpness + */ + ReqGetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSharpness) return object; + return new $root.ReqGetSharpness(); + }; + + /** + * Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSharpness + * @static + * @param {ReqGetSharpness} message ReqGetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSharpness.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSharpness to JSON. + * @function toJSON + * @memberof ReqGetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqGetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSharpness + * @function getTypeUrl + * @memberof ReqGetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSharpness"; + }; + + return ReqGetSharpness; +})(); + +$root.ReqSetWBMode = (function () { + /** + * Properties of a ReqSetWBMode. + * @exports IReqSetWBMode + * @interface IReqSetWBMode + * @property {number|null} [mode] ReqSetWBMode mode + */ + + /** + * Constructs a new ReqSetWBMode. + * @exports ReqSetWBMode + * @classdesc Represents a ReqSetWBMode. + * @implements IReqSetWBMode + * @constructor + * @param {IReqSetWBMode=} [properties] Properties to set + */ + function ReqSetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBMode mode. + * @member {number} mode + * @memberof ReqSetWBMode + * @instance + */ + ReqSetWBMode.prototype.mode = 0; + + /** + * Creates a new ReqSetWBMode instance using the specified properties. + * @function create + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode=} [properties] Properties to set + * @returns {ReqSetWBMode} ReqSetWBMode instance + */ + ReqSetWBMode.create = function create(properties) { + return new ReqSetWBMode(properties); + }; + + /** + * Encodes the specified ReqSetWBMode message. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBMode message. + * @function verify + * @memberof ReqSetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBMode} ReqSetWBMode + */ + ReqSetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBMode) return object; + var message = new $root.ReqSetWBMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBMode + * @static + * @param {ReqSetWBMode} message ReqSetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetWBMode to JSON. + * @function toJSON + * @memberof ReqSetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBMode + * @function getTypeUrl + * @memberof ReqSetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBMode"; + }; + + return ReqSetWBMode; +})(); + +$root.ReqGetWBMode = (function () { + /** + * Properties of a ReqGetWBMode. + * @exports IReqGetWBMode + * @interface IReqGetWBMode + */ + + /** + * Constructs a new ReqGetWBMode. + * @exports ReqGetWBMode + * @classdesc Represents a ReqGetWBMode. + * @implements IReqGetWBMode + * @constructor + * @param {IReqGetWBMode=} [properties] Properties to set + */ + function ReqGetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBMode instance using the specified properties. + * @function create + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode=} [properties] Properties to set + * @returns {ReqGetWBMode} ReqGetWBMode instance + */ + ReqGetWBMode.create = function create(properties) { + return new ReqGetWBMode(properties); + }; + + /** + * Encodes the specified ReqGetWBMode message. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBMode message. + * @function verify + * @memberof ReqGetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBMode} ReqGetWBMode + */ + ReqGetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBMode) return object; + return new $root.ReqGetWBMode(); + }; + + /** + * Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBMode + * @static + * @param {ReqGetWBMode} message ReqGetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBMode to JSON. + * @function toJSON + * @memberof ReqGetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBMode + * @function getTypeUrl + * @memberof ReqGetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBMode"; + }; + + return ReqGetWBMode; +})(); + +$root.ReqSetWBSence = (function () { + /** + * Properties of a ReqSetWBSence. + * @exports IReqSetWBSence + * @interface IReqSetWBSence + * @property {number|null} [value] ReqSetWBSence value + */ + + /** + * Constructs a new ReqSetWBSence. + * @exports ReqSetWBSence + * @classdesc Represents a ReqSetWBSence. + * @implements IReqSetWBSence + * @constructor + * @param {IReqSetWBSence=} [properties] Properties to set + */ + function ReqSetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBSence value. + * @member {number} value + * @memberof ReqSetWBSence + * @instance + */ + ReqSetWBSence.prototype.value = 0; + + /** + * Creates a new ReqSetWBSence instance using the specified properties. + * @function create + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence=} [properties] Properties to set + * @returns {ReqSetWBSence} ReqSetWBSence instance + */ + ReqSetWBSence.create = function create(properties) { + return new ReqSetWBSence(properties); + }; + + /** + * Encodes the specified ReqSetWBSence message. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBSence message. + * @function verify + * @memberof ReqSetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBSence} ReqSetWBSence + */ + ReqSetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBSence) return object; + var message = new $root.ReqSetWBSence(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBSence + * @static + * @param {ReqSetWBSence} message ReqSetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBSence.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetWBSence to JSON. + * @function toJSON + * @memberof ReqSetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBSence + * @function getTypeUrl + * @memberof ReqSetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBSence"; + }; + + return ReqSetWBSence; +})(); + +$root.ReqGetWBSence = (function () { + /** + * Properties of a ReqGetWBSence. + * @exports IReqGetWBSence + * @interface IReqGetWBSence + */ + + /** + * Constructs a new ReqGetWBSence. + * @exports ReqGetWBSence + * @classdesc Represents a ReqGetWBSence. + * @implements IReqGetWBSence + * @constructor + * @param {IReqGetWBSence=} [properties] Properties to set + */ + function ReqGetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBSence instance using the specified properties. + * @function create + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence=} [properties] Properties to set + * @returns {ReqGetWBSence} ReqGetWBSence instance + */ + ReqGetWBSence.create = function create(properties) { + return new ReqGetWBSence(properties); + }; + + /** + * Encodes the specified ReqGetWBSence message. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBSence message. + * @function verify + * @memberof ReqGetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBSence} ReqGetWBSence + */ + ReqGetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBSence) return object; + return new $root.ReqGetWBSence(); + }; + + /** + * Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBSence + * @static + * @param {ReqGetWBSence} message ReqGetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBSence.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBSence to JSON. + * @function toJSON + * @memberof ReqGetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBSence + * @function getTypeUrl + * @memberof ReqGetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBSence"; + }; + + return ReqGetWBSence; +})(); + +$root.ReqSetWBCT = (function () { + /** + * Properties of a ReqSetWBCT. + * @exports IReqSetWBCT + * @interface IReqSetWBCT + * @property {number|null} [index] ReqSetWBCT index + */ + + /** + * Constructs a new ReqSetWBCT. + * @exports ReqSetWBCT + * @classdesc Represents a ReqSetWBCT. + * @implements IReqSetWBCT + * @constructor + * @param {IReqSetWBCT=} [properties] Properties to set + */ + function ReqSetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBCT index. + * @member {number} index + * @memberof ReqSetWBCT + * @instance + */ + ReqSetWBCT.prototype.index = 0; + + /** + * Creates a new ReqSetWBCT instance using the specified properties. + * @function create + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT=} [properties] Properties to set + * @returns {ReqSetWBCT} ReqSetWBCT instance + */ + ReqSetWBCT.create = function create(properties) { + return new ReqSetWBCT(properties); + }; + + /** + * Encodes the specified ReqSetWBCT message. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBCT message. + * @function verify + * @memberof ReqSetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBCT} ReqSetWBCT + */ + ReqSetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBCT) return object; + var message = new $root.ReqSetWBCT(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBCT + * @static + * @param {ReqSetWBCT} message ReqSetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBCT.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetWBCT to JSON. + * @function toJSON + * @memberof ReqSetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBCT + * @function getTypeUrl + * @memberof ReqSetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBCT"; + }; + + return ReqSetWBCT; +})(); + +$root.ReqGetWBCT = (function () { + /** + * Properties of a ReqGetWBCT. + * @exports IReqGetWBCT + * @interface IReqGetWBCT + */ + + /** + * Constructs a new ReqGetWBCT. + * @exports ReqGetWBCT + * @classdesc Represents a ReqGetWBCT. + * @implements IReqGetWBCT + * @constructor + * @param {IReqGetWBCT=} [properties] Properties to set + */ + function ReqGetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBCT instance using the specified properties. + * @function create + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT=} [properties] Properties to set + * @returns {ReqGetWBCT} ReqGetWBCT instance + */ + ReqGetWBCT.create = function create(properties) { + return new ReqGetWBCT(properties); + }; + + /** + * Encodes the specified ReqGetWBCT message. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBCT message. + * @function verify + * @memberof ReqGetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBCT} ReqGetWBCT + */ + ReqGetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBCT) return object; + return new $root.ReqGetWBCT(); + }; + + /** + * Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBCT + * @static + * @param {ReqGetWBCT} message ReqGetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBCT.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBCT to JSON. + * @function toJSON + * @memberof ReqGetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBCT + * @function getTypeUrl + * @memberof ReqGetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBCT"; + }; + + return ReqGetWBCT; +})(); + +$root.ReqSetIrCut = (function () { + /** + * Properties of a ReqSetIrCut. + * @exports IReqSetIrCut + * @interface IReqSetIrCut + * @property {number|null} [value] ReqSetIrCut value + */ + + /** + * Constructs a new ReqSetIrCut. + * @exports ReqSetIrCut + * @classdesc Represents a ReqSetIrCut. + * @implements IReqSetIrCut + * @constructor + * @param {IReqSetIrCut=} [properties] Properties to set + */ + function ReqSetIrCut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetIrCut value. + * @member {number} value + * @memberof ReqSetIrCut + * @instance + */ + ReqSetIrCut.prototype.value = 0; + + /** + * Creates a new ReqSetIrCut instance using the specified properties. + * @function create + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut=} [properties] Properties to set + * @returns {ReqSetIrCut} ReqSetIrCut instance + */ + ReqSetIrCut.create = function create(properties) { + return new ReqSetIrCut(properties); + }; + + /** + * Encodes the specified ReqSetIrCut message. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encode + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer. + * @function decode + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetIrCut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetIrCut message. + * @function verify + * @memberof ReqSetIrCut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetIrCut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetIrCut + * @static + * @param {Object.} object Plain object + * @returns {ReqSetIrCut} ReqSetIrCut + */ + ReqSetIrCut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetIrCut) return object; + var message = new $root.ReqSetIrCut(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetIrCut + * @static + * @param {ReqSetIrCut} message ReqSetIrCut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetIrCut.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetIrCut to JSON. + * @function toJSON + * @memberof ReqSetIrCut + * @instance + * @returns {Object.} JSON object + */ + ReqSetIrCut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetIrCut + * @function getTypeUrl + * @memberof ReqSetIrCut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetIrCut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetIrCut"; + }; + + return ReqSetIrCut; +})(); + +$root.ReqGetIrcut = (function () { + /** + * Properties of a ReqGetIrcut. + * @exports IReqGetIrcut + * @interface IReqGetIrcut + */ + + /** + * Constructs a new ReqGetIrcut. + * @exports ReqGetIrcut + * @classdesc Represents a ReqGetIrcut. + * @implements IReqGetIrcut + * @constructor + * @param {IReqGetIrcut=} [properties] Properties to set + */ + function ReqGetIrcut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetIrcut instance using the specified properties. + * @function create + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut=} [properties] Properties to set + * @returns {ReqGetIrcut} ReqGetIrcut instance + */ + ReqGetIrcut.create = function create(properties) { + return new ReqGetIrcut(properties); + }; + + /** + * Encodes the specified ReqGetIrcut message. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encode + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer. + * @function decode + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetIrcut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetIrcut message. + * @function verify + * @memberof ReqGetIrcut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetIrcut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetIrcut + * @static + * @param {Object.} object Plain object + * @returns {ReqGetIrcut} ReqGetIrcut + */ + ReqGetIrcut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetIrcut) return object; + return new $root.ReqGetIrcut(); + }; + + /** + * Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetIrcut + * @static + * @param {ReqGetIrcut} message ReqGetIrcut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetIrcut.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetIrcut to JSON. + * @function toJSON + * @memberof ReqGetIrcut + * @instance + * @returns {Object.} JSON object + */ + ReqGetIrcut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetIrcut + * @function getTypeUrl + * @memberof ReqGetIrcut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetIrcut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetIrcut"; + }; + + return ReqGetIrcut; +})(); + +$root.ReqStartTimeLapse = (function () { + /** + * Properties of a ReqStartTimeLapse. + * @exports IReqStartTimeLapse + * @interface IReqStartTimeLapse + */ + + /** + * Constructs a new ReqStartTimeLapse. + * @exports ReqStartTimeLapse + * @classdesc Represents a ReqStartTimeLapse. + * @implements IReqStartTimeLapse + * @constructor + * @param {IReqStartTimeLapse=} [properties] Properties to set + */ + function ReqStartTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse=} [properties] Properties to set + * @returns {ReqStartTimeLapse} ReqStartTimeLapse instance + */ + ReqStartTimeLapse.create = function create(properties) { + return new ReqStartTimeLapse(properties); + }; + + /** + * Encodes the specified ReqStartTimeLapse message. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartTimeLapse message. + * @function verify + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + */ + ReqStartTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTimeLapse) return object; + return new $root.ReqStartTimeLapse(); + }; + + /** + * Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTimeLapse + * @static + * @param {ReqStartTimeLapse} message ReqStartTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTimeLapse.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartTimeLapse to JSON. + * @function toJSON + * @memberof ReqStartTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStartTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartTimeLapse + * @function getTypeUrl + * @memberof ReqStartTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTimeLapse"; + }; + + return ReqStartTimeLapse; +})(); + +$root.ReqStopTimeLapse = (function () { + /** + * Properties of a ReqStopTimeLapse. + * @exports IReqStopTimeLapse + * @interface IReqStopTimeLapse + */ + + /** + * Constructs a new ReqStopTimeLapse. + * @exports ReqStopTimeLapse + * @classdesc Represents a ReqStopTimeLapse. + * @implements IReqStopTimeLapse + * @constructor + * @param {IReqStopTimeLapse=} [properties] Properties to set + */ + function ReqStopTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse=} [properties] Properties to set + * @returns {ReqStopTimeLapse} ReqStopTimeLapse instance + */ + ReqStopTimeLapse.create = function create(properties) { + return new ReqStopTimeLapse(properties); + }; + + /** + * Encodes the specified ReqStopTimeLapse message. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTimeLapse message. + * @function verify + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + */ + ReqStopTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTimeLapse) return object; + return new $root.ReqStopTimeLapse(); + }; + + /** + * Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTimeLapse + * @static + * @param {ReqStopTimeLapse} message ReqStopTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTimeLapse.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTimeLapse to JSON. + * @function toJSON + * @memberof ReqStopTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStopTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTimeLapse + * @function getTypeUrl + * @memberof ReqStopTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTimeLapse"; + }; + + return ReqStopTimeLapse; +})(); + +$root.ReqSetAllParams = (function () { + /** + * Properties of a ReqSetAllParams. + * @exports IReqSetAllParams + * @interface IReqSetAllParams + * @property {number|null} [expMode] ReqSetAllParams expMode + * @property {number|null} [expIndex] ReqSetAllParams expIndex + * @property {number|null} [gainMode] ReqSetAllParams gainMode + * @property {number|null} [gainIndex] ReqSetAllParams gainIndex + * @property {number|null} [ircutValue] ReqSetAllParams ircutValue + * @property {number|null} [wbMode] ReqSetAllParams wbMode + * @property {number|null} [wbIndexType] ReqSetAllParams wbIndexType + * @property {number|null} [wbIndex] ReqSetAllParams wbIndex + * @property {number|null} [brightness] ReqSetAllParams brightness + * @property {number|null} [contrast] ReqSetAllParams contrast + * @property {number|null} [hue] ReqSetAllParams hue + * @property {number|null} [saturation] ReqSetAllParams saturation + * @property {number|null} [sharpness] ReqSetAllParams sharpness + * @property {number|null} [jpgQuality] ReqSetAllParams jpgQuality + */ + + /** + * Constructs a new ReqSetAllParams. + * @exports ReqSetAllParams + * @classdesc Represents a ReqSetAllParams. + * @implements IReqSetAllParams + * @constructor + * @param {IReqSetAllParams=} [properties] Properties to set + */ + function ReqSetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetAllParams expMode. + * @member {number} expMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expMode = 0; + + /** + * ReqSetAllParams expIndex. + * @member {number} expIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expIndex = 0; + + /** + * ReqSetAllParams gainMode. + * @member {number} gainMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainMode = 0; + + /** + * ReqSetAllParams gainIndex. + * @member {number} gainIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainIndex = 0; + + /** + * ReqSetAllParams ircutValue. + * @member {number} ircutValue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.ircutValue = 0; + + /** + * ReqSetAllParams wbMode. + * @member {number} wbMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbMode = 0; + + /** + * ReqSetAllParams wbIndexType. + * @member {number} wbIndexType + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndexType = 0; + + /** + * ReqSetAllParams wbIndex. + * @member {number} wbIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndex = 0; + + /** + * ReqSetAllParams brightness. + * @member {number} brightness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.brightness = 0; + + /** + * ReqSetAllParams contrast. + * @member {number} contrast + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.contrast = 0; + + /** + * ReqSetAllParams hue. + * @member {number} hue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.hue = 0; + + /** + * ReqSetAllParams saturation. + * @member {number} saturation + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.saturation = 0; + + /** + * ReqSetAllParams sharpness. + * @member {number} sharpness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.sharpness = 0; + + /** + * ReqSetAllParams jpgQuality. + * @member {number} jpgQuality + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.jpgQuality = 0; + + /** + * Creates a new ReqSetAllParams instance using the specified properties. + * @function create + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams=} [properties] Properties to set + * @returns {ReqSetAllParams} ReqSetAllParams instance + */ + ReqSetAllParams.create = function create(properties) { + return new ReqSetAllParams(properties); + }; + + /** + * Encodes the specified ReqSetAllParams message. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expMode != null && + Object.hasOwnProperty.call(message, "expMode") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expMode); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.expIndex); + if ( + message.gainMode != null && + Object.hasOwnProperty.call(message, "gainMode") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.gainMode); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.gainIndex); + if ( + message.ircutValue != null && + Object.hasOwnProperty.call(message, "ircutValue") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.ircutValue); + if (message.wbMode != null && Object.hasOwnProperty.call(message, "wbMode")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.wbMode); + if ( + message.wbIndexType != null && + Object.hasOwnProperty.call(message, "wbIndexType") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.wbIndexType); + if ( + message.wbIndex != null && + Object.hasOwnProperty.call(message, "wbIndex") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.wbIndex); + if ( + message.brightness != null && + Object.hasOwnProperty.call(message, "brightness") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.brightness); + if ( + message.contrast != null && + Object.hasOwnProperty.call(message, "contrast") + ) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.contrast); + if (message.hue != null && Object.hasOwnProperty.call(message, "hue")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.hue); + if ( + message.saturation != null && + Object.hasOwnProperty.call(message, "saturation") + ) + writer.uint32(/* id 12, wireType 0 =*/ 96).int32(message.saturation); + if ( + message.sharpness != null && + Object.hasOwnProperty.call(message, "sharpness") + ) + writer.uint32(/* id 13, wireType 0 =*/ 104).int32(message.sharpness); + if ( + message.jpgQuality != null && + Object.hasOwnProperty.call(message, "jpgQuality") + ) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.jpgQuality); + return writer; + }; + + /** + * Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expMode = reader.int32(); + break; + } + case 2: { + message.expIndex = reader.int32(); + break; + } + case 3: { + message.gainMode = reader.int32(); + break; + } + case 4: { + message.gainIndex = reader.int32(); + break; + } + case 5: { + message.ircutValue = reader.int32(); + break; + } + case 6: { + message.wbMode = reader.int32(); + break; + } + case 7: { + message.wbIndexType = reader.int32(); + break; + } + case 8: { + message.wbIndex = reader.int32(); + break; + } + case 9: { + message.brightness = reader.int32(); + break; + } + case 10: { + message.contrast = reader.int32(); + break; + } + case 11: { + message.hue = reader.int32(); + break; + } + case 12: { + message.saturation = reader.int32(); + break; + } + case 13: { + message.sharpness = reader.int32(); + break; + } + case 14: { + message.jpgQuality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetAllParams message. + * @function verify + * @memberof ReqSetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expMode != null && message.hasOwnProperty("expMode")) + if (!$util.isInteger(message.expMode)) return "expMode: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + if (!$util.isInteger(message.gainMode)) + return "gainMode: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + if (!$util.isInteger(message.ircutValue)) + return "ircutValue: integer expected"; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + if (!$util.isInteger(message.wbMode)) return "wbMode: integer expected"; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + if (!$util.isInteger(message.wbIndexType)) + return "wbIndexType: integer expected"; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + if (!$util.isInteger(message.wbIndex)) return "wbIndex: integer expected"; + if (message.brightness != null && message.hasOwnProperty("brightness")) + if (!$util.isInteger(message.brightness)) + return "brightness: integer expected"; + if (message.contrast != null && message.hasOwnProperty("contrast")) + if (!$util.isInteger(message.contrast)) + return "contrast: integer expected"; + if (message.hue != null && message.hasOwnProperty("hue")) + if (!$util.isInteger(message.hue)) return "hue: integer expected"; + if (message.saturation != null && message.hasOwnProperty("saturation")) + if (!$util.isInteger(message.saturation)) + return "saturation: integer expected"; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + if (!$util.isInteger(message.sharpness)) + return "sharpness: integer expected"; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + if (!$util.isInteger(message.jpgQuality)) + return "jpgQuality: integer expected"; + return null; + }; + + /** + * Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetAllParams} ReqSetAllParams + */ + ReqSetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetAllParams) return object; + var message = new $root.ReqSetAllParams(); + if (object.expMode != null) message.expMode = object.expMode | 0; + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainMode != null) message.gainMode = object.gainMode | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.ircutValue != null) message.ircutValue = object.ircutValue | 0; + if (object.wbMode != null) message.wbMode = object.wbMode | 0; + if (object.wbIndexType != null) + message.wbIndexType = object.wbIndexType | 0; + if (object.wbIndex != null) message.wbIndex = object.wbIndex | 0; + if (object.brightness != null) message.brightness = object.brightness | 0; + if (object.contrast != null) message.contrast = object.contrast | 0; + if (object.hue != null) message.hue = object.hue | 0; + if (object.saturation != null) message.saturation = object.saturation | 0; + if (object.sharpness != null) message.sharpness = object.sharpness | 0; + if (object.jpgQuality != null) message.jpgQuality = object.jpgQuality | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetAllParams + * @static + * @param {ReqSetAllParams} message ReqSetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetAllParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expMode = 0; + object.expIndex = 0; + object.gainMode = 0; + object.gainIndex = 0; + object.ircutValue = 0; + object.wbMode = 0; + object.wbIndexType = 0; + object.wbIndex = 0; + object.brightness = 0; + object.contrast = 0; + object.hue = 0; + object.saturation = 0; + object.sharpness = 0; + object.jpgQuality = 0; + } + if (message.expMode != null && message.hasOwnProperty("expMode")) + object.expMode = message.expMode; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + object.gainMode = message.gainMode; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + object.ircutValue = message.ircutValue; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + object.wbMode = message.wbMode; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + object.wbIndexType = message.wbIndexType; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + object.wbIndex = message.wbIndex; + if (message.brightness != null && message.hasOwnProperty("brightness")) + object.brightness = message.brightness; + if (message.contrast != null && message.hasOwnProperty("contrast")) + object.contrast = message.contrast; + if (message.hue != null && message.hasOwnProperty("hue")) + object.hue = message.hue; + if (message.saturation != null && message.hasOwnProperty("saturation")) + object.saturation = message.saturation; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + object.sharpness = message.sharpness; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + object.jpgQuality = message.jpgQuality; + return object; + }; + + /** + * Converts this ReqSetAllParams to JSON. + * @function toJSON + * @memberof ReqSetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetAllParams + * @function getTypeUrl + * @memberof ReqSetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetAllParams"; + }; + + return ReqSetAllParams; +})(); + +$root.ReqGetAllParams = (function () { + /** + * Properties of a ReqGetAllParams. + * @exports IReqGetAllParams + * @interface IReqGetAllParams + */ + + /** + * Constructs a new ReqGetAllParams. + * @exports ReqGetAllParams + * @classdesc Represents a ReqGetAllParams. + * @implements IReqGetAllParams + * @constructor + * @param {IReqGetAllParams=} [properties] Properties to set + */ + function ReqGetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllParams instance using the specified properties. + * @function create + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams=} [properties] Properties to set + * @returns {ReqGetAllParams} ReqGetAllParams instance + */ + ReqGetAllParams.create = function create(properties) { + return new ReqGetAllParams(properties); + }; + + /** + * Encodes the specified ReqGetAllParams message. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllParams message. + * @function verify + * @memberof ReqGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllParams} ReqGetAllParams + */ + ReqGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllParams) return object; + return new $root.ReqGetAllParams(); + }; + + /** + * Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllParams + * @static + * @param {ReqGetAllParams} message ReqGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllParams.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllParams to JSON. + * @function toJSON + * @memberof ReqGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllParams + * @function getTypeUrl + * @memberof ReqGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllParams"; + }; + + return ReqGetAllParams; +})(); + +$root.ResGetAllParams = (function () { + /** + * Properties of a ResGetAllParams. + * @exports IResGetAllParams + * @interface IResGetAllParams + * @property {Array.|null} [allParams] ResGetAllParams allParams + * @property {number|null} [code] ResGetAllParams code + */ + + /** + * Constructs a new ResGetAllParams. + * @exports ResGetAllParams + * @classdesc Represents a ResGetAllParams. + * @implements IResGetAllParams + * @constructor + * @param {IResGetAllParams=} [properties] Properties to set + */ + function ResGetAllParams(properties) { + this.allParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllParams allParams. + * @member {Array.} allParams + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.allParams = $util.emptyArray; + + /** + * ResGetAllParams code. + * @member {number} code + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.code = 0; + + /** + * Creates a new ResGetAllParams instance using the specified properties. + * @function create + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams=} [properties] Properties to set + * @returns {ResGetAllParams} ResGetAllParams instance + */ + ResGetAllParams.create = function create(properties) { + return new ResGetAllParams(properties); + }; + + /** + * Encodes the specified ResGetAllParams message. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.allParams != null && message.allParams.length) + for (var i = 0; i < message.allParams.length; ++i) + $root.CommonParam.encode( + message.allParams[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllParams message, length delimited. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allParams && message.allParams.length)) + message.allParams = []; + message.allParams.push( + $root.CommonParam.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllParams message. + * @function verify + * @memberof ResGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.allParams != null && message.hasOwnProperty("allParams")) { + if (!Array.isArray(message.allParams)) return "allParams: array expected"; + for (var i = 0; i < message.allParams.length; ++i) { + var error = $root.CommonParam.verify(message.allParams[i]); + if (error) return "allParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllParams} ResGetAllParams + */ + ResGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllParams) return object; + var message = new $root.ResGetAllParams(); + if (object.allParams) { + if (!Array.isArray(object.allParams)) + throw TypeError(".ResGetAllParams.allParams: array expected"); + message.allParams = []; + for (var i = 0; i < object.allParams.length; ++i) { + if (typeof object.allParams[i] !== "object") + throw TypeError(".ResGetAllParams.allParams: object expected"); + message.allParams[i] = $root.CommonParam.fromObject( + object.allParams[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllParams + * @static + * @param {ResGetAllParams} message ResGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.allParams = []; + if (options.defaults) object.code = 0; + if (message.allParams && message.allParams.length) { + object.allParams = []; + for (var j = 0; j < message.allParams.length; ++j) + object.allParams[j] = $root.CommonParam.toObject( + message.allParams[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllParams to JSON. + * @function toJSON + * @memberof ResGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllParams + * @function getTypeUrl + * @memberof ResGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllParams"; + }; + + return ResGetAllParams; +})(); + +$root.ReqSetFeatureParams = (function () { + /** + * Properties of a ReqSetFeatureParams. + * @exports IReqSetFeatureParams + * @interface IReqSetFeatureParams + * @property {ICommonParam|null} [param] ReqSetFeatureParams param + */ + + /** + * Constructs a new ReqSetFeatureParams. + * @exports ReqSetFeatureParams + * @classdesc Represents a ReqSetFeatureParams. + * @implements IReqSetFeatureParams + * @constructor + * @param {IReqSetFeatureParams=} [properties] Properties to set + */ + function ReqSetFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetFeatureParams param. + * @member {ICommonParam|null|undefined} param + * @memberof ReqSetFeatureParams + * @instance + */ + ReqSetFeatureParams.prototype.param = null; + + /** + * Creates a new ReqSetFeatureParams instance using the specified properties. + * @function create + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams=} [properties] Properties to set + * @returns {ReqSetFeatureParams} ReqSetFeatureParams instance + */ + ReqSetFeatureParams.create = function create(properties) { + return new ReqSetFeatureParams(properties); + }; + + /** + * Encodes the specified ReqSetFeatureParams message. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.param != null && Object.hasOwnProperty.call(message, "param")) + $root.CommonParam.encode( + message.param, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.param = $root.CommonParam.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetFeatureParams message. + * @function verify + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + var error = $root.CommonParam.verify(message.param); + if (error) return "param." + error; + } + return null; + }; + + /** + * Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + */ + ReqSetFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetFeatureParams) return object; + var message = new $root.ReqSetFeatureParams(); + if (object.param != null) { + if (typeof object.param !== "object") + throw TypeError(".ReqSetFeatureParams.param: object expected"); + message.param = $root.CommonParam.fromObject(object.param); + } + return message; + }; + + /** + * Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetFeatureParams + * @static + * @param {ReqSetFeatureParams} message ReqSetFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetFeatureParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.param = null; + if (message.param != null && message.hasOwnProperty("param")) + object.param = $root.CommonParam.toObject(message.param, options); + return object; + }; + + /** + * Converts this ReqSetFeatureParams to JSON. + * @function toJSON + * @memberof ReqSetFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetFeatureParams + * @function getTypeUrl + * @memberof ReqSetFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetFeatureParams"; + }; + + return ReqSetFeatureParams; +})(); + +$root.ReqGetAllFeatureParams = (function () { + /** + * Properties of a ReqGetAllFeatureParams. + * @exports IReqGetAllFeatureParams + * @interface IReqGetAllFeatureParams + */ + + /** + * Constructs a new ReqGetAllFeatureParams. + * @exports ReqGetAllFeatureParams + * @classdesc Represents a ReqGetAllFeatureParams. + * @implements IReqGetAllFeatureParams + * @constructor + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + */ + function ReqGetAllFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams instance + */ + ReqGetAllFeatureParams.create = function create(properties) { + return new ReqGetAllFeatureParams(properties); + }; + + /** + * Encodes the specified ReqGetAllFeatureParams message. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllFeatureParams message. + * @function verify + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + */ + ReqGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllFeatureParams) return object; + return new $root.ReqGetAllFeatureParams(); + }; + + /** + * Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {ReqGetAllFeatureParams} message ReqGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllFeatureParams.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ReqGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllFeatureParams + * @function getTypeUrl + * @memberof ReqGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllFeatureParams"; + }; + + return ReqGetAllFeatureParams; +})(); + +$root.ResGetAllFeatureParams = (function () { + /** + * Properties of a ResGetAllFeatureParams. + * @exports IResGetAllFeatureParams + * @interface IResGetAllFeatureParams + * @property {Array.|null} [allFeatureParams] ResGetAllFeatureParams allFeatureParams + * @property {number|null} [code] ResGetAllFeatureParams code + */ + + /** + * Constructs a new ResGetAllFeatureParams. + * @exports ResGetAllFeatureParams + * @classdesc Represents a ResGetAllFeatureParams. + * @implements IResGetAllFeatureParams + * @constructor + * @param {IResGetAllFeatureParams=} [properties] Properties to set + */ + function ResGetAllFeatureParams(properties) { + this.allFeatureParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllFeatureParams allFeatureParams. + * @member {Array.} allFeatureParams + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.allFeatureParams = $util.emptyArray; + + /** + * ResGetAllFeatureParams code. + * @member {number} code + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.code = 0; + + /** + * Creates a new ResGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams=} [properties] Properties to set + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams instance + */ + ResGetAllFeatureParams.create = function create(properties) { + return new ResGetAllFeatureParams(properties); + }; + + /** + * Encodes the specified ResGetAllFeatureParams message. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.allFeatureParams != null && message.allFeatureParams.length) + for (var i = 0; i < message.allFeatureParams.length; ++i) + $root.CommonParam.encode( + message.allFeatureParams[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allFeatureParams && message.allFeatureParams.length)) + message.allFeatureParams = []; + message.allFeatureParams.push( + $root.CommonParam.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllFeatureParams message. + * @function verify + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.allFeatureParams != null && + message.hasOwnProperty("allFeatureParams") + ) { + if (!Array.isArray(message.allFeatureParams)) + return "allFeatureParams: array expected"; + for (var i = 0; i < message.allFeatureParams.length; ++i) { + var error = $root.CommonParam.verify(message.allFeatureParams[i]); + if (error) return "allFeatureParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + */ + ResGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllFeatureParams) return object; + var message = new $root.ResGetAllFeatureParams(); + if (object.allFeatureParams) { + if (!Array.isArray(object.allFeatureParams)) + throw TypeError( + ".ResGetAllFeatureParams.allFeatureParams: array expected" + ); + message.allFeatureParams = []; + for (var i = 0; i < object.allFeatureParams.length; ++i) { + if (typeof object.allFeatureParams[i] !== "object") + throw TypeError( + ".ResGetAllFeatureParams.allFeatureParams: object expected" + ); + message.allFeatureParams[i] = $root.CommonParam.fromObject( + object.allFeatureParams[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllFeatureParams + * @static + * @param {ResGetAllFeatureParams} message ResGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllFeatureParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.allFeatureParams = []; + if (options.defaults) object.code = 0; + if (message.allFeatureParams && message.allFeatureParams.length) { + object.allFeatureParams = []; + for (var j = 0; j < message.allFeatureParams.length; ++j) + object.allFeatureParams[j] = $root.CommonParam.toObject( + message.allFeatureParams[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ResGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllFeatureParams + * @function getTypeUrl + * @memberof ResGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllFeatureParams"; + }; + + return ResGetAllFeatureParams; +})(); + +$root.ReqGetSystemWorkingState = (function () { + /** + * Properties of a ReqGetSystemWorkingState. + * @exports IReqGetSystemWorkingState + * @interface IReqGetSystemWorkingState + */ + + /** + * Constructs a new ReqGetSystemWorkingState. + * @exports ReqGetSystemWorkingState + * @classdesc Represents a ReqGetSystemWorkingState. + * @implements IReqGetSystemWorkingState + * @constructor + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + */ + function ReqGetSystemWorkingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSystemWorkingState instance using the specified properties. + * @function create + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState instance + */ + ReqGetSystemWorkingState.create = function create(properties) { + return new ReqGetSystemWorkingState(properties); + }; + + /** + * Encodes the specified ReqGetSystemWorkingState message. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encode + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSystemWorkingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSystemWorkingState message. + * @function verify + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSystemWorkingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + */ + ReqGetSystemWorkingState.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSystemWorkingState) return object; + return new $root.ReqGetSystemWorkingState(); + }; + + /** + * Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {ReqGetSystemWorkingState} message ReqGetSystemWorkingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSystemWorkingState.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSystemWorkingState to JSON. + * @function toJSON + * @memberof ReqGetSystemWorkingState + * @instance + * @returns {Object.} JSON object + */ + ReqGetSystemWorkingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSystemWorkingState + * @function getTypeUrl + * @memberof ReqGetSystemWorkingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSystemWorkingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSystemWorkingState"; + }; + + return ReqGetSystemWorkingState; +})(); + +$root.ReqSetJpgQuality = (function () { + /** + * Properties of a ReqSetJpgQuality. + * @exports IReqSetJpgQuality + * @interface IReqSetJpgQuality + * @property {number|null} [quality] ReqSetJpgQuality quality + */ + + /** + * Constructs a new ReqSetJpgQuality. + * @exports ReqSetJpgQuality + * @classdesc Represents a ReqSetJpgQuality. + * @implements IReqSetJpgQuality + * @constructor + * @param {IReqSetJpgQuality=} [properties] Properties to set + */ + function ReqSetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetJpgQuality quality. + * @member {number} quality + * @memberof ReqSetJpgQuality + * @instance + */ + ReqSetJpgQuality.prototype.quality = 0; + + /** + * Creates a new ReqSetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality=} [properties] Properties to set + * @returns {ReqSetJpgQuality} ReqSetJpgQuality instance + */ + ReqSetJpgQuality.create = function create(properties) { + return new ReqSetJpgQuality(properties); + }; + + /** + * Encodes the specified ReqSetJpgQuality message. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.quality != null && + Object.hasOwnProperty.call(message, "quality") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.quality); + return writer; + }; + + /** + * Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.quality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetJpgQuality message. + * @function verify + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.quality != null && message.hasOwnProperty("quality")) + if (!$util.isInteger(message.quality)) return "quality: integer expected"; + return null; + }; + + /** + * Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + */ + ReqSetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetJpgQuality) return object; + var message = new $root.ReqSetJpgQuality(); + if (object.quality != null) message.quality = object.quality | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetJpgQuality + * @static + * @param {ReqSetJpgQuality} message ReqSetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetJpgQuality.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.quality = 0; + if (message.quality != null && message.hasOwnProperty("quality")) + object.quality = message.quality; + return object; + }; + + /** + * Converts this ReqSetJpgQuality to JSON. + * @function toJSON + * @memberof ReqSetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqSetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetJpgQuality + * @function getTypeUrl + * @memberof ReqSetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetJpgQuality"; + }; + + return ReqSetJpgQuality; +})(); + +$root.ReqGetJpgQuality = (function () { + /** + * Properties of a ReqGetJpgQuality. + * @exports IReqGetJpgQuality + * @interface IReqGetJpgQuality + */ + + /** + * Constructs a new ReqGetJpgQuality. + * @exports ReqGetJpgQuality + * @classdesc Represents a ReqGetJpgQuality. + * @implements IReqGetJpgQuality + * @constructor + * @param {IReqGetJpgQuality=} [properties] Properties to set + */ + function ReqGetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality=} [properties] Properties to set + * @returns {ReqGetJpgQuality} ReqGetJpgQuality instance + */ + ReqGetJpgQuality.create = function create(properties) { + return new ReqGetJpgQuality(properties); + }; + + /** + * Encodes the specified ReqGetJpgQuality message. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetJpgQuality message. + * @function verify + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + */ + ReqGetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetJpgQuality) return object; + return new $root.ReqGetJpgQuality(); + }; + + /** + * Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetJpgQuality + * @static + * @param {ReqGetJpgQuality} message ReqGetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetJpgQuality.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetJpgQuality to JSON. + * @function toJSON + * @memberof ReqGetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqGetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetJpgQuality + * @function getTypeUrl + * @memberof ReqGetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetJpgQuality"; + }; + + return ReqGetJpgQuality; +})(); + +$root.ReqPhotoRaw = (function () { + /** + * Properties of a ReqPhotoRaw. + * @exports IReqPhotoRaw + * @interface IReqPhotoRaw + */ + + /** + * Constructs a new ReqPhotoRaw. + * @exports ReqPhotoRaw + * @classdesc Represents a ReqPhotoRaw. + * @implements IReqPhotoRaw + * @constructor + * @param {IReqPhotoRaw=} [properties] Properties to set + */ + function ReqPhotoRaw(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPhotoRaw instance using the specified properties. + * @function create + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw=} [properties] Properties to set + * @returns {ReqPhotoRaw} ReqPhotoRaw instance + */ + ReqPhotoRaw.create = function create(properties) { + return new ReqPhotoRaw(properties); + }; + + /** + * Encodes the specified ReqPhotoRaw message. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encode + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer. + * @function decode + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPhotoRaw(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPhotoRaw message. + * @function verify + * @memberof ReqPhotoRaw + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhotoRaw.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhotoRaw + * @static + * @param {Object.} object Plain object + * @returns {ReqPhotoRaw} ReqPhotoRaw + */ + ReqPhotoRaw.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhotoRaw) return object; + return new $root.ReqPhotoRaw(); + }; + + /** + * Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhotoRaw + * @static + * @param {ReqPhotoRaw} message ReqPhotoRaw + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhotoRaw.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPhotoRaw to JSON. + * @function toJSON + * @memberof ReqPhotoRaw + * @instance + * @returns {Object.} JSON object + */ + ReqPhotoRaw.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPhotoRaw + * @function getTypeUrl + * @memberof ReqPhotoRaw + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhotoRaw.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhotoRaw"; + }; + + return ReqPhotoRaw; +})(); + +$root.ReqSetRtspBitRateType = (function () { + /** + * Properties of a ReqSetRtspBitRateType. + * @exports IReqSetRtspBitRateType + * @interface IReqSetRtspBitRateType + * @property {number|null} [bitrateType] ReqSetRtspBitRateType bitrateType + */ + + /** + * Constructs a new ReqSetRtspBitRateType. + * @exports ReqSetRtspBitRateType + * @classdesc Represents a ReqSetRtspBitRateType. + * @implements IReqSetRtspBitRateType + * @constructor + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + */ + function ReqSetRtspBitRateType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetRtspBitRateType bitrateType. + * @member {number} bitrateType + * @memberof ReqSetRtspBitRateType + * @instance + */ + ReqSetRtspBitRateType.prototype.bitrateType = 0; + + /** + * Creates a new ReqSetRtspBitRateType instance using the specified properties. + * @function create + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType instance + */ + ReqSetRtspBitRateType.create = function create(properties) { + return new ReqSetRtspBitRateType(properties); + }; + + /** + * Encodes the specified ReqSetRtspBitRateType message. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encode + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.bitrateType != null && + Object.hasOwnProperty.call(message, "bitrateType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.bitrateType); + return writer; + }; + + /** + * Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer. + * @function decode + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetRtspBitRateType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.bitrateType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetRtspBitRateType message. + * @function verify + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetRtspBitRateType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + if (!$util.isInteger(message.bitrateType)) + return "bitrateType: integer expected"; + return null; + }; + + /** + * Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} object Plain object + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + */ + ReqSetRtspBitRateType.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetRtspBitRateType) return object; + var message = new $root.ReqSetRtspBitRateType(); + if (object.bitrateType != null) + message.bitrateType = object.bitrateType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {ReqSetRtspBitRateType} message ReqSetRtspBitRateType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetRtspBitRateType.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.bitrateType = 0; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + object.bitrateType = message.bitrateType; + return object; + }; + + /** + * Converts this ReqSetRtspBitRateType to JSON. + * @function toJSON + * @memberof ReqSetRtspBitRateType + * @instance + * @returns {Object.} JSON object + */ + ReqSetRtspBitRateType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetRtspBitRateType + * @function getTypeUrl + * @memberof ReqSetRtspBitRateType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetRtspBitRateType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetRtspBitRateType"; + }; + + return ReqSetRtspBitRateType; +})(); + +$root.ReqDisableAllIspProcessing = (function () { + /** + * Properties of a ReqDisableAllIspProcessing. + * @exports IReqDisableAllIspProcessing + * @interface IReqDisableAllIspProcessing + */ + + /** + * Constructs a new ReqDisableAllIspProcessing. + * @exports ReqDisableAllIspProcessing + * @classdesc Represents a ReqDisableAllIspProcessing. + * @implements IReqDisableAllIspProcessing + * @constructor + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + */ + function ReqDisableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqDisableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing instance + */ + ReqDisableAllIspProcessing.create = function create(properties) { + return new ReqDisableAllIspProcessing(properties); + }; + + /** + * Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDisableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDisableAllIspProcessing message. + * @function verify + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + */ + ReqDisableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableAllIspProcessing) return object; + return new $root.ReqDisableAllIspProcessing(); + }; + + /** + * Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {ReqDisableAllIspProcessing} message ReqDisableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableAllIspProcessing.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqDisableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqDisableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqDisableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDisableAllIspProcessing + * @function getTypeUrl + * @memberof ReqDisableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableAllIspProcessing"; + }; + + return ReqDisableAllIspProcessing; +})(); + +$root.ReqEnableAllIspProcessing = (function () { + /** + * Properties of a ReqEnableAllIspProcessing. + * @exports IReqEnableAllIspProcessing + * @interface IReqEnableAllIspProcessing + */ + + /** + * Constructs a new ReqEnableAllIspProcessing. + * @exports ReqEnableAllIspProcessing + * @classdesc Represents a ReqEnableAllIspProcessing. + * @implements IReqEnableAllIspProcessing + * @constructor + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + */ + function ReqEnableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqEnableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing instance + */ + ReqEnableAllIspProcessing.create = function create(properties) { + return new ReqEnableAllIspProcessing(properties); + }; + + /** + * Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqEnableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqEnableAllIspProcessing message. + * @function verify + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqEnableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + */ + ReqEnableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqEnableAllIspProcessing) return object; + return new $root.ReqEnableAllIspProcessing(); + }; + + /** + * Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {ReqEnableAllIspProcessing} message ReqEnableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqEnableAllIspProcessing.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqEnableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqEnableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqEnableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqEnableAllIspProcessing + * @function getTypeUrl + * @memberof ReqEnableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqEnableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqEnableAllIspProcessing"; + }; + + return ReqEnableAllIspProcessing; +})(); + +$root.ReqManualSingleStepFocus = (function () { + /** + * Properties of a ReqManualSingleStepFocus. + * @exports IReqManualSingleStepFocus + * @interface IReqManualSingleStepFocus + * @property {number|null} [direction] ReqManualSingleStepFocus direction + */ + + /** + * Constructs a new ReqManualSingleStepFocus. + * @exports ReqManualSingleStepFocus + * @classdesc Represents a ReqManualSingleStepFocus. + * @implements IReqManualSingleStepFocus + * @constructor + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + */ + function ReqManualSingleStepFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqManualSingleStepFocus direction. + * @member {number} direction + * @memberof ReqManualSingleStepFocus + * @instance + */ + ReqManualSingleStepFocus.prototype.direction = 0; + + /** + * Creates a new ReqManualSingleStepFocus instance using the specified properties. + * @function create + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus instance + */ + ReqManualSingleStepFocus.create = function create(properties) { + return new ReqManualSingleStepFocus(properties); + }; + + /** + * Encodes the specified ReqManualSingleStepFocus message. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqManualSingleStepFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqManualSingleStepFocus message. + * @function verify + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualSingleStepFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + + /** + * Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + */ + ReqManualSingleStepFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualSingleStepFocus) return object; + var message = new $root.ReqManualSingleStepFocus(); + if (object.direction != null) message.direction = object.direction >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {ReqManualSingleStepFocus} message ReqManualSingleStepFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualSingleStepFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqManualSingleStepFocus to JSON. + * @function toJSON + * @memberof ReqManualSingleStepFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualSingleStepFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqManualSingleStepFocus + * @function getTypeUrl + * @memberof ReqManualSingleStepFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualSingleStepFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualSingleStepFocus"; + }; + + return ReqManualSingleStepFocus; +})(); + +$root.ReqManualContinuFocus = (function () { + /** + * Properties of a ReqManualContinuFocus. + * @exports IReqManualContinuFocus + * @interface IReqManualContinuFocus + * @property {number|null} [direction] ReqManualContinuFocus direction + */ + + /** + * Constructs a new ReqManualContinuFocus. + * @exports ReqManualContinuFocus + * @classdesc Represents a ReqManualContinuFocus. + * @implements IReqManualContinuFocus + * @constructor + * @param {IReqManualContinuFocus=} [properties] Properties to set + */ + function ReqManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqManualContinuFocus direction. + * @member {number} direction + * @memberof ReqManualContinuFocus + * @instance + */ + ReqManualContinuFocus.prototype.direction = 0; + + /** + * Creates a new ReqManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus=} [properties] Properties to set + * @returns {ReqManualContinuFocus} ReqManualContinuFocus instance + */ + ReqManualContinuFocus.create = function create(properties) { + return new ReqManualContinuFocus(properties); + }; + + /** + * Encodes the specified ReqManualContinuFocus message. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqManualContinuFocus message. + * @function verify + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + + /** + * Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + */ + ReqManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualContinuFocus) return object; + var message = new $root.ReqManualContinuFocus(); + if (object.direction != null) message.direction = object.direction >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualContinuFocus + * @static + * @param {ReqManualContinuFocus} message ReqManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualContinuFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqManualContinuFocus + * @function getTypeUrl + * @memberof ReqManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualContinuFocus"; + }; + + return ReqManualContinuFocus; +})(); + +$root.ReqStopManualContinuFocus = (function () { + /** + * Properties of a ReqStopManualContinuFocus. + * @exports IReqStopManualContinuFocus + * @interface IReqStopManualContinuFocus + */ + + /** + * Constructs a new ReqStopManualContinuFocus. + * @exports ReqStopManualContinuFocus + * @classdesc Represents a ReqStopManualContinuFocus. + * @implements IReqStopManualContinuFocus + * @constructor + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + */ + function ReqStopManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus instance + */ + ReqStopManualContinuFocus.create = function create(properties) { + return new ReqStopManualContinuFocus(properties); + }; + + /** + * Encodes the specified ReqStopManualContinuFocus message. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopManualContinuFocus message. + * @function verify + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + */ + ReqStopManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopManualContinuFocus) return object; + return new $root.ReqStopManualContinuFocus(); + }; + + /** + * Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {ReqStopManualContinuFocus} message ReqStopManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopManualContinuFocus.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqStopManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopManualContinuFocus + * @function getTypeUrl + * @memberof ReqStopManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopManualContinuFocus"; + }; + + return ReqStopManualContinuFocus; +})(); + +$root.ReqNormalAutoFocus = (function () { + /** + * Properties of a ReqNormalAutoFocus. + * @exports IReqNormalAutoFocus + * @interface IReqNormalAutoFocus + * @property {number|null} [mode] ReqNormalAutoFocus mode + * @property {number|null} [centerX] ReqNormalAutoFocus centerX + * @property {number|null} [centerY] ReqNormalAutoFocus centerY + */ + + /** + * Constructs a new ReqNormalAutoFocus. + * @exports ReqNormalAutoFocus + * @classdesc Represents a ReqNormalAutoFocus. + * @implements IReqNormalAutoFocus + * @constructor + * @param {IReqNormalAutoFocus=} [properties] Properties to set + */ + function ReqNormalAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqNormalAutoFocus mode. + * @member {number} mode + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.mode = 0; + + /** + * ReqNormalAutoFocus centerX. + * @member {number} centerX + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerX = 0; + + /** + * ReqNormalAutoFocus centerY. + * @member {number} centerY + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerY = 0; + + /** + * Creates a new ReqNormalAutoFocus instance using the specified properties. + * @function create + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus=} [properties] Properties to set + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus instance + */ + ReqNormalAutoFocus.create = function create(properties) { + return new ReqNormalAutoFocus(properties); + }; + + /** + * Encodes the specified ReqNormalAutoFocus message. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + if ( + message.centerX != null && + Object.hasOwnProperty.call(message, "centerX") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.centerX); + if ( + message.centerY != null && + Object.hasOwnProperty.call(message, "centerY") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.centerY); + return writer; + }; + + /** + * Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqNormalAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + case 2: { + message.centerX = reader.uint32(); + break; + } + case 3: { + message.centerY = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqNormalAutoFocus message. + * @function verify + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqNormalAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.centerX != null && message.hasOwnProperty("centerX")) + if (!$util.isInteger(message.centerX)) return "centerX: integer expected"; + if (message.centerY != null && message.hasOwnProperty("centerY")) + if (!$util.isInteger(message.centerY)) return "centerY: integer expected"; + return null; + }; + + /** + * Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + */ + ReqNormalAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqNormalAutoFocus) return object; + var message = new $root.ReqNormalAutoFocus(); + if (object.mode != null) message.mode = object.mode >>> 0; + if (object.centerX != null) message.centerX = object.centerX >>> 0; + if (object.centerY != null) message.centerY = object.centerY >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqNormalAutoFocus + * @static + * @param {ReqNormalAutoFocus} message ReqNormalAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqNormalAutoFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.centerX = 0; + object.centerY = 0; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.centerX != null && message.hasOwnProperty("centerX")) + object.centerX = message.centerX; + if (message.centerY != null && message.hasOwnProperty("centerY")) + object.centerY = message.centerY; + return object; + }; + + /** + * Converts this ReqNormalAutoFocus to JSON. + * @function toJSON + * @memberof ReqNormalAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqNormalAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqNormalAutoFocus + * @function getTypeUrl + * @memberof ReqNormalAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqNormalAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqNormalAutoFocus"; + }; + + return ReqNormalAutoFocus; +})(); + +$root.ReqAstroAutoFocus = (function () { + /** + * Properties of a ReqAstroAutoFocus. + * @exports IReqAstroAutoFocus + * @interface IReqAstroAutoFocus + * @property {number|null} [mode] ReqAstroAutoFocus mode + */ + + /** + * Constructs a new ReqAstroAutoFocus. + * @exports ReqAstroAutoFocus + * @classdesc Represents a ReqAstroAutoFocus. + * @implements IReqAstroAutoFocus + * @constructor + * @param {IReqAstroAutoFocus=} [properties] Properties to set + */ + function ReqAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqAstroAutoFocus mode. + * @member {number} mode + * @memberof ReqAstroAutoFocus + * @instance + */ + ReqAstroAutoFocus.prototype.mode = 0; + + /** + * Creates a new ReqAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus=} [properties] Properties to set + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus instance + */ + ReqAstroAutoFocus.create = function create(properties) { + return new ReqAstroAutoFocus(properties); + }; + + /** + * Encodes the specified ReqAstroAutoFocus message. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqAstroAutoFocus message. + * @function verify + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + */ + ReqAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAstroAutoFocus) return object; + var message = new $root.ReqAstroAutoFocus(); + if (object.mode != null) message.mode = object.mode >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAstroAutoFocus + * @static + * @param {ReqAstroAutoFocus} message ReqAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAstroAutoFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqAstroAutoFocus + * @function getTypeUrl + * @memberof ReqAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAstroAutoFocus"; + }; + + return ReqAstroAutoFocus; +})(); + +$root.ReqStopAstroAutoFocus = (function () { + /** + * Properties of a ReqStopAstroAutoFocus. + * @exports IReqStopAstroAutoFocus + * @interface IReqStopAstroAutoFocus + */ + + /** + * Constructs a new ReqStopAstroAutoFocus. + * @exports ReqStopAstroAutoFocus + * @classdesc Represents a ReqStopAstroAutoFocus. + * @implements IReqStopAstroAutoFocus + * @constructor + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + */ + function ReqStopAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus instance + */ + ReqStopAstroAutoFocus.create = function create(properties) { + return new ReqStopAstroAutoFocus(properties); + }; + + /** + * Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopAstroAutoFocus message. + * @function verify + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + */ + ReqStopAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopAstroAutoFocus) return object; + return new $root.ReqStopAstroAutoFocus(); + }; + + /** + * Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {ReqStopAstroAutoFocus} message ReqStopAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopAstroAutoFocus.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqStopAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopAstroAutoFocus + * @function getTypeUrl + * @memberof ReqStopAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopAstroAutoFocus"; + }; + + return ReqStopAstroAutoFocus; +})(); + +$root.ReqMotorServiceJoystick = (function () { + /** + * Properties of a ReqMotorServiceJoystick. + * @exports IReqMotorServiceJoystick + * @interface IReqMotorServiceJoystick + * @property {number|null} [vectorAngle] ReqMotorServiceJoystick vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystick vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystick speed + */ + + /** + * Constructs a new ReqMotorServiceJoystick. + * @exports ReqMotorServiceJoystick + * @classdesc Represents a ReqMotorServiceJoystick. + * @implements IReqMotorServiceJoystick + * @constructor + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + */ + function ReqMotorServiceJoystick(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorServiceJoystick vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorAngle = 0; + + /** + * ReqMotorServiceJoystick vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorLength = 0; + + /** + * ReqMotorServiceJoystick speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.speed = 0; + + /** + * Creates a new ReqMotorServiceJoystick instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick instance + */ + ReqMotorServiceJoystick.create = function create(properties) { + return new ReqMotorServiceJoystick(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystick message. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle") + ) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if ( + message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystick(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystick message. + * @function verify + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystick.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + */ + ReqMotorServiceJoystick.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystick) return object; + var message = new $root.ReqMotorServiceJoystick(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {ReqMotorServiceJoystick} message ReqMotorServiceJoystick + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystick.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorServiceJoystick to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystick + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystick.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystick + * @function getTypeUrl + * @memberof ReqMotorServiceJoystick + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystick"; + }; + + return ReqMotorServiceJoystick; +})(); + +$root.ReqMotorServiceJoystickFixedAngle = (function () { + /** + * Properties of a ReqMotorServiceJoystickFixedAngle. + * @exports IReqMotorServiceJoystickFixedAngle + * @interface IReqMotorServiceJoystickFixedAngle + * @property {number|null} [vectorAngle] ReqMotorServiceJoystickFixedAngle vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystickFixedAngle vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystickFixedAngle speed + */ + + /** + * Constructs a new ReqMotorServiceJoystickFixedAngle. + * @exports ReqMotorServiceJoystickFixedAngle + * @classdesc Represents a ReqMotorServiceJoystickFixedAngle. + * @implements IReqMotorServiceJoystickFixedAngle + * @constructor + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + */ + function ReqMotorServiceJoystickFixedAngle(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorServiceJoystickFixedAngle vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorAngle = 0; + + /** + * ReqMotorServiceJoystickFixedAngle vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorLength = 0; + + /** + * ReqMotorServiceJoystickFixedAngle speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.speed = 0; + + /** + * Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle instance + */ + ReqMotorServiceJoystickFixedAngle.create = function create(properties) { + return new ReqMotorServiceJoystickFixedAngle(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle") + ) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if ( + message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystickFixedAngle(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystickFixedAngle message. + * @function verify + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickFixedAngle.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + */ + ReqMotorServiceJoystickFixedAngle.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickFixedAngle) + return object; + var message = new $root.ReqMotorServiceJoystickFixedAngle(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {ReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickFixedAngle.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorServiceJoystickFixedAngle to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickFixedAngle.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystickFixedAngle + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickFixedAngle.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickFixedAngle"; + }; + + return ReqMotorServiceJoystickFixedAngle; +})(); + +$root.ReqMotorServiceJoystickStop = (function () { + /** + * Properties of a ReqMotorServiceJoystickStop. + * @exports IReqMotorServiceJoystickStop + * @interface IReqMotorServiceJoystickStop + */ + + /** + * Constructs a new ReqMotorServiceJoystickStop. + * @exports ReqMotorServiceJoystickStop + * @classdesc Represents a ReqMotorServiceJoystickStop. + * @implements IReqMotorServiceJoystickStop + * @constructor + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + */ + function ReqMotorServiceJoystickStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqMotorServiceJoystickStop instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop instance + */ + ReqMotorServiceJoystickStop.create = function create(properties) { + return new ReqMotorServiceJoystickStop(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystickStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystickStop message. + * @function verify + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + */ + ReqMotorServiceJoystickStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickStop) return object; + return new $root.ReqMotorServiceJoystickStop(); + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {ReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickStop.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqMotorServiceJoystickStop to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystickStop + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickStop"; + }; + + return ReqMotorServiceJoystickStop; +})(); + +$root.ReqMotorRun = (function () { + /** + * Properties of a ReqMotorRun. + * @exports IReqMotorRun + * @interface IReqMotorRun + * @property {number|null} [id] ReqMotorRun id + * @property {number|null} [speed] ReqMotorRun speed + * @property {boolean|null} [direction] ReqMotorRun direction + * @property {number|null} [speedRamping] ReqMotorRun speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRun resolutionLevel + */ + + /** + * Constructs a new ReqMotorRun. + * @exports ReqMotorRun + * @classdesc Represents a ReqMotorRun. + * @implements IReqMotorRun + * @constructor + * @param {IReqMotorRun=} [properties] Properties to set + */ + function ReqMotorRun(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRun id. + * @member {number} id + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.id = 0; + + /** + * ReqMotorRun speed. + * @member {number} speed + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speed = 0; + + /** + * ReqMotorRun direction. + * @member {boolean} direction + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.direction = false; + + /** + * ReqMotorRun speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speedRamping = 0; + + /** + * ReqMotorRun resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.resolutionLevel = 0; + + /** + * Creates a new ReqMotorRun instance using the specified properties. + * @function create + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun=} [properties] Properties to set + * @returns {ReqMotorRun} ReqMotorRun instance + */ + ReqMotorRun.create = function create(properties) { + return new ReqMotorRun(properties); + }; + + /** + * Encodes the specified ReqMotorRun message. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encode + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + + /** + * Encodes the specified ReqMotorRun message, length delimited. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRun(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRun message. + * @function verify + * @memberof ReqMotorRun + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRun.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRun + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRun} ReqMotorRun + */ + ReqMotorRun.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRun) return object; + var message = new $root.ReqMotorRun(); + if (object.id != null) message.id = object.id | 0; + if (object.speed != null) message.speed = Number(object.speed); + if (object.direction != null) message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRun + * @static + * @param {ReqMotorRun} message ReqMotorRun + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRun.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + object.direction = false; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + + /** + * Converts this ReqMotorRun to JSON. + * @function toJSON + * @memberof ReqMotorRun + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRun.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRun + * @function getTypeUrl + * @memberof ReqMotorRun + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRun"; + }; + + return ReqMotorRun; +})(); + +$root.ReqMotorRunInPulse = (function () { + /** + * Properties of a ReqMotorRunInPulse. + * @exports IReqMotorRunInPulse + * @interface IReqMotorRunInPulse + * @property {number|null} [id] ReqMotorRunInPulse id + * @property {number|null} [frequency] ReqMotorRunInPulse frequency + * @property {boolean|null} [direction] ReqMotorRunInPulse direction + * @property {number|null} [speedRamping] ReqMotorRunInPulse speedRamping + * @property {number|null} [resolution] ReqMotorRunInPulse resolution + * @property {number|null} [pulse] ReqMotorRunInPulse pulse + * @property {boolean|null} [mode] ReqMotorRunInPulse mode + */ + + /** + * Constructs a new ReqMotorRunInPulse. + * @exports ReqMotorRunInPulse + * @classdesc Represents a ReqMotorRunInPulse. + * @implements IReqMotorRunInPulse + * @constructor + * @param {IReqMotorRunInPulse=} [properties] Properties to set + */ + function ReqMotorRunInPulse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRunInPulse id. + * @member {number} id + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.id = 0; + + /** + * ReqMotorRunInPulse frequency. + * @member {number} frequency + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.frequency = 0; + + /** + * ReqMotorRunInPulse direction. + * @member {boolean} direction + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.direction = false; + + /** + * ReqMotorRunInPulse speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.speedRamping = 0; + + /** + * ReqMotorRunInPulse resolution. + * @member {number} resolution + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.resolution = 0; + + /** + * ReqMotorRunInPulse pulse. + * @member {number} pulse + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.pulse = 0; + + /** + * ReqMotorRunInPulse mode. + * @member {boolean} mode + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.mode = false; + + /** + * Creates a new ReqMotorRunInPulse instance using the specified properties. + * @function create + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse=} [properties] Properties to set + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse instance + */ + ReqMotorRunInPulse.create = function create(properties) { + return new ReqMotorRunInPulse(properties); + }; + + /** + * Encodes the specified ReqMotorRunInPulse message. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.frequency != null && + Object.hasOwnProperty.call(message, "frequency") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.frequency); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolution != null && + Object.hasOwnProperty.call(message, "resolution") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolution); + if (message.pulse != null && Object.hasOwnProperty.call(message, "pulse")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.pulse); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 7, wireType 0 =*/ 56).bool(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRunInPulse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.frequency = reader.int32(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolution = reader.int32(); + break; + } + case 6: { + message.pulse = reader.int32(); + break; + } + case 7: { + message.mode = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRunInPulse message. + * @function verify + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunInPulse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.frequency != null && message.hasOwnProperty("frequency")) + if (!$util.isInteger(message.frequency)) + return "frequency: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if (message.resolution != null && message.hasOwnProperty("resolution")) + if (!$util.isInteger(message.resolution)) + return "resolution: integer expected"; + if (message.pulse != null && message.hasOwnProperty("pulse")) + if (!$util.isInteger(message.pulse)) return "pulse: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (typeof message.mode !== "boolean") return "mode: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + */ + ReqMotorRunInPulse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunInPulse) return object; + var message = new $root.ReqMotorRunInPulse(); + if (object.id != null) message.id = object.id | 0; + if (object.frequency != null) message.frequency = object.frequency | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolution != null) message.resolution = object.resolution | 0; + if (object.pulse != null) message.pulse = object.pulse | 0; + if (object.mode != null) message.mode = Boolean(object.mode); + return message; + }; + + /** + * Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunInPulse + * @static + * @param {ReqMotorRunInPulse} message ReqMotorRunInPulse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunInPulse.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.frequency = 0; + object.direction = false; + object.speedRamping = 0; + object.resolution = 0; + object.pulse = 0; + object.mode = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.frequency != null && message.hasOwnProperty("frequency")) + object.frequency = message.frequency; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if (message.resolution != null && message.hasOwnProperty("resolution")) + object.resolution = message.resolution; + if (message.pulse != null && message.hasOwnProperty("pulse")) + object.pulse = message.pulse; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqMotorRunInPulse to JSON. + * @function toJSON + * @memberof ReqMotorRunInPulse + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunInPulse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRunInPulse + * @function getTypeUrl + * @memberof ReqMotorRunInPulse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunInPulse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunInPulse"; + }; + + return ReqMotorRunInPulse; +})(); + +$root.ReqMotorRunTo = (function () { + /** + * Properties of a ReqMotorRunTo. + * @exports IReqMotorRunTo + * @interface IReqMotorRunTo + * @property {number|null} [id] ReqMotorRunTo id + * @property {number|null} [endPosition] ReqMotorRunTo endPosition + * @property {number|null} [speed] ReqMotorRunTo speed + * @property {number|null} [speedRamping] ReqMotorRunTo speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRunTo resolutionLevel + */ + + /** + * Constructs a new ReqMotorRunTo. + * @exports ReqMotorRunTo + * @classdesc Represents a ReqMotorRunTo. + * @implements IReqMotorRunTo + * @constructor + * @param {IReqMotorRunTo=} [properties] Properties to set + */ + function ReqMotorRunTo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRunTo id. + * @member {number} id + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.id = 0; + + /** + * ReqMotorRunTo endPosition. + * @member {number} endPosition + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.endPosition = 0; + + /** + * ReqMotorRunTo speed. + * @member {number} speed + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speed = 0; + + /** + * ReqMotorRunTo speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speedRamping = 0; + + /** + * ReqMotorRunTo resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.resolutionLevel = 0; + + /** + * Creates a new ReqMotorRunTo instance using the specified properties. + * @function create + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo=} [properties] Properties to set + * @returns {ReqMotorRunTo} ReqMotorRunTo instance + */ + ReqMotorRunTo.create = function create(properties) { + return new ReqMotorRunTo(properties); + }; + + /** + * Encodes the specified ReqMotorRunTo message. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.endPosition != null && + Object.hasOwnProperty.call(message, "endPosition") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.endPosition); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + + /** + * Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRunTo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.endPosition = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRunTo message. + * @function verify + * @memberof ReqMotorRunTo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunTo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + if (typeof message.endPosition !== "number") + return "endPosition: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunTo + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunTo} ReqMotorRunTo + */ + ReqMotorRunTo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunTo) return object; + var message = new $root.ReqMotorRunTo(); + if (object.id != null) message.id = object.id | 0; + if (object.endPosition != null) + message.endPosition = Number(object.endPosition); + if (object.speed != null) message.speed = Number(object.speed); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunTo + * @static + * @param {ReqMotorRunTo} message ReqMotorRunTo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunTo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.endPosition = 0; + object.speed = 0; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + object.endPosition = + options.json && !isFinite(message.endPosition) + ? String(message.endPosition) + : message.endPosition; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + + /** + * Converts this ReqMotorRunTo to JSON. + * @function toJSON + * @memberof ReqMotorRunTo + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunTo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRunTo + * @function getTypeUrl + * @memberof ReqMotorRunTo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunTo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunTo"; + }; + + return ReqMotorRunTo; +})(); + +$root.ReqMotorGetPosition = (function () { + /** + * Properties of a ReqMotorGetPosition. + * @exports IReqMotorGetPosition + * @interface IReqMotorGetPosition + * @property {number|null} [id] ReqMotorGetPosition id + */ + + /** + * Constructs a new ReqMotorGetPosition. + * @exports ReqMotorGetPosition + * @classdesc Represents a ReqMotorGetPosition. + * @implements IReqMotorGetPosition + * @constructor + * @param {IReqMotorGetPosition=} [properties] Properties to set + */ + function ReqMotorGetPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorGetPosition id. + * @member {number} id + * @memberof ReqMotorGetPosition + * @instance + */ + ReqMotorGetPosition.prototype.id = 0; + + /** + * Creates a new ReqMotorGetPosition instance using the specified properties. + * @function create + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition=} [properties] Properties to set + * @returns {ReqMotorGetPosition} ReqMotorGetPosition instance + */ + ReqMotorGetPosition.create = function create(properties) { + return new ReqMotorGetPosition(properties); + }; + + /** + * Encodes the specified ReqMotorGetPosition message. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encode + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorGetPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorGetPosition message. + * @function verify + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorGetPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + */ + ReqMotorGetPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorGetPosition) return object; + var message = new $root.ReqMotorGetPosition(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorGetPosition + * @static + * @param {ReqMotorGetPosition} message ReqMotorGetPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorGetPosition.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMotorGetPosition to JSON. + * @function toJSON + * @memberof ReqMotorGetPosition + * @instance + * @returns {Object.} JSON object + */ + ReqMotorGetPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorGetPosition + * @function getTypeUrl + * @memberof ReqMotorGetPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorGetPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorGetPosition"; + }; + + return ReqMotorGetPosition; +})(); + +$root.ReqMotorStop = (function () { + /** + * Properties of a ReqMotorStop. + * @exports IReqMotorStop + * @interface IReqMotorStop + * @property {number|null} [id] ReqMotorStop id + */ + + /** + * Constructs a new ReqMotorStop. + * @exports ReqMotorStop + * @classdesc Represents a ReqMotorStop. + * @implements IReqMotorStop + * @constructor + * @param {IReqMotorStop=} [properties] Properties to set + */ + function ReqMotorStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorStop id. + * @member {number} id + * @memberof ReqMotorStop + * @instance + */ + ReqMotorStop.prototype.id = 0; + + /** + * Creates a new ReqMotorStop instance using the specified properties. + * @function create + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop=} [properties] Properties to set + * @returns {ReqMotorStop} ReqMotorStop instance + */ + ReqMotorStop.create = function create(properties) { + return new ReqMotorStop(properties); + }; + + /** + * Encodes the specified ReqMotorStop message. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMotorStop message, length delimited. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorStop message. + * @function verify + * @memberof ReqMotorStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorStop} ReqMotorStop + */ + ReqMotorStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorStop) return object; + var message = new $root.ReqMotorStop(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorStop + * @static + * @param {ReqMotorStop} message ReqMotorStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorStop.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMotorStop to JSON. + * @function toJSON + * @memberof ReqMotorStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorStop + * @function getTypeUrl + * @memberof ReqMotorStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorStop"; + }; + + return ReqMotorStop; +})(); + +$root.ReqMotorReset = (function () { + /** + * Properties of a ReqMotorReset. + * @exports IReqMotorReset + * @interface IReqMotorReset + * @property {number|null} [id] ReqMotorReset id + * @property {boolean|null} [direction] ReqMotorReset direction + */ + + /** + * Constructs a new ReqMotorReset. + * @exports ReqMotorReset + * @classdesc Represents a ReqMotorReset. + * @implements IReqMotorReset + * @constructor + * @param {IReqMotorReset=} [properties] Properties to set + */ + function ReqMotorReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorReset id. + * @member {number} id + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.id = 0; + + /** + * ReqMotorReset direction. + * @member {boolean} direction + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.direction = false; + + /** + * Creates a new ReqMotorReset instance using the specified properties. + * @function create + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset=} [properties] Properties to set + * @returns {ReqMotorReset} ReqMotorReset instance + */ + ReqMotorReset.create = function create(properties) { + return new ReqMotorReset(properties); + }; + + /** + * Encodes the specified ReqMotorReset message. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encode + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqMotorReset message, length delimited. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorReset message. + * @function verify + * @memberof ReqMotorReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorReset + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorReset} ReqMotorReset + */ + ReqMotorReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorReset) return object; + var message = new $root.ReqMotorReset(); + if (object.id != null) message.id = object.id | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + return message; + }; + + /** + * Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorReset + * @static + * @param {ReqMotorReset} message ReqMotorReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqMotorReset to JSON. + * @function toJSON + * @memberof ReqMotorReset + * @instance + * @returns {Object.} JSON object + */ + ReqMotorReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorReset + * @function getTypeUrl + * @memberof ReqMotorReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorReset"; + }; + + return ReqMotorReset; +})(); + +$root.ReqMotorChangeSpeed = (function () { + /** + * Properties of a ReqMotorChangeSpeed. + * @exports IReqMotorChangeSpeed + * @interface IReqMotorChangeSpeed + * @property {number|null} [id] ReqMotorChangeSpeed id + * @property {number|null} [speed] ReqMotorChangeSpeed speed + */ + + /** + * Constructs a new ReqMotorChangeSpeed. + * @exports ReqMotorChangeSpeed + * @classdesc Represents a ReqMotorChangeSpeed. + * @implements IReqMotorChangeSpeed + * @constructor + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + */ + function ReqMotorChangeSpeed(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorChangeSpeed id. + * @member {number} id + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.id = 0; + + /** + * ReqMotorChangeSpeed speed. + * @member {number} speed + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.speed = 0; + + /** + * Creates a new ReqMotorChangeSpeed instance using the specified properties. + * @function create + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed instance + */ + ReqMotorChangeSpeed.create = function create(properties) { + return new ReqMotorChangeSpeed(properties); + }; + + /** + * Encodes the specified ReqMotorChangeSpeed message. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorChangeSpeed(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorChangeSpeed message. + * @function verify + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeSpeed.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + */ + ReqMotorChangeSpeed.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeSpeed) return object; + var message = new $root.ReqMotorChangeSpeed(); + if (object.id != null) message.id = object.id | 0; + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {ReqMotorChangeSpeed} message ReqMotorChangeSpeed + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeSpeed.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorChangeSpeed to JSON. + * @function toJSON + * @memberof ReqMotorChangeSpeed + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeSpeed.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorChangeSpeed + * @function getTypeUrl + * @memberof ReqMotorChangeSpeed + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeSpeed.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeSpeed"; + }; + + return ReqMotorChangeSpeed; +})(); + +$root.ReqMotorChangeDirection = (function () { + /** + * Properties of a ReqMotorChangeDirection. + * @exports IReqMotorChangeDirection + * @interface IReqMotorChangeDirection + * @property {number|null} [id] ReqMotorChangeDirection id + * @property {boolean|null} [direction] ReqMotorChangeDirection direction + */ + + /** + * Constructs a new ReqMotorChangeDirection. + * @exports ReqMotorChangeDirection + * @classdesc Represents a ReqMotorChangeDirection. + * @implements IReqMotorChangeDirection + * @constructor + * @param {IReqMotorChangeDirection=} [properties] Properties to set + */ + function ReqMotorChangeDirection(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorChangeDirection id. + * @member {number} id + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.id = 0; + + /** + * ReqMotorChangeDirection direction. + * @member {boolean} direction + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.direction = false; + + /** + * Creates a new ReqMotorChangeDirection instance using the specified properties. + * @function create + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection=} [properties] Properties to set + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection instance + */ + ReqMotorChangeDirection.create = function create(properties) { + return new ReqMotorChangeDirection(properties); + }; + + /** + * Encodes the specified ReqMotorChangeDirection message. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorChangeDirection(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorChangeDirection message. + * @function verify + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeDirection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + */ + ReqMotorChangeDirection.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeDirection) return object; + var message = new $root.ReqMotorChangeDirection(); + if (object.id != null) message.id = object.id | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + return message; + }; + + /** + * Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeDirection + * @static + * @param {ReqMotorChangeDirection} message ReqMotorChangeDirection + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeDirection.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqMotorChangeDirection to JSON. + * @function toJSON + * @memberof ReqMotorChangeDirection + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeDirection.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorChangeDirection + * @function getTypeUrl + * @memberof ReqMotorChangeDirection + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeDirection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeDirection"; + }; + + return ReqMotorChangeDirection; +})(); + +$root.ResMotor = (function () { + /** + * Properties of a ResMotor. + * @exports IResMotor + * @interface IResMotor + * @property {number|null} [id] ResMotor id + * @property {number|null} [code] ResMotor code + */ + + /** + * Constructs a new ResMotor. + * @exports ResMotor + * @classdesc Represents a ResMotor. + * @implements IResMotor + * @constructor + * @param {IResMotor=} [properties] Properties to set + */ + function ResMotor(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResMotor id. + * @member {number} id + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.id = 0; + + /** + * ResMotor code. + * @member {number} code + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.code = 0; + + /** + * Creates a new ResMotor instance using the specified properties. + * @function create + * @memberof ResMotor + * @static + * @param {IResMotor=} [properties] Properties to set + * @returns {ResMotor} ResMotor instance + */ + ResMotor.create = function create(properties) { + return new ResMotor(properties); + }; + + /** + * Encodes the specified ResMotor message. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encode + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResMotor message, length delimited. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResMotor message from the specified reader or buffer. + * @function decode + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResMotor(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResMotor message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResMotor message. + * @function verify + * @memberof ResMotor + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotor.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResMotor message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotor + * @static + * @param {Object.} object Plain object + * @returns {ResMotor} ResMotor + */ + ResMotor.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotor) return object; + var message = new $root.ResMotor(); + if (object.id != null) message.id = object.id | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResMotor message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotor + * @static + * @param {ResMotor} message ResMotor + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotor.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResMotor to JSON. + * @function toJSON + * @memberof ResMotor + * @instance + * @returns {Object.} JSON object + */ + ResMotor.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResMotor + * @function getTypeUrl + * @memberof ResMotor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotor"; + }; + + return ResMotor; +})(); + +$root.ResMotorPosition = (function () { + /** + * Properties of a ResMotorPosition. + * @exports IResMotorPosition + * @interface IResMotorPosition + * @property {number|null} [id] ResMotorPosition id + * @property {number|null} [code] ResMotorPosition code + * @property {number|null} [position] ResMotorPosition position + */ + + /** + * Constructs a new ResMotorPosition. + * @exports ResMotorPosition + * @classdesc Represents a ResMotorPosition. + * @implements IResMotorPosition + * @constructor + * @param {IResMotorPosition=} [properties] Properties to set + */ + function ResMotorPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResMotorPosition id. + * @member {number} id + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.id = 0; + + /** + * ResMotorPosition code. + * @member {number} code + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.code = 0; + + /** + * ResMotorPosition position. + * @member {number} position + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.position = 0; + + /** + * Creates a new ResMotorPosition instance using the specified properties. + * @function create + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition=} [properties] Properties to set + * @returns {ResMotorPosition} ResMotorPosition instance + */ + ResMotorPosition.create = function create(properties) { + return new ResMotorPosition(properties); + }; + + /** + * Encodes the specified ResMotorPosition message. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encode + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if ( + message.position != null && + Object.hasOwnProperty.call(message, "position") + ) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.position); + return writer; + }; + + /** + * Encodes the specified ResMotorPosition message, length delimited. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer. + * @function decode + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResMotorPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.position = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResMotorPosition message. + * @function verify + * @memberof ResMotorPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotorPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.position != null && message.hasOwnProperty("position")) + if (typeof message.position !== "number") + return "position: number expected"; + return null; + }; + + /** + * Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotorPosition + * @static + * @param {Object.} object Plain object + * @returns {ResMotorPosition} ResMotorPosition + */ + ResMotorPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotorPosition) return object; + var message = new $root.ResMotorPosition(); + if (object.id != null) message.id = object.id | 0; + if (object.code != null) message.code = object.code | 0; + if (object.position != null) message.position = Number(object.position); + return message; + }; + + /** + * Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotorPosition + * @static + * @param {ResMotorPosition} message ResMotorPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotorPosition.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + object.position = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.position != null && message.hasOwnProperty("position")) + object.position = + options.json && !isFinite(message.position) + ? String(message.position) + : message.position; + return object; + }; + + /** + * Converts this ResMotorPosition to JSON. + * @function toJSON + * @memberof ResMotorPosition + * @instance + * @returns {Object.} JSON object + */ + ResMotorPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResMotorPosition + * @function getTypeUrl + * @memberof ResMotorPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotorPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotorPosition"; + }; + + return ResMotorPosition; +})(); + +$root.ReqDualCameraLinkage = (function () { + /** + * Properties of a ReqDualCameraLinkage. + * @exports IReqDualCameraLinkage + * @interface IReqDualCameraLinkage + * @property {number|null} [x] ReqDualCameraLinkage x + * @property {number|null} [y] ReqDualCameraLinkage y + */ + + /** + * Constructs a new ReqDualCameraLinkage. + * @exports ReqDualCameraLinkage + * @classdesc Represents a ReqDualCameraLinkage. + * @implements IReqDualCameraLinkage + * @constructor + * @param {IReqDualCameraLinkage=} [properties] Properties to set + */ + function ReqDualCameraLinkage(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDualCameraLinkage x. + * @member {number} x + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.x = 0; + + /** + * ReqDualCameraLinkage y. + * @member {number} y + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.y = 0; + + /** + * Creates a new ReqDualCameraLinkage instance using the specified properties. + * @function create + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage=} [properties] Properties to set + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage instance + */ + ReqDualCameraLinkage.create = function create(properties) { + return new ReqDualCameraLinkage(properties); + }; + + /** + * Encodes the specified ReqDualCameraLinkage message. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encode + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + return writer; + }; + + /** + * Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer. + * @function decode + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDualCameraLinkage(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDualCameraLinkage message. + * @function verify + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDualCameraLinkage.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + return null; + }; + + /** + * Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} object Plain object + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + */ + ReqDualCameraLinkage.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDualCameraLinkage) return object; + var message = new $root.ReqDualCameraLinkage(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDualCameraLinkage + * @static + * @param {ReqDualCameraLinkage} message ReqDualCameraLinkage + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDualCameraLinkage.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + return object; + }; + + /** + * Converts this ReqDualCameraLinkage to JSON. + * @function toJSON + * @memberof ReqDualCameraLinkage + * @instance + * @returns {Object.} JSON object + */ + ReqDualCameraLinkage.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDualCameraLinkage + * @function getTypeUrl + * @memberof ReqDualCameraLinkage + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDualCameraLinkage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDualCameraLinkage"; + }; + + return ReqDualCameraLinkage; +})(); + +/** + * State enum. + * @exports State + * @enum {number} + * @property {number} STATE_IDLE=0 STATE_IDLE value + * @property {number} STATE_RUNNING=1 STATE_RUNNING value + * @property {number} STATE_STOPPING=2 STATE_STOPPING value + * @property {number} STATE_STOPPED=3 STATE_STOPPED value + * @property {number} STATE_SUCCESS=4 STATE_SUCCESS value + * @property {number} STATE_FAILED=5 STATE_FAILED value + * @property {number} STATE_ASTRO_PLATE_SOLVING=6 STATE_ASTRO_PLATE_SOLVING value + */ +$root.State = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "STATE_IDLE")] = 0; + values[(valuesById[1] = "STATE_RUNNING")] = 1; + values[(valuesById[2] = "STATE_STOPPING")] = 2; + values[(valuesById[3] = "STATE_STOPPED")] = 3; + values[(valuesById[4] = "STATE_SUCCESS")] = 4; + values[(valuesById[5] = "STATE_FAILED")] = 5; + values[(valuesById[6] = "STATE_ASTRO_PLATE_SOLVING")] = 6; + return values; +})(); + +/** + * OperationState enum. + * @exports OperationState + * @enum {number} + * @property {number} OPERATION_STATE_IDLE=0 OPERATION_STATE_IDLE value + * @property {number} OPERATION_STATE_RUNNING=1 OPERATION_STATE_RUNNING value + * @property {number} OPERATION_STATE_STOPPING=2 OPERATION_STATE_STOPPING value + * @property {number} OPERATION_STATE_STOPPED=3 OPERATION_STATE_STOPPED value + */ +$root.OperationState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "OPERATION_STATE_IDLE")] = 0; + values[(valuesById[1] = "OPERATION_STATE_RUNNING")] = 1; + values[(valuesById[2] = "OPERATION_STATE_STOPPING")] = 2; + values[(valuesById[3] = "OPERATION_STATE_STOPPED")] = 3; + return values; +})(); + +/** + * AstroState enum. + * @exports AstroState + * @enum {number} + * @property {number} ASTRO_STATE_IDLE=0 ASTRO_STATE_IDLE value + * @property {number} ASTRO_STATE_RUNNING=1 ASTRO_STATE_RUNNING value + * @property {number} ASTRO_STATE_STOPPING=2 ASTRO_STATE_STOPPING value + * @property {number} ASTRO_STATE_STOPPED=3 ASTRO_STATE_STOPPED value + * @property {number} ASTRO_STATE_PLATE_SOLVING=4 ASTRO_STATE_PLATE_SOLVING value + */ +$root.AstroState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "ASTRO_STATE_IDLE")] = 0; + values[(valuesById[1] = "ASTRO_STATE_RUNNING")] = 1; + values[(valuesById[2] = "ASTRO_STATE_STOPPING")] = 2; + values[(valuesById[3] = "ASTRO_STATE_STOPPED")] = 3; + values[(valuesById[4] = "ASTRO_STATE_PLATE_SOLVING")] = 4; + return values; +})(); + +/** + * SentryModeState enum. + * @exports SentryModeState + * @enum {number} + * @property {number} SENTRY_MODE_STATE_IDLE=0 SENTRY_MODE_STATE_IDLE value + * @property {number} SENTRY_MODE_STATE_INIT=1 SENTRY_MODE_STATE_INIT value + * @property {number} SENTRY_MODE_STATE_DETECT=2 SENTRY_MODE_STATE_DETECT value + * @property {number} SENTRY_MODE_STATE_TRACK=3 SENTRY_MODE_STATE_TRACK value + * @property {number} SENTRY_MODE_STATE_TRACK_FINISH=4 SENTRY_MODE_STATE_TRACK_FINISH value + * @property {number} SENTRY_MODE_STATE_STOPPING=5 SENTRY_MODE_STATE_STOPPING value + */ +$root.SentryModeState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SENTRY_MODE_STATE_IDLE")] = 0; + values[(valuesById[1] = "SENTRY_MODE_STATE_INIT")] = 1; + values[(valuesById[2] = "SENTRY_MODE_STATE_DETECT")] = 2; + values[(valuesById[3] = "SENTRY_MODE_STATE_TRACK")] = 3; + values[(valuesById[4] = "SENTRY_MODE_STATE_TRACK_FINISH")] = 4; + values[(valuesById[5] = "SENTRY_MODE_STATE_STOPPING")] = 5; + return values; +})(); + +$root.ResNotifyPictureMatching = (function () { + /** + * Properties of a ResNotifyPictureMatching. + * @exports IResNotifyPictureMatching + * @interface IResNotifyPictureMatching + * @property {number|null} [x] ResNotifyPictureMatching x + * @property {number|null} [y] ResNotifyPictureMatching y + * @property {number|null} [width] ResNotifyPictureMatching width + * @property {number|null} [height] ResNotifyPictureMatching height + * @property {number|null} [value] ResNotifyPictureMatching value + * @property {number|null} [code] ResNotifyPictureMatching code + */ + + /** + * Constructs a new ResNotifyPictureMatching. + * @exports ResNotifyPictureMatching + * @classdesc Represents a ResNotifyPictureMatching. + * @implements IResNotifyPictureMatching + * @constructor + * @param {IResNotifyPictureMatching=} [properties] Properties to set + */ + function ResNotifyPictureMatching(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPictureMatching x. + * @member {number} x + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.x = 0; + + /** + * ResNotifyPictureMatching y. + * @member {number} y + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.y = 0; + + /** + * ResNotifyPictureMatching width. + * @member {number} width + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.width = 0; + + /** + * ResNotifyPictureMatching height. + * @member {number} height + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.height = 0; + + /** + * ResNotifyPictureMatching value. + * @member {number} value + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.value = 0; + + /** + * ResNotifyPictureMatching code. + * @member {number} code + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.code = 0; + + /** + * Creates a new ResNotifyPictureMatching instance using the specified properties. + * @function create + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching=} [properties] Properties to set + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching instance + */ + ResNotifyPictureMatching.create = function create(properties) { + return new ResNotifyPictureMatching(properties); + }; + + /** + * Encodes the specified ResNotifyPictureMatching message. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encode + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.y); + if (message.width != null && Object.hasOwnProperty.call(message, "width")) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.width); + if (message.height != null && Object.hasOwnProperty.call(message, "height")) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.height); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 5, wireType 1 =*/ 41).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPictureMatching(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.uint32(); + break; + } + case 2: { + message.y = reader.uint32(); + break; + } + case 3: { + message.width = reader.uint32(); + break; + } + case 4: { + message.height = reader.uint32(); + break; + } + case 5: { + message.value = reader.double(); + break; + } + case 6: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPictureMatching message. + * @function verify + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPictureMatching.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.width != null && message.hasOwnProperty("width")) + if (!$util.isInteger(message.width)) return "width: integer expected"; + if (message.height != null && message.hasOwnProperty("height")) + if (!$util.isInteger(message.height)) return "height: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + */ + ResNotifyPictureMatching.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPictureMatching) return object; + var message = new $root.ResNotifyPictureMatching(); + if (object.x != null) message.x = object.x >>> 0; + if (object.y != null) message.y = object.y >>> 0; + if (object.width != null) message.width = object.width >>> 0; + if (object.height != null) message.height = object.height >>> 0; + if (object.value != null) message.value = Number(object.value); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPictureMatching + * @static + * @param {ResNotifyPictureMatching} message ResNotifyPictureMatching + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPictureMatching.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.width = 0; + object.height = 0; + object.value = 0; + object.code = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.width != null && message.hasOwnProperty("width")) + object.width = message.width; + if (message.height != null && message.hasOwnProperty("height")) + object.height = message.height; + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifyPictureMatching to JSON. + * @function toJSON + * @memberof ResNotifyPictureMatching + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPictureMatching.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPictureMatching + * @function getTypeUrl + * @memberof ResNotifyPictureMatching + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPictureMatching.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPictureMatching"; + }; + + return ResNotifyPictureMatching; +})(); + +$root.ResNotifySDcardInfo = (function () { + /** + * Properties of a ResNotifySDcardInfo. + * @exports IResNotifySDcardInfo + * @interface IResNotifySDcardInfo + * @property {number|null} [availableSize] ResNotifySDcardInfo availableSize + * @property {number|null} [totalSize] ResNotifySDcardInfo totalSize + * @property {number|null} [code] ResNotifySDcardInfo code + */ + + /** + * Constructs a new ResNotifySDcardInfo. + * @exports ResNotifySDcardInfo + * @classdesc Represents a ResNotifySDcardInfo. + * @implements IResNotifySDcardInfo + * @constructor + * @param {IResNotifySDcardInfo=} [properties] Properties to set + */ + function ResNotifySDcardInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifySDcardInfo availableSize. + * @member {number} availableSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.availableSize = 0; + + /** + * ResNotifySDcardInfo totalSize. + * @member {number} totalSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.totalSize = 0; + + /** + * ResNotifySDcardInfo code. + * @member {number} code + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.code = 0; + + /** + * Creates a new ResNotifySDcardInfo instance using the specified properties. + * @function create + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo=} [properties] Properties to set + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo instance + */ + ResNotifySDcardInfo.create = function create(properties) { + return new ResNotifySDcardInfo(properties); + }; + + /** + * Encodes the specified ResNotifySDcardInfo message. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encode + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.availableSize != null && + Object.hasOwnProperty.call(message, "availableSize") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.availableSize); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.totalSize); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifySDcardInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.availableSize = reader.uint32(); + break; + } + case 2: { + message.totalSize = reader.uint32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifySDcardInfo message. + * @function verify + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySDcardInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.availableSize != null && + message.hasOwnProperty("availableSize") + ) + if (!$util.isInteger(message.availableSize)) + return "availableSize: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize)) + return "totalSize: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + */ + ResNotifySDcardInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySDcardInfo) return object; + var message = new $root.ResNotifySDcardInfo(); + if (object.availableSize != null) + message.availableSize = object.availableSize >>> 0; + if (object.totalSize != null) message.totalSize = object.totalSize >>> 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySDcardInfo + * @static + * @param {ResNotifySDcardInfo} message ResNotifySDcardInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySDcardInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.availableSize = 0; + object.totalSize = 0; + object.code = 0; + } + if ( + message.availableSize != null && + message.hasOwnProperty("availableSize") + ) + object.availableSize = message.availableSize; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + object.totalSize = message.totalSize; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifySDcardInfo to JSON. + * @function toJSON + * @memberof ResNotifySDcardInfo + * @instance + * @returns {Object.} JSON object + */ + ResNotifySDcardInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifySDcardInfo + * @function getTypeUrl + * @memberof ResNotifySDcardInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySDcardInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySDcardInfo"; + }; + + return ResNotifySDcardInfo; +})(); + +$root.ResNotifyTemperature = (function () { + /** + * Properties of a ResNotifyTemperature. + * @exports IResNotifyTemperature + * @interface IResNotifyTemperature + * @property {number|null} [code] ResNotifyTemperature code + * @property {number|null} [temperature] ResNotifyTemperature temperature + */ + + /** + * Constructs a new ResNotifyTemperature. + * @exports ResNotifyTemperature + * @classdesc Represents a ResNotifyTemperature. + * @implements IResNotifyTemperature + * @constructor + * @param {IResNotifyTemperature=} [properties] Properties to set + */ + function ResNotifyTemperature(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTemperature code. + * @member {number} code + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.code = 0; + + /** + * ResNotifyTemperature temperature. + * @member {number} temperature + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.temperature = 0; + + /** + * Creates a new ResNotifyTemperature instance using the specified properties. + * @function create + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature=} [properties] Properties to set + * @returns {ResNotifyTemperature} ResNotifyTemperature instance + */ + ResNotifyTemperature.create = function create(properties) { + return new ResNotifyTemperature(properties); + }; + + /** + * Encodes the specified ResNotifyTemperature message. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encode + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTemperature(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTemperature message. + * @function verify + * @memberof ResNotifyTemperature + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTemperature.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTemperature + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTemperature} ResNotifyTemperature + */ + ResNotifyTemperature.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTemperature) return object; + var message = new $root.ResNotifyTemperature(); + if (object.code != null) message.code = object.code | 0; + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTemperature + * @static + * @param {ResNotifyTemperature} message ResNotifyTemperature + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTemperature.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.temperature = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResNotifyTemperature to JSON. + * @function toJSON + * @memberof ResNotifyTemperature + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTemperature.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTemperature + * @function getTypeUrl + * @memberof ResNotifyTemperature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTemperature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTemperature"; + }; + + return ResNotifyTemperature; +})(); + +$root.ResNotifyRecordTime = (function () { + /** + * Properties of a ResNotifyRecordTime. + * @exports IResNotifyRecordTime + * @interface IResNotifyRecordTime + * @property {number|null} [recordTime] ResNotifyRecordTime recordTime + */ + + /** + * Constructs a new ResNotifyRecordTime. + * @exports ResNotifyRecordTime + * @classdesc Represents a ResNotifyRecordTime. + * @implements IResNotifyRecordTime + * @constructor + * @param {IResNotifyRecordTime=} [properties] Properties to set + */ + function ResNotifyRecordTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyRecordTime recordTime. + * @member {number} recordTime + * @memberof ResNotifyRecordTime + * @instance + */ + ResNotifyRecordTime.prototype.recordTime = 0; + + /** + * Creates a new ResNotifyRecordTime instance using the specified properties. + * @function create + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime=} [properties] Properties to set + * @returns {ResNotifyRecordTime} ResNotifyRecordTime instance + */ + ResNotifyRecordTime.create = function create(properties) { + return new ResNotifyRecordTime(properties); + }; + + /** + * Encodes the specified ResNotifyRecordTime message. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.recordTime != null && + Object.hasOwnProperty.call(message, "recordTime") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.recordTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyRecordTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.recordTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyRecordTime message. + * @function verify + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRecordTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + if (!$util.isInteger(message.recordTime)) + return "recordTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + */ + ResNotifyRecordTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRecordTime) return object; + var message = new $root.ResNotifyRecordTime(); + if (object.recordTime != null) message.recordTime = object.recordTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRecordTime + * @static + * @param {ResNotifyRecordTime} message ResNotifyRecordTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRecordTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.recordTime = 0; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + object.recordTime = message.recordTime; + return object; + }; + + /** + * Converts this ResNotifyRecordTime to JSON. + * @function toJSON + * @memberof ResNotifyRecordTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRecordTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyRecordTime + * @function getTypeUrl + * @memberof ResNotifyRecordTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRecordTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRecordTime"; + }; + + return ResNotifyRecordTime; +})(); + +$root.ResNotifyTimeLapseOutTime = (function () { + /** + * Properties of a ResNotifyTimeLapseOutTime. + * @exports IResNotifyTimeLapseOutTime + * @interface IResNotifyTimeLapseOutTime + * @property {number|null} [interval] ResNotifyTimeLapseOutTime interval + * @property {number|null} [outTime] ResNotifyTimeLapseOutTime outTime + * @property {number|null} [totalTime] ResNotifyTimeLapseOutTime totalTime + */ + + /** + * Constructs a new ResNotifyTimeLapseOutTime. + * @exports ResNotifyTimeLapseOutTime + * @classdesc Represents a ResNotifyTimeLapseOutTime. + * @implements IResNotifyTimeLapseOutTime + * @constructor + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + */ + function ResNotifyTimeLapseOutTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTimeLapseOutTime interval. + * @member {number} interval + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.interval = 0; + + /** + * ResNotifyTimeLapseOutTime outTime. + * @member {number} outTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.outTime = 0; + + /** + * ResNotifyTimeLapseOutTime totalTime. + * @member {number} totalTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.totalTime = 0; + + /** + * Creates a new ResNotifyTimeLapseOutTime instance using the specified properties. + * @function create + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime instance + */ + ResNotifyTimeLapseOutTime.create = function create(properties) { + return new ResNotifyTimeLapseOutTime(properties); + }; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.interval != null && + Object.hasOwnProperty.call(message, "interval") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.interval); + if ( + message.outTime != null && + Object.hasOwnProperty.call(message, "outTime") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.outTime); + if ( + message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.totalTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTimeLapseOutTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.interval = reader.int32(); + break; + } + case 2: { + message.outTime = reader.int32(); + break; + } + case 3: { + message.totalTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTimeLapseOutTime message. + * @function verify + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTimeLapseOutTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.interval != null && message.hasOwnProperty("interval")) + if (!$util.isInteger(message.interval)) + return "interval: integer expected"; + if (message.outTime != null && message.hasOwnProperty("outTime")) + if (!$util.isInteger(message.outTime)) return "outTime: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (!$util.isInteger(message.totalTime)) + return "totalTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + */ + ResNotifyTimeLapseOutTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTimeLapseOutTime) return object; + var message = new $root.ResNotifyTimeLapseOutTime(); + if (object.interval != null) message.interval = object.interval | 0; + if (object.outTime != null) message.outTime = object.outTime | 0; + if (object.totalTime != null) message.totalTime = object.totalTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {ResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTimeLapseOutTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.interval = 0; + object.outTime = 0; + object.totalTime = 0; + } + if (message.interval != null && message.hasOwnProperty("interval")) + object.interval = message.interval; + if (message.outTime != null && message.hasOwnProperty("outTime")) + object.outTime = message.outTime; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = message.totalTime; + return object; + }; + + /** + * Converts this ResNotifyTimeLapseOutTime to JSON. + * @function toJSON + * @memberof ResNotifyTimeLapseOutTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTimeLapseOutTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTimeLapseOutTime + * @function getTypeUrl + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTimeLapseOutTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTimeLapseOutTime"; + }; + + return ResNotifyTimeLapseOutTime; +})(); + +$root.ResNotifyOperationState = (function () { + /** + * Properties of a ResNotifyOperationState. + * @exports IResNotifyOperationState + * @interface IResNotifyOperationState + * @property {OperationState|null} [state] ResNotifyOperationState state + */ + + /** + * Constructs a new ResNotifyOperationState. + * @exports ResNotifyOperationState + * @classdesc Represents a ResNotifyOperationState. + * @implements IResNotifyOperationState + * @constructor + * @param {IResNotifyOperationState=} [properties] Properties to set + */ + function ResNotifyOperationState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyOperationState state. + * @member {OperationState} state + * @memberof ResNotifyOperationState + * @instance + */ + ResNotifyOperationState.prototype.state = 0; + + /** + * Creates a new ResNotifyOperationState instance using the specified properties. + * @function create + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState=} [properties] Properties to set + * @returns {ResNotifyOperationState} ResNotifyOperationState instance + */ + ResNotifyOperationState.create = function create(properties) { + return new ResNotifyOperationState(properties); + }; + + /** + * Encodes the specified ResNotifyOperationState message. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyOperationState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyOperationState message. + * @function verify + * @memberof ResNotifyOperationState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOperationState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOperationState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOperationState} ResNotifyOperationState + */ + ResNotifyOperationState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOperationState) return object; + var message = new $root.ResNotifyOperationState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOperationState + * @static + * @param {ResNotifyOperationState} message ResNotifyOperationState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOperationState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyOperationState to JSON. + * @function toJSON + * @memberof ResNotifyOperationState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOperationState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyOperationState + * @function getTypeUrl + * @memberof ResNotifyOperationState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOperationState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOperationState"; + }; + + return ResNotifyOperationState; +})(); + +$root.ResNotifyStateAstroCalibration = (function () { + /** + * Properties of a ResNotifyStateAstroCalibration. + * @exports IResNotifyStateAstroCalibration + * @interface IResNotifyStateAstroCalibration + * @property {AstroState|null} [state] ResNotifyStateAstroCalibration state + * @property {number|null} [plateSolvingTimes] ResNotifyStateAstroCalibration plateSolvingTimes + */ + + /** + * Constructs a new ResNotifyStateAstroCalibration. + * @exports ResNotifyStateAstroCalibration + * @classdesc Represents a ResNotifyStateAstroCalibration. + * @implements IResNotifyStateAstroCalibration + * @constructor + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + */ + function ResNotifyStateAstroCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroCalibration state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.state = 0; + + /** + * ResNotifyStateAstroCalibration plateSolvingTimes. + * @member {number} plateSolvingTimes + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.plateSolvingTimes = 0; + + /** + * Creates a new ResNotifyStateAstroCalibration instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration instance + */ + ResNotifyStateAstroCalibration.create = function create(properties) { + return new ResNotifyStateAstroCalibration(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.plateSolvingTimes != null && + Object.hasOwnProperty.call(message, "plateSolvingTimes") + ) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.plateSolvingTimes); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.plateSolvingTimes = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroCalibration message. + * @function verify + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if ( + message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes") + ) + if (!$util.isInteger(message.plateSolvingTimes)) + return "plateSolvingTimes: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + */ + ResNotifyStateAstroCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroCalibration) return object; + var message = new $root.ResNotifyStateAstroCalibration(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + if (object.plateSolvingTimes != null) + message.plateSolvingTimes = object.plateSolvingTimes | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {ResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroCalibration.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + object.plateSolvingTimes = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + if ( + message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes") + ) + object.plateSolvingTimes = message.plateSolvingTimes; + return object; + }; + + /** + * Converts this ResNotifyStateAstroCalibration to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroCalibration + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroCalibration + * @function getTypeUrl + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroCalibration.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroCalibration"; + }; + + return ResNotifyStateAstroCalibration; +})(); + +$root.ResNotifyStateAstroGoto = (function () { + /** + * Properties of a ResNotifyStateAstroGoto. + * @exports IResNotifyStateAstroGoto + * @interface IResNotifyStateAstroGoto + * @property {AstroState|null} [state] ResNotifyStateAstroGoto state + */ + + /** + * Constructs a new ResNotifyStateAstroGoto. + * @exports ResNotifyStateAstroGoto + * @classdesc Represents a ResNotifyStateAstroGoto. + * @implements IResNotifyStateAstroGoto + * @constructor + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + */ + function ResNotifyStateAstroGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroGoto state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroGoto + * @instance + */ + ResNotifyStateAstroGoto.prototype.state = 0; + + /** + * Creates a new ResNotifyStateAstroGoto instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto instance + */ + ResNotifyStateAstroGoto.create = function create(properties) { + return new ResNotifyStateAstroGoto(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroGoto message. + * @function verify + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + return null; + }; + + /** + * Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + */ + ResNotifyStateAstroGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroGoto) return object; + var message = new $root.ResNotifyStateAstroGoto(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {ResNotifyStateAstroGoto} message ResNotifyStateAstroGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroGoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyStateAstroGoto to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroGoto + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroGoto + * @function getTypeUrl + * @memberof ResNotifyStateAstroGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroGoto"; + }; + + return ResNotifyStateAstroGoto; +})(); + +$root.ResNotifyStateAstroTracking = (function () { + /** + * Properties of a ResNotifyStateAstroTracking. + * @exports IResNotifyStateAstroTracking + * @interface IResNotifyStateAstroTracking + * @property {OperationState|null} [state] ResNotifyStateAstroTracking state + * @property {string|null} [targetName] ResNotifyStateAstroTracking targetName + */ + + /** + * Constructs a new ResNotifyStateAstroTracking. + * @exports ResNotifyStateAstroTracking + * @classdesc Represents a ResNotifyStateAstroTracking. + * @implements IResNotifyStateAstroTracking + * @constructor + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + */ + function ResNotifyStateAstroTracking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroTracking state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.state = 0; + + /** + * ResNotifyStateAstroTracking targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.targetName = ""; + + /** + * Creates a new ResNotifyStateAstroTracking instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking instance + */ + ResNotifyStateAstroTracking.create = function create(properties) { + return new ResNotifyStateAstroTracking(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroTracking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroTracking message. + * @function verify + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTracking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + */ + ResNotifyStateAstroTracking.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTracking) return object; + var message = new $root.ResNotifyStateAstroTracking(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {ResNotifyStateAstroTracking} message ResNotifyStateAstroTracking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTracking.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ResNotifyStateAstroTracking to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTracking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTracking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroTracking + * @function getTypeUrl + * @memberof ResNotifyStateAstroTracking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTracking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTracking"; + }; + + return ResNotifyStateAstroTracking; +})(); + +$root.ResNotifyProgressCaptureRawDark = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawDark. + * @exports IResNotifyProgressCaptureRawDark + * @interface IResNotifyProgressCaptureRawDark + * @property {number|null} [progress] ResNotifyProgressCaptureRawDark progress + * @property {number|null} [remainingTime] ResNotifyProgressCaptureRawDark remainingTime + */ + + /** + * Constructs a new ResNotifyProgressCaptureRawDark. + * @exports ResNotifyProgressCaptureRawDark + * @classdesc Represents a ResNotifyProgressCaptureRawDark. + * @implements IResNotifyProgressCaptureRawDark + * @constructor + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawDark(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyProgressCaptureRawDark progress. + * @member {number} progress + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.progress = 0; + + /** + * ResNotifyProgressCaptureRawDark remainingTime. + * @member {number} remainingTime + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.remainingTime = 0; + + /** + * Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark instance + */ + ResNotifyProgressCaptureRawDark.create = function create(properties) { + return new ResNotifyProgressCaptureRawDark(properties); + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.progress != null && + Object.hasOwnProperty.call(message, "progress") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if ( + message.remainingTime != null && + Object.hasOwnProperty.call(message, "remainingTime") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.remainingTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyProgressCaptureRawDark(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.remainingTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyProgressCaptureRawDark message. + * @function verify + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawDark.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if ( + message.remainingTime != null && + message.hasOwnProperty("remainingTime") + ) + if (!$util.isInteger(message.remainingTime)) + return "remainingTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + */ + ResNotifyProgressCaptureRawDark.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyProgressCaptureRawDark) return object; + var message = new $root.ResNotifyProgressCaptureRawDark(); + if (object.progress != null) message.progress = object.progress | 0; + if (object.remainingTime != null) + message.remainingTime = object.remainingTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {ResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawDark.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.remainingTime = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if ( + message.remainingTime != null && + message.hasOwnProperty("remainingTime") + ) + object.remainingTime = message.remainingTime; + return object; + }; + + /** + * Converts this ResNotifyProgressCaptureRawDark to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawDark + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawDark.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawDark + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawDark.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawDark"; + }; + + return ResNotifyProgressCaptureRawDark; +})(); + +$root.ResNotifyProgressCaptureRawLiveStacking = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawLiveStacking. + * @exports IResNotifyProgressCaptureRawLiveStacking + * @interface IResNotifyProgressCaptureRawLiveStacking + * @property {number|null} [totalCount] ResNotifyProgressCaptureRawLiveStacking totalCount + * @property {number|null} [updateCountType] ResNotifyProgressCaptureRawLiveStacking updateCountType + * @property {number|null} [currentCount] ResNotifyProgressCaptureRawLiveStacking currentCount + * @property {number|null} [stackedCount] ResNotifyProgressCaptureRawLiveStacking stackedCount + * @property {number|null} [expIndex] ResNotifyProgressCaptureRawLiveStacking expIndex + * @property {number|null} [gainIndex] ResNotifyProgressCaptureRawLiveStacking gainIndex + * @property {string|null} [targetName] ResNotifyProgressCaptureRawLiveStacking targetName + */ + + /** + * Constructs a new ResNotifyProgressCaptureRawLiveStacking. + * @exports ResNotifyProgressCaptureRawLiveStacking + * @classdesc Represents a ResNotifyProgressCaptureRawLiveStacking. + * @implements IResNotifyProgressCaptureRawLiveStacking + * @constructor + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyProgressCaptureRawLiveStacking totalCount. + * @member {number} totalCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.totalCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking updateCountType. + * @member {number} updateCountType + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.updateCountType = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking currentCount. + * @member {number} currentCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.currentCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking stackedCount. + * @member {number} stackedCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.stackedCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking expIndex. + * @member {number} expIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.expIndex = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking gainIndex. + * @member {number} gainIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.gainIndex = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking targetName. + * @member {string} targetName + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.targetName = ""; + + /** + * Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking instance + */ + ResNotifyProgressCaptureRawLiveStacking.create = function create(properties) { + return new ResNotifyProgressCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if ( + message.updateCountType != null && + Object.hasOwnProperty.call(message, "updateCountType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.updateCountType); + if ( + message.currentCount != null && + Object.hasOwnProperty.call(message, "currentCount") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.currentCount); + if ( + message.stackedCount != null && + Object.hasOwnProperty.call(message, "stackedCount") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.stackedCount); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.gainIndex); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.updateCountType = reader.int32(); + break; + } + case 3: { + message.currentCount = reader.int32(); + break; + } + case 4: { + message.stackedCount = reader.int32(); + break; + } + case 5: { + message.expIndex = reader.int32(); + break; + } + case 6: { + message.gainIndex = reader.int32(); + break; + } + case 7: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyProgressCaptureRawLiveStacking message. + * @function verify + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.updateCountType != null && + message.hasOwnProperty("updateCountType") + ) + if (!$util.isInteger(message.updateCountType)) + return "updateCountType: integer expected"; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + if (!$util.isInteger(message.currentCount)) + return "currentCount: integer expected"; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + if (!$util.isInteger(message.stackedCount)) + return "stackedCount: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + */ + ResNotifyProgressCaptureRawLiveStacking.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyProgressCaptureRawLiveStacking) + return object; + var message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + if (object.totalCount != null) message.totalCount = object.totalCount | 0; + if (object.updateCountType != null) + message.updateCountType = object.updateCountType | 0; + if (object.currentCount != null) + message.currentCount = object.currentCount | 0; + if (object.stackedCount != null) + message.stackedCount = object.stackedCount | 0; + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {ResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawLiveStacking.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.updateCountType = 0; + object.currentCount = 0; + object.stackedCount = 0; + object.expIndex = 0; + object.gainIndex = 0; + object.targetName = ""; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.updateCountType != null && + message.hasOwnProperty("updateCountType") + ) + object.updateCountType = message.updateCountType; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + object.currentCount = message.currentCount; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + object.stackedCount = message.stackedCount; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ResNotifyProgressCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawLiveStacking"; + }; + + return ResNotifyProgressCaptureRawLiveStacking; +})(); + +$root.ResNotifyParam = (function () { + /** + * Properties of a ResNotifyParam. + * @exports IResNotifyParam + * @interface IResNotifyParam + * @property {Array.|null} [param] ResNotifyParam param + */ + + /** + * Constructs a new ResNotifyParam. + * @exports ResNotifyParam + * @classdesc Represents a ResNotifyParam. + * @implements IResNotifyParam + * @constructor + * @param {IResNotifyParam=} [properties] Properties to set + */ + function ResNotifyParam(properties) { + this.param = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyParam param. + * @member {Array.} param + * @memberof ResNotifyParam + * @instance + */ + ResNotifyParam.prototype.param = $util.emptyArray; + + /** + * Creates a new ResNotifyParam instance using the specified properties. + * @function create + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam=} [properties] Properties to set + * @returns {ResNotifyParam} ResNotifyParam instance + */ + ResNotifyParam.create = function create(properties) { + return new ResNotifyParam(properties); + }; + + /** + * Encodes the specified ResNotifyParam message. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encode + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.param != null && message.param.length) + for (var i = 0; i < message.param.length; ++i) + $root.CommonParam.encode( + message.param[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResNotifyParam message, length delimited. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.param && message.param.length)) message.param = []; + message.param.push($root.CommonParam.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyParam message. + * @function verify + * @memberof ResNotifyParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + if (!Array.isArray(message.param)) return "param: array expected"; + for (var i = 0; i < message.param.length; ++i) { + var error = $root.CommonParam.verify(message.param[i]); + if (error) return "param." + error; + } + } + return null; + }; + + /** + * Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyParam + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyParam} ResNotifyParam + */ + ResNotifyParam.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyParam) return object; + var message = new $root.ResNotifyParam(); + if (object.param) { + if (!Array.isArray(object.param)) + throw TypeError(".ResNotifyParam.param: array expected"); + message.param = []; + for (var i = 0; i < object.param.length; ++i) { + if (typeof object.param[i] !== "object") + throw TypeError(".ResNotifyParam.param: object expected"); + message.param[i] = $root.CommonParam.fromObject(object.param[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyParam + * @static + * @param {ResNotifyParam} message ResNotifyParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.param = []; + if (message.param && message.param.length) { + object.param = []; + for (var j = 0; j < message.param.length; ++j) + object.param[j] = $root.CommonParam.toObject(message.param[j], options); + } + return object; + }; + + /** + * Converts this ResNotifyParam to JSON. + * @function toJSON + * @memberof ResNotifyParam + * @instance + * @returns {Object.} JSON object + */ + ResNotifyParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyParam + * @function getTypeUrl + * @memberof ResNotifyParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyParam"; + }; + + return ResNotifyParam; +})(); + +$root.ResNotifyCamFunctionState = (function () { + /** + * Properties of a ResNotifyCamFunctionState. + * @exports IResNotifyCamFunctionState + * @interface IResNotifyCamFunctionState + * @property {OperationState|null} [state] ResNotifyCamFunctionState state + * @property {number|null} [functionId] ResNotifyCamFunctionState functionId + */ + + /** + * Constructs a new ResNotifyCamFunctionState. + * @exports ResNotifyCamFunctionState + * @classdesc Represents a ResNotifyCamFunctionState. + * @implements IResNotifyCamFunctionState + * @constructor + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + */ + function ResNotifyCamFunctionState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyCamFunctionState state. + * @member {OperationState} state + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.state = 0; + + /** + * ResNotifyCamFunctionState functionId. + * @member {number} functionId + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.functionId = 0; + + /** + * Creates a new ResNotifyCamFunctionState instance using the specified properties. + * @function create + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState instance + */ + ResNotifyCamFunctionState.create = function create(properties) { + return new ResNotifyCamFunctionState(properties); + }; + + /** + * Encodes the specified ResNotifyCamFunctionState message. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encode + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.functionId != null && + Object.hasOwnProperty.call(message, "functionId") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.functionId); + return writer; + }; + + /** + * Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyCamFunctionState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.functionId = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyCamFunctionState message. + * @function verify + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCamFunctionState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + */ + ResNotifyCamFunctionState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCamFunctionState) return object; + var message = new $root.ResNotifyCamFunctionState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.functionId != null) message.functionId = object.functionId >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {ResNotifyCamFunctionState} message ResNotifyCamFunctionState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCamFunctionState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.functionId = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + return object; + }; + + /** + * Converts this ResNotifyCamFunctionState to JSON. + * @function toJSON + * @memberof ResNotifyCamFunctionState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCamFunctionState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyCamFunctionState + * @function getTypeUrl + * @memberof ResNotifyCamFunctionState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCamFunctionState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCamFunctionState"; + }; + + return ResNotifyCamFunctionState; +})(); + +$root.ResNotifyBurstProgress = (function () { + /** + * Properties of a ResNotifyBurstProgress. + * @exports IResNotifyBurstProgress + * @interface IResNotifyBurstProgress + * @property {number|null} [totalCount] ResNotifyBurstProgress totalCount + * @property {number|null} [completedCount] ResNotifyBurstProgress completedCount + */ + + /** + * Constructs a new ResNotifyBurstProgress. + * @exports ResNotifyBurstProgress + * @classdesc Represents a ResNotifyBurstProgress. + * @implements IResNotifyBurstProgress + * @constructor + * @param {IResNotifyBurstProgress=} [properties] Properties to set + */ + function ResNotifyBurstProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyBurstProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.totalCount = 0; + + /** + * ResNotifyBurstProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.completedCount = 0; + + /** + * Creates a new ResNotifyBurstProgress instance using the specified properties. + * @function create + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress=} [properties] Properties to set + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress instance + */ + ResNotifyBurstProgress.create = function create(properties) { + return new ResNotifyBurstProgress(properties); + }; + + /** + * Encodes the specified ResNotifyBurstProgress message. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.totalCount); + if ( + message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.completedCount); + return writer; + }; + + /** + * Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyBurstProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.uint32(); + break; + } + case 2: { + message.completedCount = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyBurstProgress message. + * @function verify + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyBurstProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + */ + ResNotifyBurstProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyBurstProgress) return object; + var message = new $root.ResNotifyBurstProgress(); + if (object.totalCount != null) message.totalCount = object.totalCount >>> 0; + if (object.completedCount != null) + message.completedCount = object.completedCount >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyBurstProgress + * @static + * @param {ResNotifyBurstProgress} message ResNotifyBurstProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyBurstProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + object.completedCount = message.completedCount; + return object; + }; + + /** + * Converts this ResNotifyBurstProgress to JSON. + * @function toJSON + * @memberof ResNotifyBurstProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyBurstProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyBurstProgress + * @function getTypeUrl + * @memberof ResNotifyBurstProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyBurstProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyBurstProgress"; + }; + + return ResNotifyBurstProgress; +})(); + +$root.ResNotifyPanoramaProgress = (function () { + /** + * Properties of a ResNotifyPanoramaProgress. + * @exports IResNotifyPanoramaProgress + * @interface IResNotifyPanoramaProgress + * @property {number|null} [totalCount] ResNotifyPanoramaProgress totalCount + * @property {number|null} [completedCount] ResNotifyPanoramaProgress completedCount + */ + + /** + * Constructs a new ResNotifyPanoramaProgress. + * @exports ResNotifyPanoramaProgress + * @classdesc Represents a ResNotifyPanoramaProgress. + * @implements IResNotifyPanoramaProgress + * @constructor + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.totalCount = 0; + + /** + * ResNotifyPanoramaProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.completedCount = 0; + + /** + * Creates a new ResNotifyPanoramaProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress instance + */ + ResNotifyPanoramaProgress.create = function create(properties) { + return new ResNotifyPanoramaProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if ( + message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.completedCount); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.completedCount = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaProgress message. + * @function verify + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + */ + ResNotifyPanoramaProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaProgress) return object; + var message = new $root.ResNotifyPanoramaProgress(); + if (object.totalCount != null) message.totalCount = object.totalCount | 0; + if (object.completedCount != null) + message.completedCount = object.completedCount | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {ResNotifyPanoramaProgress} message ResNotifyPanoramaProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + object.completedCount = message.completedCount; + return object; + }; + + /** + * Converts this ResNotifyPanoramaProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaProgress"; + }; + + return ResNotifyPanoramaProgress; +})(); + +$root.ResNotifyRgbState = (function () { + /** + * Properties of a ResNotifyRgbState. + * @exports IResNotifyRgbState + * @interface IResNotifyRgbState + * @property {number|null} [state] ResNotifyRgbState state + */ + + /** + * Constructs a new ResNotifyRgbState. + * @exports ResNotifyRgbState + * @classdesc Represents a ResNotifyRgbState. + * @implements IResNotifyRgbState + * @constructor + * @param {IResNotifyRgbState=} [properties] Properties to set + */ + function ResNotifyRgbState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyRgbState state. + * @member {number} state + * @memberof ResNotifyRgbState + * @instance + */ + ResNotifyRgbState.prototype.state = 0; + + /** + * Creates a new ResNotifyRgbState instance using the specified properties. + * @function create + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState=} [properties] Properties to set + * @returns {ResNotifyRgbState} ResNotifyRgbState instance + */ + ResNotifyRgbState.create = function create(properties) { + return new ResNotifyRgbState(properties); + }; + + /** + * Encodes the specified ResNotifyRgbState message. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encode + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyRgbState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyRgbState message. + * @function verify + * @memberof ResNotifyRgbState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRgbState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRgbState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRgbState} ResNotifyRgbState + */ + ResNotifyRgbState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRgbState) return object; + var message = new $root.ResNotifyRgbState(); + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRgbState + * @static + * @param {ResNotifyRgbState} message ResNotifyRgbState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRgbState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyRgbState to JSON. + * @function toJSON + * @memberof ResNotifyRgbState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRgbState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyRgbState + * @function getTypeUrl + * @memberof ResNotifyRgbState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRgbState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRgbState"; + }; + + return ResNotifyRgbState; +})(); + +$root.ResNotifyPowerIndState = (function () { + /** + * Properties of a ResNotifyPowerIndState. + * @exports IResNotifyPowerIndState + * @interface IResNotifyPowerIndState + * @property {number|null} [state] ResNotifyPowerIndState state + */ + + /** + * Constructs a new ResNotifyPowerIndState. + * @exports ResNotifyPowerIndState + * @classdesc Represents a ResNotifyPowerIndState. + * @implements IResNotifyPowerIndState + * @constructor + * @param {IResNotifyPowerIndState=} [properties] Properties to set + */ + function ResNotifyPowerIndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPowerIndState state. + * @member {number} state + * @memberof ResNotifyPowerIndState + * @instance + */ + ResNotifyPowerIndState.prototype.state = 0; + + /** + * Creates a new ResNotifyPowerIndState instance using the specified properties. + * @function create + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState=} [properties] Properties to set + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState instance + */ + ResNotifyPowerIndState.create = function create(properties) { + return new ResNotifyPowerIndState(properties); + }; + + /** + * Encodes the specified ResNotifyPowerIndState message. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPowerIndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPowerIndState message. + * @function verify + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerIndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + */ + ResNotifyPowerIndState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerIndState) return object; + var message = new $root.ResNotifyPowerIndState(); + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerIndState + * @static + * @param {ResNotifyPowerIndState} message ResNotifyPowerIndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerIndState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyPowerIndState to JSON. + * @function toJSON + * @memberof ResNotifyPowerIndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerIndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPowerIndState + * @function getTypeUrl + * @memberof ResNotifyPowerIndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerIndState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerIndState"; + }; + + return ResNotifyPowerIndState; +})(); + +$root.ResNotifyHostSlaveMode = (function () { + /** + * Properties of a ResNotifyHostSlaveMode. + * @exports IResNotifyHostSlaveMode + * @interface IResNotifyHostSlaveMode + * @property {number|null} [mode] ResNotifyHostSlaveMode mode + * @property {boolean|null} [lock] ResNotifyHostSlaveMode lock + */ + + /** + * Constructs a new ResNotifyHostSlaveMode. + * @exports ResNotifyHostSlaveMode + * @classdesc Represents a ResNotifyHostSlaveMode. + * @implements IResNotifyHostSlaveMode + * @constructor + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + */ + function ResNotifyHostSlaveMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyHostSlaveMode mode. + * @member {number} mode + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.mode = 0; + + /** + * ResNotifyHostSlaveMode lock. + * @member {boolean} lock + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.lock = false; + + /** + * Creates a new ResNotifyHostSlaveMode instance using the specified properties. + * @function create + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode instance + */ + ResNotifyHostSlaveMode.create = function create(properties) { + return new ResNotifyHostSlaveMode(properties); + }; + + /** + * Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.lock); + return writer; + }; + + /** + * Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyHostSlaveMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + case 2: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyHostSlaveMode message. + * @function verify + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyHostSlaveMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") return "lock: boolean expected"; + return null; + }; + + /** + * Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + */ + ResNotifyHostSlaveMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyHostSlaveMode) return object; + var message = new $root.ResNotifyHostSlaveMode(); + if (object.mode != null) message.mode = object.mode | 0; + if (object.lock != null) message.lock = Boolean(object.lock); + return message; + }; + + /** + * Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {ResNotifyHostSlaveMode} message ResNotifyHostSlaveMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyHostSlaveMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.lock = false; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + + /** + * Converts this ResNotifyHostSlaveMode to JSON. + * @function toJSON + * @memberof ResNotifyHostSlaveMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyHostSlaveMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyHostSlaveMode + * @function getTypeUrl + * @memberof ResNotifyHostSlaveMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyHostSlaveMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyHostSlaveMode"; + }; + + return ResNotifyHostSlaveMode; +})(); + +$root.ResNotifyMTPState = (function () { + /** + * Properties of a ResNotifyMTPState. + * @exports IResNotifyMTPState + * @interface IResNotifyMTPState + * @property {number|null} [mode] ResNotifyMTPState mode + */ + + /** + * Constructs a new ResNotifyMTPState. + * @exports ResNotifyMTPState + * @classdesc Represents a ResNotifyMTPState. + * @implements IResNotifyMTPState + * @constructor + * @param {IResNotifyMTPState=} [properties] Properties to set + */ + function ResNotifyMTPState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyMTPState mode. + * @member {number} mode + * @memberof ResNotifyMTPState + * @instance + */ + ResNotifyMTPState.prototype.mode = 0; + + /** + * Creates a new ResNotifyMTPState instance using the specified properties. + * @function create + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState=} [properties] Properties to set + * @returns {ResNotifyMTPState} ResNotifyMTPState instance + */ + ResNotifyMTPState.create = function create(properties) { + return new ResNotifyMTPState(properties); + }; + + /** + * Encodes the specified ResNotifyMTPState message. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encode + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyMTPState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyMTPState message. + * @function verify + * @memberof ResNotifyMTPState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyMTPState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyMTPState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyMTPState} ResNotifyMTPState + */ + ResNotifyMTPState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyMTPState) return object; + var message = new $root.ResNotifyMTPState(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyMTPState + * @static + * @param {ResNotifyMTPState} message ResNotifyMTPState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyMTPState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ResNotifyMTPState to JSON. + * @function toJSON + * @memberof ResNotifyMTPState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyMTPState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyMTPState + * @function getTypeUrl + * @memberof ResNotifyMTPState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyMTPState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyMTPState"; + }; + + return ResNotifyMTPState; +})(); + +$root.ResNotifyTrackResult = (function () { + /** + * Properties of a ResNotifyTrackResult. + * @exports IResNotifyTrackResult + * @interface IResNotifyTrackResult + * @property {number|null} [x] ResNotifyTrackResult x + * @property {number|null} [y] ResNotifyTrackResult y + * @property {number|null} [w] ResNotifyTrackResult w + * @property {number|null} [h] ResNotifyTrackResult h + */ + + /** + * Constructs a new ResNotifyTrackResult. + * @exports ResNotifyTrackResult + * @classdesc Represents a ResNotifyTrackResult. + * @implements IResNotifyTrackResult + * @constructor + * @param {IResNotifyTrackResult=} [properties] Properties to set + */ + function ResNotifyTrackResult(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTrackResult x. + * @member {number} x + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.x = 0; + + /** + * ResNotifyTrackResult y. + * @member {number} y + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.y = 0; + + /** + * ResNotifyTrackResult w. + * @member {number} w + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.w = 0; + + /** + * ResNotifyTrackResult h. + * @member {number} h + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.h = 0; + + /** + * Creates a new ResNotifyTrackResult instance using the specified properties. + * @function create + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult=} [properties] Properties to set + * @returns {ResNotifyTrackResult} ResNotifyTrackResult instance + */ + ResNotifyTrackResult.create = function create(properties) { + return new ResNotifyTrackResult(properties); + }; + + /** + * Encodes the specified ResNotifyTrackResult message. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encode + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + + /** + * Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTrackResult(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTrackResult message. + * @function verify + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTrackResult.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) return "h: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + */ + ResNotifyTrackResult.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTrackResult) return object; + var message = new $root.ResNotifyTrackResult(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + if (object.w != null) message.w = object.w | 0; + if (object.h != null) message.h = object.h | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTrackResult + * @static + * @param {ResNotifyTrackResult} message ResNotifyTrackResult + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTrackResult.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) object.h = message.h; + return object; + }; + + /** + * Converts this ResNotifyTrackResult to JSON. + * @function toJSON + * @memberof ResNotifyTrackResult + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTrackResult.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTrackResult + * @function getTypeUrl + * @memberof ResNotifyTrackResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTrackResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTrackResult"; + }; + + return ResNotifyTrackResult; +})(); + +$root.ResNotifyCPUMode = (function () { + /** + * Properties of a ResNotifyCPUMode. + * @exports IResNotifyCPUMode + * @interface IResNotifyCPUMode + * @property {number|null} [mode] ResNotifyCPUMode mode + */ + + /** + * Constructs a new ResNotifyCPUMode. + * @exports ResNotifyCPUMode + * @classdesc Represents a ResNotifyCPUMode. + * @implements IResNotifyCPUMode + * @constructor + * @param {IResNotifyCPUMode=} [properties] Properties to set + */ + function ResNotifyCPUMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyCPUMode mode. + * @member {number} mode + * @memberof ResNotifyCPUMode + * @instance + */ + ResNotifyCPUMode.prototype.mode = 0; + + /** + * Creates a new ResNotifyCPUMode instance using the specified properties. + * @function create + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode=} [properties] Properties to set + * @returns {ResNotifyCPUMode} ResNotifyCPUMode instance + */ + ResNotifyCPUMode.create = function create(properties) { + return new ResNotifyCPUMode(properties); + }; + + /** + * Encodes the specified ResNotifyCPUMode message. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyCPUMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyCPUMode message. + * @function verify + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCPUMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + */ + ResNotifyCPUMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCPUMode) return object; + var message = new $root.ResNotifyCPUMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCPUMode + * @static + * @param {ResNotifyCPUMode} message ResNotifyCPUMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCPUMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ResNotifyCPUMode to JSON. + * @function toJSON + * @memberof ResNotifyCPUMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCPUMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyCPUMode + * @function getTypeUrl + * @memberof ResNotifyCPUMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCPUMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCPUMode"; + }; + + return ResNotifyCPUMode; +})(); + +$root.ResNotifyStateAstroTrackingSpecial = (function () { + /** + * Properties of a ResNotifyStateAstroTrackingSpecial. + * @exports IResNotifyStateAstroTrackingSpecial + * @interface IResNotifyStateAstroTrackingSpecial + * @property {OperationState|null} [state] ResNotifyStateAstroTrackingSpecial state + * @property {string|null} [targetName] ResNotifyStateAstroTrackingSpecial targetName + * @property {number|null} [index] ResNotifyStateAstroTrackingSpecial index + */ + + /** + * Constructs a new ResNotifyStateAstroTrackingSpecial. + * @exports ResNotifyStateAstroTrackingSpecial + * @classdesc Represents a ResNotifyStateAstroTrackingSpecial. + * @implements IResNotifyStateAstroTrackingSpecial + * @constructor + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + */ + function ResNotifyStateAstroTrackingSpecial(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroTrackingSpecial state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.state = 0; + + /** + * ResNotifyStateAstroTrackingSpecial targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.targetName = ""; + + /** + * ResNotifyStateAstroTrackingSpecial index. + * @member {number} index + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.index = 0; + + /** + * Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial instance + */ + ResNotifyStateAstroTrackingSpecial.create = function create(properties) { + return new ResNotifyStateAstroTrackingSpecial(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroTrackingSpecial(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + case 3: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroTrackingSpecial message. + * @function verify + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTrackingSpecial.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + */ + ResNotifyStateAstroTrackingSpecial.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTrackingSpecial) + return object; + var message = new $root.ResNotifyStateAstroTrackingSpecial(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {ResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTrackingSpecial.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + object.index = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ResNotifyStateAstroTrackingSpecial to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTrackingSpecial.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroTrackingSpecial + * @function getTypeUrl + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTrackingSpecial.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTrackingSpecial"; + }; + + return ResNotifyStateAstroTrackingSpecial; +})(); + +$root.ResNotifyPowerOff = (function () { + /** + * Properties of a ResNotifyPowerOff. + * @exports IResNotifyPowerOff + * @interface IResNotifyPowerOff + */ + + /** + * Constructs a new ResNotifyPowerOff. + * @exports ResNotifyPowerOff + * @classdesc Represents a ResNotifyPowerOff. + * @implements IResNotifyPowerOff + * @constructor + * @param {IResNotifyPowerOff=} [properties] Properties to set + */ + function ResNotifyPowerOff(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ResNotifyPowerOff instance using the specified properties. + * @function create + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff=} [properties] Properties to set + * @returns {ResNotifyPowerOff} ResNotifyPowerOff instance + */ + ResNotifyPowerOff.create = function create(properties) { + return new ResNotifyPowerOff(properties); + }; + + /** + * Encodes the specified ResNotifyPowerOff message. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPowerOff(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPowerOff message. + * @function verify + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerOff.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + */ + ResNotifyPowerOff.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerOff) return object; + return new $root.ResNotifyPowerOff(); + }; + + /** + * Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerOff + * @static + * @param {ResNotifyPowerOff} message ResNotifyPowerOff + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerOff.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ResNotifyPowerOff to JSON. + * @function toJSON + * @memberof ResNotifyPowerOff + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerOff.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPowerOff + * @function getTypeUrl + * @memberof ResNotifyPowerOff + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerOff.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerOff"; + }; + + return ResNotifyPowerOff; +})(); + +$root.ResNotifyAlbumUpdate = (function () { + /** + * Properties of a ResNotifyAlbumUpdate. + * @exports IResNotifyAlbumUpdate + * @interface IResNotifyAlbumUpdate + * @property {number|null} [mediaType] ResNotifyAlbumUpdate mediaType + */ + + /** + * Constructs a new ResNotifyAlbumUpdate. + * @exports ResNotifyAlbumUpdate + * @classdesc Represents a ResNotifyAlbumUpdate. + * @implements IResNotifyAlbumUpdate + * @constructor + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + */ + function ResNotifyAlbumUpdate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyAlbumUpdate mediaType. + * @member {number} mediaType + * @memberof ResNotifyAlbumUpdate + * @instance + */ + ResNotifyAlbumUpdate.prototype.mediaType = 0; + + /** + * Creates a new ResNotifyAlbumUpdate instance using the specified properties. + * @function create + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate instance + */ + ResNotifyAlbumUpdate.create = function create(properties) { + return new ResNotifyAlbumUpdate(properties); + }; + + /** + * Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.mediaType != null && + Object.hasOwnProperty.call(message, "mediaType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mediaType); + return writer; + }; + + /** + * Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyAlbumUpdate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mediaType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyAlbumUpdate message. + * @function verify + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyAlbumUpdate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + if (!$util.isInteger(message.mediaType)) + return "mediaType: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + */ + ResNotifyAlbumUpdate.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyAlbumUpdate) return object; + var message = new $root.ResNotifyAlbumUpdate(); + if (object.mediaType != null) message.mediaType = object.mediaType | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {ResNotifyAlbumUpdate} message ResNotifyAlbumUpdate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyAlbumUpdate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mediaType = 0; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + object.mediaType = message.mediaType; + return object; + }; + + /** + * Converts this ResNotifyAlbumUpdate to JSON. + * @function toJSON + * @memberof ResNotifyAlbumUpdate + * @instance + * @returns {Object.} JSON object + */ + ResNotifyAlbumUpdate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyAlbumUpdate + * @function getTypeUrl + * @memberof ResNotifyAlbumUpdate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyAlbumUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyAlbumUpdate"; + }; + + return ResNotifyAlbumUpdate; +})(); + +$root.ResNotifyStateSentryMode = (function () { + /** + * Properties of a ResNotifyStateSentryMode. + * @exports IResNotifyStateSentryMode + * @interface IResNotifyStateSentryMode + * @property {SentryModeState|null} [state] ResNotifyStateSentryMode state + */ + + /** + * Constructs a new ResNotifyStateSentryMode. + * @exports ResNotifyStateSentryMode + * @classdesc Represents a ResNotifyStateSentryMode. + * @implements IResNotifyStateSentryMode + * @constructor + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + */ + function ResNotifyStateSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateSentryMode state. + * @member {SentryModeState} state + * @memberof ResNotifyStateSentryMode + * @instance + */ + ResNotifyStateSentryMode.prototype.state = 0; + + /** + * Creates a new ResNotifyStateSentryMode instance using the specified properties. + * @function create + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode instance + */ + ResNotifyStateSentryMode.create = function create(properties) { + return new ResNotifyStateSentryMode(properties); + }; + + /** + * Encodes the specified ResNotifyStateSentryMode message. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateSentryMode message. + * @function verify + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + return null; + }; + + /** + * Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + */ + ResNotifyStateSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateSentryMode) return object; + var message = new $root.ResNotifyStateSentryMode(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SENTRY_MODE_STATE_IDLE": + case 0: + message.state = 0; + break; + case "SENTRY_MODE_STATE_INIT": + case 1: + message.state = 1; + break; + case "SENTRY_MODE_STATE_DETECT": + case 2: + message.state = 2; + break; + case "SENTRY_MODE_STATE_TRACK": + case 3: + message.state = 3; + break; + case "SENTRY_MODE_STATE_TRACK_FINISH": + case 4: + message.state = 4; + break; + case "SENTRY_MODE_STATE_STOPPING": + case 5: + message.state = 5; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {ResNotifyStateSentryMode} message ResNotifyStateSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateSentryMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "SENTRY_MODE_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.SentryModeState[message.state] === undefined + ? message.state + : $root.SentryModeState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyStateSentryMode to JSON. + * @function toJSON + * @memberof ResNotifyStateSentryMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateSentryMode + * @function getTypeUrl + * @memberof ResNotifyStateSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateSentryMode"; + }; + + return ResNotifyStateSentryMode; +})(); + +$root.ResNotifyOneClickGotoState = (function () { + /** + * Properties of a ResNotifyOneClickGotoState. + * @exports IResNotifyOneClickGotoState + * @interface IResNotifyOneClickGotoState + * @property {OperationState|null} [state] ResNotifyOneClickGotoState state + */ + + /** + * Constructs a new ResNotifyOneClickGotoState. + * @exports ResNotifyOneClickGotoState + * @classdesc Represents a ResNotifyOneClickGotoState. + * @implements IResNotifyOneClickGotoState + * @constructor + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + */ + function ResNotifyOneClickGotoState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyOneClickGotoState state. + * @member {OperationState} state + * @memberof ResNotifyOneClickGotoState + * @instance + */ + ResNotifyOneClickGotoState.prototype.state = 0; + + /** + * Creates a new ResNotifyOneClickGotoState instance using the specified properties. + * @function create + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState instance + */ + ResNotifyOneClickGotoState.create = function create(properties) { + return new ResNotifyOneClickGotoState(properties); + }; + + /** + * Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyOneClickGotoState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyOneClickGotoState message. + * @function verify + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOneClickGotoState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + */ + ResNotifyOneClickGotoState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOneClickGotoState) return object; + var message = new $root.ResNotifyOneClickGotoState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {ResNotifyOneClickGotoState} message ResNotifyOneClickGotoState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOneClickGotoState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyOneClickGotoState to JSON. + * @function toJSON + * @memberof ResNotifyOneClickGotoState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOneClickGotoState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyOneClickGotoState + * @function getTypeUrl + * @memberof ResNotifyOneClickGotoState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOneClickGotoState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOneClickGotoState"; + }; + + return ResNotifyOneClickGotoState; +})(); + +$root.ResNotifyStreamType = (function () { + /** + * Properties of a ResNotifyStreamType. + * @exports IResNotifyStreamType + * @interface IResNotifyStreamType + * @property {number|null} [streamType] ResNotifyStreamType streamType + * @property {number|null} [camId] ResNotifyStreamType camId + */ + + /** + * Constructs a new ResNotifyStreamType. + * @exports ResNotifyStreamType + * @classdesc Represents a ResNotifyStreamType. + * @implements IResNotifyStreamType + * @constructor + * @param {IResNotifyStreamType=} [properties] Properties to set + */ + function ResNotifyStreamType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStreamType streamType. + * @member {number} streamType + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.streamType = 0; + + /** + * ResNotifyStreamType camId. + * @member {number} camId + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.camId = 0; + + /** + * Creates a new ResNotifyStreamType instance using the specified properties. + * @function create + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType=} [properties] Properties to set + * @returns {ResNotifyStreamType} ResNotifyStreamType instance + */ + ResNotifyStreamType.create = function create(properties) { + return new ResNotifyStreamType(properties); + }; + + /** + * Encodes the specified ResNotifyStreamType message. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encode + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.streamType != null && + Object.hasOwnProperty.call(message, "streamType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.streamType); + if (message.camId != null && Object.hasOwnProperty.call(message, "camId")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.camId); + return writer; + }; + + /** + * Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStreamType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.streamType = reader.int32(); + break; + } + case 2: { + message.camId = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStreamType message. + * @function verify + * @memberof ResNotifyStreamType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStreamType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.streamType != null && message.hasOwnProperty("streamType")) + if (!$util.isInteger(message.streamType)) + return "streamType: integer expected"; + if (message.camId != null && message.hasOwnProperty("camId")) + if (!$util.isInteger(message.camId)) return "camId: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStreamType + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStreamType} ResNotifyStreamType + */ + ResNotifyStreamType.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStreamType) return object; + var message = new $root.ResNotifyStreamType(); + if (object.streamType != null) message.streamType = object.streamType | 0; + if (object.camId != null) message.camId = object.camId | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStreamType + * @static + * @param {ResNotifyStreamType} message ResNotifyStreamType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStreamType.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.streamType = 0; + object.camId = 0; + } + if (message.streamType != null && message.hasOwnProperty("streamType")) + object.streamType = message.streamType; + if (message.camId != null && message.hasOwnProperty("camId")) + object.camId = message.camId; + return object; + }; + + /** + * Converts this ResNotifyStreamType to JSON. + * @function toJSON + * @memberof ResNotifyStreamType + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStreamType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStreamType + * @function getTypeUrl + * @memberof ResNotifyStreamType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStreamType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStreamType"; + }; + + return ResNotifyStreamType; +})(); + +$root.ResNotifyEqSolvingState = (function () { + /** + * Properties of a ResNotifyEqSolvingState. + * @exports IResNotifyEqSolvingState + * @interface IResNotifyEqSolvingState + * @property {ResNotifyEqSolvingState.Action|null} [step] ResNotifyEqSolvingState step + * @property {OperationState|null} [state] ResNotifyEqSolvingState state + */ + + /** + * Constructs a new ResNotifyEqSolvingState. + * @exports ResNotifyEqSolvingState + * @classdesc Represents a ResNotifyEqSolvingState. + * @implements IResNotifyEqSolvingState + * @constructor + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + */ + function ResNotifyEqSolvingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyEqSolvingState step. + * @member {ResNotifyEqSolvingState.Action} step + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.step = 0; + + /** + * ResNotifyEqSolvingState state. + * @member {OperationState} state + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.state = 0; + + /** + * Creates a new ResNotifyEqSolvingState instance using the specified properties. + * @function create + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState instance + */ + ResNotifyEqSolvingState.create = function create(properties) { + return new ResNotifyEqSolvingState(properties); + }; + + /** + * Encodes the specified ResNotifyEqSolvingState message. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encode + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyEqSolvingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyEqSolvingState message. + * @function verify + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyEqSolvingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + switch (message.step) { + default: + return "step: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + */ + ResNotifyEqSolvingState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyEqSolvingState) return object; + var message = new $root.ResNotifyEqSolvingState(); + switch (object.step) { + default: + if (typeof object.step === "number") { + message.step = object.step; + break; + } + break; + case "UNSPECIFIED": + case 0: + message.step = 0; + break; + case "FOCUS": + case 1: + message.step = 1; + break; + case "SOLVING": + case 2: + message.step = 2; + break; + } + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {ResNotifyEqSolvingState} message ResNotifyEqSolvingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyEqSolvingState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.step = options.enums === String ? "UNSPECIFIED" : 0; + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = + options.enums === String + ? $root.ResNotifyEqSolvingState.Action[message.step] === undefined + ? message.step + : $root.ResNotifyEqSolvingState.Action[message.step] + : message.step; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyEqSolvingState to JSON. + * @function toJSON + * @memberof ResNotifyEqSolvingState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyEqSolvingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyEqSolvingState + * @function getTypeUrl + * @memberof ResNotifyEqSolvingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyEqSolvingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyEqSolvingState"; + }; + + /** + * Action enum. + * @name ResNotifyEqSolvingState.Action + * @enum {number} + * @property {number} UNSPECIFIED=0 UNSPECIFIED value + * @property {number} FOCUS=1 FOCUS value + * @property {number} SOLVING=2 SOLVING value + */ + ResNotifyEqSolvingState.Action = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "UNSPECIFIED")] = 0; + values[(valuesById[1] = "FOCUS")] = 1; + values[(valuesById[2] = "SOLVING")] = 2; + return values; + })(); + + return ResNotifyEqSolvingState; +})(); + +$root.ResNotifyLongExpPhotoProgress = (function () { + /** + * Properties of a ResNotifyLongExpPhotoProgress. + * @exports IResNotifyLongExpPhotoProgress + * @interface IResNotifyLongExpPhotoProgress + * @property {number|null} [functionId] ResNotifyLongExpPhotoProgress functionId + * @property {number|null} [totalTime] ResNotifyLongExpPhotoProgress totalTime + * @property {number|null} [exposuredTime] ResNotifyLongExpPhotoProgress exposuredTime + */ + + /** + * Constructs a new ResNotifyLongExpPhotoProgress. + * @exports ResNotifyLongExpPhotoProgress + * @classdesc Represents a ResNotifyLongExpPhotoProgress. + * @implements IResNotifyLongExpPhotoProgress + * @constructor + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + */ + function ResNotifyLongExpPhotoProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyLongExpPhotoProgress functionId. + * @member {number} functionId + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.functionId = 0; + + /** + * ResNotifyLongExpPhotoProgress totalTime. + * @member {number} totalTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.totalTime = 0; + + /** + * ResNotifyLongExpPhotoProgress exposuredTime. + * @member {number} exposuredTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.exposuredTime = 0; + + /** + * Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties. + * @function create + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress instance + */ + ResNotifyLongExpPhotoProgress.create = function create(properties) { + return new ResNotifyLongExpPhotoProgress(properties); + }; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.functionId != null && + Object.hasOwnProperty.call(message, "functionId") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.functionId); + if ( + message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.totalTime); + if ( + message.exposuredTime != null && + Object.hasOwnProperty.call(message, "exposuredTime") + ) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.exposuredTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyLongExpPhotoProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.functionId = reader.uint32(); + break; + } + case 2: { + message.totalTime = reader.double(); + break; + } + case 3: { + message.exposuredTime = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyLongExpPhotoProgress message. + * @function verify + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyLongExpPhotoProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (typeof message.totalTime !== "number") + return "totalTime: number expected"; + if ( + message.exposuredTime != null && + message.hasOwnProperty("exposuredTime") + ) + if (typeof message.exposuredTime !== "number") + return "exposuredTime: number expected"; + return null; + }; + + /** + * Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + */ + ResNotifyLongExpPhotoProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyLongExpPhotoProgress) return object; + var message = new $root.ResNotifyLongExpPhotoProgress(); + if (object.functionId != null) message.functionId = object.functionId >>> 0; + if (object.totalTime != null) message.totalTime = Number(object.totalTime); + if (object.exposuredTime != null) + message.exposuredTime = Number(object.exposuredTime); + return message; + }; + + /** + * Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {ResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyLongExpPhotoProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.functionId = 0; + object.totalTime = 0; + object.exposuredTime = 0; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = + options.json && !isFinite(message.totalTime) + ? String(message.totalTime) + : message.totalTime; + if ( + message.exposuredTime != null && + message.hasOwnProperty("exposuredTime") + ) + object.exposuredTime = + options.json && !isFinite(message.exposuredTime) + ? String(message.exposuredTime) + : message.exposuredTime; + return object; + }; + + /** + * Converts this ResNotifyLongExpPhotoProgress to JSON. + * @function toJSON + * @memberof ResNotifyLongExpPhotoProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyLongExpPhotoProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyLongExpPhotoProgress + * @function getTypeUrl + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyLongExpPhotoProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyLongExpPhotoProgress"; + }; + + return ResNotifyLongExpPhotoProgress; +})(); + +$root.ResNotifyShootingScheduleResultAndState = (function () { + /** + * Properties of a ResNotifyShootingScheduleResultAndState. + * @exports IResNotifyShootingScheduleResultAndState + * @interface IResNotifyShootingScheduleResultAndState + * @property {string|null} [scheduleId] ResNotifyShootingScheduleResultAndState scheduleId + * @property {number|null} [result] ResNotifyShootingScheduleResultAndState result + * @property {number|null} [state] ResNotifyShootingScheduleResultAndState state + */ + + /** + * Constructs a new ResNotifyShootingScheduleResultAndState. + * @exports ResNotifyShootingScheduleResultAndState + * @classdesc Represents a ResNotifyShootingScheduleResultAndState. + * @implements IResNotifyShootingScheduleResultAndState + * @constructor + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + */ + function ResNotifyShootingScheduleResultAndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyShootingScheduleResultAndState scheduleId. + * @member {string} scheduleId + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.scheduleId = ""; + + /** + * ResNotifyShootingScheduleResultAndState result. + * @member {number} result + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.result = 0; + + /** + * ResNotifyShootingScheduleResultAndState state. + * @member {number} state + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.state = 0; + + /** + * Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState instance + */ + ResNotifyShootingScheduleResultAndState.create = function create(properties) { + return new ResNotifyShootingScheduleResultAndState(properties); + }; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.result); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyShootingScheduleResultAndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyShootingScheduleResultAndState message. + * @function verify + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingScheduleResultAndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.result != null && message.hasOwnProperty("result")) + if (!$util.isInteger(message.result)) return "result: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + */ + ResNotifyShootingScheduleResultAndState.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyShootingScheduleResultAndState) + return object; + var message = new $root.ResNotifyShootingScheduleResultAndState(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.result != null) message.result = object.result | 0; + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {ResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingScheduleResultAndState.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.result = 0; + object.state = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.result != null && message.hasOwnProperty("result")) + object.result = message.result; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyShootingScheduleResultAndState to JSON. + * @function toJSON + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingScheduleResultAndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyShootingScheduleResultAndState + * @function getTypeUrl + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingScheduleResultAndState.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingScheduleResultAndState"; + }; + + return ResNotifyShootingScheduleResultAndState; +})(); + +$root.ResNotifyShootingTaskState = (function () { + /** + * Properties of a ResNotifyShootingTaskState. + * @exports IResNotifyShootingTaskState + * @interface IResNotifyShootingTaskState + * @property {string|null} [scheduleTaskId] ResNotifyShootingTaskState scheduleTaskId + * @property {number|null} [state] ResNotifyShootingTaskState state + * @property {number|null} [code] ResNotifyShootingTaskState code + */ + + /** + * Constructs a new ResNotifyShootingTaskState. + * @exports ResNotifyShootingTaskState + * @classdesc Represents a ResNotifyShootingTaskState. + * @implements IResNotifyShootingTaskState + * @constructor + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + */ + function ResNotifyShootingTaskState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyShootingTaskState scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.scheduleTaskId = ""; + + /** + * ResNotifyShootingTaskState state. + * @member {number} state + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.state = 0; + + /** + * ResNotifyShootingTaskState code. + * @member {number} code + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.code = 0; + + /** + * Creates a new ResNotifyShootingTaskState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState instance + */ + ResNotifyShootingTaskState.create = function create(properties) { + return new ResNotifyShootingTaskState(properties); + }; + + /** + * Encodes the specified ResNotifyShootingTaskState message. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleTaskId); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyShootingTaskState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleTaskId = reader.string(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyShootingTaskState message. + * @function verify + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingTaskState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + */ + ResNotifyShootingTaskState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyShootingTaskState) return object; + var message = new $root.ResNotifyShootingTaskState(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.state != null) message.state = object.state | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {ResNotifyShootingTaskState} message ResNotifyShootingTaskState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingTaskState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleTaskId = ""; + object.state = 0; + object.code = 0; + } + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + object.scheduleTaskId = message.scheduleTaskId; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifyShootingTaskState to JSON. + * @function toJSON + * @memberof ResNotifyShootingTaskState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingTaskState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyShootingTaskState + * @function getTypeUrl + * @memberof ResNotifyShootingTaskState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingTaskState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingTaskState"; + }; + + return ResNotifyShootingTaskState; +})(); + +$root.ResNotifySkySeacherState = (function () { + /** + * Properties of a ResNotifySkySeacherState. + * @exports IResNotifySkySeacherState + * @interface IResNotifySkySeacherState + * @property {OperationState|null} [state] ResNotifySkySeacherState state + */ + + /** + * Constructs a new ResNotifySkySeacherState. + * @exports ResNotifySkySeacherState + * @classdesc Represents a ResNotifySkySeacherState. + * @implements IResNotifySkySeacherState + * @constructor + * @param {IResNotifySkySeacherState=} [properties] Properties to set + */ + function ResNotifySkySeacherState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifySkySeacherState state. + * @member {OperationState} state + * @memberof ResNotifySkySeacherState + * @instance + */ + ResNotifySkySeacherState.prototype.state = 0; + + /** + * Creates a new ResNotifySkySeacherState instance using the specified properties. + * @function create + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState=} [properties] Properties to set + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState instance + */ + ResNotifySkySeacherState.create = function create(properties) { + return new ResNotifySkySeacherState(properties); + }; + + /** + * Encodes the specified ResNotifySkySeacherState message. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encode + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifySkySeacherState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifySkySeacherState message. + * @function verify + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySkySeacherState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + */ + ResNotifySkySeacherState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySkySeacherState) return object; + var message = new $root.ResNotifySkySeacherState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySkySeacherState + * @static + * @param {ResNotifySkySeacherState} message ResNotifySkySeacherState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySkySeacherState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifySkySeacherState to JSON. + * @function toJSON + * @memberof ResNotifySkySeacherState + * @instance + * @returns {Object.} JSON object + */ + ResNotifySkySeacherState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifySkySeacherState + * @function getTypeUrl + * @memberof ResNotifySkySeacherState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySkySeacherState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySkySeacherState"; + }; + + return ResNotifySkySeacherState; +})(); + +$root.ResNotifyFocus = (function () { + /** + * Properties of a ResNotifyFocus. + * @exports IResNotifyFocus + * @interface IResNotifyFocus + * @property {number|null} [focus] ResNotifyFocus focus + */ + + /** + * Constructs a new ResNotifyFocus. + * @exports ResNotifyFocus + * @classdesc Represents a ResNotifyFocus. + * @implements IResNotifyFocus + * @constructor + * @param {IResNotifyFocus=} [properties] Properties to set + */ + function ResNotifyFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyFocus focus. + * @member {number} focus + * @memberof ResNotifyFocus + * @instance + */ + ResNotifyFocus.prototype.focus = 0; + + /** + * Creates a new ResNotifyFocus instance using the specified properties. + * @function create + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus=} [properties] Properties to set + * @returns {ResNotifyFocus} ResNotifyFocus instance + */ + ResNotifyFocus.create = function create(properties) { + return new ResNotifyFocus(properties); + }; + + /** + * Encodes the specified ResNotifyFocus message. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encode + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.focus != null && Object.hasOwnProperty.call(message, "focus")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.focus); + return writer; + }; + + /** + * Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.focus = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyFocus message. + * @function verify + * @memberof ResNotifyFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.focus != null && message.hasOwnProperty("focus")) + if (!$util.isInteger(message.focus)) return "focus: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyFocus + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyFocus} ResNotifyFocus + */ + ResNotifyFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyFocus) return object; + var message = new $root.ResNotifyFocus(); + if (object.focus != null) message.focus = object.focus | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyFocus + * @static + * @param {ResNotifyFocus} message ResNotifyFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.focus = 0; + if (message.focus != null && message.hasOwnProperty("focus")) + object.focus = message.focus; + return object; + }; + + /** + * Converts this ResNotifyFocus to JSON. + * @function toJSON + * @memberof ResNotifyFocus + * @instance + * @returns {Object.} JSON object + */ + ResNotifyFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyFocus + * @function getTypeUrl + * @memberof ResNotifyFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyFocus"; + }; + + return ResNotifyFocus; +})(); + +$root.ReqStartPanoramaByGrid = (function () { + /** + * Properties of a ReqStartPanoramaByGrid. + * @exports IReqStartPanoramaByGrid + * @interface IReqStartPanoramaByGrid + */ + + /** + * Constructs a new ReqStartPanoramaByGrid. + * @exports ReqStartPanoramaByGrid + * @classdesc Represents a ReqStartPanoramaByGrid. + * @implements IReqStartPanoramaByGrid + * @constructor + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + */ + function ReqStartPanoramaByGrid(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartPanoramaByGrid instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid instance + */ + ReqStartPanoramaByGrid.create = function create(properties) { + return new ReqStartPanoramaByGrid(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaByGrid(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaByGrid message. + * @function verify + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByGrid.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + */ + ReqStartPanoramaByGrid.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByGrid) return object; + return new $root.ReqStartPanoramaByGrid(); + }; + + /** + * Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {ReqStartPanoramaByGrid} message ReqStartPanoramaByGrid + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByGrid.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartPanoramaByGrid to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByGrid + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByGrid.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaByGrid + * @function getTypeUrl + * @memberof ReqStartPanoramaByGrid + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByGrid.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByGrid"; + }; + + return ReqStartPanoramaByGrid; +})(); + +$root.ReqStartPanoramaByEulerRange = (function () { + /** + * Properties of a ReqStartPanoramaByEulerRange. + * @exports IReqStartPanoramaByEulerRange + * @interface IReqStartPanoramaByEulerRange + * @property {number|null} [yawRange] ReqStartPanoramaByEulerRange yawRange + * @property {number|null} [pitchRange] ReqStartPanoramaByEulerRange pitchRange + */ + + /** + * Constructs a new ReqStartPanoramaByEulerRange. + * @exports ReqStartPanoramaByEulerRange + * @classdesc Represents a ReqStartPanoramaByEulerRange. + * @implements IReqStartPanoramaByEulerRange + * @constructor + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + */ + function ReqStartPanoramaByEulerRange(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartPanoramaByEulerRange yawRange. + * @member {number} yawRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.yawRange = 0; + + /** + * ReqStartPanoramaByEulerRange pitchRange. + * @member {number} pitchRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.pitchRange = 0; + + /** + * Creates a new ReqStartPanoramaByEulerRange instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange instance + */ + ReqStartPanoramaByEulerRange.create = function create(properties) { + return new ReqStartPanoramaByEulerRange(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.yawRange != null && + Object.hasOwnProperty.call(message, "yawRange") + ) + writer.uint32(/* id 1, wireType 5 =*/ 13).float(message.yawRange); + if ( + message.pitchRange != null && + Object.hasOwnProperty.call(message, "pitchRange") + ) + writer.uint32(/* id 2, wireType 5 =*/ 21).float(message.pitchRange); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaByEulerRange(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.yawRange = reader.float(); + break; + } + case 2: { + message.pitchRange = reader.float(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaByEulerRange message. + * @function verify + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByEulerRange.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + if (typeof message.yawRange !== "number") + return "yawRange: number expected"; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + if (typeof message.pitchRange !== "number") + return "pitchRange: number expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + */ + ReqStartPanoramaByEulerRange.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByEulerRange) return object; + var message = new $root.ReqStartPanoramaByEulerRange(); + if (object.yawRange != null) message.yawRange = Number(object.yawRange); + if (object.pitchRange != null) + message.pitchRange = Number(object.pitchRange); + return message; + }; + + /** + * Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {ReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByEulerRange.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.yawRange = 0; + object.pitchRange = 0; + } + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + object.yawRange = + options.json && !isFinite(message.yawRange) + ? String(message.yawRange) + : message.yawRange; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + object.pitchRange = + options.json && !isFinite(message.pitchRange) + ? String(message.pitchRange) + : message.pitchRange; + return object; + }; + + /** + * Converts this ReqStartPanoramaByEulerRange to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByEulerRange + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByEulerRange.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaByEulerRange + * @function getTypeUrl + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByEulerRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByEulerRange"; + }; + + return ReqStartPanoramaByEulerRange; +})(); + +$root.ReqStartPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStartPanoramaStitchUpload. + * @exports IReqStartPanoramaStitchUpload + * @interface IReqStartPanoramaStitchUpload + * @property {string|null} [userId] ReqStartPanoramaStitchUpload userId + * @property {string|null} [busiNo] ReqStartPanoramaStitchUpload busiNo + * @property {number|null} [appPlatform] ReqStartPanoramaStitchUpload appPlatform + * @property {string|null} [panoramaName] ReqStartPanoramaStitchUpload panoramaName + * @property {string|null} [ak] ReqStartPanoramaStitchUpload ak + * @property {string|null} [sk] ReqStartPanoramaStitchUpload sk + * @property {string|null} [token] ReqStartPanoramaStitchUpload token + */ + + /** + * Constructs a new ReqStartPanoramaStitchUpload. + * @exports ReqStartPanoramaStitchUpload + * @classdesc Represents a ReqStartPanoramaStitchUpload. + * @implements IReqStartPanoramaStitchUpload + * @constructor + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStartPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartPanoramaStitchUpload userId. + * @member {string} userId + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.userId = ""; + + /** + * ReqStartPanoramaStitchUpload busiNo. + * @member {string} busiNo + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.busiNo = ""; + + /** + * ReqStartPanoramaStitchUpload appPlatform. + * @member {number} appPlatform + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.appPlatform = 0; + + /** + * ReqStartPanoramaStitchUpload panoramaName. + * @member {string} panoramaName + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.panoramaName = ""; + + /** + * ReqStartPanoramaStitchUpload ak. + * @member {string} ak + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.ak = ""; + + /** + * ReqStartPanoramaStitchUpload sk. + * @member {string} sk + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.sk = ""; + + /** + * ReqStartPanoramaStitchUpload token. + * @member {string} token + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.token = ""; + + /** + * Creates a new ReqStartPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload instance + */ + ReqStartPanoramaStitchUpload.create = function create(properties) { + return new ReqStartPanoramaStitchUpload(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.appPlatform != null && + Object.hasOwnProperty.call(message, "appPlatform") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.appPlatform); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.ak != null && Object.hasOwnProperty.call(message, "ak")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ak); + if (message.sk != null && Object.hasOwnProperty.call(message, "sk")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.sk); + if (message.token != null && Object.hasOwnProperty.call(message, "token")) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.token); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.appPlatform = reader.int32(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.ak = reader.string(); + break; + } + case 6: { + message.sk = reader.string(); + break; + } + case 7: { + message.token = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaStitchUpload message. + * @function verify + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + if (!$util.isInteger(message.appPlatform)) + return "appPlatform: integer expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.ak != null && message.hasOwnProperty("ak")) + if (!$util.isString(message.ak)) return "ak: string expected"; + if (message.sk != null && message.hasOwnProperty("sk")) + if (!$util.isString(message.sk)) return "sk: string expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) return "token: string expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + */ + ReqStartPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaStitchUpload) return object; + var message = new $root.ReqStartPanoramaStitchUpload(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.appPlatform != null) + message.appPlatform = object.appPlatform | 0; + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.ak != null) message.ak = String(object.ak); + if (object.sk != null) message.sk = String(object.sk); + if (object.token != null) message.token = String(object.token); + return message; + }; + + /** + * Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {ReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaStitchUpload.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.appPlatform = 0; + object.panoramaName = ""; + object.ak = ""; + object.sk = ""; + object.token = ""; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + object.appPlatform = message.appPlatform; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.ak != null && message.hasOwnProperty("ak")) + object.ak = message.ak; + if (message.sk != null && message.hasOwnProperty("sk")) + object.sk = message.sk; + if (message.token != null && message.hasOwnProperty("token")) + object.token = message.token; + return object; + }; + + /** + * Converts this ReqStartPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStartPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaStitchUpload"; + }; + + return ReqStartPanoramaStitchUpload; +})(); + +$root.ReqStopPanorama = (function () { + /** + * Properties of a ReqStopPanorama. + * @exports IReqStopPanorama + * @interface IReqStopPanorama + */ + + /** + * Constructs a new ReqStopPanorama. + * @exports ReqStopPanorama + * @classdesc Represents a ReqStopPanorama. + * @implements IReqStopPanorama + * @constructor + * @param {IReqStopPanorama=} [properties] Properties to set + */ + function ReqStopPanorama(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopPanorama instance using the specified properties. + * @function create + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama=} [properties] Properties to set + * @returns {ReqStopPanorama} ReqStopPanorama instance + */ + ReqStopPanorama.create = function create(properties) { + return new ReqStopPanorama(properties); + }; + + /** + * Encodes the specified ReqStopPanorama message. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encode + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopPanorama(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopPanorama message. + * @function verify + * @memberof ReqStopPanorama + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanorama.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanorama + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanorama} ReqStopPanorama + */ + ReqStopPanorama.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanorama) return object; + return new $root.ReqStopPanorama(); + }; + + /** + * Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanorama + * @static + * @param {ReqStopPanorama} message ReqStopPanorama + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanorama.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopPanorama to JSON. + * @function toJSON + * @memberof ReqStopPanorama + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanorama.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopPanorama + * @function getTypeUrl + * @memberof ReqStopPanorama + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanorama.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanorama"; + }; + + return ReqStopPanorama; +})(); + +$root.ReqStopPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStopPanoramaStitchUpload. + * @exports IReqStopPanoramaStitchUpload + * @interface IReqStopPanoramaStitchUpload + */ + + /** + * Constructs a new ReqStopPanoramaStitchUpload. + * @exports ReqStopPanoramaStitchUpload + * @classdesc Represents a ReqStopPanoramaStitchUpload. + * @implements IReqStopPanoramaStitchUpload + * @constructor + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStopPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload instance + */ + ReqStopPanoramaStitchUpload.create = function create(properties) { + return new ReqStopPanoramaStitchUpload(properties); + }; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopPanoramaStitchUpload message. + * @function verify + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + */ + ReqStopPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanoramaStitchUpload) return object; + return new $root.ReqStopPanoramaStitchUpload(); + }; + + /** + * Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {ReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanoramaStitchUpload.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStopPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanoramaStitchUpload"; + }; + + return ReqStopPanoramaStitchUpload; +})(); + +$root.ResNotifyPanoramaStitchUploadComplete = (function () { + /** + * Properties of a ResNotifyPanoramaStitchUploadComplete. + * @exports IResNotifyPanoramaStitchUploadComplete + * @interface IResNotifyPanoramaStitchUploadComplete + * @property {string|null} [userId] ResNotifyPanoramaStitchUploadComplete userId + * @property {string|null} [busiNo] ResNotifyPanoramaStitchUploadComplete busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaStitchUploadComplete panoramaName + * @property {string|null} [mac] ResNotifyPanoramaStitchUploadComplete mac + * @property {boolean|null} [uploadRes] ResNotifyPanoramaStitchUploadComplete uploadRes + */ + + /** + * Constructs a new ResNotifyPanoramaStitchUploadComplete. + * @exports ResNotifyPanoramaStitchUploadComplete + * @classdesc Represents a ResNotifyPanoramaStitchUploadComplete. + * @implements IResNotifyPanoramaStitchUploadComplete + * @constructor + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + */ + function ResNotifyPanoramaStitchUploadComplete(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaStitchUploadComplete userId. + * @member {string} userId + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.userId = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete mac. + * @member {string} mac + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.mac = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete uploadRes. + * @member {boolean} uploadRes + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.uploadRes = false; + + /** + * Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete instance + */ + ResNotifyPanoramaStitchUploadComplete.create = function create(properties) { + return new ResNotifyPanoramaStitchUploadComplete(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.uploadRes != null && + Object.hasOwnProperty.call(message, "uploadRes") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).bool(message.uploadRes); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaStitchUploadComplete(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.uploadRes = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaStitchUploadComplete message. + * @function verify + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaStitchUploadComplete.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + if (typeof message.uploadRes !== "boolean") + return "uploadRes: boolean expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + */ + ResNotifyPanoramaStitchUploadComplete.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyPanoramaStitchUploadComplete) + return object; + var message = new $root.ResNotifyPanoramaStitchUploadComplete(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.uploadRes != null) message.uploadRes = Boolean(object.uploadRes); + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {ResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaStitchUploadComplete.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.uploadRes = false; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + object.uploadRes = message.uploadRes; + return object; + }; + + /** + * Converts this ResNotifyPanoramaStitchUploadComplete to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaStitchUploadComplete.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaStitchUploadComplete + * @function getTypeUrl + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaStitchUploadComplete.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaStitchUploadComplete"; + }; + + return ResNotifyPanoramaStitchUploadComplete; +})(); + +$root.ResNotifyPanoramaCompressionProgress = (function () { + /** + * Properties of a ResNotifyPanoramaCompressionProgress. + * @exports IResNotifyPanoramaCompressionProgress + * @interface IResNotifyPanoramaCompressionProgress + * @property {string|null} [userId] ResNotifyPanoramaCompressionProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaCompressionProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaCompressionProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaCompressionProgress mac + * @property {number|null} [totalFilesNum] ResNotifyPanoramaCompressionProgress totalFilesNum + * @property {number|null} [compressedFilesNum] ResNotifyPanoramaCompressionProgress compressedFilesNum + */ + + /** + * Constructs a new ResNotifyPanoramaCompressionProgress. + * @exports ResNotifyPanoramaCompressionProgress + * @classdesc Represents a ResNotifyPanoramaCompressionProgress. + * @implements IResNotifyPanoramaCompressionProgress + * @constructor + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaCompressionProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaCompressionProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.userId = ""; + + /** + * ResNotifyPanoramaCompressionProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaCompressionProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaCompressionProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.mac = ""; + + /** + * ResNotifyPanoramaCompressionProgress totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.totalFilesNum = 0; + + /** + * ResNotifyPanoramaCompressionProgress compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.compressedFilesNum = 0; + + /** + * Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress instance + */ + ResNotifyPanoramaCompressionProgress.create = function create(properties) { + return new ResNotifyPanoramaCompressionProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.totalFilesNum); + if ( + message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum") + ) + writer + .uint32(/* id 6, wireType 0 =*/ 48) + .uint32(message.compressedFilesNum); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaCompressionProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalFilesNum = reader.uint32(); + break; + } + case 6: { + message.compressedFilesNum = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaCompressionProgress message. + * @function verify + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaCompressionProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + */ + ResNotifyPanoramaCompressionProgress.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyPanoramaCompressionProgress) + return object; + var message = new $root.ResNotifyPanoramaCompressionProgress(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {ResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaCompressionProgress.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + object.totalFilesNum = message.totalFilesNum; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + object.compressedFilesNum = message.compressedFilesNum; + return object; + }; + + /** + * Converts this ResNotifyPanoramaCompressionProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaCompressionProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaCompressionProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaCompressionProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaCompressionProgress"; + }; + + return ResNotifyPanoramaCompressionProgress; +})(); + +$root.ResNotifyPanoramaUploadProgress = (function () { + /** + * Properties of a ResNotifyPanoramaUploadProgress. + * @exports IResNotifyPanoramaUploadProgress + * @interface IResNotifyPanoramaUploadProgress + * @property {string|null} [userId] ResNotifyPanoramaUploadProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaUploadProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaUploadProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaUploadProgress mac + * @property {number|Long|null} [totalSize] ResNotifyPanoramaUploadProgress totalSize + * @property {number|Long|null} [uploadedSize] ResNotifyPanoramaUploadProgress uploadedSize + */ + + /** + * Constructs a new ResNotifyPanoramaUploadProgress. + * @exports ResNotifyPanoramaUploadProgress + * @classdesc Represents a ResNotifyPanoramaUploadProgress. + * @implements IResNotifyPanoramaUploadProgress + * @constructor + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaUploadProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaUploadProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.userId = ""; + + /** + * ResNotifyPanoramaUploadProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaUploadProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaUploadProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.mac = ""; + + /** + * ResNotifyPanoramaUploadProgress totalSize. + * @member {number|Long} totalSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResNotifyPanoramaUploadProgress uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress instance + */ + ResNotifyPanoramaUploadProgress.create = function create(properties) { + return new ResNotifyPanoramaUploadProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint64(message.totalSize); + if ( + message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint64(message.uploadedSize); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaUploadProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalSize = reader.uint64(); + break; + } + case 6: { + message.uploadedSize = reader.uint64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaUploadProgress message. + * @function verify + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaUploadProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if ( + !$util.isInteger(message.totalSize) && + !( + message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high) + ) + ) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if ( + !$util.isInteger(message.uploadedSize) && + !( + message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high) + ) + ) + return "uploadedSize: integer|Long expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + */ + ResNotifyPanoramaUploadProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaUploadProgress) return object; + var message = new $root.ResNotifyPanoramaUploadProgress(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue( + object.totalSize + )).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits( + object.totalSize.low >>> 0, + object.totalSize.high >>> 0 + ).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue( + object.uploadedSize + )).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits( + object.uploadedSize.low >>> 0, + object.uploadedSize.high >>> 0 + ).toNumber(true); + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {ResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaUploadProgress.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.uploadedSize = options.longs === String ? "0" : 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits( + message.totalSize.low >>> 0, + message.totalSize.high >>> 0 + ).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits( + message.uploadedSize.low >>> 0, + message.uploadedSize.high >>> 0 + ).toNumber(true) + : message.uploadedSize; + return object; + }; + + /** + * Converts this ResNotifyPanoramaUploadProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaUploadProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaUploadProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaUploadProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaUploadProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaUploadProgress"; + }; + + return ResNotifyPanoramaUploadProgress; +})(); + +$root.ResGetStitchUploadState = (function () { + /** + * Properties of a ResGetStitchUploadState. + * @exports IResGetStitchUploadState + * @interface IResGetStitchUploadState + * @property {number|null} [code] ResGetStitchUploadState code + * @property {string|null} [userId] ResGetStitchUploadState userId + * @property {string|null} [busiNo] ResGetStitchUploadState busiNo + * @property {string|null} [panoramaName] ResGetStitchUploadState panoramaName + * @property {string|null} [mac] ResGetStitchUploadState mac + * @property {number|null} [totalFilesNum] ResGetStitchUploadState totalFilesNum + * @property {number|null} [compressedFilesNum] ResGetStitchUploadState compressedFilesNum + * @property {number|Long|null} [totalSize] ResGetStitchUploadState totalSize + * @property {number|Long|null} [uploadedSize] ResGetStitchUploadState uploadedSize + * @property {number|null} [step] ResGetStitchUploadState step + */ + + /** + * Constructs a new ResGetStitchUploadState. + * @exports ResGetStitchUploadState + * @classdesc Represents a ResGetStitchUploadState. + * @implements IResGetStitchUploadState + * @constructor + * @param {IResGetStitchUploadState=} [properties] Properties to set + */ + function ResGetStitchUploadState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetStitchUploadState code. + * @member {number} code + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.code = 0; + + /** + * ResGetStitchUploadState userId. + * @member {string} userId + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.userId = ""; + + /** + * ResGetStitchUploadState busiNo. + * @member {string} busiNo + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.busiNo = ""; + + /** + * ResGetStitchUploadState panoramaName. + * @member {string} panoramaName + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.panoramaName = ""; + + /** + * ResGetStitchUploadState mac. + * @member {string} mac + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.mac = ""; + + /** + * ResGetStitchUploadState totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalFilesNum = 0; + + /** + * ResGetStitchUploadState compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.compressedFilesNum = 0; + + /** + * ResGetStitchUploadState totalSize. + * @member {number|Long} totalSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResGetStitchUploadState uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResGetStitchUploadState step. + * @member {number} step + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.step = 0; + + /** + * Creates a new ResGetStitchUploadState instance using the specified properties. + * @function create + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState=} [properties] Properties to set + * @returns {ResGetStitchUploadState} ResGetStitchUploadState instance + */ + ResGetStitchUploadState.create = function create(properties) { + return new ResGetStitchUploadState(properties); + }; + + /** + * Encodes the specified ResGetStitchUploadState message. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encode + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.mac); + if ( + message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.totalFilesNum); + if ( + message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum") + ) + writer + .uint32(/* id 7, wireType 0 =*/ 56) + .uint32(message.compressedFilesNum); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).uint64(message.totalSize); + if ( + message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).uint64(message.uploadedSize); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 10, wireType 0 =*/ 80).uint32(message.step); + return writer; + }; + + /** + * Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer. + * @function decode + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetStitchUploadState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.userId = reader.string(); + break; + } + case 3: { + message.busiNo = reader.string(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.mac = reader.string(); + break; + } + case 6: { + message.totalFilesNum = reader.uint32(); + break; + } + case 7: { + message.compressedFilesNum = reader.uint32(); + break; + } + case 8: { + message.totalSize = reader.uint64(); + break; + } + case 9: { + message.uploadedSize = reader.uint64(); + break; + } + case 10: { + message.step = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetStitchUploadState message. + * @function verify + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetStitchUploadState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if ( + !$util.isInteger(message.totalSize) && + !( + message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high) + ) + ) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if ( + !$util.isInteger(message.uploadedSize) && + !( + message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high) + ) + ) + return "uploadedSize: integer|Long expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) return "step: integer expected"; + return null; + }; + + /** + * Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} object Plain object + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + */ + ResGetStitchUploadState.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetStitchUploadState) return object; + var message = new $root.ResGetStitchUploadState(); + if (object.code != null) message.code = object.code | 0; + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue( + object.totalSize + )).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits( + object.totalSize.low >>> 0, + object.totalSize.high >>> 0 + ).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue( + object.uploadedSize + )).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits( + object.uploadedSize.low >>> 0, + object.uploadedSize.high >>> 0 + ).toNumber(true); + if (object.step != null) message.step = object.step >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetStitchUploadState + * @static + * @param {ResGetStitchUploadState} message ResGetStitchUploadState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetStitchUploadState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.uploadedSize = options.longs === String ? "0" : 0; + object.step = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + object.totalFilesNum = message.totalFilesNum; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + object.compressedFilesNum = message.compressedFilesNum; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits( + message.totalSize.low >>> 0, + message.totalSize.high >>> 0 + ).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits( + message.uploadedSize.low >>> 0, + message.uploadedSize.high >>> 0 + ).toNumber(true) + : message.uploadedSize; + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + return object; + }; + + /** + * Converts this ResGetStitchUploadState to JSON. + * @function toJSON + * @memberof ResGetStitchUploadState + * @instance + * @returns {Object.} JSON object + */ + ResGetStitchUploadState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetStitchUploadState + * @function getTypeUrl + * @memberof ResGetStitchUploadState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetStitchUploadState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetStitchUploadState"; + }; + + return ResGetStitchUploadState; +})(); + +/** + * ModuleId enum. + * @exports ModuleId + * @enum {number} + * @property {number} MODULE_NONE=0 MODULE_NONE value + * @property {number} MODULE_CAMERA_TELE=1 MODULE_CAMERA_TELE value + * @property {number} MODULE_CAMERA_WIDE=2 MODULE_CAMERA_WIDE value + * @property {number} MODULE_ASTRO=3 MODULE_ASTRO value + * @property {number} MODULE_SYSTEM=4 MODULE_SYSTEM value + * @property {number} MODULE_RGB_POWER=5 MODULE_RGB_POWER value + * @property {number} MODULE_MOTOR=6 MODULE_MOTOR value + * @property {number} MODULE_TRACK=7 MODULE_TRACK value + * @property {number} MODULE_FOCUS=8 MODULE_FOCUS value + * @property {number} MODULE_NOTIFY=9 MODULE_NOTIFY value + * @property {number} MODULE_PANORAMA=10 MODULE_PANORAMA value + * @property {number} MODULE_SHOOTING_SCHEDULE=13 MODULE_SHOOTING_SCHEDULE value + */ +$root.ModuleId = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "MODULE_NONE")] = 0; + values[(valuesById[1] = "MODULE_CAMERA_TELE")] = 1; + values[(valuesById[2] = "MODULE_CAMERA_WIDE")] = 2; + values[(valuesById[3] = "MODULE_ASTRO")] = 3; + values[(valuesById[4] = "MODULE_SYSTEM")] = 4; + values[(valuesById[5] = "MODULE_RGB_POWER")] = 5; + values[(valuesById[6] = "MODULE_MOTOR")] = 6; + values[(valuesById[7] = "MODULE_TRACK")] = 7; + values[(valuesById[8] = "MODULE_FOCUS")] = 8; + values[(valuesById[9] = "MODULE_NOTIFY")] = 9; + values[(valuesById[10] = "MODULE_PANORAMA")] = 10; + values[(valuesById[13] = "MODULE_SHOOTING_SCHEDULE")] = 13; + return values; +})(); + +/** + * MessageTypeId enum. + * @exports MessageTypeId + * @enum {number} + * @property {number} TYPE_REQUEST=0 TYPE_REQUEST value + * @property {number} TYPE_REQUEST_RESPONSE=1 TYPE_REQUEST_RESPONSE value + * @property {number} TYPE_NOTIFICATION=2 TYPE_NOTIFICATION value + * @property {number} TYPE_NOTIFICATION_RESPONSE=3 TYPE_NOTIFICATION_RESPONSE value + */ +$root.MessageTypeId = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "TYPE_REQUEST")] = 0; + values[(valuesById[1] = "TYPE_REQUEST_RESPONSE")] = 1; + values[(valuesById[2] = "TYPE_NOTIFICATION")] = 2; + values[(valuesById[3] = "TYPE_NOTIFICATION_RESPONSE")] = 3; + return values; +})(); + +/** + * DwarfCMD enum. + * @exports DwarfCMD + * @enum {number} + * @property {number} NO_CMD=0 NO_CMD value + * @property {number} CMD_CAMERA_TELE_OPEN_CAMERA=10000 CMD_CAMERA_TELE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_TELE_CLOSE_CAMERA=10001 CMD_CAMERA_TELE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_TELE_PHOTOGRAPH=10002 CMD_CAMERA_TELE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_TELE_BURST=10003 CMD_CAMERA_TELE_BURST value + * @property {number} CMD_CAMERA_TELE_STOP_BURST=10004 CMD_CAMERA_TELE_STOP_BURST value + * @property {number} CMD_CAMERA_TELE_START_RECORD=10005 CMD_CAMERA_TELE_START_RECORD value + * @property {number} CMD_CAMERA_TELE_STOP_RECORD=10006 CMD_CAMERA_TELE_STOP_RECORD value + * @property {number} CMD_CAMERA_TELE_SET_EXP_MODE=10007 CMD_CAMERA_TELE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_GET_EXP_MODE=10008 CMD_CAMERA_TELE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_SET_EXP=10009 CMD_CAMERA_TELE_SET_EXP value + * @property {number} CMD_CAMERA_TELE_GET_EXP=10010 CMD_CAMERA_TELE_GET_EXP value + * @property {number} CMD_CAMERA_TELE_SET_GAIN_MODE=10011 CMD_CAMERA_TELE_SET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_GET_GAIN_MODE=10012 CMD_CAMERA_TELE_GET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_SET_GAIN=10013 CMD_CAMERA_TELE_SET_GAIN value + * @property {number} CMD_CAMERA_TELE_GET_GAIN=10014 CMD_CAMERA_TELE_GET_GAIN value + * @property {number} CMD_CAMERA_TELE_SET_BRIGHTNESS=10015 CMD_CAMERA_TELE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_GET_BRIGHTNESS=10016 CMD_CAMERA_TELE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_SET_CONTRAST=10017 CMD_CAMERA_TELE_SET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_GET_CONTRAST=10018 CMD_CAMERA_TELE_GET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_SET_SATURATION=10019 CMD_CAMERA_TELE_SET_SATURATION value + * @property {number} CMD_CAMERA_TELE_GET_SATURATION=10020 CMD_CAMERA_TELE_GET_SATURATION value + * @property {number} CMD_CAMERA_TELE_SET_HUE=10021 CMD_CAMERA_TELE_SET_HUE value + * @property {number} CMD_CAMERA_TELE_GET_HUE=10022 CMD_CAMERA_TELE_GET_HUE value + * @property {number} CMD_CAMERA_TELE_SET_SHARPNESS=10023 CMD_CAMERA_TELE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_GET_SHARPNESS=10024 CMD_CAMERA_TELE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_SET_WB_MODE=10025 CMD_CAMERA_TELE_SET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_GET_WB_MODE=10026 CMD_CAMERA_TELE_GET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_SET_WB_SCENE=10027 CMD_CAMERA_TELE_SET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_GET_WB_SCENE=10028 CMD_CAMERA_TELE_GET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_SET_WB_CT=10029 CMD_CAMERA_TELE_SET_WB_CT value + * @property {number} CMD_CAMERA_TELE_GET_WB_CT=10030 CMD_CAMERA_TELE_GET_WB_CT value + * @property {number} CMD_CAMERA_TELE_SET_IRCUT=10031 CMD_CAMERA_TELE_SET_IRCUT value + * @property {number} CMD_CAMERA_TELE_GET_IRCUT=10032 CMD_CAMERA_TELE_GET_IRCUT value + * @property {number} CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO=10033 CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO=10034 CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_SET_ALL_PARAMS=10035 CMD_CAMERA_TELE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_ALL_PARAMS=10036 CMD_CAMERA_TELE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_SET_FEATURE_PARAM=10037 CMD_CAMERA_TELE_SET_FEATURE_PARAM value + * @property {number} CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS=10038 CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE=10039 CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE value + * @property {number} CMD_CAMERA_TELE_SET_JPG_QUALITY=10040 CMD_CAMERA_TELE_SET_JPG_QUALITY value + * @property {number} CMD_CAMERA_TELE_PHOTO_RAW=10041 CMD_CAMERA_TELE_PHOTO_RAW value + * @property {number} CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE=10042 CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE value + * @property {number} CMD_ASTRO_START_CALIBRATION=11000 CMD_ASTRO_START_CALIBRATION value + * @property {number} CMD_ASTRO_STOP_CALIBRATION=11001 CMD_ASTRO_STOP_CALIBRATION value + * @property {number} CMD_ASTRO_START_GOTO_DSO=11002 CMD_ASTRO_START_GOTO_DSO value + * @property {number} CMD_ASTRO_START_GOTO_SOLAR_SYSTEM=11003 CMD_ASTRO_START_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_GOTO=11004 CMD_ASTRO_STOP_GOTO value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING=11005 CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING=11006 CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK=11007 CMD_ASTRO_START_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK=11008 CMD_ASTRO_STOP_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_CHECK_GOT_DARK=11009 CMD_ASTRO_CHECK_GOT_DARK value + * @property {number} CMD_ASTRO_GO_LIVE=11010 CMD_ASTRO_GO_LIVE value + * @property {number} CMD_ASTRO_START_TRACK_SPECIAL_TARGET=11011 CMD_ASTRO_START_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET=11012 CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_DSO=11013 CMD_ASTRO_START_ONE_CLICK_GOTO_DSO value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM=11014 CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_ONE_CLICK_GOTO=11015 CMD_ASTRO_STOP_ONE_CLICK_GOTO value + * @property {number} CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING=11016 CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING=11017 CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_EQ_SOLVING=11018 CMD_ASTRO_START_EQ_SOLVING value + * @property {number} CMD_ASTRO_STOP_EQ_SOLVING=11019 CMD_ASTRO_STOP_EQ_SOLVING value + * @property {number} CMD_ASTRO_WIDE_GO_LIVE=11020 CMD_ASTRO_WIDE_GO_LIVE value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM=11021 CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM=11022 CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_DARK_FRAME_LIST=11023 CMD_ASTRO_GET_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_DARK_FRAME_LIST=11024 CMD_ASTRO_DEL_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11025 CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11026 CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST=11027 CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST=11028 CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_CAMERA_WIDE_OPEN_CAMERA=12000 CMD_CAMERA_WIDE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_WIDE_CLOSE_CAMERA=12001 CMD_CAMERA_WIDE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_WIDE_SET_EXP_MODE=12002 CMD_CAMERA_WIDE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_EXP_MODE=12003 CMD_CAMERA_WIDE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_EXP=12004 CMD_CAMERA_WIDE_SET_EXP value + * @property {number} CMD_CAMERA_WIDE_GET_EXP=12005 CMD_CAMERA_WIDE_GET_EXP value + * @property {number} CMD_CAMERA_WIDE_SET_GAIN=12006 CMD_CAMERA_WIDE_SET_GAIN value + * @property {number} CMD_CAMERA_WIDE_GET_GAIN=12007 CMD_CAMERA_WIDE_GET_GAIN value + * @property {number} CMD_CAMERA_WIDE_SET_BRIGHTNESS=12008 CMD_CAMERA_WIDE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_GET_BRIGHTNESS=12009 CMD_CAMERA_WIDE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_SET_CONTRAST=12010 CMD_CAMERA_WIDE_SET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_GET_CONTRAST=12011 CMD_CAMERA_WIDE_GET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_SET_SATURATION=12012 CMD_CAMERA_WIDE_SET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_GET_SATURATION=12013 CMD_CAMERA_WIDE_GET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_SET_HUE=12014 CMD_CAMERA_WIDE_SET_HUE value + * @property {number} CMD_CAMERA_WIDE_GET_HUE=12015 CMD_CAMERA_WIDE_GET_HUE value + * @property {number} CMD_CAMERA_WIDE_SET_SHARPNESS=12016 CMD_CAMERA_WIDE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_GET_SHARPNESS=12017 CMD_CAMERA_WIDE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_SET_WB_MODE=12018 CMD_CAMERA_WIDE_SET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_WB_MODE=12019 CMD_CAMERA_WIDE_GET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_WB_CT=12020 CMD_CAMERA_WIDE_SET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_GET_WB_CT=12021 CMD_CAMERA_WIDE_GET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_PHOTOGRAPH=12022 CMD_CAMERA_WIDE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_WIDE_BURST=12023 CMD_CAMERA_WIDE_BURST value + * @property {number} CMD_CAMERA_WIDE_STOP_BURST=12024 CMD_CAMERA_WIDE_STOP_BURST value + * @property {number} CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO=12025 CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO=12026 CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_GET_ALL_PARAMS=12027 CMD_CAMERA_WIDE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_SET_ALL_PARAMS=12028 CMD_CAMERA_WIDE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_START_RECORD=12030 CMD_CAMERA_WIDE_START_RECORD value + * @property {number} CMD_CAMERA_WIDE_STOP_RECORD=12031 CMD_CAMERA_WIDE_STOP_RECORD value + * @property {number} CMD_SYSTEM_SET_TIME=13000 CMD_SYSTEM_SET_TIME value + * @property {number} CMD_SYSTEM_SET_TIME_ZONE=13001 CMD_SYSTEM_SET_TIME_ZONE value + * @property {number} CMD_SYSTEM_SET_MTP_MODE=13002 CMD_SYSTEM_SET_MTP_MODE value + * @property {number} CMD_SYSTEM_SET_CPU_MODE=13003 CMD_SYSTEM_SET_CPU_MODE value + * @property {number} CMD_SYSTEM_SET_MASTERLOCK=13004 CMD_SYSTEM_SET_MASTERLOCK value + * @property {number} CMD_RGB_POWER_OPEN_RGB=13500 CMD_RGB_POWER_OPEN_RGB value + * @property {number} CMD_RGB_POWER_CLOSE_RGB=13501 CMD_RGB_POWER_CLOSE_RGB value + * @property {number} CMD_RGB_POWER_POWER_DOWN=13502 CMD_RGB_POWER_POWER_DOWN value + * @property {number} CMD_RGB_POWER_POWERIND_ON=13503 CMD_RGB_POWER_POWERIND_ON value + * @property {number} CMD_RGB_POWER_POWERIND_OFF=13504 CMD_RGB_POWER_POWERIND_OFF value + * @property {number} CMD_RGB_POWER_REBOOT=13505 CMD_RGB_POWER_REBOOT value + * @property {number} CMD_STEP_MOTOR_RUN=14000 CMD_STEP_MOTOR_RUN value + * @property {number} CMD_STEP_MOTOR_RUN_TO=14001 CMD_STEP_MOTOR_RUN_TO value + * @property {number} CMD_STEP_MOTOR_STOP=14002 CMD_STEP_MOTOR_STOP value + * @property {number} CMD_STEP_MOTOR_RESET=14003 CMD_STEP_MOTOR_RESET value + * @property {number} CMD_STEP_MOTOR_CHANGE_SPEED=14004 CMD_STEP_MOTOR_CHANGE_SPEED value + * @property {number} CMD_STEP_MOTOR_CHANGE_DIRECTION=14005 CMD_STEP_MOTOR_CHANGE_DIRECTION value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK=14006 CMD_STEP_MOTOR_SERVICE_JOYSTICK value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE=14007 CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP=14008 CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP value + * @property {number} CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE=14009 CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE value + * @property {number} CMD_STEP_MOTOR_RUN_IN_PULSE=14010 CMD_STEP_MOTOR_RUN_IN_PULSE value + * @property {number} CMD_STEP_MOTOR_GET_POSITION=14011 CMD_STEP_MOTOR_GET_POSITION value + * @property {number} CMD_TRACK_START_TRACK=14800 CMD_TRACK_START_TRACK value + * @property {number} CMD_TRACK_STOP_TRACK=14801 CMD_TRACK_STOP_TRACK value + * @property {number} CMD_SENTRY_MODE_START=14802 CMD_SENTRY_MODE_START value + * @property {number} CMD_SENTRY_MODE_STOP=14803 CMD_SENTRY_MODE_STOP value + * @property {number} CMD_MOT_START=14804 CMD_MOT_START value + * @property {number} CMD_MOT_TRACK_ONE=14805 CMD_MOT_TRACK_ONE value + * @property {number} CMD_UFOTRACK_MODE_START=14806 CMD_UFOTRACK_MODE_START value + * @property {number} CMD_UFOTRACK_MODE_STOP=14807 CMD_UFOTRACK_MODE_STOP value + * @property {number} CMD_MOT_WIDE_TRACK_ONE=14808 CMD_MOT_WIDE_TRACK_ONE value + * @property {number} CMD_WIDE_TELE_TRACK_SWITCH=14809 CMD_WIDE_TELE_TRACK_SWITCH value + * @property {number} CMD_UFO_HAND_AOTO_MODE=14810 CMD_UFO_HAND_AOTO_MODE value + * @property {number} CMD_FOCUS_AUTO_FOCUS=15000 CMD_FOCUS_AUTO_FOCUS value + * @property {number} CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS=15001 CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS value + * @property {number} CMD_FOCUS_START_MANUAL_CONTINU_FOCUS=15002 CMD_FOCUS_START_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS=15003 CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_START_ASTRO_AUTO_FOCUS=15004 CMD_FOCUS_START_ASTRO_AUTO_FOCUS value + * @property {number} CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS=15005 CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS value + * @property {number} CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING=15200 CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING value + * @property {number} CMD_NOTIFY_ELE=15201 CMD_NOTIFY_ELE value + * @property {number} CMD_NOTIFY_CHARGE=15202 CMD_NOTIFY_CHARGE value + * @property {number} CMD_NOTIFY_SDCARD_INFO=15203 CMD_NOTIFY_SDCARD_INFO value + * @property {number} CMD_NOTIFY_TELE_RECORD_TIME=15204 CMD_NOTIFY_TELE_RECORD_TIME value + * @property {number} CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME=15205 CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_DARK=15206 CMD_NOTIFY_STATE_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK=15207 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING=15208 CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING=15209 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_STATE_ASTRO_CALIBRATION=15210 CMD_NOTIFY_STATE_ASTRO_CALIBRATION value + * @property {number} CMD_NOTIFY_STATE_ASTRO_GOTO=15211 CMD_NOTIFY_STATE_ASTRO_GOTO value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING=15212 CMD_NOTIFY_STATE_ASTRO_TRACKING value + * @property {number} CMD_NOTIFY_TELE_SET_PARAM=15213 CMD_NOTIFY_TELE_SET_PARAM value + * @property {number} CMD_NOTIFY_WIDE_SET_PARAM=15214 CMD_NOTIFY_WIDE_SET_PARAM value + * @property {number} CMD_NOTIFY_TELE_FUNCTION_STATE=15215 CMD_NOTIFY_TELE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_WIDE_FUNCTION_STATE=15216 CMD_NOTIFY_WIDE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_SET_FEATURE_PARAM=15217 CMD_NOTIFY_SET_FEATURE_PARAM value + * @property {number} CMD_NOTIFY_TELE_BURST_PROGRESS=15218 CMD_NOTIFY_TELE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_PROGRESS=15219 CMD_NOTIFY_PANORAMA_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_BURST_PROGRESS=15220 CMD_NOTIFY_WIDE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_RGB_STATE=15221 CMD_NOTIFY_RGB_STATE value + * @property {number} CMD_NOTIFY_POWER_IND_STATE=15222 CMD_NOTIFY_POWER_IND_STATE value + * @property {number} CMD_NOTIFY_WS_HOST_SLAVE_MODE=15223 CMD_NOTIFY_WS_HOST_SLAVE_MODE value + * @property {number} CMD_NOTIFY_MTP_STATE=15224 CMD_NOTIFY_MTP_STATE value + * @property {number} CMD_NOTIFY_TRACK_RESULT=15225 CMD_NOTIFY_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME=15226 CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_CPU_MODE=15227 CMD_NOTIFY_CPU_MODE value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL=15228 CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL value + * @property {number} CMD_NOTIFY_POWER_OFF=15229 CMD_NOTIFY_POWER_OFF value + * @property {number} CMD_NOTIFY_ALBUM_UPDATE=15230 CMD_NOTIFY_ALBUM_UPDATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_STATE=15231 CMD_NOTIFY_SENTRY_MODE_STATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT=15232 CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO=15233 CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO value + * @property {number} CMD_NOTIFY_STREAM_TYPE=15234 CMD_NOTIFY_STREAM_TYPE value + * @property {number} CMD_NOTIFY_WIDE_RECORD_TIME=15235 CMD_NOTIFY_WIDE_RECORD_TIME value + * @property {number} CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING=15236 CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING=15237 CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_MULTI_TRACK_RESULT=15238 CMD_NOTIFY_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_EQ_SOLVING_STATE=15239 CMD_NOTIFY_EQ_SOLVING_STATE value + * @property {number} CMD_NOTIFY_UFO_MODE_STATE=15240 CMD_NOTIFY_UFO_MODE_STATE value + * @property {number} CMD_NOTIFY_TELE_LONG_EXP_PROGRESS=15241 CMD_NOTIFY_TELE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS=15242 CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_TEMPERATURE=15243 CMD_NOTIFY_TEMPERATURE value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS=15244 CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS=15245 CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE=15246 CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK=15247 CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK value + * @property {number} CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE=15248 CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE value + * @property {number} CMD_NOTIFY_SHOOTING_TASK_STATE=15249 CMD_NOTIFY_SHOOTING_TASK_STATE value + * @property {number} CMD_NOTIFY_SKY_SEACHER_STATE=15250 CMD_NOTIFY_SKY_SEACHER_STATE value + * @property {number} CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT=15251 CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TRACK_RESULT=15252 CMD_NOTIFY_WIDE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_FOCUS=15257 CMD_NOTIFY_FOCUS value + * @property {number} CMD_PANORAMA_START_GRID=15500 CMD_PANORAMA_START_GRID value + * @property {number} CMD_PANORAMA_STOP=15501 CMD_PANORAMA_STOP value + * @property {number} CMD_PANORAMA_START_EULER_RANGE=15502 CMD_PANORAMA_START_EULER_RANGE value + */ +$root.DwarfCMD = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "NO_CMD")] = 0; + values[(valuesById[10000] = "CMD_CAMERA_TELE_OPEN_CAMERA")] = 10000; + values[(valuesById[10001] = "CMD_CAMERA_TELE_CLOSE_CAMERA")] = 10001; + values[(valuesById[10002] = "CMD_CAMERA_TELE_PHOTOGRAPH")] = 10002; + values[(valuesById[10003] = "CMD_CAMERA_TELE_BURST")] = 10003; + values[(valuesById[10004] = "CMD_CAMERA_TELE_STOP_BURST")] = 10004; + values[(valuesById[10005] = "CMD_CAMERA_TELE_START_RECORD")] = 10005; + values[(valuesById[10006] = "CMD_CAMERA_TELE_STOP_RECORD")] = 10006; + values[(valuesById[10007] = "CMD_CAMERA_TELE_SET_EXP_MODE")] = 10007; + values[(valuesById[10008] = "CMD_CAMERA_TELE_GET_EXP_MODE")] = 10008; + values[(valuesById[10009] = "CMD_CAMERA_TELE_SET_EXP")] = 10009; + values[(valuesById[10010] = "CMD_CAMERA_TELE_GET_EXP")] = 10010; + values[(valuesById[10011] = "CMD_CAMERA_TELE_SET_GAIN_MODE")] = 10011; + values[(valuesById[10012] = "CMD_CAMERA_TELE_GET_GAIN_MODE")] = 10012; + values[(valuesById[10013] = "CMD_CAMERA_TELE_SET_GAIN")] = 10013; + values[(valuesById[10014] = "CMD_CAMERA_TELE_GET_GAIN")] = 10014; + values[(valuesById[10015] = "CMD_CAMERA_TELE_SET_BRIGHTNESS")] = 10015; + values[(valuesById[10016] = "CMD_CAMERA_TELE_GET_BRIGHTNESS")] = 10016; + values[(valuesById[10017] = "CMD_CAMERA_TELE_SET_CONTRAST")] = 10017; + values[(valuesById[10018] = "CMD_CAMERA_TELE_GET_CONTRAST")] = 10018; + values[(valuesById[10019] = "CMD_CAMERA_TELE_SET_SATURATION")] = 10019; + values[(valuesById[10020] = "CMD_CAMERA_TELE_GET_SATURATION")] = 10020; + values[(valuesById[10021] = "CMD_CAMERA_TELE_SET_HUE")] = 10021; + values[(valuesById[10022] = "CMD_CAMERA_TELE_GET_HUE")] = 10022; + values[(valuesById[10023] = "CMD_CAMERA_TELE_SET_SHARPNESS")] = 10023; + values[(valuesById[10024] = "CMD_CAMERA_TELE_GET_SHARPNESS")] = 10024; + values[(valuesById[10025] = "CMD_CAMERA_TELE_SET_WB_MODE")] = 10025; + values[(valuesById[10026] = "CMD_CAMERA_TELE_GET_WB_MODE")] = 10026; + values[(valuesById[10027] = "CMD_CAMERA_TELE_SET_WB_SCENE")] = 10027; + values[(valuesById[10028] = "CMD_CAMERA_TELE_GET_WB_SCENE")] = 10028; + values[(valuesById[10029] = "CMD_CAMERA_TELE_SET_WB_CT")] = 10029; + values[(valuesById[10030] = "CMD_CAMERA_TELE_GET_WB_CT")] = 10030; + values[(valuesById[10031] = "CMD_CAMERA_TELE_SET_IRCUT")] = 10031; + values[(valuesById[10032] = "CMD_CAMERA_TELE_GET_IRCUT")] = 10032; + values[(valuesById[10033] = "CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO")] = 10033; + values[(valuesById[10034] = "CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO")] = 10034; + values[(valuesById[10035] = "CMD_CAMERA_TELE_SET_ALL_PARAMS")] = 10035; + values[(valuesById[10036] = "CMD_CAMERA_TELE_GET_ALL_PARAMS")] = 10036; + values[(valuesById[10037] = "CMD_CAMERA_TELE_SET_FEATURE_PARAM")] = 10037; + values[ + (valuesById[10038] = "CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS") + ] = 10038; + values[ + (valuesById[10039] = "CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE") + ] = 10039; + values[(valuesById[10040] = "CMD_CAMERA_TELE_SET_JPG_QUALITY")] = 10040; + values[(valuesById[10041] = "CMD_CAMERA_TELE_PHOTO_RAW")] = 10041; + values[(valuesById[10042] = "CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE")] = 10042; + values[(valuesById[11000] = "CMD_ASTRO_START_CALIBRATION")] = 11000; + values[(valuesById[11001] = "CMD_ASTRO_STOP_CALIBRATION")] = 11001; + values[(valuesById[11002] = "CMD_ASTRO_START_GOTO_DSO")] = 11002; + values[(valuesById[11003] = "CMD_ASTRO_START_GOTO_SOLAR_SYSTEM")] = 11003; + values[(valuesById[11004] = "CMD_ASTRO_STOP_GOTO")] = 11004; + values[ + (valuesById[11005] = "CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING") + ] = 11005; + values[ + (valuesById[11006] = "CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING") + ] = 11006; + values[(valuesById[11007] = "CMD_ASTRO_START_CAPTURE_RAW_DARK")] = 11007; + values[(valuesById[11008] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK")] = 11008; + values[(valuesById[11009] = "CMD_ASTRO_CHECK_GOT_DARK")] = 11009; + values[(valuesById[11010] = "CMD_ASTRO_GO_LIVE")] = 11010; + values[(valuesById[11011] = "CMD_ASTRO_START_TRACK_SPECIAL_TARGET")] = 11011; + values[(valuesById[11012] = "CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET")] = 11012; + values[(valuesById[11013] = "CMD_ASTRO_START_ONE_CLICK_GOTO_DSO")] = 11013; + values[ + (valuesById[11014] = "CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM") + ] = 11014; + values[(valuesById[11015] = "CMD_ASTRO_STOP_ONE_CLICK_GOTO")] = 11015; + values[ + (valuesById[11016] = "CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING") + ] = 11016; + values[ + (valuesById[11017] = "CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING") + ] = 11017; + values[(valuesById[11018] = "CMD_ASTRO_START_EQ_SOLVING")] = 11018; + values[(valuesById[11019] = "CMD_ASTRO_STOP_EQ_SOLVING")] = 11019; + values[(valuesById[11020] = "CMD_ASTRO_WIDE_GO_LIVE")] = 11020; + values[ + (valuesById[11021] = "CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM") + ] = 11021; + values[ + (valuesById[11022] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM") + ] = 11022; + values[(valuesById[11023] = "CMD_ASTRO_GET_DARK_FRAME_LIST")] = 11023; + values[(valuesById[11024] = "CMD_ASTRO_DEL_DARK_FRAME_LIST")] = 11024; + values[ + (valuesById[11025] = "CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM") + ] = 11025; + values[ + (valuesById[11026] = "CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM") + ] = 11026; + values[(valuesById[11027] = "CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST")] = 11027; + values[(valuesById[11028] = "CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST")] = 11028; + values[(valuesById[12000] = "CMD_CAMERA_WIDE_OPEN_CAMERA")] = 12000; + values[(valuesById[12001] = "CMD_CAMERA_WIDE_CLOSE_CAMERA")] = 12001; + values[(valuesById[12002] = "CMD_CAMERA_WIDE_SET_EXP_MODE")] = 12002; + values[(valuesById[12003] = "CMD_CAMERA_WIDE_GET_EXP_MODE")] = 12003; + values[(valuesById[12004] = "CMD_CAMERA_WIDE_SET_EXP")] = 12004; + values[(valuesById[12005] = "CMD_CAMERA_WIDE_GET_EXP")] = 12005; + values[(valuesById[12006] = "CMD_CAMERA_WIDE_SET_GAIN")] = 12006; + values[(valuesById[12007] = "CMD_CAMERA_WIDE_GET_GAIN")] = 12007; + values[(valuesById[12008] = "CMD_CAMERA_WIDE_SET_BRIGHTNESS")] = 12008; + values[(valuesById[12009] = "CMD_CAMERA_WIDE_GET_BRIGHTNESS")] = 12009; + values[(valuesById[12010] = "CMD_CAMERA_WIDE_SET_CONTRAST")] = 12010; + values[(valuesById[12011] = "CMD_CAMERA_WIDE_GET_CONTRAST")] = 12011; + values[(valuesById[12012] = "CMD_CAMERA_WIDE_SET_SATURATION")] = 12012; + values[(valuesById[12013] = "CMD_CAMERA_WIDE_GET_SATURATION")] = 12013; + values[(valuesById[12014] = "CMD_CAMERA_WIDE_SET_HUE")] = 12014; + values[(valuesById[12015] = "CMD_CAMERA_WIDE_GET_HUE")] = 12015; + values[(valuesById[12016] = "CMD_CAMERA_WIDE_SET_SHARPNESS")] = 12016; + values[(valuesById[12017] = "CMD_CAMERA_WIDE_GET_SHARPNESS")] = 12017; + values[(valuesById[12018] = "CMD_CAMERA_WIDE_SET_WB_MODE")] = 12018; + values[(valuesById[12019] = "CMD_CAMERA_WIDE_GET_WB_MODE")] = 12019; + values[(valuesById[12020] = "CMD_CAMERA_WIDE_SET_WB_CT")] = 12020; + values[(valuesById[12021] = "CMD_CAMERA_WIDE_GET_WB_CT")] = 12021; + values[(valuesById[12022] = "CMD_CAMERA_WIDE_PHOTOGRAPH")] = 12022; + values[(valuesById[12023] = "CMD_CAMERA_WIDE_BURST")] = 12023; + values[(valuesById[12024] = "CMD_CAMERA_WIDE_STOP_BURST")] = 12024; + values[(valuesById[12025] = "CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO")] = 12025; + values[(valuesById[12026] = "CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO")] = 12026; + values[(valuesById[12027] = "CMD_CAMERA_WIDE_GET_ALL_PARAMS")] = 12027; + values[(valuesById[12028] = "CMD_CAMERA_WIDE_SET_ALL_PARAMS")] = 12028; + values[(valuesById[12030] = "CMD_CAMERA_WIDE_START_RECORD")] = 12030; + values[(valuesById[12031] = "CMD_CAMERA_WIDE_STOP_RECORD")] = 12031; + values[(valuesById[13000] = "CMD_SYSTEM_SET_TIME")] = 13000; + values[(valuesById[13001] = "CMD_SYSTEM_SET_TIME_ZONE")] = 13001; + values[(valuesById[13002] = "CMD_SYSTEM_SET_MTP_MODE")] = 13002; + values[(valuesById[13003] = "CMD_SYSTEM_SET_CPU_MODE")] = 13003; + values[(valuesById[13004] = "CMD_SYSTEM_SET_MASTERLOCK")] = 13004; + values[(valuesById[13500] = "CMD_RGB_POWER_OPEN_RGB")] = 13500; + values[(valuesById[13501] = "CMD_RGB_POWER_CLOSE_RGB")] = 13501; + values[(valuesById[13502] = "CMD_RGB_POWER_POWER_DOWN")] = 13502; + values[(valuesById[13503] = "CMD_RGB_POWER_POWERIND_ON")] = 13503; + values[(valuesById[13504] = "CMD_RGB_POWER_POWERIND_OFF")] = 13504; + values[(valuesById[13505] = "CMD_RGB_POWER_REBOOT")] = 13505; + values[(valuesById[14000] = "CMD_STEP_MOTOR_RUN")] = 14000; + values[(valuesById[14001] = "CMD_STEP_MOTOR_RUN_TO")] = 14001; + values[(valuesById[14002] = "CMD_STEP_MOTOR_STOP")] = 14002; + values[(valuesById[14003] = "CMD_STEP_MOTOR_RESET")] = 14003; + values[(valuesById[14004] = "CMD_STEP_MOTOR_CHANGE_SPEED")] = 14004; + values[(valuesById[14005] = "CMD_STEP_MOTOR_CHANGE_DIRECTION")] = 14005; + values[(valuesById[14006] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK")] = 14006; + values[ + (valuesById[14007] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE") + ] = 14007; + values[(valuesById[14008] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP")] = 14008; + values[ + (valuesById[14009] = "CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE") + ] = 14009; + values[(valuesById[14010] = "CMD_STEP_MOTOR_RUN_IN_PULSE")] = 14010; + values[(valuesById[14011] = "CMD_STEP_MOTOR_GET_POSITION")] = 14011; + values[(valuesById[14800] = "CMD_TRACK_START_TRACK")] = 14800; + values[(valuesById[14801] = "CMD_TRACK_STOP_TRACK")] = 14801; + values[(valuesById[14802] = "CMD_SENTRY_MODE_START")] = 14802; + values[(valuesById[14803] = "CMD_SENTRY_MODE_STOP")] = 14803; + values[(valuesById[14804] = "CMD_MOT_START")] = 14804; + values[(valuesById[14805] = "CMD_MOT_TRACK_ONE")] = 14805; + values[(valuesById[14806] = "CMD_UFOTRACK_MODE_START")] = 14806; + values[(valuesById[14807] = "CMD_UFOTRACK_MODE_STOP")] = 14807; + values[(valuesById[14808] = "CMD_MOT_WIDE_TRACK_ONE")] = 14808; + values[(valuesById[14809] = "CMD_WIDE_TELE_TRACK_SWITCH")] = 14809; + values[(valuesById[14810] = "CMD_UFO_HAND_AOTO_MODE")] = 14810; + values[(valuesById[15000] = "CMD_FOCUS_AUTO_FOCUS")] = 15000; + values[(valuesById[15001] = "CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS")] = 15001; + values[(valuesById[15002] = "CMD_FOCUS_START_MANUAL_CONTINU_FOCUS")] = 15002; + values[(valuesById[15003] = "CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS")] = 15003; + values[(valuesById[15004] = "CMD_FOCUS_START_ASTRO_AUTO_FOCUS")] = 15004; + values[(valuesById[15005] = "CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS")] = 15005; + values[(valuesById[15200] = "CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING")] = 15200; + values[(valuesById[15201] = "CMD_NOTIFY_ELE")] = 15201; + values[(valuesById[15202] = "CMD_NOTIFY_CHARGE")] = 15202; + values[(valuesById[15203] = "CMD_NOTIFY_SDCARD_INFO")] = 15203; + values[(valuesById[15204] = "CMD_NOTIFY_TELE_RECORD_TIME")] = 15204; + values[(valuesById[15205] = "CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME")] = 15205; + values[(valuesById[15206] = "CMD_NOTIFY_STATE_CAPTURE_RAW_DARK")] = 15206; + values[(valuesById[15207] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK")] = 15207; + values[ + (valuesById[15208] = "CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING") + ] = 15208; + values[ + (valuesById[15209] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING") + ] = 15209; + values[(valuesById[15210] = "CMD_NOTIFY_STATE_ASTRO_CALIBRATION")] = 15210; + values[(valuesById[15211] = "CMD_NOTIFY_STATE_ASTRO_GOTO")] = 15211; + values[(valuesById[15212] = "CMD_NOTIFY_STATE_ASTRO_TRACKING")] = 15212; + values[(valuesById[15213] = "CMD_NOTIFY_TELE_SET_PARAM")] = 15213; + values[(valuesById[15214] = "CMD_NOTIFY_WIDE_SET_PARAM")] = 15214; + values[(valuesById[15215] = "CMD_NOTIFY_TELE_FUNCTION_STATE")] = 15215; + values[(valuesById[15216] = "CMD_NOTIFY_WIDE_FUNCTION_STATE")] = 15216; + values[(valuesById[15217] = "CMD_NOTIFY_SET_FEATURE_PARAM")] = 15217; + values[(valuesById[15218] = "CMD_NOTIFY_TELE_BURST_PROGRESS")] = 15218; + values[(valuesById[15219] = "CMD_NOTIFY_PANORAMA_PROGRESS")] = 15219; + values[(valuesById[15220] = "CMD_NOTIFY_WIDE_BURST_PROGRESS")] = 15220; + values[(valuesById[15221] = "CMD_NOTIFY_RGB_STATE")] = 15221; + values[(valuesById[15222] = "CMD_NOTIFY_POWER_IND_STATE")] = 15222; + values[(valuesById[15223] = "CMD_NOTIFY_WS_HOST_SLAVE_MODE")] = 15223; + values[(valuesById[15224] = "CMD_NOTIFY_MTP_STATE")] = 15224; + values[(valuesById[15225] = "CMD_NOTIFY_TRACK_RESULT")] = 15225; + values[(valuesById[15226] = "CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME")] = 15226; + values[(valuesById[15227] = "CMD_NOTIFY_CPU_MODE")] = 15227; + values[ + (valuesById[15228] = "CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL") + ] = 15228; + values[(valuesById[15229] = "CMD_NOTIFY_POWER_OFF")] = 15229; + values[(valuesById[15230] = "CMD_NOTIFY_ALBUM_UPDATE")] = 15230; + values[(valuesById[15231] = "CMD_NOTIFY_SENTRY_MODE_STATE")] = 15231; + values[(valuesById[15232] = "CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT")] = 15232; + values[(valuesById[15233] = "CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO")] = 15233; + values[(valuesById[15234] = "CMD_NOTIFY_STREAM_TYPE")] = 15234; + values[(valuesById[15235] = "CMD_NOTIFY_WIDE_RECORD_TIME")] = 15235; + values[ + (valuesById[15236] = "CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING") + ] = 15236; + values[ + (valuesById[15237] = "CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING") + ] = 15237; + values[(valuesById[15238] = "CMD_NOTIFY_MULTI_TRACK_RESULT")] = 15238; + values[(valuesById[15239] = "CMD_NOTIFY_EQ_SOLVING_STATE")] = 15239; + values[(valuesById[15240] = "CMD_NOTIFY_UFO_MODE_STATE")] = 15240; + values[(valuesById[15241] = "CMD_NOTIFY_TELE_LONG_EXP_PROGRESS")] = 15241; + values[(valuesById[15242] = "CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS")] = 15242; + values[(valuesById[15243] = "CMD_NOTIFY_TEMPERATURE")] = 15243; + values[ + (valuesById[15244] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS") + ] = 15244; + values[ + (valuesById[15245] = "CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS") + ] = 15245; + values[(valuesById[15246] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE")] = 15246; + values[ + (valuesById[15247] = "CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK") + ] = 15247; + values[ + (valuesById[15248] = "CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE") + ] = 15248; + values[(valuesById[15249] = "CMD_NOTIFY_SHOOTING_TASK_STATE")] = 15249; + values[(valuesById[15250] = "CMD_NOTIFY_SKY_SEACHER_STATE")] = 15250; + values[(valuesById[15251] = "CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT")] = 15251; + values[(valuesById[15252] = "CMD_NOTIFY_WIDE_TRACK_RESULT")] = 15252; + values[(valuesById[15257] = "CMD_NOTIFY_FOCUS")] = 15257; + values[(valuesById[15500] = "CMD_PANORAMA_START_GRID")] = 15500; + values[(valuesById[15501] = "CMD_PANORAMA_STOP")] = 15501; + values[(valuesById[15502] = "CMD_PANORAMA_START_EULER_RANGE")] = 15502; + return values; +})(); + +/** + * DwarfErrorCode enum. + * @exports DwarfErrorCode + * @enum {number} + * @property {number} OK=0 OK value + * @property {number} WS_PARSE_PROTOBUF_ERROR=-1 WS_PARSE_PROTOBUF_ERROR value + * @property {number} WS_SDCARD_NOT_EXIST=-2 WS_SDCARD_NOT_EXIST value + * @property {number} WS_INVALID_PARAM=-3 WS_INVALID_PARAM value + * @property {number} WS_SDCARD_WRITE_ERROR=-4 WS_SDCARD_WRITE_ERROR value + * @property {number} CODE_CAMERA_TELE_OPENED=-10500 CODE_CAMERA_TELE_OPENED value + * @property {number} CODE_CAMERA_TELE_CLOSED=-10501 CODE_CAMERA_TELE_CLOSED value + * @property {number} CODE_CAMERA_TELE_ISP_SET_FAILED=-10502 CODE_CAMERA_TELE_ISP_SET_FAILED value + * @property {number} CODE_CAMERA_TELE_OPEN_FAILED=-10504 CODE_CAMERA_TELE_OPEN_FAILED value + * @property {number} CODE_CAMERA_TELE_RECORDING=-10506 CODE_CAMERA_TELE_RECORDING value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY_STACK=-10507 CODE_CAMERA_TELE_WORKING_BUSY_STACK value + * @property {number} CODE_CAMERA_TELE_CAPTURE_RAW_FAILED=-10510 CODE_CAMERA_TELE_CAPTURE_RAW_FAILED value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY=-10511 CODE_CAMERA_TELE_WORKING_BUSY value + * @property {number} CODE_ASTRO_PLATE_SOLVING_FAILED=-11500 CODE_ASTRO_PLATE_SOLVING_FAILED value + * @property {number} CODE_ASTRO_FUNCTION_BUSY=-11501 CODE_ASTRO_FUNCTION_BUSY value + * @property {number} CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE=-11502 CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE value + * @property {number} CODE_ASTRO_DARK_NOT_FOUND=-11503 CODE_ASTRO_DARK_NOT_FOUND value + * @property {number} CODE_ASTRO_CALIBRATION_FAILED=-11504 CODE_ASTRO_CALIBRATION_FAILED value + * @property {number} CODE_ASTRO_GOTO_FAILED=-11505 CODE_ASTRO_GOTO_FAILED value + * @property {number} CODE_ASTRO_NEED_GOTO=-11513 CODE_ASTRO_NEED_GOTO value + * @property {number} CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM=-11514 CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM value + * @property {number} CODE_ASTRO_EQ_SOLVING_FAILED=-11516 CODE_ASTRO_EQ_SOLVING_FAILED value + * @property {number} CODE_ASTRO_SKY_SEARCH_FAILED=-11517 CODE_ASTRO_SKY_SEARCH_FAILED value + * @property {number} CODE_CAMERA_WIDE_OPENED=-12500 CODE_CAMERA_WIDE_OPENED value + * @property {number} CODE_CAMERA_WIDE_CLOSED=-12501 CODE_CAMERA_WIDE_CLOSED value + * @property {number} CODE_CAMERA_WIDE_CANNOT_FOUND=-12502 CODE_CAMERA_WIDE_CANNOT_FOUND value + * @property {number} CODE_CAMERA_WIDE_OPEN_FAILED=-12503 CODE_CAMERA_WIDE_OPEN_FAILED value + * @property {number} CODE_CAMERA_WIDE_CLOSE_FAILED=-12504 CODE_CAMERA_WIDE_CLOSE_FAILED value + * @property {number} CODE_CAMERA_WIDE_SET_ISP_FAILED=-12505 CODE_CAMERA_WIDE_SET_ISP_FAILED value + * @property {number} CODE_CAMERA_WIDE_PHOTOGRAPHING=-12506 CODE_CAMERA_WIDE_PHOTOGRAPHING value + * @property {number} CODE_CAMERA_WIDE_EXP_TOO_LONG=-12508 CODE_CAMERA_WIDE_EXP_TOO_LONG value + * @property {number} CODE_SYSTEM_SET_TIME_FAILED=-13300 CODE_SYSTEM_SET_TIME_FAILED value + * @property {number} CODE_SYSTEM_SET_TIMEZONE_FAILED=-13301 CODE_SYSTEM_SET_TIMEZONE_FAILED value + * @property {number} CODE_SYSTEM_SETTING_TIMEZONE_FAILED=-13302 CODE_SYSTEM_SETTING_TIMEZONE_FAILED value + * @property {number} CODE_RGB_POWER_UART_INIT_FAILED=-13800 CODE_RGB_POWER_UART_INIT_FAILED value + * @property {number} CODE_STEP_MOTOR_INVALID_PARAMETER_ID=-14504 CODE_STEP_MOTOR_INVALID_PARAMETER_ID value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_WARNING=-14518 CODE_STEP_MOTOR_LIMIT_POSITION_WARNING value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_HITTED=-14519 CODE_STEP_MOTOR_LIMIT_POSITION_HITTED value + * @property {number} CODE_STEP_MOTOR_POSITION_NEED_RESET=-14520 CODE_STEP_MOTOR_POSITION_NEED_RESET value + * @property {number} CODE_TRACK_TRACKER_INITING=-14900 CODE_TRACK_TRACKER_INITING value + * @property {number} CODE_TRACK_TRACKER_FAILED=-14901 CODE_TRACK_TRACKER_FAILED value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR=-15100 CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR=-15101 CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR value + * @property {number} CODE_PANORAMA_PHOTO_FAILED=-15600 CODE_PANORAMA_PHOTO_FAILED value + * @property {number} CODE_PANORAMA_MOTOR_RESET_FAILED=-15601 CODE_PANORAMA_MOTOR_RESET_FAILED value + */ +$root.DwarfErrorCode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "OK")] = 0; + values[(valuesById[-1] = "WS_PARSE_PROTOBUF_ERROR")] = -1; + values[(valuesById[-2] = "WS_SDCARD_NOT_EXIST")] = -2; + values[(valuesById[-3] = "WS_INVALID_PARAM")] = -3; + values[(valuesById[-4] = "WS_SDCARD_WRITE_ERROR")] = -4; + values[(valuesById[-10500] = "CODE_CAMERA_TELE_OPENED")] = -10500; + values[(valuesById[-10501] = "CODE_CAMERA_TELE_CLOSED")] = -10501; + values[(valuesById[-10502] = "CODE_CAMERA_TELE_ISP_SET_FAILED")] = -10502; + values[(valuesById[-10504] = "CODE_CAMERA_TELE_OPEN_FAILED")] = -10504; + values[(valuesById[-10506] = "CODE_CAMERA_TELE_RECORDING")] = -10506; + values[(valuesById[-10507] = "CODE_CAMERA_TELE_WORKING_BUSY_STACK")] = -10507; + values[(valuesById[-10510] = "CODE_CAMERA_TELE_CAPTURE_RAW_FAILED")] = -10510; + values[(valuesById[-10511] = "CODE_CAMERA_TELE_WORKING_BUSY")] = -10511; + values[(valuesById[-11500] = "CODE_ASTRO_PLATE_SOLVING_FAILED")] = -11500; + values[(valuesById[-11501] = "CODE_ASTRO_FUNCTION_BUSY")] = -11501; + values[(valuesById[-11502] = "CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE")] = -11502; + values[(valuesById[-11503] = "CODE_ASTRO_DARK_NOT_FOUND")] = -11503; + values[(valuesById[-11504] = "CODE_ASTRO_CALIBRATION_FAILED")] = -11504; + values[(valuesById[-11505] = "CODE_ASTRO_GOTO_FAILED")] = -11505; + values[(valuesById[-11513] = "CODE_ASTRO_NEED_GOTO")] = -11513; + values[(valuesById[-11514] = "CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM")] = -11514; + values[(valuesById[-11516] = "CODE_ASTRO_EQ_SOLVING_FAILED")] = -11516; + values[(valuesById[-11517] = "CODE_ASTRO_SKY_SEARCH_FAILED")] = -11517; + values[(valuesById[-12500] = "CODE_CAMERA_WIDE_OPENED")] = -12500; + values[(valuesById[-12501] = "CODE_CAMERA_WIDE_CLOSED")] = -12501; + values[(valuesById[-12502] = "CODE_CAMERA_WIDE_CANNOT_FOUND")] = -12502; + values[(valuesById[-12503] = "CODE_CAMERA_WIDE_OPEN_FAILED")] = -12503; + values[(valuesById[-12504] = "CODE_CAMERA_WIDE_CLOSE_FAILED")] = -12504; + values[(valuesById[-12505] = "CODE_CAMERA_WIDE_SET_ISP_FAILED")] = -12505; + values[(valuesById[-12506] = "CODE_CAMERA_WIDE_PHOTOGRAPHING")] = -12506; + values[(valuesById[-12508] = "CODE_CAMERA_WIDE_EXP_TOO_LONG")] = -12508; + values[(valuesById[-13300] = "CODE_SYSTEM_SET_TIME_FAILED")] = -13300; + values[(valuesById[-13301] = "CODE_SYSTEM_SET_TIMEZONE_FAILED")] = -13301; + values[(valuesById[-13302] = "CODE_SYSTEM_SETTING_TIMEZONE_FAILED")] = -13302; + values[(valuesById[-13800] = "CODE_RGB_POWER_UART_INIT_FAILED")] = -13800; + values[(valuesById[-14504] = "CODE_STEP_MOTOR_INVALID_PARAMETER_ID")] = + -14504; + values[(valuesById[-14518] = "CODE_STEP_MOTOR_LIMIT_POSITION_WARNING")] = + -14518; + values[(valuesById[-14519] = "CODE_STEP_MOTOR_LIMIT_POSITION_HITTED")] = + -14519; + values[(valuesById[-14520] = "CODE_STEP_MOTOR_POSITION_NEED_RESET")] = -14520; + values[(valuesById[-14900] = "CODE_TRACK_TRACKER_INITING")] = -14900; + values[(valuesById[-14901] = "CODE_TRACK_TRACKER_FAILED")] = -14901; + values[(valuesById[-15100] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR")] = + -15100; + values[(valuesById[-15101] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR")] = + -15101; + values[(valuesById[-15600] = "CODE_PANORAMA_PHOTO_FAILED")] = -15600; + values[(valuesById[-15601] = "CODE_PANORAMA_MOTOR_RESET_FAILED")] = -15601; + return values; +})(); + +/** + * AstroTrackingSpecial enum. + * @exports AstroTrackingSpecial + * @enum {number} + * @property {number} TRACKING_SUN=0 TRACKING_SUN value + * @property {number} TRACKING_MOON=1 TRACKING_MOON value + */ +$root.AstroTrackingSpecial = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "TRACKING_SUN")] = 0; + values[(valuesById[1] = "TRACKING_MOON")] = 1; + return values; +})(); + +/** + * SolarSystemTarget enum. + * @exports SolarSystemTarget + * @enum {number} + * @property {number} Unknown=0 Unknown value + * @property {number} Mercury=1 Mercury value + * @property {number} Venus=2 Venus value + * @property {number} Mars=3 Mars value + * @property {number} Jupiter=4 Jupiter value + * @property {number} Saturn=5 Saturn value + * @property {number} Uranus=6 Uranus value + * @property {number} Neptune=7 Neptune value + * @property {number} Moon=8 Moon value + * @property {number} Sun=9 Sun value + */ +$root.SolarSystemTarget = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "Unknown")] = 0; + values[(valuesById[1] = "Mercury")] = 1; + values[(valuesById[2] = "Venus")] = 2; + values[(valuesById[3] = "Mars")] = 3; + values[(valuesById[4] = "Jupiter")] = 4; + values[(valuesById[5] = "Saturn")] = 5; + values[(valuesById[6] = "Uranus")] = 6; + values[(valuesById[7] = "Neptune")] = 7; + values[(valuesById[8] = "Moon")] = 8; + values[(valuesById[9] = "Sun")] = 9; + return values; +})(); + +/** + * PhotoMode enum. + * @exports PhotoMode + * @enum {number} + * @property {number} Auto=0 Auto value + * @property {number} Manual=1 Manual value + */ +$root.PhotoMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "Auto")] = 0; + values[(valuesById[1] = "Manual")] = 1; + return values; +})(); + +/** + * WBMode enum. + * @exports WBMode + * @enum {number} + * @property {number} ColorTemperature=0 ColorTemperature value + * @property {number} SceneMode=1 SceneMode value + */ +$root.WBMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "ColorTemperature")] = 0; + values[(valuesById[1] = "SceneMode")] = 1; + return values; +})(); + +/** + * IrCut enum. + * @exports IrCut + * @enum {number} + * @property {number} CUT=0 CUT value + * @property {number} PASS=1 PASS value + */ +$root.IrCut = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "CUT")] = 0; + values[(valuesById[1] = "PASS")] = 1; + return values; +})(); + +$root.ReqOpenRgb = (function () { + /** + * Properties of a ReqOpenRgb. + * @exports IReqOpenRgb + * @interface IReqOpenRgb + */ + + /** + * Constructs a new ReqOpenRgb. + * @exports ReqOpenRgb + * @classdesc Represents a ReqOpenRgb. + * @implements IReqOpenRgb + * @constructor + * @param {IReqOpenRgb=} [properties] Properties to set + */ + function ReqOpenRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqOpenRgb instance using the specified properties. + * @function create + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb=} [properties] Properties to set + * @returns {ReqOpenRgb} ReqOpenRgb instance + */ + ReqOpenRgb.create = function create(properties) { + return new ReqOpenRgb(properties); + }; + + /** + * Encodes the specified ReqOpenRgb message. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encode + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenRgb message. + * @function verify + * @memberof ReqOpenRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenRgb} ReqOpenRgb + */ + ReqOpenRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenRgb) return object; + return new $root.ReqOpenRgb(); + }; + + /** + * Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenRgb + * @static + * @param {ReqOpenRgb} message ReqOpenRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenRgb.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqOpenRgb to JSON. + * @function toJSON + * @memberof ReqOpenRgb + * @instance + * @returns {Object.} JSON object + */ + ReqOpenRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenRgb + * @function getTypeUrl + * @memberof ReqOpenRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenRgb"; + }; + + return ReqOpenRgb; +})(); + +$root.ReqCloseRgb = (function () { + /** + * Properties of a ReqCloseRgb. + * @exports IReqCloseRgb + * @interface IReqCloseRgb + */ + + /** + * Constructs a new ReqCloseRgb. + * @exports ReqCloseRgb + * @classdesc Represents a ReqCloseRgb. + * @implements IReqCloseRgb + * @constructor + * @param {IReqCloseRgb=} [properties] Properties to set + */ + function ReqCloseRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCloseRgb instance using the specified properties. + * @function create + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb=} [properties] Properties to set + * @returns {ReqCloseRgb} ReqCloseRgb instance + */ + ReqCloseRgb.create = function create(properties) { + return new ReqCloseRgb(properties); + }; + + /** + * Encodes the specified ReqCloseRgb message. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encode + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCloseRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCloseRgb message. + * @function verify + * @memberof ReqCloseRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseRgb} ReqCloseRgb + */ + ReqCloseRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseRgb) return object; + return new $root.ReqCloseRgb(); + }; + + /** + * Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseRgb + * @static + * @param {ReqCloseRgb} message ReqCloseRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseRgb.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCloseRgb to JSON. + * @function toJSON + * @memberof ReqCloseRgb + * @instance + * @returns {Object.} JSON object + */ + ReqCloseRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCloseRgb + * @function getTypeUrl + * @memberof ReqCloseRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseRgb"; + }; + + return ReqCloseRgb; +})(); + +$root.ReqPowerDown = (function () { + /** + * Properties of a ReqPowerDown. + * @exports IReqPowerDown + * @interface IReqPowerDown + */ + + /** + * Constructs a new ReqPowerDown. + * @exports ReqPowerDown + * @classdesc Represents a ReqPowerDown. + * @implements IReqPowerDown + * @constructor + * @param {IReqPowerDown=} [properties] Properties to set + */ + function ReqPowerDown(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPowerDown instance using the specified properties. + * @function create + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown=} [properties] Properties to set + * @returns {ReqPowerDown} ReqPowerDown instance + */ + ReqPowerDown.create = function create(properties) { + return new ReqPowerDown(properties); + }; + + /** + * Encodes the specified ReqPowerDown message. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encode + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPowerDown message, length delimited. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer. + * @function decode + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPowerDown(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPowerDown message. + * @function verify + * @memberof ReqPowerDown + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPowerDown.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPowerDown + * @static + * @param {Object.} object Plain object + * @returns {ReqPowerDown} ReqPowerDown + */ + ReqPowerDown.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPowerDown) return object; + return new $root.ReqPowerDown(); + }; + + /** + * Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPowerDown + * @static + * @param {ReqPowerDown} message ReqPowerDown + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPowerDown.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPowerDown to JSON. + * @function toJSON + * @memberof ReqPowerDown + * @instance + * @returns {Object.} JSON object + */ + ReqPowerDown.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPowerDown + * @function getTypeUrl + * @memberof ReqPowerDown + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPowerDown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPowerDown"; + }; + + return ReqPowerDown; +})(); + +$root.ReqOpenPowerInd = (function () { + /** + * Properties of a ReqOpenPowerInd. + * @exports IReqOpenPowerInd + * @interface IReqOpenPowerInd + */ + + /** + * Constructs a new ReqOpenPowerInd. + * @exports ReqOpenPowerInd + * @classdesc Represents a ReqOpenPowerInd. + * @implements IReqOpenPowerInd + * @constructor + * @param {IReqOpenPowerInd=} [properties] Properties to set + */ + function ReqOpenPowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqOpenPowerInd instance using the specified properties. + * @function create + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd=} [properties] Properties to set + * @returns {ReqOpenPowerInd} ReqOpenPowerInd instance + */ + ReqOpenPowerInd.create = function create(properties) { + return new ReqOpenPowerInd(properties); + }; + + /** + * Encodes the specified ReqOpenPowerInd message. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encode + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenPowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenPowerInd message. + * @function verify + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenPowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + */ + ReqOpenPowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenPowerInd) return object; + return new $root.ReqOpenPowerInd(); + }; + + /** + * Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenPowerInd + * @static + * @param {ReqOpenPowerInd} message ReqOpenPowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenPowerInd.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqOpenPowerInd to JSON. + * @function toJSON + * @memberof ReqOpenPowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqOpenPowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenPowerInd + * @function getTypeUrl + * @memberof ReqOpenPowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenPowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenPowerInd"; + }; + + return ReqOpenPowerInd; +})(); + +$root.ReqClosePowerInd = (function () { + /** + * Properties of a ReqClosePowerInd. + * @exports IReqClosePowerInd + * @interface IReqClosePowerInd + */ + + /** + * Constructs a new ReqClosePowerInd. + * @exports ReqClosePowerInd + * @classdesc Represents a ReqClosePowerInd. + * @implements IReqClosePowerInd + * @constructor + * @param {IReqClosePowerInd=} [properties] Properties to set + */ + function ReqClosePowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqClosePowerInd instance using the specified properties. + * @function create + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd=} [properties] Properties to set + * @returns {ReqClosePowerInd} ReqClosePowerInd instance + */ + ReqClosePowerInd.create = function create(properties) { + return new ReqClosePowerInd(properties); + }; + + /** + * Encodes the specified ReqClosePowerInd message. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encode + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqClosePowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqClosePowerInd message. + * @function verify + * @memberof ReqClosePowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqClosePowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqClosePowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqClosePowerInd} ReqClosePowerInd + */ + ReqClosePowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqClosePowerInd) return object; + return new $root.ReqClosePowerInd(); + }; + + /** + * Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqClosePowerInd + * @static + * @param {ReqClosePowerInd} message ReqClosePowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqClosePowerInd.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqClosePowerInd to JSON. + * @function toJSON + * @memberof ReqClosePowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqClosePowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqClosePowerInd + * @function getTypeUrl + * @memberof ReqClosePowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqClosePowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqClosePowerInd"; + }; + + return ReqClosePowerInd; +})(); + +$root.ReqReboot = (function () { + /** + * Properties of a ReqReboot. + * @exports IReqReboot + * @interface IReqReboot + */ + + /** + * Constructs a new ReqReboot. + * @exports ReqReboot + * @classdesc Represents a ReqReboot. + * @implements IReqReboot + * @constructor + * @param {IReqReboot=} [properties] Properties to set + */ + function ReqReboot(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqReboot instance using the specified properties. + * @function create + * @memberof ReqReboot + * @static + * @param {IReqReboot=} [properties] Properties to set + * @returns {ReqReboot} ReqReboot instance + */ + ReqReboot.create = function create(properties) { + return new ReqReboot(properties); + }; + + /** + * Encodes the specified ReqReboot message. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encode + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqReboot message, length delimited. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReboot message from the specified reader or buffer. + * @function decode + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReboot(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReboot message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReboot message. + * @function verify + * @memberof ReqReboot + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReboot.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqReboot message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReboot + * @static + * @param {Object.} object Plain object + * @returns {ReqReboot} ReqReboot + */ + ReqReboot.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReboot) return object; + return new $root.ReqReboot(); + }; + + /** + * Creates a plain object from a ReqReboot message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReboot + * @static + * @param {ReqReboot} message ReqReboot + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReboot.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqReboot to JSON. + * @function toJSON + * @memberof ReqReboot + * @instance + * @returns {Object.} JSON object + */ + ReqReboot.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReboot + * @function getTypeUrl + * @memberof ReqReboot + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReboot.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReboot"; + }; + + return ReqReboot; +})(); + +/** + * ShootingScheduleState enum. + * @exports ShootingScheduleState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_STATE_INITIALIZED=0 SHOOTING_SCHEDULE_STATE_INITIALIZED value + * @property {number} SHOOTING_SCHEDULE_STATE_PENDING_SHOOT=1 SHOOTING_SCHEDULE_STATE_PENDING_SHOOT value + * @property {number} SHOOTING_SCHEDULE_STATE_SHOOTING=2 SHOOTING_SCHEDULE_STATE_SHOOTING value + * @property {number} SHOOTING_SCHEDULE_STATE_COMPLETED=3 SHOOTING_SCHEDULE_STATE_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_STATE_EXPIRED=4 SHOOTING_SCHEDULE_STATE_EXPIRED value + */ +$root.ShootingScheduleState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_STATE_INITIALIZED")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_STATE_SHOOTING")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_STATE_COMPLETED")] = 3; + values[(valuesById[4] = "SHOOTING_SCHEDULE_STATE_EXPIRED")] = 4; + return values; +})(); + +/** + * ShootingScheduleSyncState enum. + * @exports ShootingScheduleSyncState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC=0 SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC value + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_SYNCED=1 SHOOTING_SCHEDULE_SYNC_STATE_SYNCED value + */ +$root.ShootingScheduleSyncState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED")] = 1; + return values; +})(); + +/** + * ShootingScheduleResult enum. + * @exports ShootingScheduleResult + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_RESULT_PENDING_START=0 SHOOTING_SCHEDULE_RESULT_PENDING_START value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED=1 SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED=2 SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_FAILED=3 SHOOTING_SCHEDULE_RESULT_ALL_FAILED value + */ +$root.ShootingScheduleResult = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_RESULT_PENDING_START")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_RESULT_ALL_FAILED")] = 3; + return values; +})(); + +/** + * ShootingTaskState enum. + * @exports ShootingTaskState + * @enum {number} + * @property {number} SHOOTING_TASK_STATUS_IDLE=0 SHOOTING_TASK_STATUS_IDLE value + * @property {number} SHOOTING_TASK_STATUS_SHOOTING=1 SHOOTING_TASK_STATUS_SHOOTING value + * @property {number} SHOOTING_TASK_STATUS_SUCCESS=2 SHOOTING_TASK_STATUS_SUCCESS value + * @property {number} SHOOTING_TASK_STATUS_FAILED=3 SHOOTING_TASK_STATUS_FAILED value + * @property {number} SHOOTING_TASK_STATUS_INTERRUPTED=4 SHOOTING_TASK_STATUS_INTERRUPTED value + */ +$root.ShootingTaskState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_TASK_STATUS_IDLE")] = 0; + values[(valuesById[1] = "SHOOTING_TASK_STATUS_SHOOTING")] = 1; + values[(valuesById[2] = "SHOOTING_TASK_STATUS_SUCCESS")] = 2; + values[(valuesById[3] = "SHOOTING_TASK_STATUS_FAILED")] = 3; + values[(valuesById[4] = "SHOOTING_TASK_STATUS_INTERRUPTED")] = 4; + return values; +})(); + +/** + * ShootingScheduleMode enum. + * @exports ShootingScheduleMode + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY=0 SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY value + */ +$root.ShootingScheduleMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY")] = 0; + return values; +})(); + +$root.ShootingTaskMsg = (function () { + /** + * Properties of a ShootingTaskMsg. + * @exports IShootingTaskMsg + * @interface IShootingTaskMsg + * @property {string|null} [scheduleId] ShootingTaskMsg scheduleId + * @property {string|null} [params] ShootingTaskMsg params + * @property {ShootingTaskState|null} [state] ShootingTaskMsg state + * @property {number|null} [code] ShootingTaskMsg code + * @property {number|Long|null} [createdTime] ShootingTaskMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingTaskMsg updatedTime + * @property {string|null} [scheduleTaskId] ShootingTaskMsg scheduleTaskId + * @property {number|null} [paramMode] ShootingTaskMsg paramMode + * @property {number|null} [paramVersion] ShootingTaskMsg paramVersion + * @property {number|null} [createFrom] ShootingTaskMsg createFrom + */ + + /** + * Constructs a new ShootingTaskMsg. + * @exports ShootingTaskMsg + * @classdesc Represents a ShootingTaskMsg. + * @implements IShootingTaskMsg + * @constructor + * @param {IShootingTaskMsg=} [properties] Properties to set + */ + function ShootingTaskMsg(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ShootingTaskMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleId = ""; + + /** + * ShootingTaskMsg params. + * @member {string} params + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.params = ""; + + /** + * ShootingTaskMsg state. + * @member {ShootingTaskState} state + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.state = 0; + + /** + * ShootingTaskMsg code. + * @member {number} code + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.code = 0; + + /** + * ShootingTaskMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingTaskMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingTaskMsg scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleTaskId = ""; + + /** + * ShootingTaskMsg paramMode. + * @member {number} paramMode + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramMode = 0; + + /** + * ShootingTaskMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramVersion = 0; + + /** + * ShootingTaskMsg createFrom. + * @member {number} createFrom + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createFrom = 0; + + /** + * Creates a new ShootingTaskMsg instance using the specified properties. + * @function create + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg=} [properties] Properties to set + * @returns {ShootingTaskMsg} ShootingTaskMsg instance + */ + ShootingTaskMsg.create = function create(properties) { + return new ShootingTaskMsg(properties); + }; + + /** + * Encodes the specified ShootingTaskMsg message. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encode + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.params); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.code); + if ( + message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.createdTime); + if ( + message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.updatedTime); + if ( + message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId") + ) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.scheduleTaskId); + if ( + message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.paramMode); + if ( + message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.paramVersion); + if ( + message.createFrom != null && + Object.hasOwnProperty.call(message, "createFrom") + ) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.createFrom); + return writer; + }; + + /** + * Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ShootingTaskMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.params = reader.string(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.code = reader.int32(); + break; + } + case 5: { + message.createdTime = reader.int64(); + break; + } + case 6: { + message.updatedTime = reader.int64(); + break; + } + case 7: { + message.scheduleTaskId = reader.string(); + break; + } + case 8: { + message.paramMode = reader.int32(); + break; + } + case 9: { + message.paramVersion = reader.int32(); + break; + } + case 10: { + message.createFrom = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ShootingTaskMsg message. + * @function verify + * @memberof ShootingTaskMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingTaskMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) return "params: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if ( + !$util.isInteger(message.createdTime) && + !( + message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high) + ) + ) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if ( + !$util.isInteger(message.updatedTime) && + !( + message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high) + ) + ) + return "updatedTime: integer|Long expected"; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + if (!$util.isInteger(message.createFrom)) + return "createFrom: integer expected"; + return null; + }; + + /** + * Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingTaskMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingTaskMsg} ShootingTaskMsg + */ + ShootingTaskMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingTaskMsg) return object; + var message = new $root.ShootingTaskMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.params != null) message.params = String(object.params); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_TASK_STATUS_IDLE": + case 0: + message.state = 0; + break; + case "SHOOTING_TASK_STATUS_SHOOTING": + case 1: + message.state = 1; + break; + case "SHOOTING_TASK_STATUS_SUCCESS": + case 2: + message.state = 2; + break; + case "SHOOTING_TASK_STATUS_FAILED": + case 3: + message.state = 3; + break; + case "SHOOTING_TASK_STATUS_INTERRUPTED": + case 4: + message.state = 4; + break; + } + if (object.code != null) message.code = object.code | 0; + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue( + object.createdTime + )).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits( + object.createdTime.low >>> 0, + object.createdTime.high >>> 0 + ).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue( + object.updatedTime + )).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits( + object.updatedTime.low >>> 0, + object.updatedTime.high >>> 0 + ).toNumber(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.paramMode != null) message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.createFrom != null) message.createFrom = object.createFrom | 0; + return message; + }; + + /** + * Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingTaskMsg + * @static + * @param {ShootingTaskMsg} message ShootingTaskMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingTaskMsg.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.params = ""; + object.state = options.enums === String ? "SHOOTING_TASK_STATUS_IDLE" : 0; + object.code = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.updatedTime = options.longs === String ? "0" : 0; + object.scheduleTaskId = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.createFrom = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingTaskState[message.state] === undefined + ? message.state + : $root.ShootingTaskState[message.state] + : message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits( + message.createdTime.low >>> 0, + message.createdTime.high >>> 0 + ).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits( + message.updatedTime.low >>> 0, + message.updatedTime.high >>> 0 + ).toNumber() + : message.updatedTime; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + object.scheduleTaskId = message.scheduleTaskId; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + object.createFrom = message.createFrom; + return object; + }; + + /** + * Converts this ShootingTaskMsg to JSON. + * @function toJSON + * @memberof ShootingTaskMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingTaskMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ShootingTaskMsg + * @function getTypeUrl + * @memberof ShootingTaskMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingTaskMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingTaskMsg"; + }; + + return ShootingTaskMsg; +})(); + +$root.ShootingScheduleMsg = (function () { + /** + * Properties of a ShootingScheduleMsg. + * @exports IShootingScheduleMsg + * @interface IShootingScheduleMsg + * @property {string|null} [scheduleId] ShootingScheduleMsg scheduleId + * @property {string|null} [scheduleName] ShootingScheduleMsg scheduleName + * @property {number|null} [deviceId] ShootingScheduleMsg deviceId + * @property {string|null} [macAddress] ShootingScheduleMsg macAddress + * @property {number|Long|null} [startTime] ShootingScheduleMsg startTime + * @property {number|Long|null} [endTime] ShootingScheduleMsg endTime + * @property {ShootingScheduleResult|null} [result] ShootingScheduleMsg result + * @property {number|Long|null} [createdTime] ShootingScheduleMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingScheduleMsg updatedTime + * @property {ShootingScheduleState|null} [state] ShootingScheduleMsg state + * @property {number|null} [lock] ShootingScheduleMsg lock + * @property {string|null} [password] ShootingScheduleMsg password + * @property {Array.|null} [shootingTasks] ShootingScheduleMsg shootingTasks + * @property {number|null} [paramMode] ShootingScheduleMsg paramMode + * @property {number|null} [paramVersion] ShootingScheduleMsg paramVersion + * @property {string|null} [params] ShootingScheduleMsg params + * @property {number|Long|null} [scheduleTime] ShootingScheduleMsg scheduleTime + * @property {ShootingScheduleSyncState|null} [syncState] ShootingScheduleMsg syncState + */ + + /** + * Constructs a new ShootingScheduleMsg. + * @exports ShootingScheduleMsg + * @classdesc Represents a ShootingScheduleMsg. + * @implements IShootingScheduleMsg + * @constructor + * @param {IShootingScheduleMsg=} [properties] Properties to set + */ + function ShootingScheduleMsg(properties) { + this.shootingTasks = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ShootingScheduleMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleId = ""; + + /** + * ShootingScheduleMsg scheduleName. + * @member {string} scheduleName + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleName = ""; + + /** + * ShootingScheduleMsg deviceId. + * @member {number} deviceId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.deviceId = 0; + + /** + * ShootingScheduleMsg macAddress. + * @member {string} macAddress + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.macAddress = ""; + + /** + * ShootingScheduleMsg startTime. + * @member {number|Long} startTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.startTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg endTime. + * @member {number|Long} endTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.endTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg result. + * @member {ShootingScheduleResult} result + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.result = 0; + + /** + * ShootingScheduleMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg state. + * @member {ShootingScheduleState} state + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.state = 0; + + /** + * ShootingScheduleMsg lock. + * @member {number} lock + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.lock = 0; + + /** + * ShootingScheduleMsg password. + * @member {string} password + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.password = ""; + + /** + * ShootingScheduleMsg shootingTasks. + * @member {Array.} shootingTasks + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.shootingTasks = $util.emptyArray; + + /** + * ShootingScheduleMsg paramMode. + * @member {number} paramMode + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramMode = 0; + + /** + * ShootingScheduleMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramVersion = 0; + + /** + * ShootingScheduleMsg params. + * @member {string} params + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.params = ""; + + /** + * ShootingScheduleMsg scheduleTime. + * @member {number|Long} scheduleTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg syncState. + * @member {ShootingScheduleSyncState} syncState + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.syncState = 0; + + /** + * Creates a new ShootingScheduleMsg instance using the specified properties. + * @function create + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg=} [properties] Properties to set + * @returns {ShootingScheduleMsg} ShootingScheduleMsg instance + */ + ShootingScheduleMsg.create = function create(properties) { + return new ShootingScheduleMsg(properties); + }; + + /** + * Encodes the specified ShootingScheduleMsg message. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encode + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if ( + message.scheduleName != null && + Object.hasOwnProperty.call(message, "scheduleName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.scheduleName); + if ( + message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.deviceId); + if ( + message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.macAddress); + if ( + message.startTime != null && + Object.hasOwnProperty.call(message, "startTime") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.startTime); + if ( + message.endTime != null && + Object.hasOwnProperty.call(message, "endTime") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.endTime); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.result); + if ( + message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int64(message.createdTime); + if ( + message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int64(message.updatedTime); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.state); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.lock); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 12, wireType 2 =*/ 98).string(message.password); + if (message.shootingTasks != null && message.shootingTasks.length) + for (var i = 0; i < message.shootingTasks.length; ++i) + $root.ShootingTaskMsg.encode( + message.shootingTasks[i], + writer.uint32(/* id 13, wireType 2 =*/ 106).fork() + ).ldelim(); + if ( + message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode") + ) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.paramMode); + if ( + message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion") + ) + writer.uint32(/* id 15, wireType 0 =*/ 120).int32(message.paramVersion); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 16, wireType 2 =*/ 130).string(message.params); + if ( + message.scheduleTime != null && + Object.hasOwnProperty.call(message, "scheduleTime") + ) + writer.uint32(/* id 17, wireType 0 =*/ 136).int64(message.scheduleTime); + if ( + message.syncState != null && + Object.hasOwnProperty.call(message, "syncState") + ) + writer.uint32(/* id 18, wireType 0 =*/ 144).int32(message.syncState); + return writer; + }; + + /** + * Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ShootingScheduleMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.scheduleName = reader.string(); + break; + } + case 3: { + message.deviceId = reader.int32(); + break; + } + case 4: { + message.macAddress = reader.string(); + break; + } + case 5: { + message.startTime = reader.int64(); + break; + } + case 6: { + message.endTime = reader.int64(); + break; + } + case 7: { + message.result = reader.int32(); + break; + } + case 8: { + message.createdTime = reader.int64(); + break; + } + case 9: { + message.updatedTime = reader.int64(); + break; + } + case 10: { + message.state = reader.int32(); + break; + } + case 11: { + message.lock = reader.int32(); + break; + } + case 12: { + message.password = reader.string(); + break; + } + case 13: { + if (!(message.shootingTasks && message.shootingTasks.length)) + message.shootingTasks = []; + message.shootingTasks.push( + $root.ShootingTaskMsg.decode(reader, reader.uint32()) + ); + break; + } + case 14: { + message.paramMode = reader.int32(); + break; + } + case 15: { + message.paramVersion = reader.int32(); + break; + } + case 16: { + message.params = reader.string(); + break; + } + case 17: { + message.scheduleTime = reader.int64(); + break; + } + case 18: { + message.syncState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ShootingScheduleMsg message. + * @function verify + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingScheduleMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + if (!$util.isString(message.scheduleName)) + return "scheduleName: string expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if ( + !$util.isInteger(message.startTime) && + !( + message.startTime && + $util.isInteger(message.startTime.low) && + $util.isInteger(message.startTime.high) + ) + ) + return "startTime: integer|Long expected"; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if ( + !$util.isInteger(message.endTime) && + !( + message.endTime && + $util.isInteger(message.endTime.low) && + $util.isInteger(message.endTime.high) + ) + ) + return "endTime: integer|Long expected"; + if (message.result != null && message.hasOwnProperty("result")) + switch (message.result) { + default: + return "result: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if ( + !$util.isInteger(message.createdTime) && + !( + message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high) + ) + ) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if ( + !$util.isInteger(message.updatedTime) && + !( + message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high) + ) + ) + return "updatedTime: integer|Long expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.lock != null && message.hasOwnProperty("lock")) + if (!$util.isInteger(message.lock)) return "lock: integer expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + if ( + message.shootingTasks != null && + message.hasOwnProperty("shootingTasks") + ) { + if (!Array.isArray(message.shootingTasks)) + return "shootingTasks: array expected"; + for (var i = 0; i < message.shootingTasks.length; ++i) { + var error = $root.ShootingTaskMsg.verify(message.shootingTasks[i]); + if (error) return "shootingTasks." + error; + } + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) return "params: string expected"; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if ( + !$util.isInteger(message.scheduleTime) && + !( + message.scheduleTime && + $util.isInteger(message.scheduleTime.low) && + $util.isInteger(message.scheduleTime.high) + ) + ) + return "scheduleTime: integer|Long expected"; + if (message.syncState != null && message.hasOwnProperty("syncState")) + switch (message.syncState) { + default: + return "syncState: enum value expected"; + case 0: + case 1: + break; + } + return null; + }; + + /** + * Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + */ + ShootingScheduleMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingScheduleMsg) return object; + var message = new $root.ShootingScheduleMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.scheduleName != null) + message.scheduleName = String(object.scheduleName); + if (object.deviceId != null) message.deviceId = object.deviceId | 0; + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.startTime != null) + if ($util.Long) + (message.startTime = $util.Long.fromValue( + object.startTime + )).unsigned = false; + else if (typeof object.startTime === "string") + message.startTime = parseInt(object.startTime, 10); + else if (typeof object.startTime === "number") + message.startTime = object.startTime; + else if (typeof object.startTime === "object") + message.startTime = new $util.LongBits( + object.startTime.low >>> 0, + object.startTime.high >>> 0 + ).toNumber(); + if (object.endTime != null) + if ($util.Long) + (message.endTime = $util.Long.fromValue( + object.endTime + )).unsigned = false; + else if (typeof object.endTime === "string") + message.endTime = parseInt(object.endTime, 10); + else if (typeof object.endTime === "number") + message.endTime = object.endTime; + else if (typeof object.endTime === "object") + message.endTime = new $util.LongBits( + object.endTime.low >>> 0, + object.endTime.high >>> 0 + ).toNumber(); + switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; + case "SHOOTING_SCHEDULE_RESULT_PENDING_START": + case 0: + message.result = 0; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED": + case 1: + message.result = 1; + break; + case "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED": + case 2: + message.result = 2; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_FAILED": + case 3: + message.result = 3; + break; + } + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue( + object.createdTime + )).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits( + object.createdTime.low >>> 0, + object.createdTime.high >>> 0 + ).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue( + object.updatedTime + )).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits( + object.updatedTime.low >>> 0, + object.updatedTime.high >>> 0 + ).toNumber(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_SCHEDULE_STATE_INITIALIZED": + case 0: + message.state = 0; + break; + case "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT": + case 1: + message.state = 1; + break; + case "SHOOTING_SCHEDULE_STATE_SHOOTING": + case 2: + message.state = 2; + break; + case "SHOOTING_SCHEDULE_STATE_COMPLETED": + case 3: + message.state = 3; + break; + case "SHOOTING_SCHEDULE_STATE_EXPIRED": + case 4: + message.state = 4; + break; + } + if (object.lock != null) message.lock = object.lock | 0; + if (object.password != null) message.password = String(object.password); + if (object.shootingTasks) { + if (!Array.isArray(object.shootingTasks)) + throw TypeError(".ShootingScheduleMsg.shootingTasks: array expected"); + message.shootingTasks = []; + for (var i = 0; i < object.shootingTasks.length; ++i) { + if (typeof object.shootingTasks[i] !== "object") + throw TypeError( + ".ShootingScheduleMsg.shootingTasks: object expected" + ); + message.shootingTasks[i] = $root.ShootingTaskMsg.fromObject( + object.shootingTasks[i] + ); + } + } + if (object.paramMode != null) message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.params != null) message.params = String(object.params); + if (object.scheduleTime != null) + if ($util.Long) + (message.scheduleTime = $util.Long.fromValue( + object.scheduleTime + )).unsigned = false; + else if (typeof object.scheduleTime === "string") + message.scheduleTime = parseInt(object.scheduleTime, 10); + else if (typeof object.scheduleTime === "number") + message.scheduleTime = object.scheduleTime; + else if (typeof object.scheduleTime === "object") + message.scheduleTime = new $util.LongBits( + object.scheduleTime.low >>> 0, + object.scheduleTime.high >>> 0 + ).toNumber(); + switch (object.syncState) { + default: + if (typeof object.syncState === "number") { + message.syncState = object.syncState; + break; + } + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC": + case 0: + message.syncState = 0; + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED": + case 1: + message.syncState = 1; + break; + } + return message; + }; + + /** + * Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingScheduleMsg + * @static + * @param {ShootingScheduleMsg} message ShootingScheduleMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingScheduleMsg.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.shootingTasks = []; + if (options.defaults) { + object.scheduleId = ""; + object.scheduleName = ""; + object.deviceId = 0; + object.macAddress = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.startTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.startTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.endTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.endTime = options.longs === String ? "0" : 0; + object.result = + options.enums === String ? "SHOOTING_SCHEDULE_RESULT_PENDING_START" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.updatedTime = options.longs === String ? "0" : 0; + object.state = + options.enums === String ? "SHOOTING_SCHEDULE_STATE_INITIALIZED" : 0; + object.lock = 0; + object.password = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.params = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.scheduleTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.scheduleTime = options.longs === String ? "0" : 0; + object.syncState = + options.enums === String + ? "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC" + : 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + object.scheduleName = message.scheduleName; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if (typeof message.startTime === "number") + object.startTime = + options.longs === String + ? String(message.startTime) + : message.startTime; + else + object.startTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.startTime) + : options.longs === Number + ? new $util.LongBits( + message.startTime.low >>> 0, + message.startTime.high >>> 0 + ).toNumber() + : message.startTime; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if (typeof message.endTime === "number") + object.endTime = + options.longs === String ? String(message.endTime) : message.endTime; + else + object.endTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.endTime) + : options.longs === Number + ? new $util.LongBits( + message.endTime.low >>> 0, + message.endTime.high >>> 0 + ).toNumber() + : message.endTime; + if (message.result != null && message.hasOwnProperty("result")) + object.result = + options.enums === String + ? $root.ShootingScheduleResult[message.result] === undefined + ? message.result + : $root.ShootingScheduleResult[message.result] + : message.result; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits( + message.createdTime.low >>> 0, + message.createdTime.high >>> 0 + ).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits( + message.updatedTime.low >>> 0, + message.updatedTime.high >>> 0 + ).toNumber() + : message.updatedTime; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingScheduleState[message.state] === undefined + ? message.state + : $root.ShootingScheduleState[message.state] + : message.state; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + if (message.shootingTasks && message.shootingTasks.length) { + object.shootingTasks = []; + for (var j = 0; j < message.shootingTasks.length; ++j) + object.shootingTasks[j] = $root.ShootingTaskMsg.toObject( + message.shootingTasks[j], + options + ); + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if (typeof message.scheduleTime === "number") + object.scheduleTime = + options.longs === String + ? String(message.scheduleTime) + : message.scheduleTime; + else + object.scheduleTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.scheduleTime) + : options.longs === Number + ? new $util.LongBits( + message.scheduleTime.low >>> 0, + message.scheduleTime.high >>> 0 + ).toNumber() + : message.scheduleTime; + if (message.syncState != null && message.hasOwnProperty("syncState")) + object.syncState = + options.enums === String + ? $root.ShootingScheduleSyncState[message.syncState] === undefined + ? message.syncState + : $root.ShootingScheduleSyncState[message.syncState] + : message.syncState; + return object; + }; + + /** + * Converts this ShootingScheduleMsg to JSON. + * @function toJSON + * @memberof ShootingScheduleMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingScheduleMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ShootingScheduleMsg + * @function getTypeUrl + * @memberof ShootingScheduleMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingScheduleMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingScheduleMsg"; + }; + + return ShootingScheduleMsg; +})(); + +$root.ReqSyncShootingSchedule = (function () { + /** + * Properties of a ReqSyncShootingSchedule. + * @exports IReqSyncShootingSchedule + * @interface IReqSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqSyncShootingSchedule shootingSchedule + */ + + /** + * Constructs a new ReqSyncShootingSchedule. + * @exports ReqSyncShootingSchedule + * @classdesc Represents a ReqSyncShootingSchedule. + * @implements IReqSyncShootingSchedule + * @constructor + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + */ + function ReqSyncShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqSyncShootingSchedule + * @instance + */ + ReqSyncShootingSchedule.prototype.shootingSchedule = null; + + /** + * Creates a new ReqSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule instance + */ + ReqSyncShootingSchedule.create = function create(properties) { + return new ReqSyncShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqSyncShootingSchedule message. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSyncShootingSchedule message. + * @function verify + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + return null; + }; + + /** + * Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + */ + ReqSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSyncShootingSchedule) return object; + var message = new $root.ReqSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ReqSyncShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + return message; + }; + + /** + * Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {ReqSyncShootingSchedule} message ReqSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.shootingSchedule = null; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + return object; + }; + + /** + * Converts this ReqSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ReqSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSyncShootingSchedule + * @function getTypeUrl + * @memberof ReqSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSyncShootingSchedule"; + }; + + return ReqSyncShootingSchedule; +})(); + +$root.ResSyncShootingSchedule = (function () { + /** + * Properties of a ResSyncShootingSchedule. + * @exports IResSyncShootingSchedule + * @interface IResSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResSyncShootingSchedule shootingSchedule + * @property {Array.|null} [timeConflictScheduleIds] ResSyncShootingSchedule timeConflictScheduleIds + * @property {number|null} [code] ResSyncShootingSchedule code + * @property {boolean|null} [canReplace] ResSyncShootingSchedule canReplace + */ + + /** + * Constructs a new ResSyncShootingSchedule. + * @exports ResSyncShootingSchedule + * @classdesc Represents a ResSyncShootingSchedule. + * @implements IResSyncShootingSchedule + * @constructor + * @param {IResSyncShootingSchedule=} [properties] Properties to set + */ + function ResSyncShootingSchedule(properties) { + this.timeConflictScheduleIds = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.shootingSchedule = null; + + /** + * ResSyncShootingSchedule timeConflictScheduleIds. + * @member {Array.} timeConflictScheduleIds + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.timeConflictScheduleIds = $util.emptyArray; + + /** + * ResSyncShootingSchedule code. + * @member {number} code + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.code = 0; + + /** + * ResSyncShootingSchedule canReplace. + * @member {boolean} canReplace + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.canReplace = false; + + /** + * Creates a new ResSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule=} [properties] Properties to set + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule instance + */ + ResSyncShootingSchedule.create = function create(properties) { + return new ResSyncShootingSchedule(properties); + }; + + /** + * Encodes the specified ResSyncShootingSchedule message. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if ( + message.timeConflictScheduleIds != null && + message.timeConflictScheduleIds.length + ) + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + writer + .uint32(/* id 2, wireType 2 =*/ 18) + .string(message.timeConflictScheduleIds[i]); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + if ( + message.canReplace != null && + Object.hasOwnProperty.call(message, "canReplace") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).bool(message.canReplace); + return writer; + }; + + /** + * Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + if ( + !( + message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length + ) + ) + message.timeConflictScheduleIds = []; + message.timeConflictScheduleIds.push(reader.string()); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + case 4: { + message.canReplace = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSyncShootingSchedule message. + * @function verify + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if ( + message.timeConflictScheduleIds != null && + message.hasOwnProperty("timeConflictScheduleIds") + ) { + if (!Array.isArray(message.timeConflictScheduleIds)) + return "timeConflictScheduleIds: array expected"; + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + if (!$util.isString(message.timeConflictScheduleIds[i])) + return "timeConflictScheduleIds: string[] expected"; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + if (typeof message.canReplace !== "boolean") + return "canReplace: boolean expected"; + return null; + }; + + /** + * Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + */ + ResSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResSyncShootingSchedule) return object; + var message = new $root.ResSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResSyncShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.timeConflictScheduleIds) { + if (!Array.isArray(object.timeConflictScheduleIds)) + throw TypeError( + ".ResSyncShootingSchedule.timeConflictScheduleIds: array expected" + ); + message.timeConflictScheduleIds = []; + for (var i = 0; i < object.timeConflictScheduleIds.length; ++i) + message.timeConflictScheduleIds[i] = String( + object.timeConflictScheduleIds[i] + ); + } + if (object.code != null) message.code = object.code | 0; + if (object.canReplace != null) + message.canReplace = Boolean(object.canReplace); + return message; + }; + + /** + * Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSyncShootingSchedule + * @static + * @param {ResSyncShootingSchedule} message ResSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.timeConflictScheduleIds = []; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + object.canReplace = false; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if ( + message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length + ) { + object.timeConflictScheduleIds = []; + for (var j = 0; j < message.timeConflictScheduleIds.length; ++j) + object.timeConflictScheduleIds[j] = message.timeConflictScheduleIds[j]; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + object.canReplace = message.canReplace; + return object; + }; + + /** + * Converts this ResSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ResSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSyncShootingSchedule + * @function getTypeUrl + * @memberof ResSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSyncShootingSchedule"; + }; + + return ResSyncShootingSchedule; +})(); + +$root.ReqCancelShootingSchedule = (function () { + /** + * Properties of a ReqCancelShootingSchedule. + * @exports IReqCancelShootingSchedule + * @interface IReqCancelShootingSchedule + * @property {string|null} [id] ReqCancelShootingSchedule id + * @property {string|null} [password] ReqCancelShootingSchedule password + */ + + /** + * Constructs a new ReqCancelShootingSchedule. + * @exports ReqCancelShootingSchedule + * @classdesc Represents a ReqCancelShootingSchedule. + * @implements IReqCancelShootingSchedule + * @constructor + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + */ + function ReqCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCancelShootingSchedule id. + * @member {string} id + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.id = ""; + + /** + * ReqCancelShootingSchedule password. + * @member {string} password + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule instance + */ + ReqCancelShootingSchedule.create = function create(properties) { + return new ReqCancelShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqCancelShootingSchedule message. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCancelShootingSchedule message. + * @function verify + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + */ + ReqCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCancelShootingSchedule) return object; + var message = new $root.ReqCancelShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {ReqCancelShootingSchedule} message ReqCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ReqCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCancelShootingSchedule + * @function getTypeUrl + * @memberof ReqCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCancelShootingSchedule"; + }; + + return ReqCancelShootingSchedule; +})(); + +$root.ResCancelShootingSchedule = (function () { + /** + * Properties of a ResCancelShootingSchedule. + * @exports IResCancelShootingSchedule + * @interface IResCancelShootingSchedule + * @property {string|null} [id] ResCancelShootingSchedule id + * @property {number|null} [code] ResCancelShootingSchedule code + */ + + /** + * Constructs a new ResCancelShootingSchedule. + * @exports ResCancelShootingSchedule + * @classdesc Represents a ResCancelShootingSchedule. + * @implements IResCancelShootingSchedule + * @constructor + * @param {IResCancelShootingSchedule=} [properties] Properties to set + */ + function ResCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCancelShootingSchedule id. + * @member {string} id + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.id = ""; + + /** + * ResCancelShootingSchedule code. + * @member {number} code + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule=} [properties] Properties to set + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule instance + */ + ResCancelShootingSchedule.create = function create(properties) { + return new ResCancelShootingSchedule(properties); + }; + + /** + * Encodes the specified ResCancelShootingSchedule message. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCancelShootingSchedule message. + * @function verify + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + */ + ResCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResCancelShootingSchedule) return object; + var message = new $root.ResCancelShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCancelShootingSchedule + * @static + * @param {ResCancelShootingSchedule} message ResCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ResCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCancelShootingSchedule + * @function getTypeUrl + * @memberof ResCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCancelShootingSchedule"; + }; + + return ResCancelShootingSchedule; +})(); + +$root.ReqGetAllShootingSchedule = (function () { + /** + * Properties of a ReqGetAllShootingSchedule. + * @exports IReqGetAllShootingSchedule + * @interface IReqGetAllShootingSchedule + */ + + /** + * Constructs a new ReqGetAllShootingSchedule. + * @exports ReqGetAllShootingSchedule + * @classdesc Represents a ReqGetAllShootingSchedule. + * @implements IReqGetAllShootingSchedule + * @constructor + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + */ + function ReqGetAllShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule instance + */ + ReqGetAllShootingSchedule.create = function create(properties) { + return new ReqGetAllShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllShootingSchedule message. + * @function verify + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + */ + ReqGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllShootingSchedule) return object; + return new $root.ReqGetAllShootingSchedule(); + }; + + /** + * Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {ReqGetAllShootingSchedule} message ReqGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllShootingSchedule.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ReqGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllShootingSchedule + * @function getTypeUrl + * @memberof ReqGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllShootingSchedule"; + }; + + return ReqGetAllShootingSchedule; +})(); + +$root.ResGetAllShootingSchedule = (function () { + /** + * Properties of a ResGetAllShootingSchedule. + * @exports IResGetAllShootingSchedule + * @interface IResGetAllShootingSchedule + * @property {Array.|null} [shootingSchedule] ResGetAllShootingSchedule shootingSchedule + * @property {number|null} [code] ResGetAllShootingSchedule code + */ + + /** + * Constructs a new ResGetAllShootingSchedule. + * @exports ResGetAllShootingSchedule + * @classdesc Represents a ResGetAllShootingSchedule. + * @implements IResGetAllShootingSchedule + * @constructor + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + */ + function ResGetAllShootingSchedule(properties) { + this.shootingSchedule = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllShootingSchedule shootingSchedule. + * @member {Array.} shootingSchedule + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.shootingSchedule = $util.emptyArray; + + /** + * ResGetAllShootingSchedule code. + * @member {number} code + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule instance + */ + ResGetAllShootingSchedule.create = function create(properties) { + return new ResGetAllShootingSchedule(properties); + }; + + /** + * Encodes the specified ResGetAllShootingSchedule message. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.shootingSchedule != null && message.shootingSchedule.length) + for (var i = 0; i < message.shootingSchedule.length; ++i) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.shootingSchedule && message.shootingSchedule.length)) + message.shootingSchedule = []; + message.shootingSchedule.push( + $root.ShootingScheduleMsg.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllShootingSchedule message. + * @function verify + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + if (!Array.isArray(message.shootingSchedule)) + return "shootingSchedule: array expected"; + for (var i = 0; i < message.shootingSchedule.length; ++i) { + var error = $root.ShootingScheduleMsg.verify( + message.shootingSchedule[i] + ); + if (error) return "shootingSchedule." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + */ + ResGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllShootingSchedule) return object; + var message = new $root.ResGetAllShootingSchedule(); + if (object.shootingSchedule) { + if (!Array.isArray(object.shootingSchedule)) + throw TypeError( + ".ResGetAllShootingSchedule.shootingSchedule: array expected" + ); + message.shootingSchedule = []; + for (var i = 0; i < object.shootingSchedule.length; ++i) { + if (typeof object.shootingSchedule[i] !== "object") + throw TypeError( + ".ResGetAllShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule[i] = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {ResGetAllShootingSchedule} message ResGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.shootingSchedule = []; + if (options.defaults) object.code = 0; + if (message.shootingSchedule && message.shootingSchedule.length) { + object.shootingSchedule = []; + for (var j = 0; j < message.shootingSchedule.length; ++j) + object.shootingSchedule[j] = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ResGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllShootingSchedule + * @function getTypeUrl + * @memberof ResGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllShootingSchedule"; + }; + + return ResGetAllShootingSchedule; +})(); + +$root.ReqGetShootingScheduleById = (function () { + /** + * Properties of a ReqGetShootingScheduleById. + * @exports IReqGetShootingScheduleById + * @interface IReqGetShootingScheduleById + * @property {string|null} [id] ReqGetShootingScheduleById id + */ + + /** + * Constructs a new ReqGetShootingScheduleById. + * @exports ReqGetShootingScheduleById + * @classdesc Represents a ReqGetShootingScheduleById. + * @implements IReqGetShootingScheduleById + * @constructor + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + */ + function ReqGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetShootingScheduleById id. + * @member {string} id + * @memberof ReqGetShootingScheduleById + * @instance + */ + ReqGetShootingScheduleById.prototype.id = ""; + + /** + * Creates a new ReqGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById instance + */ + ReqGetShootingScheduleById.create = function create(properties) { + return new ReqGetShootingScheduleById(properties); + }; + + /** + * Encodes the specified ReqGetShootingScheduleById message. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + + /** + * Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetShootingScheduleById message. + * @function verify + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + return null; + }; + + /** + * Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + */ + ReqGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingScheduleById) return object; + var message = new $root.ReqGetShootingScheduleById(); + if (object.id != null) message.id = String(object.id); + return message; + }; + + /** + * Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {ReqGetShootingScheduleById} message ReqGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ReqGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetShootingScheduleById + * @function getTypeUrl + * @memberof ReqGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingScheduleById"; + }; + + return ReqGetShootingScheduleById; +})(); + +$root.ResGetShootingScheduleById = (function () { + /** + * Properties of a ResGetShootingScheduleById. + * @exports IResGetShootingScheduleById + * @interface IResGetShootingScheduleById + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResGetShootingScheduleById shootingSchedule + * @property {number|null} [code] ResGetShootingScheduleById code + */ + + /** + * Constructs a new ResGetShootingScheduleById. + * @exports ResGetShootingScheduleById + * @classdesc Represents a ResGetShootingScheduleById. + * @implements IResGetShootingScheduleById + * @constructor + * @param {IResGetShootingScheduleById=} [properties] Properties to set + */ + function ResGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetShootingScheduleById shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.shootingSchedule = null; + + /** + * ResGetShootingScheduleById code. + * @member {number} code + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.code = 0; + + /** + * Creates a new ResGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById=} [properties] Properties to set + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById instance + */ + ResGetShootingScheduleById.create = function create(properties) { + return new ResGetShootingScheduleById(properties); + }; + + /** + * Encodes the specified ResGetShootingScheduleById message. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetShootingScheduleById message. + * @function verify + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + */ + ResGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingScheduleById) return object; + var message = new $root.ResGetShootingScheduleById(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResGetShootingScheduleById.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingScheduleById + * @static + * @param {ResGetShootingScheduleById} message ResGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ResGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetShootingScheduleById + * @function getTypeUrl + * @memberof ResGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingScheduleById"; + }; + + return ResGetShootingScheduleById; +})(); + +$root.ReqGetShootingTaskById = (function () { + /** + * Properties of a ReqGetShootingTaskById. + * @exports IReqGetShootingTaskById + * @interface IReqGetShootingTaskById + * @property {string|null} [id] ReqGetShootingTaskById id + */ + + /** + * Constructs a new ReqGetShootingTaskById. + * @exports ReqGetShootingTaskById + * @classdesc Represents a ReqGetShootingTaskById. + * @implements IReqGetShootingTaskById + * @constructor + * @param {IReqGetShootingTaskById=} [properties] Properties to set + */ + function ReqGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetShootingTaskById id. + * @member {string} id + * @memberof ReqGetShootingTaskById + * @instance + */ + ReqGetShootingTaskById.prototype.id = ""; + + /** + * Creates a new ReqGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById=} [properties] Properties to set + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById instance + */ + ReqGetShootingTaskById.create = function create(properties) { + return new ReqGetShootingTaskById(properties); + }; + + /** + * Encodes the specified ReqGetShootingTaskById message. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + + /** + * Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetShootingTaskById message. + * @function verify + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + return null; + }; + + /** + * Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + */ + ReqGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingTaskById) return object; + var message = new $root.ReqGetShootingTaskById(); + if (object.id != null) message.id = String(object.id); + return message; + }; + + /** + * Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingTaskById + * @static + * @param {ReqGetShootingTaskById} message ReqGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqGetShootingTaskById to JSON. + * @function toJSON + * @memberof ReqGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetShootingTaskById + * @function getTypeUrl + * @memberof ReqGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingTaskById"; + }; + + return ReqGetShootingTaskById; +})(); + +$root.ResGetShootingTaskById = (function () { + /** + * Properties of a ResGetShootingTaskById. + * @exports IResGetShootingTaskById + * @interface IResGetShootingTaskById + * @property {IShootingTaskMsg|null} [shootingTask] ResGetShootingTaskById shootingTask + * @property {number|null} [code] ResGetShootingTaskById code + */ + + /** + * Constructs a new ResGetShootingTaskById. + * @exports ResGetShootingTaskById + * @classdesc Represents a ResGetShootingTaskById. + * @implements IResGetShootingTaskById + * @constructor + * @param {IResGetShootingTaskById=} [properties] Properties to set + */ + function ResGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetShootingTaskById shootingTask. + * @member {IShootingTaskMsg|null|undefined} shootingTask + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.shootingTask = null; + + /** + * ResGetShootingTaskById code. + * @member {number} code + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.code = 0; + + /** + * Creates a new ResGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById=} [properties] Properties to set + * @returns {ResGetShootingTaskById} ResGetShootingTaskById instance + */ + ResGetShootingTaskById.create = function create(properties) { + return new ResGetShootingTaskById(properties); + }; + + /** + * Encodes the specified ResGetShootingTaskById message. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingTask != null && + Object.hasOwnProperty.call(message, "shootingTask") + ) + $root.ShootingTaskMsg.encode( + message.shootingTask, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingTask = $root.ShootingTaskMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetShootingTaskById message. + * @function verify + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingTask != null && + message.hasOwnProperty("shootingTask") + ) { + var error = $root.ShootingTaskMsg.verify(message.shootingTask); + if (error) return "shootingTask." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + */ + ResGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingTaskById) return object; + var message = new $root.ResGetShootingTaskById(); + if (object.shootingTask != null) { + if (typeof object.shootingTask !== "object") + throw TypeError( + ".ResGetShootingTaskById.shootingTask: object expected" + ); + message.shootingTask = $root.ShootingTaskMsg.fromObject( + object.shootingTask + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingTaskById + * @static + * @param {ResGetShootingTaskById} message ResGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingTask = null; + object.code = 0; + } + if (message.shootingTask != null && message.hasOwnProperty("shootingTask")) + object.shootingTask = $root.ShootingTaskMsg.toObject( + message.shootingTask, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetShootingTaskById to JSON. + * @function toJSON + * @memberof ResGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetShootingTaskById + * @function getTypeUrl + * @memberof ResGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingTaskById"; + }; + + return ResGetShootingTaskById; +})(); + +$root.ReqReplaceShootingSchedule = (function () { + /** + * Properties of a ReqReplaceShootingSchedule. + * @exports IReqReplaceShootingSchedule + * @interface IReqReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqReplaceShootingSchedule shootingSchedule + */ + + /** + * Constructs a new ReqReplaceShootingSchedule. + * @exports ReqReplaceShootingSchedule + * @classdesc Represents a ReqReplaceShootingSchedule. + * @implements IReqReplaceShootingSchedule + * @constructor + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + */ + function ReqReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqReplaceShootingSchedule + * @instance + */ + ReqReplaceShootingSchedule.prototype.shootingSchedule = null; + + /** + * Creates a new ReqReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule instance + */ + ReqReplaceShootingSchedule.create = function create(properties) { + return new ReqReplaceShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReplaceShootingSchedule message. + * @function verify + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + return null; + }; + + /** + * Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + */ + ReqReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReplaceShootingSchedule) return object; + var message = new $root.ReqReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ReqReplaceShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + return message; + }; + + /** + * Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {ReqReplaceShootingSchedule} message ReqReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.shootingSchedule = null; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + return object; + }; + + /** + * Converts this ReqReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ReqReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReplaceShootingSchedule + * @function getTypeUrl + * @memberof ReqReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReplaceShootingSchedule"; + }; + + return ReqReplaceShootingSchedule; +})(); + +$root.ResReplaceShootingSchedule = (function () { + /** + * Properties of a ResReplaceShootingSchedule. + * @exports IResReplaceShootingSchedule + * @interface IResReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResReplaceShootingSchedule shootingSchedule + * @property {number|null} [code] ResReplaceShootingSchedule code + */ + + /** + * Constructs a new ResReplaceShootingSchedule. + * @exports ResReplaceShootingSchedule + * @classdesc Represents a ResReplaceShootingSchedule. + * @implements IResReplaceShootingSchedule + * @constructor + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + */ + function ResReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.shootingSchedule = null; + + /** + * ResReplaceShootingSchedule code. + * @member {number} code + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule instance + */ + ResReplaceShootingSchedule.create = function create(properties) { + return new ResReplaceShootingSchedule(properties); + }; + + /** + * Encodes the specified ResReplaceShootingSchedule message. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReplaceShootingSchedule message. + * @function verify + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + */ + ResReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResReplaceShootingSchedule) return object; + var message = new $root.ResReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResReplaceShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {ResReplaceShootingSchedule} message ResReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ResReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReplaceShootingSchedule + * @function getTypeUrl + * @memberof ResReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReplaceShootingSchedule"; + }; + + return ResReplaceShootingSchedule; +})(); + +$root.ReqUnlockShootingSchedule = (function () { + /** + * Properties of a ReqUnlockShootingSchedule. + * @exports IReqUnlockShootingSchedule + * @interface IReqUnlockShootingSchedule + * @property {string|null} [id] ReqUnlockShootingSchedule id + * @property {string|null} [password] ReqUnlockShootingSchedule password + */ + + /** + * Constructs a new ReqUnlockShootingSchedule. + * @exports ReqUnlockShootingSchedule + * @classdesc Represents a ReqUnlockShootingSchedule. + * @implements IReqUnlockShootingSchedule + * @constructor + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + */ + function ReqUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqUnlockShootingSchedule id. + * @member {string} id + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.id = ""; + + /** + * ReqUnlockShootingSchedule password. + * @member {string} password + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule instance + */ + ReqUnlockShootingSchedule.create = function create(properties) { + return new ReqUnlockShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqUnlockShootingSchedule message. + * @function verify + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + */ + ReqUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqUnlockShootingSchedule) return object; + var message = new $root.ReqUnlockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {ReqUnlockShootingSchedule} message ReqUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqUnlockShootingSchedule + * @function getTypeUrl + * @memberof ReqUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqUnlockShootingSchedule"; + }; + + return ReqUnlockShootingSchedule; +})(); + +$root.ResUnlockShootingSchedule = (function () { + /** + * Properties of a ResUnlockShootingSchedule. + * @exports IResUnlockShootingSchedule + * @interface IResUnlockShootingSchedule + * @property {string|null} [id] ResUnlockShootingSchedule id + * @property {number|null} [code] ResUnlockShootingSchedule code + */ + + /** + * Constructs a new ResUnlockShootingSchedule. + * @exports ResUnlockShootingSchedule + * @classdesc Represents a ResUnlockShootingSchedule. + * @implements IResUnlockShootingSchedule + * @constructor + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + */ + function ResUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResUnlockShootingSchedule id. + * @member {string} id + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.id = ""; + + /** + * ResUnlockShootingSchedule code. + * @member {number} code + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule instance + */ + ResUnlockShootingSchedule.create = function create(properties) { + return new ResUnlockShootingSchedule(properties); + }; + + /** + * Encodes the specified ResUnlockShootingSchedule message. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResUnlockShootingSchedule message. + * @function verify + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + */ + ResUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResUnlockShootingSchedule) return object; + var message = new $root.ResUnlockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {ResUnlockShootingSchedule} message ResUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ResUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResUnlockShootingSchedule + * @function getTypeUrl + * @memberof ResUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResUnlockShootingSchedule"; + }; + + return ResUnlockShootingSchedule; +})(); + +$root.ReqLockShootingSchedule = (function () { + /** + * Properties of a ReqLockShootingSchedule. + * @exports IReqLockShootingSchedule + * @interface IReqLockShootingSchedule + * @property {string|null} [id] ReqLockShootingSchedule id + * @property {string|null} [password] ReqLockShootingSchedule password + */ + + /** + * Constructs a new ReqLockShootingSchedule. + * @exports ReqLockShootingSchedule + * @classdesc Represents a ReqLockShootingSchedule. + * @implements IReqLockShootingSchedule + * @constructor + * @param {IReqLockShootingSchedule=} [properties] Properties to set + */ + function ReqLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqLockShootingSchedule id. + * @member {string} id + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.id = ""; + + /** + * ReqLockShootingSchedule password. + * @member {string} password + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule=} [properties] Properties to set + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule instance + */ + ReqLockShootingSchedule.create = function create(properties) { + return new ReqLockShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqLockShootingSchedule message. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqLockShootingSchedule message. + * @function verify + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + */ + ReqLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqLockShootingSchedule) return object; + var message = new $root.ReqLockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqLockShootingSchedule + * @static + * @param {ReqLockShootingSchedule} message ReqLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqLockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqLockShootingSchedule + * @function getTypeUrl + * @memberof ReqLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqLockShootingSchedule"; + }; + + return ReqLockShootingSchedule; +})(); + +$root.ResLockShootingSchedule = (function () { + /** + * Properties of a ResLockShootingSchedule. + * @exports IResLockShootingSchedule + * @interface IResLockShootingSchedule + * @property {string|null} [id] ResLockShootingSchedule id + * @property {number|null} [code] ResLockShootingSchedule code + */ + + /** + * Constructs a new ResLockShootingSchedule. + * @exports ResLockShootingSchedule + * @classdesc Represents a ResLockShootingSchedule. + * @implements IResLockShootingSchedule + * @constructor + * @param {IResLockShootingSchedule=} [properties] Properties to set + */ + function ResLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResLockShootingSchedule id. + * @member {string} id + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.id = ""; + + /** + * ResLockShootingSchedule code. + * @member {number} code + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule=} [properties] Properties to set + * @returns {ResLockShootingSchedule} ResLockShootingSchedule instance + */ + ResLockShootingSchedule.create = function create(properties) { + return new ResLockShootingSchedule(properties); + }; + + /** + * Encodes the specified ResLockShootingSchedule message. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResLockShootingSchedule message. + * @function verify + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + */ + ResLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResLockShootingSchedule) return object; + var message = new $root.ResLockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResLockShootingSchedule + * @static + * @param {ResLockShootingSchedule} message ResLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResLockShootingSchedule to JSON. + * @function toJSON + * @memberof ResLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResLockShootingSchedule + * @function getTypeUrl + * @memberof ResLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResLockShootingSchedule"; + }; + + return ResLockShootingSchedule; +})(); + +$root.ReqDeleteShootingSchedule = (function () { + /** + * Properties of a ReqDeleteShootingSchedule. + * @exports IReqDeleteShootingSchedule + * @interface IReqDeleteShootingSchedule + * @property {string|null} [id] ReqDeleteShootingSchedule id + * @property {string|null} [password] ReqDeleteShootingSchedule password + */ + + /** + * Constructs a new ReqDeleteShootingSchedule. + * @exports ReqDeleteShootingSchedule + * @classdesc Represents a ReqDeleteShootingSchedule. + * @implements IReqDeleteShootingSchedule + * @constructor + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + */ + function ReqDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeleteShootingSchedule id. + * @member {string} id + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.id = ""; + + /** + * ReqDeleteShootingSchedule password. + * @member {string} password + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule instance + */ + ReqDeleteShootingSchedule.create = function create(properties) { + return new ReqDeleteShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeleteShootingSchedule message. + * @function verify + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + */ + ReqDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeleteShootingSchedule) return object; + var message = new $root.ReqDeleteShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {ReqDeleteShootingSchedule} message ReqDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ReqDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeleteShootingSchedule + * @function getTypeUrl + * @memberof ReqDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeleteShootingSchedule"; + }; + + return ReqDeleteShootingSchedule; +})(); + +$root.ResDeleteShootingSchedule = (function () { + /** + * Properties of a ResDeleteShootingSchedule. + * @exports IResDeleteShootingSchedule + * @interface IResDeleteShootingSchedule + * @property {string|null} [id] ResDeleteShootingSchedule id + * @property {number|null} [code] ResDeleteShootingSchedule code + */ + + /** + * Constructs a new ResDeleteShootingSchedule. + * @exports ResDeleteShootingSchedule + * @classdesc Represents a ResDeleteShootingSchedule. + * @implements IResDeleteShootingSchedule + * @constructor + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + */ + function ResDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeleteShootingSchedule id. + * @member {string} id + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.id = ""; + + /** + * ResDeleteShootingSchedule code. + * @member {number} code + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule instance + */ + ResDeleteShootingSchedule.create = function create(properties) { + return new ResDeleteShootingSchedule(properties); + }; + + /** + * Encodes the specified ResDeleteShootingSchedule message. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeleteShootingSchedule message. + * @function verify + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + */ + ResDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeleteShootingSchedule) return object; + var message = new $root.ResDeleteShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {ResDeleteShootingSchedule} message ResDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ResDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeleteShootingSchedule + * @function getTypeUrl + * @memberof ResDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeleteShootingSchedule"; + }; + + return ResDeleteShootingSchedule; +})(); + +$root.ReqSetTime = (function () { + /** + * Properties of a ReqSetTime. + * @exports IReqSetTime + * @interface IReqSetTime + * @property {number|Long|null} [timestamp] ReqSetTime timestamp + * @property {number|null} [timezoneOffset] ReqSetTime timezoneOffset + */ + + /** + * Constructs a new ReqSetTime. + * @exports ReqSetTime + * @classdesc Represents a ReqSetTime. + * @implements IReqSetTime + * @constructor + * @param {IReqSetTime=} [properties] Properties to set + */ + function ReqSetTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetTime timestamp. + * @member {number|Long} timestamp + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timestamp = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ReqSetTime timezoneOffset. + * @member {number} timezoneOffset + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timezoneOffset = 0; + + /** + * Creates a new ReqSetTime instance using the specified properties. + * @function create + * @memberof ReqSetTime + * @static + * @param {IReqSetTime=} [properties] Properties to set + * @returns {ReqSetTime} ReqSetTime instance + */ + ReqSetTime.create = function create(properties) { + return new ReqSetTime(properties); + }; + + /** + * Encodes the specified ReqSetTime message. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encode + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.timestamp != null && + Object.hasOwnProperty.call(message, "timestamp") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.timestamp); + if ( + message.timezoneOffset != null && + Object.hasOwnProperty.call(message, "timezoneOffset") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.timezoneOffset); + return writer; + }; + + /** + * Encodes the specified ReqSetTime message, length delimited. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timestamp = reader.uint64(); + break; + } + case 2: { + message.timezoneOffset = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetTime message. + * @function verify + * @memberof ReqSetTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if ( + !$util.isInteger(message.timestamp) && + !( + message.timestamp && + $util.isInteger(message.timestamp.low) && + $util.isInteger(message.timestamp.high) + ) + ) + return "timestamp: integer|Long expected"; + if ( + message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset") + ) + if (typeof message.timezoneOffset !== "number") + return "timezoneOffset: number expected"; + return null; + }; + + /** + * Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTime + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTime} ReqSetTime + */ + ReqSetTime.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTime) return object; + var message = new $root.ReqSetTime(); + if (object.timestamp != null) + if ($util.Long) + (message.timestamp = $util.Long.fromValue( + object.timestamp + )).unsigned = true; + else if (typeof object.timestamp === "string") + message.timestamp = parseInt(object.timestamp, 10); + else if (typeof object.timestamp === "number") + message.timestamp = object.timestamp; + else if (typeof object.timestamp === "object") + message.timestamp = new $util.LongBits( + object.timestamp.low >>> 0, + object.timestamp.high >>> 0 + ).toNumber(true); + if (object.timezoneOffset != null) + message.timezoneOffset = Number(object.timezoneOffset); + return message; + }; + + /** + * Creates a plain object from a ReqSetTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTime + * @static + * @param {ReqSetTime} message ReqSetTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.timestamp = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.timestamp = options.longs === String ? "0" : 0; + object.timezoneOffset = 0; + } + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if (typeof message.timestamp === "number") + object.timestamp = + options.longs === String + ? String(message.timestamp) + : message.timestamp; + else + object.timestamp = + options.longs === String + ? $util.Long.prototype.toString.call(message.timestamp) + : options.longs === Number + ? new $util.LongBits( + message.timestamp.low >>> 0, + message.timestamp.high >>> 0 + ).toNumber(true) + : message.timestamp; + if ( + message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset") + ) + object.timezoneOffset = + options.json && !isFinite(message.timezoneOffset) + ? String(message.timezoneOffset) + : message.timezoneOffset; + return object; + }; + + /** + * Converts this ReqSetTime to JSON. + * @function toJSON + * @memberof ReqSetTime + * @instance + * @returns {Object.} JSON object + */ + ReqSetTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetTime + * @function getTypeUrl + * @memberof ReqSetTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTime"; + }; + + return ReqSetTime; +})(); + +$root.ReqSetTimezone = (function () { + /** + * Properties of a ReqSetTimezone. + * @exports IReqSetTimezone + * @interface IReqSetTimezone + * @property {string|null} [timezone] ReqSetTimezone timezone + */ + + /** + * Constructs a new ReqSetTimezone. + * @exports ReqSetTimezone + * @classdesc Represents a ReqSetTimezone. + * @implements IReqSetTimezone + * @constructor + * @param {IReqSetTimezone=} [properties] Properties to set + */ + function ReqSetTimezone(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetTimezone timezone. + * @member {string} timezone + * @memberof ReqSetTimezone + * @instance + */ + ReqSetTimezone.prototype.timezone = ""; + + /** + * Creates a new ReqSetTimezone instance using the specified properties. + * @function create + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone=} [properties] Properties to set + * @returns {ReqSetTimezone} ReqSetTimezone instance + */ + ReqSetTimezone.create = function create(properties) { + return new ReqSetTimezone(properties); + }; + + /** + * Encodes the specified ReqSetTimezone message. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encode + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.timezone != null && + Object.hasOwnProperty.call(message, "timezone") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.timezone); + return writer; + }; + + /** + * Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetTimezone(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timezone = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetTimezone message. + * @function verify + * @memberof ReqSetTimezone + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTimezone.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timezone != null && message.hasOwnProperty("timezone")) + if (!$util.isString(message.timezone)) return "timezone: string expected"; + return null; + }; + + /** + * Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTimezone + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTimezone} ReqSetTimezone + */ + ReqSetTimezone.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTimezone) return object; + var message = new $root.ReqSetTimezone(); + if (object.timezone != null) message.timezone = String(object.timezone); + return message; + }; + + /** + * Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTimezone + * @static + * @param {ReqSetTimezone} message ReqSetTimezone + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTimezone.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.timezone = ""; + if (message.timezone != null && message.hasOwnProperty("timezone")) + object.timezone = message.timezone; + return object; + }; + + /** + * Converts this ReqSetTimezone to JSON. + * @function toJSON + * @memberof ReqSetTimezone + * @instance + * @returns {Object.} JSON object + */ + ReqSetTimezone.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetTimezone + * @function getTypeUrl + * @memberof ReqSetTimezone + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTimezone.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTimezone"; + }; + + return ReqSetTimezone; +})(); + +$root.ReqSetMtpMode = (function () { + /** + * Properties of a ReqSetMtpMode. + * @exports IReqSetMtpMode + * @interface IReqSetMtpMode + * @property {number|null} [mode] ReqSetMtpMode mode + */ + + /** + * Constructs a new ReqSetMtpMode. + * @exports ReqSetMtpMode + * @classdesc Represents a ReqSetMtpMode. + * @implements IReqSetMtpMode + * @constructor + * @param {IReqSetMtpMode=} [properties] Properties to set + */ + function ReqSetMtpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetMtpMode mode. + * @member {number} mode + * @memberof ReqSetMtpMode + * @instance + */ + ReqSetMtpMode.prototype.mode = 0; + + /** + * Creates a new ReqSetMtpMode instance using the specified properties. + * @function create + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode=} [properties] Properties to set + * @returns {ReqSetMtpMode} ReqSetMtpMode instance + */ + ReqSetMtpMode.create = function create(properties) { + return new ReqSetMtpMode(properties); + }; + + /** + * Encodes the specified ReqSetMtpMode message. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetMtpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetMtpMode message. + * @function verify + * @memberof ReqSetMtpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetMtpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetMtpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetMtpMode} ReqSetMtpMode + */ + ReqSetMtpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetMtpMode) return object; + var message = new $root.ReqSetMtpMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetMtpMode + * @static + * @param {ReqSetMtpMode} message ReqSetMtpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetMtpMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetMtpMode to JSON. + * @function toJSON + * @memberof ReqSetMtpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetMtpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetMtpMode + * @function getTypeUrl + * @memberof ReqSetMtpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetMtpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetMtpMode"; + }; + + return ReqSetMtpMode; +})(); + +$root.ReqSetCpuMode = (function () { + /** + * Properties of a ReqSetCpuMode. + * @exports IReqSetCpuMode + * @interface IReqSetCpuMode + * @property {number|null} [mode] ReqSetCpuMode mode + */ + + /** + * Constructs a new ReqSetCpuMode. + * @exports ReqSetCpuMode + * @classdesc Represents a ReqSetCpuMode. + * @implements IReqSetCpuMode + * @constructor + * @param {IReqSetCpuMode=} [properties] Properties to set + */ + function ReqSetCpuMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetCpuMode mode. + * @member {number} mode + * @memberof ReqSetCpuMode + * @instance + */ + ReqSetCpuMode.prototype.mode = 0; + + /** + * Creates a new ReqSetCpuMode instance using the specified properties. + * @function create + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode=} [properties] Properties to set + * @returns {ReqSetCpuMode} ReqSetCpuMode instance + */ + ReqSetCpuMode.create = function create(properties) { + return new ReqSetCpuMode(properties); + }; + + /** + * Encodes the specified ReqSetCpuMode message. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encode + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetCpuMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetCpuMode message. + * @function verify + * @memberof ReqSetCpuMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetCpuMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetCpuMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetCpuMode} ReqSetCpuMode + */ + ReqSetCpuMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetCpuMode) return object; + var message = new $root.ReqSetCpuMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetCpuMode + * @static + * @param {ReqSetCpuMode} message ReqSetCpuMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetCpuMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetCpuMode to JSON. + * @function toJSON + * @memberof ReqSetCpuMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetCpuMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetCpuMode + * @function getTypeUrl + * @memberof ReqSetCpuMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetCpuMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetCpuMode"; + }; + + return ReqSetCpuMode; +})(); + +$root.ReqsetMasterLock = (function () { + /** + * Properties of a ReqsetMasterLock. + * @exports IReqsetMasterLock + * @interface IReqsetMasterLock + * @property {boolean|null} [lock] ReqsetMasterLock lock + */ + + /** + * Constructs a new ReqsetMasterLock. + * @exports ReqsetMasterLock + * @classdesc Represents a ReqsetMasterLock. + * @implements IReqsetMasterLock + * @constructor + * @param {IReqsetMasterLock=} [properties] Properties to set + */ + function ReqsetMasterLock(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqsetMasterLock lock. + * @member {boolean} lock + * @memberof ReqsetMasterLock + * @instance + */ + ReqsetMasterLock.prototype.lock = false; + + /** + * Creates a new ReqsetMasterLock instance using the specified properties. + * @function create + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock=} [properties] Properties to set + * @returns {ReqsetMasterLock} ReqsetMasterLock instance + */ + ReqsetMasterLock.create = function create(properties) { + return new ReqsetMasterLock(properties); + }; + + /** + * Encodes the specified ReqsetMasterLock message. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encode + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.lock); + return writer; + }; + + /** + * Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer. + * @function decode + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqsetMasterLock(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqsetMasterLock message. + * @function verify + * @memberof ReqsetMasterLock + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqsetMasterLock.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") return "lock: boolean expected"; + return null; + }; + + /** + * Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqsetMasterLock + * @static + * @param {Object.} object Plain object + * @returns {ReqsetMasterLock} ReqsetMasterLock + */ + ReqsetMasterLock.fromObject = function fromObject(object) { + if (object instanceof $root.ReqsetMasterLock) return object; + var message = new $root.ReqsetMasterLock(); + if (object.lock != null) message.lock = Boolean(object.lock); + return message; + }; + + /** + * Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqsetMasterLock + * @static + * @param {ReqsetMasterLock} message ReqsetMasterLock + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqsetMasterLock.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.lock = false; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + + /** + * Converts this ReqsetMasterLock to JSON. + * @function toJSON + * @memberof ReqsetMasterLock + * @instance + * @returns {Object.} JSON object + */ + ReqsetMasterLock.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqsetMasterLock + * @function getTypeUrl + * @memberof ReqsetMasterLock + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqsetMasterLock.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqsetMasterLock"; + }; + + return ReqsetMasterLock; +})(); + +$root.ReqGetDeviceActivateInfo = (function () { + /** + * Properties of a ReqGetDeviceActivateInfo. + * @exports IReqGetDeviceActivateInfo + * @interface IReqGetDeviceActivateInfo + * @property {number|null} [issuer] ReqGetDeviceActivateInfo issuer + */ + + /** + * Constructs a new ReqGetDeviceActivateInfo. + * @exports ReqGetDeviceActivateInfo + * @classdesc Represents a ReqGetDeviceActivateInfo. + * @implements IReqGetDeviceActivateInfo + * @constructor + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + */ + function ReqGetDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetDeviceActivateInfo issuer. + * @member {number} issuer + * @memberof ReqGetDeviceActivateInfo + * @instance + */ + ReqGetDeviceActivateInfo.prototype.issuer = 0; + + /** + * Creates a new ReqGetDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo instance + */ + ReqGetDeviceActivateInfo.create = function create(properties) { + return new ReqGetDeviceActivateInfo(properties); + }; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.issuer); + return writer; + }; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.issuer = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetDeviceActivateInfo message. + * @function verify + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.issuer != null && message.hasOwnProperty("issuer")) + if (!$util.isInteger(message.issuer)) return "issuer: integer expected"; + return null; + }; + + /** + * Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + */ + ReqGetDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDeviceActivateInfo) return object; + var message = new $root.ReqGetDeviceActivateInfo(); + if (object.issuer != null) message.issuer = object.issuer | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {ReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.issuer = 0; + if (message.issuer != null && message.hasOwnProperty("issuer")) + object.issuer = message.issuer; + return object; + }; + + /** + * Converts this ReqGetDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ReqGetDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetDeviceActivateInfo + * @function getTypeUrl + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDeviceActivateInfo"; + }; + + return ReqGetDeviceActivateInfo; +})(); + +$root.ResDeviceActivateInfo = (function () { + /** + * Properties of a ResDeviceActivateInfo. + * @exports IResDeviceActivateInfo + * @interface IResDeviceActivateInfo + * @property {number|null} [activateState] ResDeviceActivateInfo activateState + * @property {number|null} [activateProcessState] ResDeviceActivateInfo activateProcessState + * @property {string|null} [requestParam] ResDeviceActivateInfo requestParam + */ + + /** + * Constructs a new ResDeviceActivateInfo. + * @exports ResDeviceActivateInfo + * @classdesc Represents a ResDeviceActivateInfo. + * @implements IResDeviceActivateInfo + * @constructor + * @param {IResDeviceActivateInfo=} [properties] Properties to set + */ + function ResDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateInfo activateState. + * @member {number} activateState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateState = 0; + + /** + * ResDeviceActivateInfo activateProcessState. + * @member {number} activateProcessState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateProcessState = 0; + + /** + * ResDeviceActivateInfo requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.requestParam = ""; + + /** + * Creates a new ResDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo=} [properties] Properties to set + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo instance + */ + ResDeviceActivateInfo.create = function create(properties) { + return new ResDeviceActivateInfo(properties); + }; + + /** + * Encodes the specified ResDeviceActivateInfo message. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.activateState); + if ( + message.activateProcessState != null && + Object.hasOwnProperty.call(message, "activateProcessState") + ) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.activateProcessState); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.activateState = reader.int32(); + break; + } + case 2: { + message.activateProcessState = reader.int32(); + break; + } + case 3: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateInfo message. + * @function verify + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + if ( + message.activateProcessState != null && + message.hasOwnProperty("activateProcessState") + ) + if (!$util.isInteger(message.activateProcessState)) + return "activateProcessState: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + */ + ResDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateInfo) return object; + var message = new $root.ResDeviceActivateInfo(); + if (object.activateState != null) + message.activateState = object.activateState | 0; + if (object.activateProcessState != null) + message.activateProcessState = object.activateProcessState | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateInfo + * @static + * @param {ResDeviceActivateInfo} message ResDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.activateState = 0; + object.activateProcessState = 0; + object.requestParam = ""; + } + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + if ( + message.activateProcessState != null && + message.hasOwnProperty("activateProcessState") + ) + object.activateProcessState = message.activateProcessState; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ResDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ResDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateInfo + * @function getTypeUrl + * @memberof ResDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateInfo"; + }; + + return ResDeviceActivateInfo; +})(); + +$root.ReqDeviceActivateWriteFile = (function () { + /** + * Properties of a ReqDeviceActivateWriteFile. + * @exports IReqDeviceActivateWriteFile + * @interface IReqDeviceActivateWriteFile + * @property {string|null} [requestParam] ReqDeviceActivateWriteFile requestParam + */ + + /** + * Constructs a new ReqDeviceActivateWriteFile. + * @exports ReqDeviceActivateWriteFile + * @classdesc Represents a ReqDeviceActivateWriteFile. + * @implements IReqDeviceActivateWriteFile + * @constructor + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + */ + function ReqDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateWriteFile + * @instance + */ + ReqDeviceActivateWriteFile.prototype.requestParam = ""; + + /** + * Creates a new ReqDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile instance + */ + ReqDeviceActivateWriteFile.create = function create(properties) { + return new ReqDeviceActivateWriteFile(properties); + }; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeviceActivateWriteFile message. + * @function verify + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + */ + ReqDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateWriteFile) return object; + var message = new $root.ReqDeviceActivateWriteFile(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {ReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ReqDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateWriteFile"; + }; + + return ReqDeviceActivateWriteFile; +})(); + +$root.ResDeviceActivateWriteFile = (function () { + /** + * Properties of a ResDeviceActivateWriteFile. + * @exports IResDeviceActivateWriteFile + * @interface IResDeviceActivateWriteFile + * @property {number|null} [code] ResDeviceActivateWriteFile code + * @property {string|null} [requestParam] ResDeviceActivateWriteFile requestParam + */ + + /** + * Constructs a new ResDeviceActivateWriteFile. + * @exports ResDeviceActivateWriteFile + * @classdesc Represents a ResDeviceActivateWriteFile. + * @implements IResDeviceActivateWriteFile + * @constructor + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + */ + function ResDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateWriteFile code. + * @member {number} code + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.code = 0; + + /** + * ResDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.requestParam = ""; + + /** + * Creates a new ResDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile instance + */ + ResDeviceActivateWriteFile.create = function create(properties) { + return new ResDeviceActivateWriteFile(properties); + }; + + /** + * Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateWriteFile message. + * @function verify + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + */ + ResDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateWriteFile) return object; + var message = new $root.ResDeviceActivateWriteFile(); + if (object.code != null) message.code = object.code | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {ResDeviceActivateWriteFile} message ResDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.requestParam = ""; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ResDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ResDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ResDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateWriteFile"; + }; + + return ResDeviceActivateWriteFile; +})(); + +$root.ReqDeviceActivateSuccessfull = (function () { + /** + * Properties of a ReqDeviceActivateSuccessfull. + * @exports IReqDeviceActivateSuccessfull + * @interface IReqDeviceActivateSuccessfull + * @property {string|null} [requestParam] ReqDeviceActivateSuccessfull requestParam + */ + + /** + * Constructs a new ReqDeviceActivateSuccessfull. + * @exports ReqDeviceActivateSuccessfull + * @classdesc Represents a ReqDeviceActivateSuccessfull. + * @implements IReqDeviceActivateSuccessfull + * @constructor + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ReqDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeviceActivateSuccessfull requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateSuccessfull + * @instance + */ + ReqDeviceActivateSuccessfull.prototype.requestParam = ""; + + /** + * Creates a new ReqDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull instance + */ + ReqDeviceActivateSuccessfull.create = function create(properties) { + return new ReqDeviceActivateSuccessfull(properties); + }; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeviceActivateSuccessfull message. + * @function verify + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + */ + ReqDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateSuccessfull) return object; + var message = new $root.ReqDeviceActivateSuccessfull(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {ReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ReqDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateSuccessfull"; + }; + + return ReqDeviceActivateSuccessfull; +})(); + +$root.ResDeviceActivateSuccessfull = (function () { + /** + * Properties of a ResDeviceActivateSuccessfull. + * @exports IResDeviceActivateSuccessfull + * @interface IResDeviceActivateSuccessfull + * @property {number|null} [code] ResDeviceActivateSuccessfull code + * @property {number|null} [activateState] ResDeviceActivateSuccessfull activateState + */ + + /** + * Constructs a new ResDeviceActivateSuccessfull. + * @exports ResDeviceActivateSuccessfull + * @classdesc Represents a ResDeviceActivateSuccessfull. + * @implements IResDeviceActivateSuccessfull + * @constructor + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ResDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateSuccessfull code. + * @member {number} code + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.code = 0; + + /** + * ResDeviceActivateSuccessfull activateState. + * @member {number} activateState + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.activateState = 0; + + /** + * Creates a new ResDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull instance + */ + ResDeviceActivateSuccessfull.create = function create(properties) { + return new ResDeviceActivateSuccessfull(properties); + }; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateSuccessfull message. + * @function verify + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + */ + ResDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateSuccessfull) return object; + var message = new $root.ResDeviceActivateSuccessfull(); + if (object.code != null) message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {ResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + return object; + }; + + /** + * Converts this ResDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ResDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateSuccessfull"; + }; + + return ResDeviceActivateSuccessfull; +})(); + +$root.ReqDisableDeviceActivate = (function () { + /** + * Properties of a ReqDisableDeviceActivate. + * @exports IReqDisableDeviceActivate + * @interface IReqDisableDeviceActivate + * @property {string|null} [requestParam] ReqDisableDeviceActivate requestParam + */ + + /** + * Constructs a new ReqDisableDeviceActivate. + * @exports ReqDisableDeviceActivate + * @classdesc Represents a ReqDisableDeviceActivate. + * @implements IReqDisableDeviceActivate + * @constructor + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + */ + function ReqDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDisableDeviceActivate requestParam. + * @member {string} requestParam + * @memberof ReqDisableDeviceActivate + * @instance + */ + ReqDisableDeviceActivate.prototype.requestParam = ""; + + /** + * Creates a new ReqDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate instance + */ + ReqDisableDeviceActivate.create = function create(properties) { + return new ReqDisableDeviceActivate(properties); + }; + + /** + * Encodes the specified ReqDisableDeviceActivate message. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDisableDeviceActivate message. + * @function verify + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + */ + ReqDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableDeviceActivate) return object; + var message = new $root.ReqDisableDeviceActivate(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {ReqDisableDeviceActivate} message ReqDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ReqDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ReqDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDisableDeviceActivate + * @function getTypeUrl + * @memberof ReqDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableDeviceActivate"; + }; + + return ReqDisableDeviceActivate; +})(); + +$root.ResDisableDeviceActivate = (function () { + /** + * Properties of a ResDisableDeviceActivate. + * @exports IResDisableDeviceActivate + * @interface IResDisableDeviceActivate + * @property {number|null} [code] ResDisableDeviceActivate code + * @property {number|null} [activateState] ResDisableDeviceActivate activateState + */ + + /** + * Constructs a new ResDisableDeviceActivate. + * @exports ResDisableDeviceActivate + * @classdesc Represents a ResDisableDeviceActivate. + * @implements IResDisableDeviceActivate + * @constructor + * @param {IResDisableDeviceActivate=} [properties] Properties to set + */ + function ResDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDisableDeviceActivate code. + * @member {number} code + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.code = 0; + + /** + * ResDisableDeviceActivate activateState. + * @member {number} activateState + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.activateState = 0; + + /** + * Creates a new ResDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate=} [properties] Properties to set + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate instance + */ + ResDisableDeviceActivate.create = function create(properties) { + return new ResDisableDeviceActivate(properties); + }; + + /** + * Encodes the specified ResDisableDeviceActivate message. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + + /** + * Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDisableDeviceActivate message. + * @function verify + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + + /** + * Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + */ + ResDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ResDisableDeviceActivate) return object; + var message = new $root.ResDisableDeviceActivate(); + if (object.code != null) message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + + /** + * Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDisableDeviceActivate + * @static + * @param {ResDisableDeviceActivate} message ResDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + return object; + }; + + /** + * Converts this ResDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ResDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ResDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDisableDeviceActivate + * @function getTypeUrl + * @memberof ResDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDisableDeviceActivate"; + }; + + return ResDisableDeviceActivate; +})(); + +$root.ReqStartTrack = (function () { + /** + * Properties of a ReqStartTrack. + * @exports IReqStartTrack + * @interface IReqStartTrack + * @property {number|null} [x] ReqStartTrack x + * @property {number|null} [y] ReqStartTrack y + * @property {number|null} [w] ReqStartTrack w + * @property {number|null} [h] ReqStartTrack h + */ + + /** + * Constructs a new ReqStartTrack. + * @exports ReqStartTrack + * @classdesc Represents a ReqStartTrack. + * @implements IReqStartTrack + * @constructor + * @param {IReqStartTrack=} [properties] Properties to set + */ + function ReqStartTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartTrack x. + * @member {number} x + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.x = 0; + + /** + * ReqStartTrack y. + * @member {number} y + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.y = 0; + + /** + * ReqStartTrack w. + * @member {number} w + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.w = 0; + + /** + * ReqStartTrack h. + * @member {number} h + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.h = 0; + + /** + * Creates a new ReqStartTrack instance using the specified properties. + * @function create + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack=} [properties] Properties to set + * @returns {ReqStartTrack} ReqStartTrack instance + */ + ReqStartTrack.create = function create(properties) { + return new ReqStartTrack(properties); + }; + + /** + * Encodes the specified ReqStartTrack message. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encode + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + + /** + * Encodes the specified ReqStartTrack message, length delimited. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartTrack message. + * @function verify + * @memberof ReqStartTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) return "h: integer expected"; + return null; + }; + + /** + * Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTrack} ReqStartTrack + */ + ReqStartTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTrack) return object; + var message = new $root.ReqStartTrack(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + if (object.w != null) message.w = object.w | 0; + if (object.h != null) message.h = object.h | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTrack + * @static + * @param {ReqStartTrack} message ReqStartTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTrack.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) object.h = message.h; + return object; + }; + + /** + * Converts this ReqStartTrack to JSON. + * @function toJSON + * @memberof ReqStartTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStartTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartTrack + * @function getTypeUrl + * @memberof ReqStartTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTrack"; + }; + + return ReqStartTrack; +})(); + +$root.ReqStopTrack = (function () { + /** + * Properties of a ReqStopTrack. + * @exports IReqStopTrack + * @interface IReqStopTrack + */ + + /** + * Constructs a new ReqStopTrack. + * @exports ReqStopTrack + * @classdesc Represents a ReqStopTrack. + * @implements IReqStopTrack + * @constructor + * @param {IReqStopTrack=} [properties] Properties to set + */ + function ReqStopTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTrack instance using the specified properties. + * @function create + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack=} [properties] Properties to set + * @returns {ReqStopTrack} ReqStopTrack instance + */ + ReqStopTrack.create = function create(properties) { + return new ReqStopTrack(properties); + }; + + /** + * Encodes the specified ReqStopTrack message. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encode + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTrack message, length delimited. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTrack message. + * @function verify + * @memberof ReqStopTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrack} ReqStopTrack + */ + ReqStopTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrack) return object; + return new $root.ReqStopTrack(); + }; + + /** + * Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrack + * @static + * @param {ReqStopTrack} message ReqStopTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTrack to JSON. + * @function toJSON + * @memberof ReqStopTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTrack + * @function getTypeUrl + * @memberof ReqStopTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrack"; + }; + + return ReqStopTrack; +})(); + +$root.ReqPauseTrack = (function () { + /** + * Properties of a ReqPauseTrack. + * @exports IReqPauseTrack + * @interface IReqPauseTrack + */ + + /** + * Constructs a new ReqPauseTrack. + * @exports ReqPauseTrack + * @classdesc Represents a ReqPauseTrack. + * @implements IReqPauseTrack + * @constructor + * @param {IReqPauseTrack=} [properties] Properties to set + */ + function ReqPauseTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPauseTrack instance using the specified properties. + * @function create + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack=} [properties] Properties to set + * @returns {ReqPauseTrack} ReqPauseTrack instance + */ + ReqPauseTrack.create = function create(properties) { + return new ReqPauseTrack(properties); + }; + + /** + * Encodes the specified ReqPauseTrack message. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encode + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPauseTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPauseTrack message. + * @function verify + * @memberof ReqPauseTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPauseTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPauseTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqPauseTrack} ReqPauseTrack + */ + ReqPauseTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPauseTrack) return object; + return new $root.ReqPauseTrack(); + }; + + /** + * Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPauseTrack + * @static + * @param {ReqPauseTrack} message ReqPauseTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPauseTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPauseTrack to JSON. + * @function toJSON + * @memberof ReqPauseTrack + * @instance + * @returns {Object.} JSON object + */ + ReqPauseTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPauseTrack + * @function getTypeUrl + * @memberof ReqPauseTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPauseTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPauseTrack"; + }; + + return ReqPauseTrack; +})(); + +$root.ReqContinueTrack = (function () { + /** + * Properties of a ReqContinueTrack. + * @exports IReqContinueTrack + * @interface IReqContinueTrack + */ + + /** + * Constructs a new ReqContinueTrack. + * @exports ReqContinueTrack + * @classdesc Represents a ReqContinueTrack. + * @implements IReqContinueTrack + * @constructor + * @param {IReqContinueTrack=} [properties] Properties to set + */ + function ReqContinueTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqContinueTrack instance using the specified properties. + * @function create + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack=} [properties] Properties to set + * @returns {ReqContinueTrack} ReqContinueTrack instance + */ + ReqContinueTrack.create = function create(properties) { + return new ReqContinueTrack(properties); + }; + + /** + * Encodes the specified ReqContinueTrack message. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encode + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqContinueTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqContinueTrack message. + * @function verify + * @memberof ReqContinueTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqContinueTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqContinueTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqContinueTrack} ReqContinueTrack + */ + ReqContinueTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqContinueTrack) return object; + return new $root.ReqContinueTrack(); + }; + + /** + * Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqContinueTrack + * @static + * @param {ReqContinueTrack} message ReqContinueTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqContinueTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqContinueTrack to JSON. + * @function toJSON + * @memberof ReqContinueTrack + * @instance + * @returns {Object.} JSON object + */ + ReqContinueTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqContinueTrack + * @function getTypeUrl + * @memberof ReqContinueTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqContinueTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqContinueTrack"; + }; + + return ReqContinueTrack; +})(); + +$root.ReqStartSentryMode = (function () { + /** + * Properties of a ReqStartSentryMode. + * @exports IReqStartSentryMode + * @interface IReqStartSentryMode + * @property {number|null} [mode] ReqStartSentryMode mode + */ + + /** + * Constructs a new ReqStartSentryMode. + * @exports ReqStartSentryMode + * @classdesc Represents a ReqStartSentryMode. + * @implements IReqStartSentryMode + * @constructor + * @param {IReqStartSentryMode=} [properties] Properties to set + */ + function ReqStartSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartSentryMode mode. + * @member {number} mode + * @memberof ReqStartSentryMode + * @instance + */ + ReqStartSentryMode.prototype.mode = 0; + + /** + * Creates a new ReqStartSentryMode instance using the specified properties. + * @function create + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode=} [properties] Properties to set + * @returns {ReqStartSentryMode} ReqStartSentryMode instance + */ + ReqStartSentryMode.create = function create(properties) { + return new ReqStartSentryMode(properties); + }; + + /** + * Encodes the specified ReqStartSentryMode message. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartSentryMode message. + * @function verify + * @memberof ReqStartSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStartSentryMode} ReqStartSentryMode + */ + ReqStartSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartSentryMode) return object; + var message = new $root.ReqStartSentryMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartSentryMode + * @static + * @param {ReqStartSentryMode} message ReqStartSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartSentryMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqStartSentryMode to JSON. + * @function toJSON + * @memberof ReqStartSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStartSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartSentryMode + * @function getTypeUrl + * @memberof ReqStartSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartSentryMode"; + }; + + return ReqStartSentryMode; +})(); + +$root.ReqStopSentryMode = (function () { + /** + * Properties of a ReqStopSentryMode. + * @exports IReqStopSentryMode + * @interface IReqStopSentryMode + */ + + /** + * Constructs a new ReqStopSentryMode. + * @exports ReqStopSentryMode + * @classdesc Represents a ReqStopSentryMode. + * @implements IReqStopSentryMode + * @constructor + * @param {IReqStopSentryMode=} [properties] Properties to set + */ + function ReqStopSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopSentryMode instance using the specified properties. + * @function create + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode=} [properties] Properties to set + * @returns {ReqStopSentryMode} ReqStopSentryMode instance + */ + ReqStopSentryMode.create = function create(properties) { + return new ReqStopSentryMode(properties); + }; + + /** + * Encodes the specified ReqStopSentryMode message. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopSentryMode message. + * @function verify + * @memberof ReqStopSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStopSentryMode} ReqStopSentryMode + */ + ReqStopSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopSentryMode) return object; + return new $root.ReqStopSentryMode(); + }; + + /** + * Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopSentryMode + * @static + * @param {ReqStopSentryMode} message ReqStopSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopSentryMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopSentryMode to JSON. + * @function toJSON + * @memberof ReqStopSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStopSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopSentryMode + * @function getTypeUrl + * @memberof ReqStopSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopSentryMode"; + }; + + return ReqStopSentryMode; +})(); + +$root.ReqMOTTrack = (function () { + /** + * Properties of a ReqMOTTrack. + * @exports IReqMOTTrack + * @interface IReqMOTTrack + */ + + /** + * Constructs a new ReqMOTTrack. + * @exports ReqMOTTrack + * @classdesc Represents a ReqMOTTrack. + * @implements IReqMOTTrack + * @constructor + * @param {IReqMOTTrack=} [properties] Properties to set + */ + function ReqMOTTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqMOTTrack instance using the specified properties. + * @function create + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack=} [properties] Properties to set + * @returns {ReqMOTTrack} ReqMOTTrack instance + */ + ReqMOTTrack.create = function create(properties) { + return new ReqMOTTrack(properties); + }; + + /** + * Encodes the specified ReqMOTTrack message. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMOTTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMOTTrack message. + * @function verify + * @memberof ReqMOTTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrack} ReqMOTTrack + */ + ReqMOTTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrack) return object; + return new $root.ReqMOTTrack(); + }; + + /** + * Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrack + * @static + * @param {ReqMOTTrack} message ReqMOTTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqMOTTrack to JSON. + * @function toJSON + * @memberof ReqMOTTrack + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMOTTrack + * @function getTypeUrl + * @memberof ReqMOTTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrack"; + }; + + return ReqMOTTrack; +})(); + +$root.ReqMOTTrackOne = (function () { + /** + * Properties of a ReqMOTTrackOne. + * @exports IReqMOTTrackOne + * @interface IReqMOTTrackOne + * @property {number|null} [id] ReqMOTTrackOne id + */ + + /** + * Constructs a new ReqMOTTrackOne. + * @exports ReqMOTTrackOne + * @classdesc Represents a ReqMOTTrackOne. + * @implements IReqMOTTrackOne + * @constructor + * @param {IReqMOTTrackOne=} [properties] Properties to set + */ + function ReqMOTTrackOne(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMOTTrackOne id. + * @member {number} id + * @memberof ReqMOTTrackOne + * @instance + */ + ReqMOTTrackOne.prototype.id = 0; + + /** + * Creates a new ReqMOTTrackOne instance using the specified properties. + * @function create + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne=} [properties] Properties to set + * @returns {ReqMOTTrackOne} ReqMOTTrackOne instance + */ + ReqMOTTrackOne.create = function create(properties) { + return new ReqMOTTrackOne(properties); + }; + + /** + * Encodes the specified ReqMOTTrackOne message. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMOTTrackOne(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMOTTrackOne message. + * @function verify + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrackOne.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + */ + ReqMOTTrackOne.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrackOne) return object; + var message = new $root.ReqMOTTrackOne(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrackOne + * @static + * @param {ReqMOTTrackOne} message ReqMOTTrackOne + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrackOne.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMOTTrackOne to JSON. + * @function toJSON + * @memberof ReqMOTTrackOne + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrackOne.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMOTTrackOne + * @function getTypeUrl + * @memberof ReqMOTTrackOne + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrackOne.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrackOne"; + }; + + return ReqMOTTrackOne; +})(); + +export default $root; diff --git a/docs/ComResWithDouble.html b/docs/ComResWithDouble.html new file mode 100644 index 00000000..67ab4071 --- /dev/null +++ b/docs/ComResWithDouble.html @@ -0,0 +1,2290 @@ + + + + + + ComResWithDouble - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ComResWithDouble

+ + + + + + + +
+ +
+ +

+ + ComResWithDouble + +

+ +
Represents a ComResWithDouble.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ComResWithDouble(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ComResWithDouble.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IComResWithDouble
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithDouble + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ComResWithDouble code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithDouble code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

value :number

+ + + + + +
+ +
Description:
+
  • ComResWithDouble value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithDouble value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ComResWithDouble to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ComResWithDouble}

+ + + + + + +
+ +
Description:
+
  • Creates a new ComResWithDouble instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithDouble + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithDouble instance +
+ + + +
+
+ Type +
+
+ +ComResWithDouble + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ComResWithDouble}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithDouble message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithDouble +
+ + + +
+
+ Type +
+
+ +ComResWithDouble + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ComResWithDouble}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithDouble message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithDouble +
+ + + +
+
+ Type +
+
+ +ComResWithDouble + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithDouble message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithDouble + + + + + + + + + + + ComResWithDouble message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithDouble message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithDouble + + + + + + + + + + + ComResWithDouble message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ComResWithDouble}

+ + + + + + +
+ +
Description:
+
  • Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithDouble +
+ + + +
+
+ Type +
+
+ +ComResWithDouble + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ComResWithDouble
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ComResWithDouble + + + + + + + + + + + ComResWithDouble
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ComResWithDouble message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ComResWithInt.html b/docs/ComResWithInt.html new file mode 100644 index 00000000..64f527cd --- /dev/null +++ b/docs/ComResWithInt.html @@ -0,0 +1,2290 @@ + + + + + + ComResWithInt - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ComResWithInt

+ + + + + + + +
+ +
+ +

+ + ComResWithInt + +

+ +
Represents a ComResWithInt.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ComResWithInt(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ComResWithInt.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IComResWithInt
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithInt + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ComResWithInt code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithInt code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

value :number

+ + + + + +
+ +
Description:
+
  • ComResWithInt value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithInt value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ComResWithInt to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ComResWithInt}

+ + + + + + +
+ +
Description:
+
  • Creates a new ComResWithInt instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithInt + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithInt instance +
+ + + +
+
+ Type +
+
+ +ComResWithInt + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ComResWithInt}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithInt message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithInt +
+ + + +
+
+ Type +
+
+ +ComResWithInt + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ComResWithInt}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithInt message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithInt +
+ + + +
+
+ Type +
+
+ +ComResWithInt + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithInt message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithInt + + + + + + + + + + + ComResWithInt message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithInt message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithInt + + + + + + + + + + + ComResWithInt message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ComResWithInt}

+ + + + + + +
+ +
Description:
+
  • Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithInt +
+ + + +
+
+ Type +
+
+ +ComResWithInt + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ComResWithInt
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ComResWithInt message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ComResWithInt + + + + + + + + + + + ComResWithInt
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ComResWithInt message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ComResWithString.html b/docs/ComResWithString.html new file mode 100644 index 00000000..bdde03e8 --- /dev/null +++ b/docs/ComResWithString.html @@ -0,0 +1,2290 @@ + + + + + + ComResWithString - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ComResWithString

+ + + + + + + +
+ +
+ +

+ + ComResWithString + +

+ +
Represents a ComResWithString.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ComResWithString(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ComResWithString.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IComResWithString
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithString + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ComResWithString code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithString code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

str :string

+ + + + + +
+ +
Description:
+
  • ComResWithString str.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResWithString str. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ComResWithString to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ComResWithString}

+ + + + + + +
+ +
Description:
+
  • Creates a new ComResWithString instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResWithString + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithString instance +
+ + + +
+
+ Type +
+
+ +ComResWithString + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ComResWithString}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithString message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithString +
+ + + +
+
+ Type +
+
+ +ComResWithString + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ComResWithString}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResWithString message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResWithString +
+ + + +
+
+ Type +
+
+ +ComResWithString + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithString message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithString + + + + + + + + + + + ComResWithString message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResWithString message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResWithString + + + + + + + + + + + ComResWithString message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ComResWithString}

+ + + + + + +
+ +
Description:
+
  • Creates a ComResWithString message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResWithString +
+ + + +
+
+ Type +
+
+ +ComResWithString + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ComResWithString
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ComResWithString message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ComResWithString + + + + + + + + + + + ComResWithString
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ComResWithString message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ComResponse.html b/docs/ComResponse.html new file mode 100644 index 00000000..4d030094 --- /dev/null +++ b/docs/ComResponse.html @@ -0,0 +1,2212 @@ + + + + + + ComResponse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ComResponse

+ + + + + + + +
+ +
+ +

+ + ComResponse + +

+ +
Represents a ComResponse.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ComResponse(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ComResponse.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IComResponse
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResponse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ComResponse code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ComResponse code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ComResponse to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ComResponse}

+ + + + + + +
+ +
Description:
+
  • Creates a new ComResponse instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IComResponse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResponse instance +
+ + + +
+
+ Type +
+
+ +ComResponse + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ComResponse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResponse message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResponse +
+ + + +
+
+ Type +
+
+ +ComResponse + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ComResponse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ComResponse message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ComResponse +
+ + + +
+
+ Type +
+
+ +ComResponse + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResponse message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResponse + + + + + + + + + + + ComResponse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ComResponse message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IComResponse + + + + + + + + + + + ComResponse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ComResponse}

+ + + + + + +
+ +
Description:
+
  • Creates a ComResponse message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ComResponse +
+ + + +
+
+ Type +
+
+ +ComResponse + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ComResponse
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ComResponse message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ComResponse + + + + + + + + + + + ComResponse
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ComResponse message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/CommonParam.html b/docs/CommonParam.html new file mode 100644 index 00000000..c7460750 --- /dev/null +++ b/docs/CommonParam.html @@ -0,0 +1,2602 @@ + + + + + + CommonParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

CommonParam

+ + + + + + + +
+ +
+ +

+ + CommonParam + +

+ +
Represents a CommonParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new CommonParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new CommonParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • ICommonParam
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +ICommonParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

autoMode :number

+ + + + + +
+ +
Description:
+
  • CommonParam autoMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam autoMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

continueValue :number

+ + + + + +
+ +
Description:
+
  • CommonParam continueValue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam continueValue. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

hasAuto :boolean

+ + + + + +
+ +
Description:
+
  • CommonParam hasAuto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam hasAuto. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • CommonParam id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

index :number

+ + + + + +
+ +
Description:
+
  • CommonParam index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

modeIndex :number

+ + + + + +
+ +
Description:
+
  • CommonParam modeIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ CommonParam modeIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this CommonParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {CommonParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new CommonParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +ICommonParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ CommonParam instance +
+ + + +
+
+ Type +
+
+ +CommonParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {CommonParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a CommonParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ CommonParam +
+ + + +
+
+ Type +
+
+ +CommonParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {CommonParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a CommonParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ CommonParam +
+ + + +
+
+ Type +
+
+ +CommonParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified CommonParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ICommonParam + + + + + + + + + + + CommonParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified CommonParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ICommonParam + + + + + + + + + + + CommonParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {CommonParam}

+ + + + + + +
+ +
Description:
+
  • Creates a CommonParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ CommonParam +
+ + + +
+
+ Type +
+
+ +CommonParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for CommonParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a CommonParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +CommonParam + + + + + + + + + + + CommonParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a CommonParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCaptureDarkFrame.html b/docs/IReqCaptureDarkFrame.html new file mode 100644 index 00000000..2758c274 --- /dev/null +++ b/docs/IReqCaptureDarkFrame.html @@ -0,0 +1,234 @@ + + + + + + IReqCaptureDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCaptureDarkFrame

+ + + + + + + +
+ +
+ +

+ + IReqCaptureDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCaptureDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reshoot + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureDarkFrame reshoot
+ + + + + + +
Properties of a ReqCaptureDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCaptureDarkFrameWithParam.html b/docs/IReqCaptureDarkFrameWithParam.html new file mode 100644 index 00000000..0e1b2435 --- /dev/null +++ b/docs/IReqCaptureDarkFrameWithParam.html @@ -0,0 +1,339 @@ + + + + + + IReqCaptureDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCaptureDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + IReqCaptureDarkFrameWithParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCaptureDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureDarkFrameWithParam expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureDarkFrameWithParam gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureDarkFrameWithParam binIndex
capSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureDarkFrameWithParam capSize
+ + + + + + +
Properties of a ReqCaptureDarkFrameWithParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCaptureRawLiveStacking.html b/docs/IReqCaptureRawLiveStacking.html new file mode 100644 index 00000000..0947ceed --- /dev/null +++ b/docs/IReqCaptureRawLiveStacking.html @@ -0,0 +1,168 @@ + + + + + + IReqCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + IReqCaptureRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCaptureRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCaptureWideDarkFrameWithParam.html b/docs/IReqCaptureWideDarkFrameWithParam.html new file mode 100644 index 00000000..1353ff1d --- /dev/null +++ b/docs/IReqCaptureWideDarkFrameWithParam.html @@ -0,0 +1,339 @@ + + + + + + IReqCaptureWideDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCaptureWideDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + IReqCaptureWideDarkFrameWithParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCaptureWideDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureWideDarkFrameWithParam expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureWideDarkFrameWithParam gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureWideDarkFrameWithParam binIndex
capSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCaptureWideDarkFrameWithParam capSize
+ + + + + + +
Properties of a ReqCaptureWideDarkFrameWithParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCaptureWideRawLiveStacking.html b/docs/IReqCaptureWideRawLiveStacking.html new file mode 100644 index 00000000..91da72d6 --- /dev/null +++ b/docs/IReqCaptureWideRawLiveStacking.html @@ -0,0 +1,168 @@ + + + + + + IReqCaptureWideRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCaptureWideRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + IReqCaptureWideRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCaptureWideRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCaptureWideRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqCheckDarkFrame.html b/docs/IReqCheckDarkFrame.html new file mode 100644 index 00000000..c70d0d96 --- /dev/null +++ b/docs/IReqCheckDarkFrame.html @@ -0,0 +1,168 @@ + + + + + + IReqCheckDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCheckDarkFrame

+ + + + + + + +
+ +
+ +

+ + IReqCheckDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCheckDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCheckDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqDelDarkFrame.html b/docs/IReqDelDarkFrame.html new file mode 100644 index 00000000..e072261d --- /dev/null +++ b/docs/IReqDelDarkFrame.html @@ -0,0 +1,304 @@ + + + + + + IReqDelDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDelDarkFrame

+ + + + + + + +
+ +
+ +

+ + IReqDelDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDelDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelDarkFrame expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelDarkFrame gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelDarkFrame binIndex
+ + + + + + +
Properties of a ReqDelDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqDelDarkFrameList.html b/docs/IReqDelDarkFrameList.html new file mode 100644 index 00000000..dcdb8597 --- /dev/null +++ b/docs/IReqDelDarkFrameList.html @@ -0,0 +1,234 @@ + + + + + + IReqDelDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDelDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IReqDelDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDelDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
darkList + + +Array.<IReqDelDarkFrame> +| + +null + + + + + + + <optional>
+ + + +
ReqDelDarkFrameList darkList
+ + + + + + +
Properties of a ReqDelDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqDelWideDarkFrame.html b/docs/IReqDelWideDarkFrame.html new file mode 100644 index 00000000..ee7bd2a6 --- /dev/null +++ b/docs/IReqDelWideDarkFrame.html @@ -0,0 +1,304 @@ + + + + + + IReqDelWideDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDelWideDarkFrame

+ + + + + + + +
+ +
+ +

+ + IReqDelWideDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDelWideDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelWideDarkFrame expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelWideDarkFrame gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDelWideDarkFrame binIndex
+ + + + + + +
Properties of a ReqDelWideDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqDelWideDarkFrameList.html b/docs/IReqDelWideDarkFrameList.html new file mode 100644 index 00000000..1419322f --- /dev/null +++ b/docs/IReqDelWideDarkFrameList.html @@ -0,0 +1,234 @@ + + + + + + IReqDelWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDelWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IReqDelWideDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDelWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
darkList + + +Array.<IReqDelDarkFrame> +| + +null + + + + + + + <optional>
+ + + +
ReqDelWideDarkFrameList darkList
+ + + + + + +
Properties of a ReqDelWideDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqGetDarkFrameList.html b/docs/IReqGetDarkFrameList.html new file mode 100644 index 00000000..c758db34 --- /dev/null +++ b/docs/IReqGetDarkFrameList.html @@ -0,0 +1,168 @@ + + + + + + IReqGetDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IReqGetDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqGetWideDarkFrameList.html b/docs/IReqGetWideDarkFrameList.html new file mode 100644 index 00000000..a977acf2 --- /dev/null +++ b/docs/IReqGetWideDarkFrameList.html @@ -0,0 +1,168 @@ + + + + + + IReqGetWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IReqGetWideDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWideDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqGoLive.html b/docs/IReqGoLive.html new file mode 100644 index 00000000..8f1ce072 --- /dev/null +++ b/docs/IReqGoLive.html @@ -0,0 +1,168 @@ + + + + + + IReqGoLive - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGoLive

+ + + + + + + +
+ +
+ +

+ + IReqGoLive + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGoLive.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGoLive.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqGotoDSO.html b/docs/IReqGotoDSO.html new file mode 100644 index 00000000..ad4cf1b4 --- /dev/null +++ b/docs/IReqGotoDSO.html @@ -0,0 +1,304 @@ + + + + + + IReqGotoDSO - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGotoDSO

+ + + + + + + +
+ +
+ +

+ + IReqGotoDSO + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGotoDSO.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
ra + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGotoDSO ra
dec + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGotoDSO dec
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGotoDSO targetName
+ + + + + + +
Properties of a ReqGotoDSO.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqGotoSolarSystem.html b/docs/IReqGotoSolarSystem.html new file mode 100644 index 00000000..3d834939 --- /dev/null +++ b/docs/IReqGotoSolarSystem.html @@ -0,0 +1,339 @@ + + + + + + IReqGotoSolarSystem - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGotoSolarSystem

+ + + + + + + +
+ +
+ +

+ + IReqGotoSolarSystem + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGotoSolarSystem.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGotoSolarSystem index
lon + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGotoSolarSystem lon
lat + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGotoSolarSystem lat
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGotoSolarSystem targetName
+ + + + + + +
Properties of a ReqGotoSolarSystem.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqOneClickGotoDSO.html b/docs/IReqOneClickGotoDSO.html new file mode 100644 index 00000000..8bbf299d --- /dev/null +++ b/docs/IReqOneClickGotoDSO.html @@ -0,0 +1,304 @@ + + + + + + IReqOneClickGotoDSO - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOneClickGotoDSO

+ + + + + + + +
+ +
+ +

+ + IReqOneClickGotoDSO + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOneClickGotoDSO.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
ra + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoDSO ra
dec + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoDSO dec
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoDSO targetName
+ + + + + + +
Properties of a ReqOneClickGotoDSO.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqOneClickGotoSolarSystem.html b/docs/IReqOneClickGotoSolarSystem.html new file mode 100644 index 00000000..c73f092b --- /dev/null +++ b/docs/IReqOneClickGotoSolarSystem.html @@ -0,0 +1,339 @@ + + + + + + IReqOneClickGotoSolarSystem - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOneClickGotoSolarSystem

+ + + + + + + +
+ +
+ +

+ + IReqOneClickGotoSolarSystem + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOneClickGotoSolarSystem.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoSolarSystem index
lon + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoSolarSystem lon
lat + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoSolarSystem lat
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqOneClickGotoSolarSystem targetName
+ + + + + + +
Properties of a ReqOneClickGotoSolarSystem.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStartCalibration.html b/docs/IReqStartCalibration.html new file mode 100644 index 00000000..a936f87a --- /dev/null +++ b/docs/IReqStartCalibration.html @@ -0,0 +1,168 @@ + + + + + + IReqStartCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartCalibration

+ + + + + + + +
+ +
+ +

+ + IReqStartCalibration + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStartCalibration.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStartEqSolving.html b/docs/IReqStartEqSolving.html new file mode 100644 index 00000000..5b9cf4a1 --- /dev/null +++ b/docs/IReqStartEqSolving.html @@ -0,0 +1,269 @@ + + + + + + IReqStartEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartEqSolving

+ + + + + + + +
+ +
+ +

+ + IReqStartEqSolving + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
lon + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartEqSolving lon
lat + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartEqSolving lat
+ + + + + + +
Properties of a ReqStartEqSolving.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCalibration.html b/docs/IReqStopCalibration.html new file mode 100644 index 00000000..9932a941 --- /dev/null +++ b/docs/IReqStopCalibration.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCalibration

+ + + + + + + +
+ +
+ +

+ + IReqStopCalibration + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCalibration.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCaptureDarkFrame.html b/docs/IReqStopCaptureDarkFrame.html new file mode 100644 index 00000000..0f335de4 --- /dev/null +++ b/docs/IReqStopCaptureDarkFrame.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCaptureDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCaptureDarkFrame

+ + + + + + + +
+ +
+ +

+ + IReqStopCaptureDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCaptureDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCaptureDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCaptureDarkFrameWithParam.html b/docs/IReqStopCaptureDarkFrameWithParam.html new file mode 100644 index 00000000..0dc5e74e --- /dev/null +++ b/docs/IReqStopCaptureDarkFrameWithParam.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCaptureDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCaptureDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + IReqStopCaptureDarkFrameWithParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCaptureDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCaptureDarkFrameWithParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCaptureRawLiveStacking.html b/docs/IReqStopCaptureRawLiveStacking.html new file mode 100644 index 00000000..733bfb45 --- /dev/null +++ b/docs/IReqStopCaptureRawLiveStacking.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + IReqStopCaptureRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCaptureRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCaptureWideDarkFrameWithParam.html b/docs/IReqStopCaptureWideDarkFrameWithParam.html new file mode 100644 index 00000000..38cd036a --- /dev/null +++ b/docs/IReqStopCaptureWideDarkFrameWithParam.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCaptureWideDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCaptureWideDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + IReqStopCaptureWideDarkFrameWithParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCaptureWideDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCaptureWideDarkFrameWithParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopCaptureWideRawLiveStacking.html b/docs/IReqStopCaptureWideRawLiveStacking.html new file mode 100644 index 00000000..a22e2a72 --- /dev/null +++ b/docs/IReqStopCaptureWideRawLiveStacking.html @@ -0,0 +1,168 @@ + + + + + + IReqStopCaptureWideRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopCaptureWideRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + IReqStopCaptureWideRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopCaptureWideRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopCaptureWideRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopEqSolving.html b/docs/IReqStopEqSolving.html new file mode 100644 index 00000000..67e9ce7c --- /dev/null +++ b/docs/IReqStopEqSolving.html @@ -0,0 +1,168 @@ + + + + + + IReqStopEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopEqSolving

+ + + + + + + +
+ +
+ +

+ + IReqStopEqSolving + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopEqSolving.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopGoto.html b/docs/IReqStopGoto.html new file mode 100644 index 00000000..f8991984 --- /dev/null +++ b/docs/IReqStopGoto.html @@ -0,0 +1,168 @@ + + + + + + IReqStopGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopGoto

+ + + + + + + +
+ +
+ +

+ + IReqStopGoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopGoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopOneClickGoto.html b/docs/IReqStopOneClickGoto.html new file mode 100644 index 00000000..862bca8f --- /dev/null +++ b/docs/IReqStopOneClickGoto.html @@ -0,0 +1,168 @@ + + + + + + IReqStopOneClickGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopOneClickGoto

+ + + + + + + +
+ +
+ +

+ + IReqStopOneClickGoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopOneClickGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopOneClickGoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqStopTrackSpecialTarget.html b/docs/IReqStopTrackSpecialTarget.html new file mode 100644 index 00000000..e1d312d2 --- /dev/null +++ b/docs/IReqStopTrackSpecialTarget.html @@ -0,0 +1,168 @@ + + + + + + IReqStopTrackSpecialTarget - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopTrackSpecialTarget

+ + + + + + + +
+ +
+ +

+ + IReqStopTrackSpecialTarget + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopTrackSpecialTarget.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopTrackSpecialTarget.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IReqTrackSpecialTarget.html b/docs/IReqTrackSpecialTarget.html new file mode 100644 index 00000000..0dab3b42 --- /dev/null +++ b/docs/IReqTrackSpecialTarget.html @@ -0,0 +1,304 @@ + + + + + + IReqTrackSpecialTarget - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqTrackSpecialTarget

+ + + + + + + +
+ +
+ +

+ + IReqTrackSpecialTarget + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqTrackSpecialTarget.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqTrackSpecialTarget index
lon + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqTrackSpecialTarget lon
lat + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqTrackSpecialTarget lat
+ + + + + + +
Properties of a ReqTrackSpecialTarget.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResCheckDarkFrame.html b/docs/IResCheckDarkFrame.html new file mode 100644 index 00000000..0ea15374 --- /dev/null +++ b/docs/IResCheckDarkFrame.html @@ -0,0 +1,269 @@ + + + + + + IResCheckDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResCheckDarkFrame

+ + + + + + + +
+ +
+ +

+ + IResCheckDarkFrame + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResCheckDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
progress + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckDarkFrame progress
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckDarkFrame code
+ + + + + + +
Properties of a ResCheckDarkFrame.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResDelDarkFrameList.html b/docs/IResDelDarkFrameList.html new file mode 100644 index 00000000..210ed75b --- /dev/null +++ b/docs/IResDelDarkFrameList.html @@ -0,0 +1,234 @@ + + + + + + IResDelDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDelDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IResDelDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDelDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDelDarkFrameList code
+ + + + + + +
Properties of a ResDelDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResDelWideDarkFrameList.html b/docs/IResDelWideDarkFrameList.html new file mode 100644 index 00000000..20ae0c4f --- /dev/null +++ b/docs/IResDelWideDarkFrameList.html @@ -0,0 +1,234 @@ + + + + + + IResDelWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDelWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + IResDelWideDarkFrameList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDelWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDelWideDarkFrameList code
+ + + + + + +
Properties of a ResDelWideDarkFrameList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResGetDarkFrameInfo.html b/docs/IResGetDarkFrameInfo.html new file mode 100644 index 00000000..f8f4afe7 --- /dev/null +++ b/docs/IResGetDarkFrameInfo.html @@ -0,0 +1,444 @@ + + + + + + IResGetDarkFrameInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetDarkFrameInfo

+ + + + + + + +
+ +
+ +

+ + IResGetDarkFrameInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetDarkFrameInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo binIndex
expName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo expName
gainName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo gainName
binName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo binName
temperature + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfo temperature
+ + + + + + +
Properties of a ResGetDarkFrameInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResGetDarkFrameInfoList.html b/docs/IResGetDarkFrameInfoList.html new file mode 100644 index 00000000..4d438574 --- /dev/null +++ b/docs/IResGetDarkFrameInfoList.html @@ -0,0 +1,269 @@ + + + + + + IResGetDarkFrameInfoList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetDarkFrameInfoList

+ + + + + + + +
+ +
+ +

+ + IResGetDarkFrameInfoList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetDarkFrameInfoList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfoList code
results + + +Array.<IResGetDarkFrameInfo> +| + +null + + + + + + + <optional>
+ + + +
ResGetDarkFrameInfoList results
+ + + + + + +
Properties of a ResGetDarkFrameInfoList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResGetWideDarkFrameInfo.html b/docs/IResGetWideDarkFrameInfo.html new file mode 100644 index 00000000..dd969153 --- /dev/null +++ b/docs/IResGetWideDarkFrameInfo.html @@ -0,0 +1,444 @@ + + + + + + IResGetWideDarkFrameInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetWideDarkFrameInfo

+ + + + + + + +
+ +
+ +

+ + IResGetWideDarkFrameInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetWideDarkFrameInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo gainIndex
binIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo binIndex
expName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo expName
gainName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo gainName
binName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo binName
temperature + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfo temperature
+ + + + + + +
Properties of a ResGetWideDarkFrameInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResGetWideDarkFrameInfoList.html b/docs/IResGetWideDarkFrameInfoList.html new file mode 100644 index 00000000..3a15207c --- /dev/null +++ b/docs/IResGetWideDarkFrameInfoList.html @@ -0,0 +1,269 @@ + + + + + + IResGetWideDarkFrameInfoList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetWideDarkFrameInfoList

+ + + + + + + +
+ +
+ +

+ + IResGetWideDarkFrameInfoList + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetWideDarkFrameInfoList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfoList code
results + + +Array.<IResGetDarkFrameInfo> +| + +null + + + + + + + <optional>
+ + + +
ResGetWideDarkFrameInfoList results
+ + + + + + +
Properties of a ResGetWideDarkFrameInfoList.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResOneClickGoto.html b/docs/IResOneClickGoto.html new file mode 100644 index 00000000..31af9b6e --- /dev/null +++ b/docs/IResOneClickGoto.html @@ -0,0 +1,304 @@ + + + + + + IResOneClickGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResOneClickGoto

+ + + + + + + +
+ +
+ +

+ + IResOneClickGoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResOneClickGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
step + + +number +| + +null + + + + + + + <optional>
+ + + +
ResOneClickGoto step
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResOneClickGoto code
allEnd + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ResOneClickGoto allEnd
+ + + + + + +
Properties of a ResOneClickGoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/IResStartEqSolving.html b/docs/IResStartEqSolving.html new file mode 100644 index 00000000..4f5339b4 --- /dev/null +++ b/docs/IResStartEqSolving.html @@ -0,0 +1,304 @@ + + + + + + IResStartEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResStartEqSolving

+ + + + + + + +
+ +
+ +

+ + IResStartEqSolving + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResStartEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
aziErr + + +number +| + +null + + + + + + + <optional>
+ + + +
ResStartEqSolving aziErr
altErr + + +number +| + +null + + + + + + + <optional>
+ + + +
ResStartEqSolving altErr
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResStartEqSolving code
+ + + + + + +
Properties of a ResStartEqSolving.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqAp.html b/docs/ReqAp.html new file mode 100644 index 00000000..4a9ed34d --- /dev/null +++ b/docs/ReqAp.html @@ -0,0 +1,2602 @@ + + + + + + ReqAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqAp

+ + + + + + + +
+ +
+ +

+ + ReqAp + +

+ +
Represents a ReqAp.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqAp(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqAp
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqAp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

autoStart :number

+ + + + + +
+ +
Description:
+
  • ReqAp autoStart.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp autoStart. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

blePsd :string

+ + + + + +
+ +
Description:
+
  • ReqAp blePsd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp blePsd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqAp cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

country :string

+ + + + + +
+ +
Description:
+
  • ReqAp country.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp country. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

countryList :number

+ + + + + +
+ +
Description:
+
  • ReqAp countryList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp countryList. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

wifiType :number

+ + + + + +
+ +
Description:
+
  • ReqAp wifiType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAp wifiType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqAp to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqAp}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqAp instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqAp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqAp instance +
+ + + +
+
+ Type +
+
+ +ReqAp + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqAp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqAp message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqAp +
+ + + +
+
+ Type +
+
+ +ReqAp + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqAp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqAp message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqAp +
+ + + +
+
+ Type +
+
+ +ReqAp + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqAp message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqAp + + + + + + + + + + + ReqAp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqAp message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqAp + + + + + + + + + + + ReqAp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqAp}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqAp message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqAp +
+ + + +
+
+ Type +
+
+ +ReqAp + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqAp
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqAp message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqAp + + + + + + + + + + + ReqAp
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqAp message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqAstroAutoFocus.html b/docs/ReqAstroAutoFocus.html new file mode 100644 index 00000000..55cd88b7 --- /dev/null +++ b/docs/ReqAstroAutoFocus.html @@ -0,0 +1,2212 @@ + + + + + + ReqAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ + ReqAstroAutoFocus + +

+ +
Represents a ReqAstroAutoFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqAstroAutoFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqAstroAutoFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqAstroAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqAstroAutoFocus mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqAstroAutoFocus mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqAstroAutoFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqAstroAutoFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqAstroAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqAstroAutoFocus instance +
+ + + +
+
+ Type +
+
+ +ReqAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqAstroAutoFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqAstroAutoFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqAstroAutoFocus + + + + + + + + + + + ReqAstroAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqAstroAutoFocus + + + + + + + + + + + ReqAstroAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqAstroAutoFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqAstroAutoFocus + + + + + + + + + + + ReqAstroAutoFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqAstroAutoFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqBurstPhoto.html b/docs/ReqBurstPhoto.html new file mode 100644 index 00000000..1d35046d --- /dev/null +++ b/docs/ReqBurstPhoto.html @@ -0,0 +1,2212 @@ + + + + + + ReqBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqBurstPhoto

+ + + + + + + +
+ +
+ +

+ + ReqBurstPhoto + +

+ +
Represents a ReqBurstPhoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqBurstPhoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqBurstPhoto
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqBurstPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

count :number

+ + + + + +
+ +
Description:
+
  • ReqBurstPhoto count.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqBurstPhoto count. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqBurstPhoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqBurstPhoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqBurstPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqBurstPhoto instance +
+ + + +
+
+ Type +
+
+ +ReqBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqBurstPhoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqBurstPhoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqBurstPhoto + + + + + + + + + + + ReqBurstPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqBurstPhoto + + + + + + + + + + + ReqBurstPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqBurstPhoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqBurstPhoto + + + + + + + + + + + ReqBurstPhoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqBurstPhoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCancelShootingSchedule.html b/docs/ReqCancelShootingSchedule.html new file mode 100644 index 00000000..ace0fc1f --- /dev/null +++ b/docs/ReqCancelShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ReqCancelShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCancelShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqCancelShootingSchedule + +

+ +
Represents a ReqCancelShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCancelShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCancelShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqCancelShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCancelShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqCancelShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCancelShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

password :string

+ + + + + +
+ +
Description:
+
  • ReqCancelShootingSchedule password.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCancelShootingSchedule password. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCancelShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCancelShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCancelShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCancelShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCancelShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCancelShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCancelShootingSchedule + + + + + + + + + + + ReqCancelShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCancelShootingSchedule + + + + + + + + + + + ReqCancelShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCancelShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCancelShootingSchedule + + + + + + + + + + + ReqCancelShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCancelShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCaptureDarkFrame.html b/docs/ReqCaptureDarkFrame.html new file mode 100644 index 00000000..9c032729 --- /dev/null +++ b/docs/ReqCaptureDarkFrame.html @@ -0,0 +1,2212 @@ + + + + + + ReqCaptureDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCaptureDarkFrame

+ + + + + + + +
+ +
+ +

+ + ReqCaptureDarkFrame + +

+ +
Represents a ReqCaptureDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCaptureDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCaptureDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

reshoot :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureDarkFrame reshoot.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureDarkFrame reshoot. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCaptureDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCaptureDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureDarkFrame + + + + + + + + + + + ReqCaptureDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureDarkFrame + + + + + + + + + + + ReqCaptureDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCaptureDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCaptureDarkFrame + + + + + + + + + + + ReqCaptureDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCaptureDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCaptureDarkFrameWithParam.html b/docs/ReqCaptureDarkFrameWithParam.html new file mode 100644 index 00000000..eb88e51f --- /dev/null +++ b/docs/ReqCaptureDarkFrameWithParam.html @@ -0,0 +1,2446 @@ + + + + + + ReqCaptureDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCaptureDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + ReqCaptureDarkFrameWithParam + +

+ +
Represents a ReqCaptureDarkFrameWithParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCaptureDarkFrameWithParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCaptureDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureDarkFrameWithParam binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureDarkFrameWithParam binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

capSize :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureDarkFrameWithParam capSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureDarkFrameWithParam capSize. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureDarkFrameWithParam expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureDarkFrameWithParam expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureDarkFrameWithParam gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureDarkFrameWithParam gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCaptureDarkFrameWithParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureDarkFrameWithParam instance +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureDarkFrameWithParam + + + + + + + + + + + ReqCaptureDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureDarkFrameWithParam + + + + + + + + + + + ReqCaptureDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCaptureDarkFrameWithParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCaptureDarkFrameWithParam + + + + + + + + + + + ReqCaptureDarkFrameWithParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCaptureDarkFrameWithParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCaptureRawLiveStacking.html b/docs/ReqCaptureRawLiveStacking.html new file mode 100644 index 00000000..606f5e80 --- /dev/null +++ b/docs/ReqCaptureRawLiveStacking.html @@ -0,0 +1,2130 @@ + + + + + + ReqCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + ReqCaptureRawLiveStacking + +

+ +
Represents a ReqCaptureRawLiveStacking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCaptureRawLiveStacking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCaptureRawLiveStacking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCaptureRawLiveStacking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureRawLiveStacking instance +
+ + + +
+
+ Type +
+
+ +ReqCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureRawLiveStacking + + + + + + + + + + + ReqCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureRawLiveStacking + + + + + + + + + + + ReqCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCaptureRawLiveStacking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCaptureRawLiveStacking + + + + + + + + + + + ReqCaptureRawLiveStacking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCaptureRawLiveStacking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCaptureWideDarkFrameWithParam.html b/docs/ReqCaptureWideDarkFrameWithParam.html new file mode 100644 index 00000000..6dc190d2 --- /dev/null +++ b/docs/ReqCaptureWideDarkFrameWithParam.html @@ -0,0 +1,2446 @@ + + + + + + ReqCaptureWideDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCaptureWideDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + ReqCaptureWideDarkFrameWithParam + +

+ +
Represents a ReqCaptureWideDarkFrameWithParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCaptureWideDarkFrameWithParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCaptureWideDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureWideDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureWideDarkFrameWithParam binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureWideDarkFrameWithParam binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

capSize :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureWideDarkFrameWithParam capSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureWideDarkFrameWithParam capSize. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureWideDarkFrameWithParam expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureWideDarkFrameWithParam expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ReqCaptureWideDarkFrameWithParam gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCaptureWideDarkFrameWithParam gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCaptureWideDarkFrameWithParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureWideDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureWideDarkFrameWithParam instance +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqCaptureWideDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqCaptureWideDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCaptureWideDarkFrameWithParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqCaptureWideDarkFrameWithParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCaptureWideDarkFrameWithParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCaptureWideRawLiveStacking.html b/docs/ReqCaptureWideRawLiveStacking.html new file mode 100644 index 00000000..162e39c4 --- /dev/null +++ b/docs/ReqCaptureWideRawLiveStacking.html @@ -0,0 +1,2130 @@ + + + + + + ReqCaptureWideRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCaptureWideRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + ReqCaptureWideRawLiveStacking + +

+ +
Represents a ReqCaptureWideRawLiveStacking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCaptureWideRawLiveStacking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCaptureWideRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureWideRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCaptureWideRawLiveStacking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCaptureWideRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureWideRawLiveStacking instance +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureWideRawLiveStacking + + + + + + + + + + + ReqCaptureWideRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCaptureWideRawLiveStacking + + + + + + + + + + + ReqCaptureWideRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCaptureWideRawLiveStacking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCaptureWideRawLiveStacking + + + + + + + + + + + ReqCaptureWideRawLiveStacking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCaptureWideRawLiveStacking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCheckDarkFrame.html b/docs/ReqCheckDarkFrame.html new file mode 100644 index 00000000..a493dd64 --- /dev/null +++ b/docs/ReqCheckDarkFrame.html @@ -0,0 +1,2130 @@ + + + + + + ReqCheckDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCheckDarkFrame

+ + + + + + + +
+ +
+ +

+ + ReqCheckDarkFrame + +

+ +
Represents a ReqCheckDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCheckDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCheckDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCheckDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCheckDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCheckDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCheckDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCheckDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ReqCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCheckDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCheckDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCheckDarkFrame + + + + + + + + + + + ReqCheckDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCheckDarkFrame + + + + + + + + + + + ReqCheckDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCheckDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCheckDarkFrame + + + + + + + + + + + ReqCheckDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCheckDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCheckFile.html b/docs/ReqCheckFile.html new file mode 100644 index 00000000..c0b28a5c --- /dev/null +++ b/docs/ReqCheckFile.html @@ -0,0 +1,2368 @@ + + + + + + ReqCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCheckFile

+ + + + + + + +
+ +
+ +

+ + ReqCheckFile + +

+ +
Represents a ReqCheckFile.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCheckFile(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqCheckFile
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCheckFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqCheckFile cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCheckFile cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

filePath :string

+ + + + + +
+ +
Description:
+
  • ReqCheckFile filePath.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCheckFile filePath. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

md5 :string

+ + + + + +
+ +
Description:
+
  • ReqCheckFile md5.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqCheckFile md5. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCheckFile to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCheckFile}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCheckFile instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCheckFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCheckFile instance +
+ + + +
+
+ Type +
+
+ +ReqCheckFile + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCheckFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCheckFile message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCheckFile +
+ + + +
+
+ Type +
+
+ +ReqCheckFile + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCheckFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCheckFile message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCheckFile +
+ + + +
+
+ Type +
+
+ +ReqCheckFile + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCheckFile message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCheckFile + + + + + + + + + + + ReqCheckFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCheckFile message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCheckFile + + + + + + + + + + + ReqCheckFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCheckFile}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCheckFile +
+ + + +
+
+ Type +
+
+ +ReqCheckFile + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCheckFile
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCheckFile + + + + + + + + + + + ReqCheckFile
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCheckFile message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCloseCamera.html b/docs/ReqCloseCamera.html new file mode 100644 index 00000000..9147abff --- /dev/null +++ b/docs/ReqCloseCamera.html @@ -0,0 +1,2130 @@ + + + + + + ReqCloseCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCloseCamera

+ + + + + + + +
+ +
+ +

+ + ReqCloseCamera + +

+ +
Represents a ReqCloseCamera.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCloseCamera(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCloseCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqCloseCamera
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCloseCamera + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCloseCamera to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCloseCamera}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCloseCamera instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCloseCamera + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCloseCamera instance +
+ + + +
+
+ Type +
+
+ +ReqCloseCamera + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCloseCamera}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCloseCamera message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCloseCamera +
+ + + +
+
+ Type +
+
+ +ReqCloseCamera + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCloseCamera}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCloseCamera +
+ + + +
+
+ Type +
+
+ +ReqCloseCamera + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCloseCamera message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCloseCamera + + + + + + + + + + + ReqCloseCamera message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCloseCamera + + + + + + + + + + + ReqCloseCamera message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCloseCamera}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCloseCamera +
+ + + +
+
+ Type +
+
+ +ReqCloseCamera + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCloseCamera
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCloseCamera + + + + + + + + + + + ReqCloseCamera
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCloseCamera message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqClosePowerInd.html b/docs/ReqClosePowerInd.html new file mode 100644 index 00000000..9591a88f --- /dev/null +++ b/docs/ReqClosePowerInd.html @@ -0,0 +1,2130 @@ + + + + + + ReqClosePowerInd - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqClosePowerInd

+ + + + + + + +
+ +
+ +

+ + ReqClosePowerInd + +

+ +
Represents a ReqClosePowerInd.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqClosePowerInd(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqClosePowerInd.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqClosePowerInd
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqClosePowerInd + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqClosePowerInd to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqClosePowerInd}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqClosePowerInd instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqClosePowerInd + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqClosePowerInd instance +
+ + + +
+
+ Type +
+
+ +ReqClosePowerInd + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqClosePowerInd}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqClosePowerInd message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqClosePowerInd +
+ + + +
+
+ Type +
+
+ +ReqClosePowerInd + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqClosePowerInd}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqClosePowerInd +
+ + + +
+
+ Type +
+
+ +ReqClosePowerInd + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqClosePowerInd message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqClosePowerInd + + + + + + + + + + + ReqClosePowerInd message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqClosePowerInd + + + + + + + + + + + ReqClosePowerInd message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqClosePowerInd}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqClosePowerInd +
+ + + +
+
+ Type +
+
+ +ReqClosePowerInd + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqClosePowerInd
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqClosePowerInd + + + + + + + + + + + ReqClosePowerInd
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqClosePowerInd message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqCloseRgb.html b/docs/ReqCloseRgb.html new file mode 100644 index 00000000..ed9090ff --- /dev/null +++ b/docs/ReqCloseRgb.html @@ -0,0 +1,2130 @@ + + + + + + ReqCloseRgb - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqCloseRgb

+ + + + + + + +
+ +
+ +

+ + ReqCloseRgb + +

+ +
Represents a ReqCloseRgb.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqCloseRgb(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqCloseRgb.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqCloseRgb
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCloseRgb + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqCloseRgb to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqCloseRgb}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqCloseRgb instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqCloseRgb + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCloseRgb instance +
+ + + +
+
+ Type +
+
+ +ReqCloseRgb + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqCloseRgb}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCloseRgb message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCloseRgb +
+ + + +
+
+ Type +
+
+ +ReqCloseRgb + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqCloseRgb}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqCloseRgb +
+ + + +
+
+ Type +
+
+ +ReqCloseRgb + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCloseRgb message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCloseRgb + + + + + + + + + + + ReqCloseRgb message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqCloseRgb + + + + + + + + + + + ReqCloseRgb message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqCloseRgb}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqCloseRgb +
+ + + +
+
+ Type +
+
+ +ReqCloseRgb + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqCloseRgb
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqCloseRgb + + + + + + + + + + + ReqCloseRgb
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqCloseRgb message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqContinueTrack.html b/docs/ReqContinueTrack.html new file mode 100644 index 00000000..5888ec95 --- /dev/null +++ b/docs/ReqContinueTrack.html @@ -0,0 +1,2130 @@ + + + + + + ReqContinueTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqContinueTrack

+ + + + + + + +
+ +
+ +

+ + ReqContinueTrack + +

+ +
Represents a ReqContinueTrack.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqContinueTrack(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqContinueTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqContinueTrack
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqContinueTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqContinueTrack to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqContinueTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqContinueTrack instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqContinueTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqContinueTrack instance +
+ + + +
+
+ Type +
+
+ +ReqContinueTrack + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqContinueTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqContinueTrack message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqContinueTrack +
+ + + +
+
+ Type +
+
+ +ReqContinueTrack + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqContinueTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqContinueTrack +
+ + + +
+
+ Type +
+
+ +ReqContinueTrack + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqContinueTrack message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqContinueTrack + + + + + + + + + + + ReqContinueTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqContinueTrack + + + + + + + + + + + ReqContinueTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqContinueTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqContinueTrack +
+ + + +
+
+ Type +
+
+ +ReqContinueTrack + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqContinueTrack
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqContinueTrack + + + + + + + + + + + ReqContinueTrack
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqContinueTrack message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDelDarkFrame.html b/docs/ReqDelDarkFrame.html new file mode 100644 index 00000000..6a8922b8 --- /dev/null +++ b/docs/ReqDelDarkFrame.html @@ -0,0 +1,2368 @@ + + + + + + ReqDelDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDelDarkFrame

+ + + + + + + +
+ +
+ +

+ + ReqDelDarkFrame + +

+ +
Represents a ReqDelDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDelDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDelDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelDarkFrame binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelDarkFrame binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelDarkFrame expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelDarkFrame expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelDarkFrame gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelDarkFrame gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDelDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDelDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDelDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDelDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDelDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelDarkFrame + + + + + + + + + + + ReqDelDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelDarkFrame + + + + + + + + + + + ReqDelDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDelDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDelDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDelDarkFrame + + + + + + + + + + + ReqDelDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDelDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDelDarkFrameList.html b/docs/ReqDelDarkFrameList.html new file mode 100644 index 00000000..5e3c53c4 --- /dev/null +++ b/docs/ReqDelDarkFrameList.html @@ -0,0 +1,2212 @@ + + + + + + ReqDelDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDelDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ReqDelDarkFrameList + +

+ +
Represents a ReqDelDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDelDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDelDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

darkList :Array.<IReqDelDarkFrame>

+ + + + + +
+ +
Description:
+
  • ReqDelDarkFrameList darkList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelDarkFrameList darkList. +
+ + + +
Type:
+ + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDelDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDelDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelDarkFrameList + + + + + + + + + + + ReqDelDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelDarkFrameList + + + + + + + + + + + ReqDelDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDelDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDelDarkFrameList + + + + + + + + + + + ReqDelDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDelDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDelWideDarkFrame.html b/docs/ReqDelWideDarkFrame.html new file mode 100644 index 00000000..1f4a3b65 --- /dev/null +++ b/docs/ReqDelWideDarkFrame.html @@ -0,0 +1,2368 @@ + + + + + + ReqDelWideDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDelWideDarkFrame

+ + + + + + + +
+ +
+ +

+ + ReqDelWideDarkFrame + +

+ +
Represents a ReqDelWideDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDelWideDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDelWideDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelWideDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelWideDarkFrame binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelWideDarkFrame binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelWideDarkFrame expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelWideDarkFrame expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ReqDelWideDarkFrame gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelWideDarkFrame gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDelWideDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDelWideDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDelWideDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelWideDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelWideDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDelWideDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelWideDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelWideDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDelWideDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelWideDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelWideDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelWideDarkFrame + + + + + + + + + + + ReqDelWideDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelWideDarkFrame + + + + + + + + + + + ReqDelWideDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDelWideDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelWideDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDelWideDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDelWideDarkFrame + + + + + + + + + + + ReqDelWideDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDelWideDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDelWideDarkFrameList.html b/docs/ReqDelWideDarkFrameList.html new file mode 100644 index 00000000..62a57c33 --- /dev/null +++ b/docs/ReqDelWideDarkFrameList.html @@ -0,0 +1,2212 @@ + + + + + + ReqDelWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDelWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ReqDelWideDarkFrameList + +

+ +
Represents a ReqDelWideDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDelWideDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDelWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

darkList :Array.<IReqDelDarkFrame>

+ + + + + +
+ +
Description:
+
  • ReqDelWideDarkFrameList darkList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDelWideDarkFrameList darkList. +
+ + + +
Type:
+ + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDelWideDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDelWideDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDelWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelWideDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelWideDarkFrameList + + + + + + + + + + + ReqDelWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDelWideDarkFrameList + + + + + + + + + + + ReqDelWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDelWideDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDelWideDarkFrameList + + + + + + + + + + + ReqDelWideDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDelWideDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDeleteShootingSchedule.html b/docs/ReqDeleteShootingSchedule.html new file mode 100644 index 00000000..c047ed19 --- /dev/null +++ b/docs/ReqDeleteShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ReqDeleteShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDeleteShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqDeleteShootingSchedule + +

+ +
Represents a ReqDeleteShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDeleteShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDeleteShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDeleteShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeleteShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqDeleteShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDeleteShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

password :string

+ + + + + +
+ +
Description:
+
  • ReqDeleteShootingSchedule password.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDeleteShootingSchedule password. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDeleteShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDeleteShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeleteShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeleteShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeleteShootingSchedule + + + + + + + + + + + ReqDeleteShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeleteShootingSchedule + + + + + + + + + + + ReqDeleteShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDeleteShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDeleteShootingSchedule + + + + + + + + + + + ReqDeleteShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDeleteShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDeviceActivateSuccessfull.html b/docs/ReqDeviceActivateSuccessfull.html new file mode 100644 index 00000000..2674f980 --- /dev/null +++ b/docs/ReqDeviceActivateSuccessfull.html @@ -0,0 +1,2212 @@ + + + + + + ReqDeviceActivateSuccessfull - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDeviceActivateSuccessfull

+ + + + + + + +
+ +
+ +

+ + ReqDeviceActivateSuccessfull + +

+ +
Represents a ReqDeviceActivateSuccessfull.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDeviceActivateSuccessfull(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDeviceActivateSuccessfull.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDeviceActivateSuccessfull
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeviceActivateSuccessfull + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

requestParam :string

+ + + + + +
+ +
Description:
+
  • ReqDeviceActivateSuccessfull requestParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDeviceActivateSuccessfull requestParam. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDeviceActivateSuccessfull to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDeviceActivateSuccessfull instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeviceActivateSuccessfull + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeviceActivateSuccessfull instance +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeviceActivateSuccessfull + + + + + + + + + + + ReqDeviceActivateSuccessfull message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeviceActivateSuccessfull + + + + + + + + + + + ReqDeviceActivateSuccessfull message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDeviceActivateSuccessfull
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDeviceActivateSuccessfull + + + + + + + + + + + ReqDeviceActivateSuccessfull
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDeviceActivateSuccessfull message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDeviceActivateWriteFile.html b/docs/ReqDeviceActivateWriteFile.html new file mode 100644 index 00000000..eb5d3c91 --- /dev/null +++ b/docs/ReqDeviceActivateWriteFile.html @@ -0,0 +1,2212 @@ + + + + + + ReqDeviceActivateWriteFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDeviceActivateWriteFile

+ + + + + + + +
+ +
+ +

+ + ReqDeviceActivateWriteFile + +

+ +
Represents a ReqDeviceActivateWriteFile.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDeviceActivateWriteFile(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDeviceActivateWriteFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDeviceActivateWriteFile
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeviceActivateWriteFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

requestParam :string

+ + + + + +
+ +
Description:
+
  • ReqDeviceActivateWriteFile requestParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDeviceActivateWriteFile requestParam. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDeviceActivateWriteFile to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDeviceActivateWriteFile instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDeviceActivateWriteFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeviceActivateWriteFile instance +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeviceActivateWriteFile + + + + + + + + + + + ReqDeviceActivateWriteFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDeviceActivateWriteFile + + + + + + + + + + + ReqDeviceActivateWriteFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ReqDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDeviceActivateWriteFile
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDeviceActivateWriteFile + + + + + + + + + + + ReqDeviceActivateWriteFile
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDeviceActivateWriteFile message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDisableAllIspProcessing.html b/docs/ReqDisableAllIspProcessing.html new file mode 100644 index 00000000..3fe928ea --- /dev/null +++ b/docs/ReqDisableAllIspProcessing.html @@ -0,0 +1,2130 @@ + + + + + + ReqDisableAllIspProcessing - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDisableAllIspProcessing

+ + + + + + + +
+ +
+ +

+ + ReqDisableAllIspProcessing + +

+ +
Represents a ReqDisableAllIspProcessing.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDisableAllIspProcessing(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDisableAllIspProcessing.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDisableAllIspProcessing
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDisableAllIspProcessing + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDisableAllIspProcessing to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDisableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDisableAllIspProcessing instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDisableAllIspProcessing + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDisableAllIspProcessing instance +
+ + + +
+
+ Type +
+
+ +ReqDisableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDisableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDisableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqDisableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDisableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDisableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqDisableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDisableAllIspProcessing + + + + + + + + + + + ReqDisableAllIspProcessing message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDisableAllIspProcessing + + + + + + + + + + + ReqDisableAllIspProcessing message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDisableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDisableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqDisableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDisableAllIspProcessing
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDisableAllIspProcessing + + + + + + + + + + + ReqDisableAllIspProcessing
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDisableAllIspProcessing message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDisableDeviceActivate.html b/docs/ReqDisableDeviceActivate.html new file mode 100644 index 00000000..7056c614 --- /dev/null +++ b/docs/ReqDisableDeviceActivate.html @@ -0,0 +1,2212 @@ + + + + + + ReqDisableDeviceActivate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDisableDeviceActivate

+ + + + + + + +
+ +
+ +

+ + ReqDisableDeviceActivate + +

+ +
Represents a ReqDisableDeviceActivate.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDisableDeviceActivate(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDisableDeviceActivate.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDisableDeviceActivate
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDisableDeviceActivate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

requestParam :string

+ + + + + +
+ +
Description:
+
  • ReqDisableDeviceActivate requestParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDisableDeviceActivate requestParam. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDisableDeviceActivate to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDisableDeviceActivate instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDisableDeviceActivate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDisableDeviceActivate instance +
+ + + +
+
+ Type +
+
+ +ReqDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDisableDeviceActivate message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ReqDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ReqDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDisableDeviceActivate message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDisableDeviceActivate + + + + + + + + + + + ReqDisableDeviceActivate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDisableDeviceActivate + + + + + + + + + + + ReqDisableDeviceActivate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ReqDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDisableDeviceActivate
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDisableDeviceActivate + + + + + + + + + + + ReqDisableDeviceActivate
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDisableDeviceActivate message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqDualCameraLinkage.html b/docs/ReqDualCameraLinkage.html new file mode 100644 index 00000000..57642de3 --- /dev/null +++ b/docs/ReqDualCameraLinkage.html @@ -0,0 +1,2290 @@ + + + + + + ReqDualCameraLinkage - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqDualCameraLinkage

+ + + + + + + +
+ +
+ +

+ + ReqDualCameraLinkage + +

+ +
Represents a ReqDualCameraLinkage.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqDualCameraLinkage(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqDualCameraLinkage.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqDualCameraLinkage
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDualCameraLinkage + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

x :number

+ + + + + +
+ +
Description:
+
  • ReqDualCameraLinkage x.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDualCameraLinkage x. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

y :number

+ + + + + +
+ +
Description:
+
  • ReqDualCameraLinkage y.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqDualCameraLinkage y. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqDualCameraLinkage to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqDualCameraLinkage}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqDualCameraLinkage instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqDualCameraLinkage + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDualCameraLinkage instance +
+ + + +
+
+ Type +
+
+ +ReqDualCameraLinkage + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqDualCameraLinkage}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDualCameraLinkage message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDualCameraLinkage +
+ + + +
+
+ Type +
+
+ +ReqDualCameraLinkage + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqDualCameraLinkage}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqDualCameraLinkage +
+ + + +
+
+ Type +
+
+ +ReqDualCameraLinkage + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDualCameraLinkage message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDualCameraLinkage + + + + + + + + + + + ReqDualCameraLinkage message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqDualCameraLinkage + + + + + + + + + + + ReqDualCameraLinkage message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqDualCameraLinkage}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqDualCameraLinkage +
+ + + +
+
+ Type +
+
+ +ReqDualCameraLinkage + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqDualCameraLinkage
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqDualCameraLinkage + + + + + + + + + + + ReqDualCameraLinkage
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqDualCameraLinkage message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqEnableAllIspProcessing.html b/docs/ReqEnableAllIspProcessing.html new file mode 100644 index 00000000..0a846810 --- /dev/null +++ b/docs/ReqEnableAllIspProcessing.html @@ -0,0 +1,2130 @@ + + + + + + ReqEnableAllIspProcessing - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqEnableAllIspProcessing

+ + + + + + + +
+ +
+ +

+ + ReqEnableAllIspProcessing + +

+ +
Represents a ReqEnableAllIspProcessing.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqEnableAllIspProcessing(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqEnableAllIspProcessing.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqEnableAllIspProcessing
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqEnableAllIspProcessing + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqEnableAllIspProcessing to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqEnableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqEnableAllIspProcessing instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqEnableAllIspProcessing + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqEnableAllIspProcessing instance +
+ + + +
+
+ Type +
+
+ +ReqEnableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqEnableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqEnableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqEnableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqEnableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqEnableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqEnableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqEnableAllIspProcessing + + + + + + + + + + + ReqEnableAllIspProcessing message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqEnableAllIspProcessing + + + + + + + + + + + ReqEnableAllIspProcessing message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqEnableAllIspProcessing}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqEnableAllIspProcessing +
+ + + +
+
+ Type +
+
+ +ReqEnableAllIspProcessing + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqEnableAllIspProcessing
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqEnableAllIspProcessing + + + + + + + + + + + ReqEnableAllIspProcessing
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqEnableAllIspProcessing message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetAllFeatureParams.html b/docs/ReqGetAllFeatureParams.html new file mode 100644 index 00000000..2a015775 --- /dev/null +++ b/docs/ReqGetAllFeatureParams.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ + ReqGetAllFeatureParams + +

+ +
Represents a ReqGetAllFeatureParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetAllFeatureParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetAllFeatureParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetAllFeatureParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetAllFeatureParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllFeatureParams instance +
+ + + +
+
+ Type +
+
+ +ReqGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllFeatureParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllFeatureParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllFeatureParams + + + + + + + + + + + ReqGetAllFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllFeatureParams + + + + + + + + + + + ReqGetAllFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetAllFeatureParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetAllFeatureParams + + + + + + + + + + + ReqGetAllFeatureParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetAllFeatureParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetAllParams.html b/docs/ReqGetAllParams.html new file mode 100644 index 00000000..82535648 --- /dev/null +++ b/docs/ReqGetAllParams.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetAllParams

+ + + + + + + +
+ +
+ +

+ + ReqGetAllParams + +

+ +
Represents a ReqGetAllParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetAllParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetAllParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetAllParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetAllParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllParams instance +
+ + + +
+
+ Type +
+
+ +ReqGetAllParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllParams + + + + + + + + + + + ReqGetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllParams + + + + + + + + + + + ReqGetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllParams +
+ + + +
+
+ Type +
+
+ +ReqGetAllParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetAllParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetAllParams + + + + + + + + + + + ReqGetAllParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetAllParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetAllShootingSchedule.html b/docs/ReqGetAllShootingSchedule.html new file mode 100644 index 00000000..4d937048 --- /dev/null +++ b/docs/ReqGetAllShootingSchedule.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetAllShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetAllShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqGetAllShootingSchedule + +

+ +
Represents a ReqGetAllShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetAllShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetAllShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetAllShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetAllShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetAllShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetAllShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllShootingSchedule + + + + + + + + + + + ReqGetAllShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetAllShootingSchedule + + + + + + + + + + + ReqGetAllShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetAllShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetAllShootingSchedule + + + + + + + + + + + ReqGetAllShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetAllShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetBrightness.html b/docs/ReqGetBrightness.html new file mode 100644 index 00000000..dbe89eb7 --- /dev/null +++ b/docs/ReqGetBrightness.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetBrightness

+ + + + + + + +
+ +
+ +

+ + ReqGetBrightness + +

+ +
Represents a ReqGetBrightness.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetBrightness(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetBrightness
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetBrightness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetBrightness to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetBrightness}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetBrightness instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetBrightness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetBrightness instance +
+ + + +
+
+ Type +
+
+ +ReqGetBrightness + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetBrightness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetBrightness message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetBrightness +
+ + + +
+
+ Type +
+
+ +ReqGetBrightness + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetBrightness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetBrightness +
+ + + +
+
+ Type +
+
+ +ReqGetBrightness + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetBrightness message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetBrightness + + + + + + + + + + + ReqGetBrightness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetBrightness + + + + + + + + + + + ReqGetBrightness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetBrightness}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetBrightness +
+ + + +
+
+ Type +
+
+ +ReqGetBrightness + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetBrightness
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetBrightness + + + + + + + + + + + ReqGetBrightness
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetBrightness message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetContrast.html b/docs/ReqGetContrast.html new file mode 100644 index 00000000..1df62fe6 --- /dev/null +++ b/docs/ReqGetContrast.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetContrast

+ + + + + + + +
+ +
+ +

+ + ReqGetContrast + +

+ +
Represents a ReqGetContrast.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetContrast(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetContrast
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetContrast + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetContrast to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetContrast}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetContrast instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetContrast + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetContrast instance +
+ + + +
+
+ Type +
+
+ +ReqGetContrast + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetContrast}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetContrast message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetContrast +
+ + + +
+
+ Type +
+
+ +ReqGetContrast + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetContrast}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetContrast message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetContrast +
+ + + +
+
+ Type +
+
+ +ReqGetContrast + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetContrast message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetContrast + + + + + + + + + + + ReqGetContrast message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetContrast message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetContrast + + + + + + + + + + + ReqGetContrast message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetContrast}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetContrast +
+ + + +
+
+ Type +
+
+ +ReqGetContrast + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetContrast
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetContrast + + + + + + + + + + + ReqGetContrast
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetContrast message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:38 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetDarkFrameList.html b/docs/ReqGetDarkFrameList.html new file mode 100644 index 00000000..34347312 --- /dev/null +++ b/docs/ReqGetDarkFrameList.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ReqGetDarkFrameList + +

+ +
Represents a ReqGetDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ReqGetDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetDarkFrameList + + + + + + + + + + + ReqGetDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetDarkFrameList + + + + + + + + + + + ReqGetDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetDarkFrameList + + + + + + + + + + + ReqGetDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetDeviceActivateInfo.html b/docs/ReqGetDeviceActivateInfo.html new file mode 100644 index 00000000..0a10e8aa --- /dev/null +++ b/docs/ReqGetDeviceActivateInfo.html @@ -0,0 +1,2212 @@ + + + + + + ReqGetDeviceActivateInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetDeviceActivateInfo

+ + + + + + + +
+ +
+ +

+ + ReqGetDeviceActivateInfo + +

+ +
Represents a ReqGetDeviceActivateInfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetDeviceActivateInfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetDeviceActivateInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetDeviceActivateInfo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetDeviceActivateInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

issuer :number

+ + + + + +
+ +
Description:
+
  • ReqGetDeviceActivateInfo issuer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetDeviceActivateInfo issuer. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetDeviceActivateInfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetDeviceActivateInfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetDeviceActivateInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetDeviceActivateInfo instance +
+ + + +
+
+ Type +
+
+ +ReqGetDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ReqGetDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ReqGetDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetDeviceActivateInfo + + + + + + + + + + + ReqGetDeviceActivateInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetDeviceActivateInfo + + + + + + + + + + + ReqGetDeviceActivateInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ReqGetDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetDeviceActivateInfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetDeviceActivateInfo + + + + + + + + + + + ReqGetDeviceActivateInfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetDeviceActivateInfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetExp.html b/docs/ReqGetExp.html new file mode 100644 index 00000000..eacbe40c --- /dev/null +++ b/docs/ReqGetExp.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetExp

+ + + + + + + +
+ +
+ +

+ + ReqGetExp + +

+ +
Represents a ReqGetExp.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetExp(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetExp
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetExp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetExp to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetExp}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetExp instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetExp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetExp instance +
+ + + +
+
+ Type +
+
+ +ReqGetExp + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetExp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetExp message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetExp +
+ + + +
+
+ Type +
+
+ +ReqGetExp + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetExp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetExp message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetExp +
+ + + +
+
+ Type +
+
+ +ReqGetExp + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetExp message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetExp + + + + + + + + + + + ReqGetExp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetExp message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetExp + + + + + + + + + + + ReqGetExp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetExp}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetExp +
+ + + +
+
+ Type +
+
+ +ReqGetExp + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetExp
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetExp message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetExp + + + + + + + + + + + ReqGetExp
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetExp message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetExpMode.html b/docs/ReqGetExpMode.html new file mode 100644 index 00000000..32d766ab --- /dev/null +++ b/docs/ReqGetExpMode.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetExpMode

+ + + + + + + +
+ +
+ +

+ + ReqGetExpMode + +

+ +
Represents a ReqGetExpMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetExpMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetExpMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetExpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetExpMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetExpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetExpMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetExpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetExpMode instance +
+ + + +
+
+ Type +
+
+ +ReqGetExpMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetExpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetExpMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetExpMode +
+ + + +
+
+ Type +
+
+ +ReqGetExpMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetExpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetExpMode +
+ + + +
+
+ Type +
+
+ +ReqGetExpMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetExpMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetExpMode + + + + + + + + + + + ReqGetExpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetExpMode + + + + + + + + + + + ReqGetExpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetExpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetExpMode +
+ + + +
+
+ Type +
+
+ +ReqGetExpMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetExpMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetExpMode + + + + + + + + + + + ReqGetExpMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetExpMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetGain.html b/docs/ReqGetGain.html new file mode 100644 index 00000000..1769e168 --- /dev/null +++ b/docs/ReqGetGain.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetGain

+ + + + + + + +
+ +
+ +

+ + ReqGetGain + +

+ +
Represents a ReqGetGain.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetGain(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetGain
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetGain + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetGain to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetGain}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetGain instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetGain + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetGain instance +
+ + + +
+
+ Type +
+
+ +ReqGetGain + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetGain}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetGain message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetGain +
+ + + +
+
+ Type +
+
+ +ReqGetGain + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetGain}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetGain message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetGain +
+ + + +
+
+ Type +
+
+ +ReqGetGain + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetGain message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetGain + + + + + + + + + + + ReqGetGain message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetGain message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetGain + + + + + + + + + + + ReqGetGain message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetGain}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetGain +
+ + + +
+
+ Type +
+
+ +ReqGetGain + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetGain
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetGain message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetGain + + + + + + + + + + + ReqGetGain
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetGain message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetGainMode.html b/docs/ReqGetGainMode.html new file mode 100644 index 00000000..dc61decc --- /dev/null +++ b/docs/ReqGetGainMode.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetGainMode

+ + + + + + + +
+ +
+ +

+ + ReqGetGainMode + +

+ +
Represents a ReqGetGainMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetGainMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetGainMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetGainMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetGainMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetGainMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetGainMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetGainMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetGainMode instance +
+ + + +
+
+ Type +
+
+ +ReqGetGainMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetGainMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetGainMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetGainMode +
+ + + +
+
+ Type +
+
+ +ReqGetGainMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetGainMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetGainMode +
+ + + +
+
+ Type +
+
+ +ReqGetGainMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetGainMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetGainMode + + + + + + + + + + + ReqGetGainMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetGainMode + + + + + + + + + + + ReqGetGainMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetGainMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetGainMode +
+ + + +
+
+ Type +
+
+ +ReqGetGainMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetGainMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetGainMode + + + + + + + + + + + ReqGetGainMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetGainMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetHue.html b/docs/ReqGetHue.html new file mode 100644 index 00000000..f378c875 --- /dev/null +++ b/docs/ReqGetHue.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetHue

+ + + + + + + +
+ +
+ +

+ + ReqGetHue + +

+ +
Represents a ReqGetHue.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetHue(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetHue
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetHue + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetHue to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetHue}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetHue instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetHue + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetHue instance +
+ + + +
+
+ Type +
+
+ +ReqGetHue + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetHue}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetHue message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetHue +
+ + + +
+
+ Type +
+
+ +ReqGetHue + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetHue}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetHue message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetHue +
+ + + +
+
+ Type +
+
+ +ReqGetHue + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetHue message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetHue + + + + + + + + + + + ReqGetHue message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetHue message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetHue + + + + + + + + + + + ReqGetHue message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetHue}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetHue +
+ + + +
+
+ Type +
+
+ +ReqGetHue + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetHue
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetHue message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetHue + + + + + + + + + + + ReqGetHue
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetHue message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetIrcut.html b/docs/ReqGetIrcut.html new file mode 100644 index 00000000..d12aab46 --- /dev/null +++ b/docs/ReqGetIrcut.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetIrcut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetIrcut

+ + + + + + + +
+ +
+ +

+ + ReqGetIrcut + +

+ +
Represents a ReqGetIrcut.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetIrcut(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetIrcut.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetIrcut
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetIrcut + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetIrcut to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetIrcut}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetIrcut instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetIrcut + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetIrcut instance +
+ + + +
+
+ Type +
+
+ +ReqGetIrcut + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetIrcut}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetIrcut message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetIrcut +
+ + + +
+
+ Type +
+
+ +ReqGetIrcut + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetIrcut}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetIrcut +
+ + + +
+
+ Type +
+
+ +ReqGetIrcut + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetIrcut message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetIrcut + + + + + + + + + + + ReqGetIrcut message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetIrcut + + + + + + + + + + + ReqGetIrcut message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetIrcut}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetIrcut +
+ + + +
+
+ Type +
+
+ +ReqGetIrcut + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetIrcut
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetIrcut + + + + + + + + + + + ReqGetIrcut
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetIrcut message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetJpgQuality.html b/docs/ReqGetJpgQuality.html new file mode 100644 index 00000000..0c0018f4 --- /dev/null +++ b/docs/ReqGetJpgQuality.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetJpgQuality

+ + + + + + + +
+ +
+ +

+ + ReqGetJpgQuality + +

+ +
Represents a ReqGetJpgQuality.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetJpgQuality(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetJpgQuality
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetJpgQuality + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetJpgQuality to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetJpgQuality instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetJpgQuality + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetJpgQuality instance +
+ + + +
+
+ Type +
+
+ +ReqGetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetJpgQuality message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqGetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqGetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetJpgQuality message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetJpgQuality + + + + + + + + + + + ReqGetJpgQuality message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetJpgQuality + + + + + + + + + + + ReqGetJpgQuality message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqGetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetJpgQuality
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetJpgQuality + + + + + + + + + + + ReqGetJpgQuality
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetJpgQuality message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetSaturation.html b/docs/ReqGetSaturation.html new file mode 100644 index 00000000..a7757ee6 --- /dev/null +++ b/docs/ReqGetSaturation.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetSaturation

+ + + + + + + +
+ +
+ +

+ + ReqGetSaturation + +

+ +
Represents a ReqGetSaturation.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetSaturation(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetSaturation
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSaturation + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetSaturation to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetSaturation}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetSaturation instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSaturation + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSaturation instance +
+ + + +
+
+ Type +
+
+ +ReqGetSaturation + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetSaturation}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSaturation message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSaturation +
+ + + +
+
+ Type +
+
+ +ReqGetSaturation + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetSaturation}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSaturation +
+ + + +
+
+ Type +
+
+ +ReqGetSaturation + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSaturation message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSaturation + + + + + + + + + + + ReqGetSaturation message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSaturation + + + + + + + + + + + ReqGetSaturation message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetSaturation}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSaturation +
+ + + +
+
+ Type +
+
+ +ReqGetSaturation + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetSaturation
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetSaturation + + + + + + + + + + + ReqGetSaturation
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetSaturation message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetSharpness.html b/docs/ReqGetSharpness.html new file mode 100644 index 00000000..fdcbe902 --- /dev/null +++ b/docs/ReqGetSharpness.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetSharpness

+ + + + + + + +
+ +
+ +

+ + ReqGetSharpness + +

+ +
Represents a ReqGetSharpness.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetSharpness(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetSharpness
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSharpness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetSharpness to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetSharpness}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetSharpness instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSharpness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSharpness instance +
+ + + +
+
+ Type +
+
+ +ReqGetSharpness + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetSharpness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSharpness message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSharpness +
+ + + +
+
+ Type +
+
+ +ReqGetSharpness + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetSharpness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSharpness +
+ + + +
+
+ Type +
+
+ +ReqGetSharpness + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSharpness message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSharpness + + + + + + + + + + + ReqGetSharpness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSharpness + + + + + + + + + + + ReqGetSharpness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetSharpness}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSharpness +
+ + + +
+
+ Type +
+
+ +ReqGetSharpness + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetSharpness
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetSharpness + + + + + + + + + + + ReqGetSharpness
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetSharpness message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetShootingScheduleById.html b/docs/ReqGetShootingScheduleById.html new file mode 100644 index 00000000..20781f93 --- /dev/null +++ b/docs/ReqGetShootingScheduleById.html @@ -0,0 +1,2212 @@ + + + + + + ReqGetShootingScheduleById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetShootingScheduleById

+ + + + + + + +
+ +
+ +

+ + ReqGetShootingScheduleById + +

+ +
Represents a ReqGetShootingScheduleById.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetShootingScheduleById(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetShootingScheduleById.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetShootingScheduleById
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetShootingScheduleById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqGetShootingScheduleById id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetShootingScheduleById id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetShootingScheduleById to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetShootingScheduleById instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetShootingScheduleById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetShootingScheduleById instance +
+ + + +
+
+ Type +
+
+ +ReqGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetShootingScheduleById message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetShootingScheduleById message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetShootingScheduleById + + + + + + + + + + + ReqGetShootingScheduleById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetShootingScheduleById + + + + + + + + + + + ReqGetShootingScheduleById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetShootingScheduleById
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetShootingScheduleById + + + + + + + + + + + ReqGetShootingScheduleById
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetShootingScheduleById message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetShootingTaskById.html b/docs/ReqGetShootingTaskById.html new file mode 100644 index 00000000..b4764296 --- /dev/null +++ b/docs/ReqGetShootingTaskById.html @@ -0,0 +1,2212 @@ + + + + + + ReqGetShootingTaskById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetShootingTaskById

+ + + + + + + +
+ +
+ +

+ + ReqGetShootingTaskById + +

+ +
Represents a ReqGetShootingTaskById.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetShootingTaskById(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetShootingTaskById.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetShootingTaskById
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetShootingTaskById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqGetShootingTaskById id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetShootingTaskById id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetShootingTaskById to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetShootingTaskById instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetShootingTaskById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetShootingTaskById instance +
+ + + +
+
+ Type +
+
+ +ReqGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetShootingTaskById message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetShootingTaskById message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetShootingTaskById + + + + + + + + + + + ReqGetShootingTaskById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetShootingTaskById + + + + + + + + + + + ReqGetShootingTaskById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ReqGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetShootingTaskById
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetShootingTaskById + + + + + + + + + + + ReqGetShootingTaskById
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetShootingTaskById message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetSystemWorkingState.html b/docs/ReqGetSystemWorkingState.html new file mode 100644 index 00000000..d7c8f96f --- /dev/null +++ b/docs/ReqGetSystemWorkingState.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetSystemWorkingState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetSystemWorkingState

+ + + + + + + +
+ +
+ +

+ + ReqGetSystemWorkingState + +

+ +
Represents a ReqGetSystemWorkingState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetSystemWorkingState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetSystemWorkingState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetSystemWorkingState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSystemWorkingState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetSystemWorkingState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetSystemWorkingState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetSystemWorkingState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetSystemWorkingState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSystemWorkingState instance +
+ + + +
+
+ Type +
+
+ +ReqGetSystemWorkingState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetSystemWorkingState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSystemWorkingState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSystemWorkingState +
+ + + +
+
+ Type +
+
+ +ReqGetSystemWorkingState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetSystemWorkingState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetSystemWorkingState +
+ + + +
+
+ Type +
+
+ +ReqGetSystemWorkingState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSystemWorkingState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSystemWorkingState + + + + + + + + + + + ReqGetSystemWorkingState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetSystemWorkingState + + + + + + + + + + + ReqGetSystemWorkingState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetSystemWorkingState}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetSystemWorkingState +
+ + + +
+
+ Type +
+
+ +ReqGetSystemWorkingState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetSystemWorkingState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetSystemWorkingState + + + + + + + + + + + ReqGetSystemWorkingState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetSystemWorkingState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetWBCT.html b/docs/ReqGetWBCT.html new file mode 100644 index 00000000..4552d971 --- /dev/null +++ b/docs/ReqGetWBCT.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetWBCT

+ + + + + + + +
+ +
+ +

+ + ReqGetWBCT + +

+ +
Represents a ReqGetWBCT.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetWBCT(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetWBCT
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBCT + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetWBCT to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetWBCT}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetWBCT instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBCT + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBCT instance +
+ + + +
+
+ Type +
+
+ +ReqGetWBCT + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetWBCT}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBCT message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBCT +
+ + + +
+
+ Type +
+
+ +ReqGetWBCT + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetWBCT}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBCT +
+ + + +
+
+ Type +
+
+ +ReqGetWBCT + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBCT message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBCT + + + + + + + + + + + ReqGetWBCT message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBCT + + + + + + + + + + + ReqGetWBCT message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetWBCT}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBCT +
+ + + +
+
+ Type +
+
+ +ReqGetWBCT + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetWBCT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetWBCT + + + + + + + + + + + ReqGetWBCT
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetWBCT message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetWBMode.html b/docs/ReqGetWBMode.html new file mode 100644 index 00000000..f181a573 --- /dev/null +++ b/docs/ReqGetWBMode.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetWBMode

+ + + + + + + +
+ +
+ +

+ + ReqGetWBMode + +

+ +
Represents a ReqGetWBMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetWBMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetWBMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetWBMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetWBMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetWBMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBMode instance +
+ + + +
+
+ Type +
+
+ +ReqGetWBMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetWBMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBMode +
+ + + +
+
+ Type +
+
+ +ReqGetWBMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetWBMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBMode +
+ + + +
+
+ Type +
+
+ +ReqGetWBMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBMode + + + + + + + + + + + ReqGetWBMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBMode + + + + + + + + + + + ReqGetWBMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetWBMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBMode +
+ + + +
+
+ Type +
+
+ +ReqGetWBMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetWBMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetWBMode + + + + + + + + + + + ReqGetWBMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetWBMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetWBSence.html b/docs/ReqGetWBSence.html new file mode 100644 index 00000000..7d6a3773 --- /dev/null +++ b/docs/ReqGetWBSence.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetWBSence

+ + + + + + + +
+ +
+ +

+ + ReqGetWBSence + +

+ +
Represents a ReqGetWBSence.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetWBSence(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetWBSence
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBSence + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetWBSence to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetWBSence}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetWBSence instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWBSence + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBSence instance +
+ + + +
+
+ Type +
+
+ +ReqGetWBSence + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetWBSence}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBSence message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBSence +
+ + + +
+
+ Type +
+
+ +ReqGetWBSence + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetWBSence}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWBSence +
+ + + +
+
+ Type +
+
+ +ReqGetWBSence + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBSence message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBSence + + + + + + + + + + + ReqGetWBSence message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWBSence + + + + + + + + + + + ReqGetWBSence message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetWBSence}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWBSence +
+ + + +
+
+ Type +
+
+ +ReqGetWBSence + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetWBSence
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetWBSence + + + + + + + + + + + ReqGetWBSence
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetWBSence message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetWideDarkFrameList.html b/docs/ReqGetWideDarkFrameList.html new file mode 100644 index 00000000..5aba349f --- /dev/null +++ b/docs/ReqGetWideDarkFrameList.html @@ -0,0 +1,2130 @@ + + + + + + ReqGetWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ReqGetWideDarkFrameList + +

+ +
Represents a ReqGetWideDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetWideDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetWideDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetWideDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWideDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ReqGetWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWideDarkFrameList + + + + + + + + + + + ReqGetWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetWideDarkFrameList + + + + + + + + + + + ReqGetWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ReqGetWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetWideDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetWideDarkFrameList + + + + + + + + + + + ReqGetWideDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetWideDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetconfig.html b/docs/ReqGetconfig.html new file mode 100644 index 00000000..a71b9dac --- /dev/null +++ b/docs/ReqGetconfig.html @@ -0,0 +1,2290 @@ + + + + + + ReqGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetconfig

+ + + + + + + +
+ +
+ +

+ + ReqGetconfig + +

+ +
Represents a ReqGetconfig.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetconfig(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetconfig
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetconfig + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

blePsd :string

+ + + + + +
+ +
Description:
+
  • ReqGetconfig blePsd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetconfig blePsd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqGetconfig cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetconfig cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetconfig to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetconfig}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetconfig instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetconfig + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetconfig instance +
+ + + +
+
+ Type +
+
+ +ReqGetconfig + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetconfig}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetconfig message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetconfig +
+ + + +
+
+ Type +
+
+ +ReqGetconfig + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetconfig}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetconfig message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetconfig +
+ + + +
+
+ Type +
+
+ +ReqGetconfig + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetconfig message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetconfig + + + + + + + + + + + ReqGetconfig message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetconfig message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetconfig + + + + + + + + + + + ReqGetconfig message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetconfig}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetconfig +
+ + + +
+
+ Type +
+
+ +ReqGetconfig + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetconfig
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetconfig + + + + + + + + + + + ReqGetconfig
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetconfig message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetsysteminfo.html b/docs/ReqGetsysteminfo.html new file mode 100644 index 00000000..6b206ac2 --- /dev/null +++ b/docs/ReqGetsysteminfo.html @@ -0,0 +1,2212 @@ + + + + + + ReqGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetsysteminfo

+ + + + + + + +
+ +
+ +

+ + ReqGetsysteminfo + +

+ +
Represents a ReqGetsysteminfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetsysteminfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetsysteminfo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetsysteminfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqGetsysteminfo cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetsysteminfo cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetsysteminfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetsysteminfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetsysteminfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetsysteminfo instance +
+ + + +
+
+ Type +
+
+ +ReqGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetsysteminfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ReqGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ReqGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetsysteminfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetsysteminfo + + + + + + + + + + + ReqGetsysteminfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetsysteminfo + + + + + + + + + + + ReqGetsysteminfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ReqGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetsysteminfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetsysteminfo + + + + + + + + + + + ReqGetsysteminfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetsysteminfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGetwifilist.html b/docs/ReqGetwifilist.html new file mode 100644 index 00000000..0ba32256 --- /dev/null +++ b/docs/ReqGetwifilist.html @@ -0,0 +1,2212 @@ + + + + + + ReqGetwifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGetwifilist

+ + + + + + + +
+ +
+ +

+ + ReqGetwifilist + +

+ +
Represents a ReqGetwifilist.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGetwifilist(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGetwifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqGetwifilist
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetwifilist + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqGetwifilist cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGetwifilist cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGetwifilist to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGetwifilist}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGetwifilist instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGetwifilist + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetwifilist instance +
+ + + +
+
+ Type +
+
+ +ReqGetwifilist + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGetwifilist}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetwifilist message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetwifilist +
+ + + +
+
+ Type +
+
+ +ReqGetwifilist + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGetwifilist}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGetwifilist +
+ + + +
+
+ Type +
+
+ +ReqGetwifilist + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetwifilist message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetwifilist + + + + + + + + + + + ReqGetwifilist message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGetwifilist + + + + + + + + + + + ReqGetwifilist message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGetwifilist}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGetwifilist +
+ + + +
+
+ Type +
+
+ +ReqGetwifilist + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGetwifilist
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGetwifilist + + + + + + + + + + + ReqGetwifilist
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGetwifilist message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGoLive.html b/docs/ReqGoLive.html new file mode 100644 index 00000000..38195baf --- /dev/null +++ b/docs/ReqGoLive.html @@ -0,0 +1,2130 @@ + + + + + + ReqGoLive - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGoLive

+ + + + + + + +
+ +
+ +

+ + ReqGoLive + +

+ +
Represents a ReqGoLive.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGoLive(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGoLive.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGoLive + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGoLive to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGoLive}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGoLive instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGoLive + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGoLive instance +
+ + + +
+
+ Type +
+
+ +ReqGoLive + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGoLive}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGoLive message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGoLive +
+ + + +
+
+ Type +
+
+ +ReqGoLive + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGoLive}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGoLive message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGoLive +
+ + + +
+
+ Type +
+
+ +ReqGoLive + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGoLive message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGoLive + + + + + + + + + + + ReqGoLive message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGoLive message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGoLive + + + + + + + + + + + ReqGoLive message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGoLive}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGoLive +
+ + + +
+
+ Type +
+
+ +ReqGoLive + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGoLive
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGoLive message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGoLive + + + + + + + + + + + ReqGoLive
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGoLive message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGotoDSO.html b/docs/ReqGotoDSO.html new file mode 100644 index 00000000..cdfc392c --- /dev/null +++ b/docs/ReqGotoDSO.html @@ -0,0 +1,2368 @@ + + + + + + ReqGotoDSO - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGotoDSO

+ + + + + + + +
+ +
+ +

+ + ReqGotoDSO + +

+ +
Represents a ReqGotoDSO.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGotoDSO(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGotoDSO.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGotoDSO + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

dec :number

+ + + + + +
+ +
Description:
+
  • ReqGotoDSO dec.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoDSO dec. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ra :number

+ + + + + +
+ +
Description:
+
  • ReqGotoDSO ra.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoDSO ra. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ReqGotoDSO targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoDSO targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGotoDSO to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGotoDSO instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGotoDSO + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGotoDSO instance +
+ + + +
+
+ Type +
+
+ +ReqGotoDSO + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGotoDSO message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqGotoDSO + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqGotoDSO + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGotoDSO message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGotoDSO + + + + + + + + + + + ReqGotoDSO message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGotoDSO + + + + + + + + + + + ReqGotoDSO message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqGotoDSO + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGotoDSO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGotoDSO + + + + + + + + + + + ReqGotoDSO
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGotoDSO message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqGotoSolarSystem.html b/docs/ReqGotoSolarSystem.html new file mode 100644 index 00000000..d63dd407 --- /dev/null +++ b/docs/ReqGotoSolarSystem.html @@ -0,0 +1,2446 @@ + + + + + + ReqGotoSolarSystem - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqGotoSolarSystem

+ + + + + + + +
+ +
+ +

+ + ReqGotoSolarSystem + +

+ +
Represents a ReqGotoSolarSystem.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqGotoSolarSystem(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqGotoSolarSystem.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGotoSolarSystem + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqGotoSolarSystem index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoSolarSystem index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lat :number

+ + + + + +
+ +
Description:
+
  • ReqGotoSolarSystem lat.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoSolarSystem lat. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lon :number

+ + + + + +
+ +
Description:
+
  • ReqGotoSolarSystem lon.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoSolarSystem lon. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ReqGotoSolarSystem targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqGotoSolarSystem targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqGotoSolarSystem to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqGotoSolarSystem instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqGotoSolarSystem + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGotoSolarSystem instance +
+ + + +
+
+ Type +
+
+ +ReqGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGotoSolarSystem message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGotoSolarSystem message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGotoSolarSystem + + + + + + + + + + + ReqGotoSolarSystem message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqGotoSolarSystem + + + + + + + + + + + ReqGotoSolarSystem message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqGotoSolarSystem
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqGotoSolarSystem + + + + + + + + + + + ReqGotoSolarSystem
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqGotoSolarSystem message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqLockShootingSchedule.html b/docs/ReqLockShootingSchedule.html new file mode 100644 index 00000000..d51f86aa --- /dev/null +++ b/docs/ReqLockShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ReqLockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqLockShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqLockShootingSchedule + +

+ +
Represents a ReqLockShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqLockShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqLockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqLockShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqLockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqLockShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqLockShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

password :string

+ + + + + +
+ +
Description:
+
  • ReqLockShootingSchedule password.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqLockShootingSchedule password. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqLockShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqLockShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqLockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqLockShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqLockShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqLockShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqLockShootingSchedule + + + + + + + + + + + ReqLockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqLockShootingSchedule + + + + + + + + + + + ReqLockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqLockShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqLockShootingSchedule + + + + + + + + + + + ReqLockShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqLockShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMOTTrack.html b/docs/ReqMOTTrack.html new file mode 100644 index 00000000..17efe46d --- /dev/null +++ b/docs/ReqMOTTrack.html @@ -0,0 +1,2130 @@ + + + + + + ReqMOTTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMOTTrack

+ + + + + + + +
+ +
+ +

+ + ReqMOTTrack + +

+ +
Represents a ReqMOTTrack.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMOTTrack(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMOTTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMOTTrack
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMOTTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMOTTrack to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMOTTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMOTTrack instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMOTTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMOTTrack instance +
+ + + +
+
+ Type +
+
+ +ReqMOTTrack + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMOTTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMOTTrack message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMOTTrack +
+ + + +
+
+ Type +
+
+ +ReqMOTTrack + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMOTTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMOTTrack +
+ + + +
+
+ Type +
+
+ +ReqMOTTrack + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMOTTrack message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMOTTrack + + + + + + + + + + + ReqMOTTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMOTTrack + + + + + + + + + + + ReqMOTTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMOTTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMOTTrack +
+ + + +
+
+ Type +
+
+ +ReqMOTTrack + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMOTTrack
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMOTTrack + + + + + + + + + + + ReqMOTTrack
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMOTTrack message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMOTTrackOne.html b/docs/ReqMOTTrackOne.html new file mode 100644 index 00000000..8b2e93b7 --- /dev/null +++ b/docs/ReqMOTTrackOne.html @@ -0,0 +1,2212 @@ + + + + + + ReqMOTTrackOne - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMOTTrackOne

+ + + + + + + +
+ +
+ +

+ + ReqMOTTrackOne + +

+ +
Represents a ReqMOTTrackOne.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMOTTrackOne(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMOTTrackOne.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMOTTrackOne
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMOTTrackOne + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMOTTrackOne id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMOTTrackOne id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMOTTrackOne to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMOTTrackOne}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMOTTrackOne instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMOTTrackOne + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMOTTrackOne instance +
+ + + +
+
+ Type +
+
+ +ReqMOTTrackOne + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMOTTrackOne}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMOTTrackOne message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMOTTrackOne +
+ + + +
+
+ Type +
+
+ +ReqMOTTrackOne + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMOTTrackOne}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMOTTrackOne +
+ + + +
+
+ Type +
+
+ +ReqMOTTrackOne + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMOTTrackOne message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMOTTrackOne + + + + + + + + + + + ReqMOTTrackOne message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMOTTrackOne + + + + + + + + + + + ReqMOTTrackOne message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMOTTrackOne}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMOTTrackOne +
+ + + +
+
+ Type +
+
+ +ReqMOTTrackOne + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMOTTrackOne
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMOTTrackOne + + + + + + + + + + + ReqMOTTrackOne
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMOTTrackOne message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqManualContinuFocus.html b/docs/ReqManualContinuFocus.html new file mode 100644 index 00000000..996066fd --- /dev/null +++ b/docs/ReqManualContinuFocus.html @@ -0,0 +1,2212 @@ + + + + + + ReqManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqManualContinuFocus

+ + + + + + + +
+ +
+ +

+ + ReqManualContinuFocus + +

+ +
Represents a ReqManualContinuFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqManualContinuFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqManualContinuFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqManualContinuFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :number

+ + + + + +
+ +
Description:
+
  • ReqManualContinuFocus direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqManualContinuFocus direction. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqManualContinuFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqManualContinuFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqManualContinuFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqManualContinuFocus instance +
+ + + +
+
+ Type +
+
+ +ReqManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqManualContinuFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqManualContinuFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqManualContinuFocus + + + + + + + + + + + ReqManualContinuFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqManualContinuFocus + + + + + + + + + + + ReqManualContinuFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqManualContinuFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqManualContinuFocus + + + + + + + + + + + ReqManualContinuFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqManualContinuFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqManualSingleStepFocus.html b/docs/ReqManualSingleStepFocus.html new file mode 100644 index 00000000..005b20a7 --- /dev/null +++ b/docs/ReqManualSingleStepFocus.html @@ -0,0 +1,2212 @@ + + + + + + ReqManualSingleStepFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqManualSingleStepFocus

+ + + + + + + +
+ +
+ +

+ + ReqManualSingleStepFocus + +

+ +
Represents a ReqManualSingleStepFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqManualSingleStepFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqManualSingleStepFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqManualSingleStepFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqManualSingleStepFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :number

+ + + + + +
+ +
Description:
+
  • ReqManualSingleStepFocus direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqManualSingleStepFocus direction. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqManualSingleStepFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqManualSingleStepFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqManualSingleStepFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqManualSingleStepFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqManualSingleStepFocus instance +
+ + + +
+
+ Type +
+
+ +ReqManualSingleStepFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqManualSingleStepFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqManualSingleStepFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqManualSingleStepFocus +
+ + + +
+
+ Type +
+
+ +ReqManualSingleStepFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqManualSingleStepFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqManualSingleStepFocus +
+ + + +
+
+ Type +
+
+ +ReqManualSingleStepFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqManualSingleStepFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqManualSingleStepFocus + + + + + + + + + + + ReqManualSingleStepFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqManualSingleStepFocus + + + + + + + + + + + ReqManualSingleStepFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqManualSingleStepFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqManualSingleStepFocus +
+ + + +
+
+ Type +
+
+ +ReqManualSingleStepFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqManualSingleStepFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqManualSingleStepFocus + + + + + + + + + + + ReqManualSingleStepFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqManualSingleStepFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorChangeDirection.html b/docs/ReqMotorChangeDirection.html new file mode 100644 index 00000000..b33d34a3 --- /dev/null +++ b/docs/ReqMotorChangeDirection.html @@ -0,0 +1,2290 @@ + + + + + + ReqMotorChangeDirection - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorChangeDirection

+ + + + + + + +
+ +
+ +

+ + ReqMotorChangeDirection + +

+ +
Represents a ReqMotorChangeDirection.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorChangeDirection(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorChangeDirection.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorChangeDirection
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorChangeDirection + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :boolean

+ + + + + +
+ +
Description:
+
  • ReqMotorChangeDirection direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorChangeDirection direction. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorChangeDirection id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorChangeDirection id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorChangeDirection to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorChangeDirection}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorChangeDirection instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorChangeDirection + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorChangeDirection instance +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeDirection + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorChangeDirection}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorChangeDirection message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorChangeDirection +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeDirection + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorChangeDirection}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorChangeDirection +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeDirection + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorChangeDirection message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorChangeDirection + + + + + + + + + + + ReqMotorChangeDirection message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorChangeDirection + + + + + + + + + + + ReqMotorChangeDirection message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorChangeDirection}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorChangeDirection +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeDirection + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorChangeDirection
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorChangeDirection + + + + + + + + + + + ReqMotorChangeDirection
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorChangeDirection message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorChangeSpeed.html b/docs/ReqMotorChangeSpeed.html new file mode 100644 index 00000000..b8e9aa71 --- /dev/null +++ b/docs/ReqMotorChangeSpeed.html @@ -0,0 +1,2290 @@ + + + + + + ReqMotorChangeSpeed - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorChangeSpeed

+ + + + + + + +
+ +
+ +

+ + ReqMotorChangeSpeed + +

+ +
Represents a ReqMotorChangeSpeed.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorChangeSpeed(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorChangeSpeed.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorChangeSpeed
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorChangeSpeed + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorChangeSpeed id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorChangeSpeed id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speed :number

+ + + + + +
+ +
Description:
+
  • ReqMotorChangeSpeed speed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorChangeSpeed speed. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorChangeSpeed to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorChangeSpeed}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorChangeSpeed instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorChangeSpeed + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorChangeSpeed instance +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeSpeed + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorChangeSpeed}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorChangeSpeed message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorChangeSpeed +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeSpeed + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorChangeSpeed}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorChangeSpeed +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeSpeed + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorChangeSpeed message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorChangeSpeed + + + + + + + + + + + ReqMotorChangeSpeed message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorChangeSpeed + + + + + + + + + + + ReqMotorChangeSpeed message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorChangeSpeed}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorChangeSpeed +
+ + + +
+
+ Type +
+
+ +ReqMotorChangeSpeed + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorChangeSpeed
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorChangeSpeed + + + + + + + + + + + ReqMotorChangeSpeed
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorChangeSpeed message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorGetPosition.html b/docs/ReqMotorGetPosition.html new file mode 100644 index 00000000..1d5f684e --- /dev/null +++ b/docs/ReqMotorGetPosition.html @@ -0,0 +1,2212 @@ + + + + + + ReqMotorGetPosition - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorGetPosition

+ + + + + + + +
+ +
+ +

+ + ReqMotorGetPosition + +

+ +
Represents a ReqMotorGetPosition.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorGetPosition(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorGetPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorGetPosition
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorGetPosition + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorGetPosition id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorGetPosition id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorGetPosition to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorGetPosition}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorGetPosition instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorGetPosition + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorGetPosition instance +
+ + + +
+
+ Type +
+
+ +ReqMotorGetPosition + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorGetPosition}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorGetPosition message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorGetPosition +
+ + + +
+
+ Type +
+
+ +ReqMotorGetPosition + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorGetPosition}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorGetPosition +
+ + + +
+
+ Type +
+
+ +ReqMotorGetPosition + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorGetPosition message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorGetPosition + + + + + + + + + + + ReqMotorGetPosition message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorGetPosition + + + + + + + + + + + ReqMotorGetPosition message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorGetPosition}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorGetPosition +
+ + + +
+
+ Type +
+
+ +ReqMotorGetPosition + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorGetPosition
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorGetPosition + + + + + + + + + + + ReqMotorGetPosition
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorGetPosition message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorReset.html b/docs/ReqMotorReset.html new file mode 100644 index 00000000..7648bcd0 --- /dev/null +++ b/docs/ReqMotorReset.html @@ -0,0 +1,2290 @@ + + + + + + ReqMotorReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorReset

+ + + + + + + +
+ +
+ +

+ + ReqMotorReset + +

+ +
Represents a ReqMotorReset.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorReset(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorReset
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :boolean

+ + + + + +
+ +
Description:
+
  • ReqMotorReset direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorReset direction. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorReset id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorReset id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorReset to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorReset}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorReset instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorReset instance +
+ + + +
+
+ Type +
+
+ +ReqMotorReset + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorReset message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorReset +
+ + + +
+
+ Type +
+
+ +ReqMotorReset + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorReset message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorReset +
+ + + +
+
+ Type +
+
+ +ReqMotorReset + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorReset message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorReset + + + + + + + + + + + ReqMotorReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorReset message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorReset + + + + + + + + + + + ReqMotorReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorReset}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorReset +
+ + + +
+
+ Type +
+
+ +ReqMotorReset + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorReset
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorReset + + + + + + + + + + + ReqMotorReset
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorReset message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorRun.html b/docs/ReqMotorRun.html new file mode 100644 index 00000000..c24fef75 --- /dev/null +++ b/docs/ReqMotorRun.html @@ -0,0 +1,2524 @@ + + + + + + ReqMotorRun - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorRun

+ + + + + + + +
+ +
+ +

+ + ReqMotorRun + +

+ +
Represents a ReqMotorRun.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorRun(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorRun.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorRun
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRun + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :boolean

+ + + + + +
+ +
Description:
+
  • ReqMotorRun direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRun direction. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRun id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRun id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

resolutionLevel :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRun resolutionLevel.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRun resolutionLevel. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speed :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRun speed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRun speed. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speedRamping :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRun speedRamping.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRun speedRamping. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorRun to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorRun}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorRun instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRun + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRun instance +
+ + + +
+
+ Type +
+
+ +ReqMotorRun + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorRun}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRun message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRun +
+ + + +
+
+ Type +
+
+ +ReqMotorRun + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorRun}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRun message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRun +
+ + + +
+
+ Type +
+
+ +ReqMotorRun + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRun message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRun + + + + + + + + + + + ReqMotorRun message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRun message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRun + + + + + + + + + + + ReqMotorRun message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorRun}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRun +
+ + + +
+
+ Type +
+
+ +ReqMotorRun + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorRun
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorRun + + + + + + + + + + + ReqMotorRun
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorRun message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorRunInPulse.html b/docs/ReqMotorRunInPulse.html new file mode 100644 index 00000000..399a037d --- /dev/null +++ b/docs/ReqMotorRunInPulse.html @@ -0,0 +1,2680 @@ + + + + + + ReqMotorRunInPulse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorRunInPulse

+ + + + + + + +
+ +
+ +

+ + ReqMotorRunInPulse + +

+ +
Represents a ReqMotorRunInPulse.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorRunInPulse(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorRunInPulse.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorRunInPulse
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRunInPulse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

direction :boolean

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse direction.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse direction. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

frequency :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse frequency.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse frequency. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mode :boolean

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse mode. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

pulse :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse pulse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse pulse. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

resolution :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse resolution.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse resolution. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speedRamping :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunInPulse speedRamping.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunInPulse speedRamping. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorRunInPulse to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorRunInPulse}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorRunInPulse instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRunInPulse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRunInPulse instance +
+ + + +
+
+ Type +
+
+ +ReqMotorRunInPulse + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorRunInPulse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRunInPulse message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRunInPulse +
+ + + +
+
+ Type +
+
+ +ReqMotorRunInPulse + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorRunInPulse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRunInPulse +
+ + + +
+
+ Type +
+
+ +ReqMotorRunInPulse + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRunInPulse message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRunInPulse + + + + + + + + + + + ReqMotorRunInPulse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRunInPulse + + + + + + + + + + + ReqMotorRunInPulse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorRunInPulse}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRunInPulse +
+ + + +
+
+ Type +
+
+ +ReqMotorRunInPulse + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorRunInPulse
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorRunInPulse + + + + + + + + + + + ReqMotorRunInPulse
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorRunInPulse message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:39 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorRunTo.html b/docs/ReqMotorRunTo.html new file mode 100644 index 00000000..738b9f6a --- /dev/null +++ b/docs/ReqMotorRunTo.html @@ -0,0 +1,2524 @@ + + + + + + ReqMotorRunTo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorRunTo

+ + + + + + + +
+ +
+ +

+ + ReqMotorRunTo + +

+ +
Represents a ReqMotorRunTo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorRunTo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorRunTo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorRunTo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRunTo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

endPosition :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunTo endPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunTo endPosition. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunTo id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunTo id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

resolutionLevel :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunTo resolutionLevel.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunTo resolutionLevel. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speed :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunTo speed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunTo speed. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

speedRamping :number

+ + + + + +
+ +
Description:
+
  • ReqMotorRunTo speedRamping.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorRunTo speedRamping. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorRunTo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorRunTo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorRunTo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorRunTo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRunTo instance +
+ + + +
+
+ Type +
+
+ +ReqMotorRunTo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorRunTo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRunTo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRunTo +
+ + + +
+
+ Type +
+
+ +ReqMotorRunTo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorRunTo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorRunTo +
+ + + +
+
+ Type +
+
+ +ReqMotorRunTo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRunTo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRunTo + + + + + + + + + + + ReqMotorRunTo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorRunTo + + + + + + + + + + + ReqMotorRunTo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorRunTo}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorRunTo +
+ + + +
+
+ Type +
+
+ +ReqMotorRunTo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorRunTo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorRunTo + + + + + + + + + + + ReqMotorRunTo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorRunTo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorServiceJoystick.html b/docs/ReqMotorServiceJoystick.html new file mode 100644 index 00000000..83420599 --- /dev/null +++ b/docs/ReqMotorServiceJoystick.html @@ -0,0 +1,2368 @@ + + + + + + ReqMotorServiceJoystick - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorServiceJoystick

+ + + + + + + +
+ +
+ +

+ + ReqMotorServiceJoystick + +

+ +
Represents a ReqMotorServiceJoystick.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorServiceJoystick(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorServiceJoystick.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorServiceJoystick
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystick + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

speed :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystick speed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystick speed. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

vectorAngle :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystick vectorAngle.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystick vectorAngle. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

vectorLength :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystick vectorLength.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystick vectorLength. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorServiceJoystick to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorServiceJoystick}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorServiceJoystick instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystick + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystick instance +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystick + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorServiceJoystick}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystick message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystick +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystick + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorServiceJoystick}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystick +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystick + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystick message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystick + + + + + + + + + + + ReqMotorServiceJoystick message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystick + + + + + + + + + + + ReqMotorServiceJoystick message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorServiceJoystick}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystick +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystick + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorServiceJoystick
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorServiceJoystick + + + + + + + + + + + ReqMotorServiceJoystick
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorServiceJoystick message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorServiceJoystickFixedAngle.html b/docs/ReqMotorServiceJoystickFixedAngle.html new file mode 100644 index 00000000..5ece66c3 --- /dev/null +++ b/docs/ReqMotorServiceJoystickFixedAngle.html @@ -0,0 +1,2368 @@ + + + + + + ReqMotorServiceJoystickFixedAngle - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorServiceJoystickFixedAngle

+ + + + + + + +
+ +
+ +

+ + ReqMotorServiceJoystickFixedAngle + +

+ +
Represents a ReqMotorServiceJoystickFixedAngle.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorServiceJoystickFixedAngle(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorServiceJoystickFixedAngle.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorServiceJoystickFixedAngle
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystickFixedAngle + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

speed :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystickFixedAngle speed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystickFixedAngle speed. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

vectorAngle :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystickFixedAngle vectorAngle.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystickFixedAngle vectorAngle. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

vectorLength :number

+ + + + + +
+ +
Description:
+
  • ReqMotorServiceJoystickFixedAngle vectorLength.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorServiceJoystickFixedAngle vectorLength. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorServiceJoystickFixedAngle to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorServiceJoystickFixedAngle}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystickFixedAngle + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystickFixedAngle instance +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickFixedAngle + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorServiceJoystickFixedAngle}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystickFixedAngle +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickFixedAngle + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorServiceJoystickFixedAngle}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystickFixedAngle +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickFixedAngle + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystickFixedAngle + + + + + + + + + + + ReqMotorServiceJoystickFixedAngle message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystickFixedAngle + + + + + + + + + + + ReqMotorServiceJoystickFixedAngle message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorServiceJoystickFixedAngle}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystickFixedAngle +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickFixedAngle + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorServiceJoystickFixedAngle
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorServiceJoystickFixedAngle + + + + + + + + + + + ReqMotorServiceJoystickFixedAngle
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorServiceJoystickFixedAngle message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorServiceJoystickStop.html b/docs/ReqMotorServiceJoystickStop.html new file mode 100644 index 00000000..a1731f80 --- /dev/null +++ b/docs/ReqMotorServiceJoystickStop.html @@ -0,0 +1,2130 @@ + + + + + + ReqMotorServiceJoystickStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorServiceJoystickStop

+ + + + + + + +
+ +
+ +

+ + ReqMotorServiceJoystickStop + +

+ +
Represents a ReqMotorServiceJoystickStop.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorServiceJoystickStop(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorServiceJoystickStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorServiceJoystickStop
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystickStop + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorServiceJoystickStop to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorServiceJoystickStop}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorServiceJoystickStop instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorServiceJoystickStop + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystickStop instance +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickStop + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorServiceJoystickStop}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystickStop +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickStop + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorServiceJoystickStop}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorServiceJoystickStop +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickStop + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystickStop + + + + + + + + + + + ReqMotorServiceJoystickStop message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorServiceJoystickStop + + + + + + + + + + + ReqMotorServiceJoystickStop message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorServiceJoystickStop}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorServiceJoystickStop +
+ + + +
+
+ Type +
+
+ +ReqMotorServiceJoystickStop + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorServiceJoystickStop
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorServiceJoystickStop + + + + + + + + + + + ReqMotorServiceJoystickStop
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorServiceJoystickStop message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqMotorStop.html b/docs/ReqMotorStop.html new file mode 100644 index 00000000..acf1d5e4 --- /dev/null +++ b/docs/ReqMotorStop.html @@ -0,0 +1,2212 @@ + + + + + + ReqMotorStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqMotorStop

+ + + + + + + +
+ +
+ +

+ + ReqMotorStop + +

+ +
Represents a ReqMotorStop.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqMotorStop(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqMotorStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqMotorStop
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorStop + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :number

+ + + + + +
+ +
Description:
+
  • ReqMotorStop id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqMotorStop id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqMotorStop to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqMotorStop}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqMotorStop instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqMotorStop + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorStop instance +
+ + + +
+
+ Type +
+
+ +ReqMotorStop + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqMotorStop}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorStop message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorStop +
+ + + +
+
+ Type +
+
+ +ReqMotorStop + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqMotorStop}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqMotorStop message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqMotorStop +
+ + + +
+
+ Type +
+
+ +ReqMotorStop + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorStop message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorStop + + + + + + + + + + + ReqMotorStop message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqMotorStop message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqMotorStop + + + + + + + + + + + ReqMotorStop message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqMotorStop}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqMotorStop +
+ + + +
+
+ Type +
+
+ +ReqMotorStop + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqMotorStop
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqMotorStop + + + + + + + + + + + ReqMotorStop
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqMotorStop message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqNormalAutoFocus.html b/docs/ReqNormalAutoFocus.html new file mode 100644 index 00000000..bc3520fa --- /dev/null +++ b/docs/ReqNormalAutoFocus.html @@ -0,0 +1,2368 @@ + + + + + + ReqNormalAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqNormalAutoFocus

+ + + + + + + +
+ +
+ +

+ + ReqNormalAutoFocus + +

+ +
Represents a ReqNormalAutoFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqNormalAutoFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqNormalAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqNormalAutoFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqNormalAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

centerX :number

+ + + + + +
+ +
Description:
+
  • ReqNormalAutoFocus centerX.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqNormalAutoFocus centerX. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

centerY :number

+ + + + + +
+ +
Description:
+
  • ReqNormalAutoFocus centerY.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqNormalAutoFocus centerY. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqNormalAutoFocus mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqNormalAutoFocus mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqNormalAutoFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqNormalAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqNormalAutoFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqNormalAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqNormalAutoFocus instance +
+ + + +
+
+ Type +
+
+ +ReqNormalAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqNormalAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqNormalAutoFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqNormalAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqNormalAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqNormalAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqNormalAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqNormalAutoFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqNormalAutoFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqNormalAutoFocus + + + + + + + + + + + ReqNormalAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqNormalAutoFocus + + + + + + + + + + + ReqNormalAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqNormalAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqNormalAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqNormalAutoFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqNormalAutoFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqNormalAutoFocus + + + + + + + + + + + ReqNormalAutoFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqNormalAutoFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqOneClickGotoDSO.html b/docs/ReqOneClickGotoDSO.html new file mode 100644 index 00000000..3cc50c26 --- /dev/null +++ b/docs/ReqOneClickGotoDSO.html @@ -0,0 +1,2368 @@ + + + + + + ReqOneClickGotoDSO - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqOneClickGotoDSO

+ + + + + + + +
+ +
+ +

+ + ReqOneClickGotoDSO + +

+ +
Represents a ReqOneClickGotoDSO.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqOneClickGotoDSO(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqOneClickGotoDSO.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOneClickGotoDSO + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

dec :number

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoDSO dec.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoDSO dec. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ra :number

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoDSO ra.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoDSO ra. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoDSO targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoDSO targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqOneClickGotoDSO to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqOneClickGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqOneClickGotoDSO instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOneClickGotoDSO + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOneClickGotoDSO instance +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoDSO + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqOneClickGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOneClickGotoDSO message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOneClickGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoDSO + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqOneClickGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOneClickGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoDSO + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOneClickGotoDSO message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOneClickGotoDSO + + + + + + + + + + + ReqOneClickGotoDSO message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOneClickGotoDSO + + + + + + + + + + + ReqOneClickGotoDSO message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqOneClickGotoDSO}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOneClickGotoDSO +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoDSO + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqOneClickGotoDSO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqOneClickGotoDSO + + + + + + + + + + + ReqOneClickGotoDSO
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqOneClickGotoDSO message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqOneClickGotoSolarSystem.html b/docs/ReqOneClickGotoSolarSystem.html new file mode 100644 index 00000000..2da9caad --- /dev/null +++ b/docs/ReqOneClickGotoSolarSystem.html @@ -0,0 +1,2446 @@ + + + + + + ReqOneClickGotoSolarSystem - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqOneClickGotoSolarSystem

+ + + + + + + +
+ +
+ +

+ + ReqOneClickGotoSolarSystem + +

+ +
Represents a ReqOneClickGotoSolarSystem.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqOneClickGotoSolarSystem(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqOneClickGotoSolarSystem.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOneClickGotoSolarSystem + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoSolarSystem index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoSolarSystem index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lat :number

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoSolarSystem lat.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoSolarSystem lat. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lon :number

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoSolarSystem lon.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoSolarSystem lon. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ReqOneClickGotoSolarSystem targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOneClickGotoSolarSystem targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqOneClickGotoSolarSystem to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqOneClickGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqOneClickGotoSolarSystem instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOneClickGotoSolarSystem + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOneClickGotoSolarSystem instance +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqOneClickGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOneClickGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqOneClickGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOneClickGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOneClickGotoSolarSystem + + + + + + + + + + + ReqOneClickGotoSolarSystem message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOneClickGotoSolarSystem + + + + + + + + + + + ReqOneClickGotoSolarSystem message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqOneClickGotoSolarSystem}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOneClickGotoSolarSystem +
+ + + +
+
+ Type +
+
+ +ReqOneClickGotoSolarSystem + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqOneClickGotoSolarSystem
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqOneClickGotoSolarSystem + + + + + + + + + + + ReqOneClickGotoSolarSystem
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqOneClickGotoSolarSystem message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqOpenCamera.html b/docs/ReqOpenCamera.html new file mode 100644 index 00000000..c3fb8011 --- /dev/null +++ b/docs/ReqOpenCamera.html @@ -0,0 +1,2290 @@ + + + + + + ReqOpenCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqOpenCamera

+ + + + + + + +
+ +
+ +

+ + ReqOpenCamera + +

+ +
Represents a ReqOpenCamera.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqOpenCamera(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqOpenCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqOpenCamera
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenCamera + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binning :boolean

+ + + + + +
+ +
Description:
+
  • ReqOpenCamera binning.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOpenCamera binning. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

rtspEncodeType :number

+ + + + + +
+ +
Description:
+
  • ReqOpenCamera rtspEncodeType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqOpenCamera rtspEncodeType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqOpenCamera to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqOpenCamera}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqOpenCamera instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenCamera + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenCamera instance +
+ + + +
+
+ Type +
+
+ +ReqOpenCamera + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqOpenCamera}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenCamera message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenCamera +
+ + + +
+
+ Type +
+
+ +ReqOpenCamera + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqOpenCamera}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenCamera +
+ + + +
+
+ Type +
+
+ +ReqOpenCamera + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenCamera message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenCamera + + + + + + + + + + + ReqOpenCamera message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenCamera + + + + + + + + + + + ReqOpenCamera message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqOpenCamera}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenCamera +
+ + + +
+
+ Type +
+
+ +ReqOpenCamera + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqOpenCamera
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqOpenCamera + + + + + + + + + + + ReqOpenCamera
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqOpenCamera message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqOpenPowerInd.html b/docs/ReqOpenPowerInd.html new file mode 100644 index 00000000..a52c1bde --- /dev/null +++ b/docs/ReqOpenPowerInd.html @@ -0,0 +1,2130 @@ + + + + + + ReqOpenPowerInd - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqOpenPowerInd

+ + + + + + + +
+ +
+ +

+ + ReqOpenPowerInd + +

+ +
Represents a ReqOpenPowerInd.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqOpenPowerInd(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqOpenPowerInd.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqOpenPowerInd
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenPowerInd + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqOpenPowerInd to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqOpenPowerInd}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqOpenPowerInd instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenPowerInd + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenPowerInd instance +
+ + + +
+
+ Type +
+
+ +ReqOpenPowerInd + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqOpenPowerInd}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenPowerInd message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenPowerInd +
+ + + +
+
+ Type +
+
+ +ReqOpenPowerInd + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqOpenPowerInd}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenPowerInd +
+ + + +
+
+ Type +
+
+ +ReqOpenPowerInd + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenPowerInd message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenPowerInd + + + + + + + + + + + ReqOpenPowerInd message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenPowerInd + + + + + + + + + + + ReqOpenPowerInd message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqOpenPowerInd}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenPowerInd +
+ + + +
+
+ Type +
+
+ +ReqOpenPowerInd + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqOpenPowerInd
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqOpenPowerInd + + + + + + + + + + + ReqOpenPowerInd
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqOpenPowerInd message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqOpenRgb.html b/docs/ReqOpenRgb.html new file mode 100644 index 00000000..48345311 --- /dev/null +++ b/docs/ReqOpenRgb.html @@ -0,0 +1,2130 @@ + + + + + + ReqOpenRgb - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqOpenRgb

+ + + + + + + +
+ +
+ +

+ + ReqOpenRgb + +

+ +
Represents a ReqOpenRgb.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqOpenRgb(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqOpenRgb.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqOpenRgb
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenRgb + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqOpenRgb to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqOpenRgb}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqOpenRgb instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqOpenRgb + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenRgb instance +
+ + + +
+
+ Type +
+
+ +ReqOpenRgb + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqOpenRgb}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenRgb message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenRgb +
+ + + +
+
+ Type +
+
+ +ReqOpenRgb + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqOpenRgb}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqOpenRgb +
+ + + +
+
+ Type +
+
+ +ReqOpenRgb + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenRgb message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenRgb + + + + + + + + + + + ReqOpenRgb message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqOpenRgb + + + + + + + + + + + ReqOpenRgb message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqOpenRgb}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqOpenRgb +
+ + + +
+
+ Type +
+
+ +ReqOpenRgb + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqOpenRgb
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqOpenRgb + + + + + + + + + + + ReqOpenRgb
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqOpenRgb message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqPauseTrack.html b/docs/ReqPauseTrack.html new file mode 100644 index 00000000..ba677b26 --- /dev/null +++ b/docs/ReqPauseTrack.html @@ -0,0 +1,2130 @@ + + + + + + ReqPauseTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqPauseTrack

+ + + + + + + +
+ +
+ +

+ + ReqPauseTrack + +

+ +
Represents a ReqPauseTrack.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqPauseTrack(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqPauseTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqPauseTrack
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPauseTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqPauseTrack to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqPauseTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqPauseTrack instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPauseTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPauseTrack instance +
+ + + +
+
+ Type +
+
+ +ReqPauseTrack + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqPauseTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPauseTrack message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPauseTrack +
+ + + +
+
+ Type +
+
+ +ReqPauseTrack + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqPauseTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPauseTrack +
+ + + +
+
+ Type +
+
+ +ReqPauseTrack + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPauseTrack message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPauseTrack + + + + + + + + + + + ReqPauseTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPauseTrack + + + + + + + + + + + ReqPauseTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqPauseTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPauseTrack +
+ + + +
+
+ Type +
+
+ +ReqPauseTrack + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqPauseTrack
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqPauseTrack + + + + + + + + + + + ReqPauseTrack
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqPauseTrack message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqPhoto.html b/docs/ReqPhoto.html new file mode 100644 index 00000000..c738090d --- /dev/null +++ b/docs/ReqPhoto.html @@ -0,0 +1,2130 @@ + + + + + + ReqPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqPhoto

+ + + + + + + +
+ +
+ +

+ + ReqPhoto + +

+ +
Represents a ReqPhoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqPhoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqPhoto
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqPhoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqPhoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPhoto instance +
+ + + +
+
+ Type +
+
+ +ReqPhoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPhoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPhoto +
+ + + +
+
+ Type +
+
+ +ReqPhoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPhoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPhoto +
+ + + +
+
+ Type +
+
+ +ReqPhoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPhoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPhoto + + + + + + + + + + + ReqPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPhoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPhoto + + + + + + + + + + + ReqPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPhoto +
+ + + +
+
+ Type +
+
+ +ReqPhoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqPhoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqPhoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqPhoto + + + + + + + + + + + ReqPhoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqPhoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqPhotoRaw.html b/docs/ReqPhotoRaw.html new file mode 100644 index 00000000..85586341 --- /dev/null +++ b/docs/ReqPhotoRaw.html @@ -0,0 +1,2130 @@ + + + + + + ReqPhotoRaw - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqPhotoRaw

+ + + + + + + +
+ +
+ +

+ + ReqPhotoRaw + +

+ +
Represents a ReqPhotoRaw.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqPhotoRaw(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqPhotoRaw.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqPhotoRaw
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPhotoRaw + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqPhotoRaw to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqPhotoRaw}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqPhotoRaw instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPhotoRaw + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPhotoRaw instance +
+ + + +
+
+ Type +
+
+ +ReqPhotoRaw + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqPhotoRaw}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPhotoRaw message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPhotoRaw +
+ + + +
+
+ Type +
+
+ +ReqPhotoRaw + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqPhotoRaw}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPhotoRaw +
+ + + +
+
+ Type +
+
+ +ReqPhotoRaw + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPhotoRaw message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPhotoRaw + + + + + + + + + + + ReqPhotoRaw message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPhotoRaw + + + + + + + + + + + ReqPhotoRaw message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqPhotoRaw}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPhotoRaw +
+ + + +
+
+ Type +
+
+ +ReqPhotoRaw + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqPhotoRaw
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqPhotoRaw + + + + + + + + + + + ReqPhotoRaw
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqPhotoRaw message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqPowerDown.html b/docs/ReqPowerDown.html new file mode 100644 index 00000000..14788298 --- /dev/null +++ b/docs/ReqPowerDown.html @@ -0,0 +1,2130 @@ + + + + + + ReqPowerDown - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqPowerDown

+ + + + + + + +
+ +
+ +

+ + ReqPowerDown + +

+ +
Represents a ReqPowerDown.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqPowerDown(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqPowerDown.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqPowerDown
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPowerDown + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqPowerDown to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqPowerDown}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqPowerDown instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqPowerDown + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPowerDown instance +
+ + + +
+
+ Type +
+
+ +ReqPowerDown + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqPowerDown}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPowerDown message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPowerDown +
+ + + +
+
+ Type +
+
+ +ReqPowerDown + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqPowerDown}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqPowerDown message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqPowerDown +
+ + + +
+
+ Type +
+
+ +ReqPowerDown + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPowerDown message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPowerDown + + + + + + + + + + + ReqPowerDown message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqPowerDown message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqPowerDown + + + + + + + + + + + ReqPowerDown message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqPowerDown}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqPowerDown +
+ + + +
+
+ Type +
+
+ +ReqPowerDown + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqPowerDown
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqPowerDown + + + + + + + + + + + ReqPowerDown
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqPowerDown message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqReboot.html b/docs/ReqReboot.html new file mode 100644 index 00000000..eee5557b --- /dev/null +++ b/docs/ReqReboot.html @@ -0,0 +1,2130 @@ + + + + + + ReqReboot - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqReboot

+ + + + + + + +
+ +
+ +

+ + ReqReboot + +

+ +
Represents a ReqReboot.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqReboot(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqReboot.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqReboot
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReboot + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqReboot to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqReboot}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqReboot instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReboot + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReboot instance +
+ + + +
+
+ Type +
+
+ +ReqReboot + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqReboot}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReboot message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReboot +
+ + + +
+
+ Type +
+
+ +ReqReboot + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqReboot}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReboot message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReboot +
+ + + +
+
+ Type +
+
+ +ReqReboot + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReboot message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReboot + + + + + + + + + + + ReqReboot message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReboot message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReboot + + + + + + + + + + + ReqReboot message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqReboot}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqReboot message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReboot +
+ + + +
+
+ Type +
+
+ +ReqReboot + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqReboot
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqReboot message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqReboot + + + + + + + + + + + ReqReboot
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqReboot message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqReplaceShootingSchedule.html b/docs/ReqReplaceShootingSchedule.html new file mode 100644 index 00000000..abe63d95 --- /dev/null +++ b/docs/ReqReplaceShootingSchedule.html @@ -0,0 +1,2218 @@ + + + + + + ReqReplaceShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqReplaceShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqReplaceShootingSchedule + +

+ +
Represents a ReqReplaceShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqReplaceShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqReplaceShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqReplaceShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReplaceShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

shootingSchedule :IShootingScheduleMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ReqReplaceShootingSchedule shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqReplaceShootingSchedule shootingSchedule. +
+ + + +
Type:
+
    +
  • + +IShootingScheduleMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqReplaceShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqReplaceShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReplaceShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReplaceShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReplaceShootingSchedule + + + + + + + + + + + ReqReplaceShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReplaceShootingSchedule + + + + + + + + + + + ReqReplaceShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqReplaceShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqReplaceShootingSchedule + + + + + + + + + + + ReqReplaceShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqReplaceShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqReset.html b/docs/ReqReset.html new file mode 100644 index 00000000..8521e147 --- /dev/null +++ b/docs/ReqReset.html @@ -0,0 +1,2212 @@ + + + + + + ReqReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqReset

+ + + + + + + +
+ +
+ +

+ + ReqReset + +

+ +
Represents a ReqReset.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqReset(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqReset
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqReset cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqReset cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqReset to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqReset}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqReset instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReset instance +
+ + + +
+
+ Type +
+
+ +ReqReset + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReset message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReset +
+ + + +
+
+ Type +
+
+ +ReqReset + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqReset message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqReset +
+ + + +
+
+ Type +
+
+ +ReqReset + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReset message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReset + + + + + + + + + + + ReqReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqReset message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqReset + + + + + + + + + + + ReqReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqReset}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqReset message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqReset +
+ + + +
+
+ Type +
+
+ +ReqReset + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqReset
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqReset message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqReset + + + + + + + + + + + ReqReset
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqReset message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetAllParams.html b/docs/ReqSetAllParams.html new file mode 100644 index 00000000..403401e6 --- /dev/null +++ b/docs/ReqSetAllParams.html @@ -0,0 +1,3226 @@ + + + + + + ReqSetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetAllParams

+ + + + + + + +
+ +
+ +

+ + ReqSetAllParams + +

+ +
Represents a ReqSetAllParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetAllParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetAllParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

brightness :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams brightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams brightness. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

contrast :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams contrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams contrast. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expMode :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams expMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams expMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainMode :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams gainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams gainMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

hue :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams hue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams hue. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ircutValue :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams ircutValue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams ircutValue. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

jpgQuality :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams jpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams jpgQuality. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

saturation :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams saturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams saturation. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

sharpness :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams sharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams sharpness. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

wbIndex :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams wbIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams wbIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

wbIndexType :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams wbIndexType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams wbIndexType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

wbMode :number

+ + + + + +
+ +
Description:
+
  • ReqSetAllParams wbMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetAllParams wbMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetAllParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetAllParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetAllParams instance +
+ + + +
+
+ Type +
+
+ +ReqSetAllParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetAllParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetAllParams +
+ + + +
+
+ Type +
+
+ +ReqSetAllParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetAllParams +
+ + + +
+
+ Type +
+
+ +ReqSetAllParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetAllParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetAllParams + + + + + + + + + + + ReqSetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetAllParams + + + + + + + + + + + ReqSetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetAllParams +
+ + + +
+
+ Type +
+
+ +ReqSetAllParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetAllParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetAllParams + + + + + + + + + + + ReqSetAllParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetAllParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetBrightness.html b/docs/ReqSetBrightness.html new file mode 100644 index 00000000..edfb6138 --- /dev/null +++ b/docs/ReqSetBrightness.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetBrightness

+ + + + + + + +
+ +
+ +

+ + ReqSetBrightness + +

+ +
Represents a ReqSetBrightness.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetBrightness(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetBrightness
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetBrightness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetBrightness value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetBrightness value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetBrightness to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetBrightness}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetBrightness instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetBrightness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetBrightness instance +
+ + + +
+
+ Type +
+
+ +ReqSetBrightness + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetBrightness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetBrightness message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetBrightness +
+ + + +
+
+ Type +
+
+ +ReqSetBrightness + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetBrightness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetBrightness +
+ + + +
+
+ Type +
+
+ +ReqSetBrightness + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetBrightness message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetBrightness + + + + + + + + + + + ReqSetBrightness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetBrightness + + + + + + + + + + + ReqSetBrightness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetBrightness}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetBrightness +
+ + + +
+
+ Type +
+
+ +ReqSetBrightness + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetBrightness
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetBrightness + + + + + + + + + + + ReqSetBrightness
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetBrightness message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetContrast.html b/docs/ReqSetContrast.html new file mode 100644 index 00000000..aed5fea5 --- /dev/null +++ b/docs/ReqSetContrast.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetContrast

+ + + + + + + +
+ +
+ +

+ + ReqSetContrast + +

+ +
Represents a ReqSetContrast.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetContrast(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetContrast
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetContrast + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetContrast value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetContrast value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetContrast to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetContrast}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetContrast instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetContrast + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetContrast instance +
+ + + +
+
+ Type +
+
+ +ReqSetContrast + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetContrast}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetContrast message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetContrast +
+ + + +
+
+ Type +
+
+ +ReqSetContrast + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetContrast}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetContrast message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetContrast +
+ + + +
+
+ Type +
+
+ +ReqSetContrast + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetContrast message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetContrast + + + + + + + + + + + ReqSetContrast message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetContrast message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetContrast + + + + + + + + + + + ReqSetContrast message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetContrast}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetContrast +
+ + + +
+
+ Type +
+
+ +ReqSetContrast + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetContrast
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetContrast + + + + + + + + + + + ReqSetContrast
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetContrast message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetCpuMode.html b/docs/ReqSetCpuMode.html new file mode 100644 index 00000000..2bfab28b --- /dev/null +++ b/docs/ReqSetCpuMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetCpuMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetCpuMode

+ + + + + + + +
+ +
+ +

+ + ReqSetCpuMode + +

+ +
Represents a ReqSetCpuMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetCpuMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetCpuMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetCpuMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetCpuMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetCpuMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetCpuMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetCpuMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetCpuMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetCpuMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetCpuMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetCpuMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetCpuMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetCpuMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetCpuMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetCpuMode +
+ + + +
+
+ Type +
+
+ +ReqSetCpuMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetCpuMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetCpuMode +
+ + + +
+
+ Type +
+
+ +ReqSetCpuMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetCpuMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetCpuMode + + + + + + + + + + + ReqSetCpuMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetCpuMode + + + + + + + + + + + ReqSetCpuMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetCpuMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetCpuMode +
+ + + +
+
+ Type +
+
+ +ReqSetCpuMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetCpuMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetCpuMode + + + + + + + + + + + ReqSetCpuMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetCpuMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetExp.html b/docs/ReqSetExp.html new file mode 100644 index 00000000..e29d8839 --- /dev/null +++ b/docs/ReqSetExp.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetExp

+ + + + + + + +
+ +
+ +

+ + ReqSetExp + +

+ +
Represents a ReqSetExp.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetExp(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetExp
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetExp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqSetExp index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetExp index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetExp to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetExp}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetExp instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetExp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetExp instance +
+ + + +
+
+ Type +
+
+ +ReqSetExp + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetExp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetExp message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetExp +
+ + + +
+
+ Type +
+
+ +ReqSetExp + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetExp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetExp message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetExp +
+ + + +
+
+ Type +
+
+ +ReqSetExp + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetExp message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetExp + + + + + + + + + + + ReqSetExp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetExp message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetExp + + + + + + + + + + + ReqSetExp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetExp}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetExp +
+ + + +
+
+ Type +
+
+ +ReqSetExp + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetExp
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetExp message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetExp + + + + + + + + + + + ReqSetExp
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetExp message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetExpMode.html b/docs/ReqSetExpMode.html new file mode 100644 index 00000000..b64eee54 --- /dev/null +++ b/docs/ReqSetExpMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetExpMode

+ + + + + + + +
+ +
+ +

+ + ReqSetExpMode + +

+ +
Represents a ReqSetExpMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetExpMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetExpMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetExpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetExpMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetExpMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetExpMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetExpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetExpMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetExpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetExpMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetExpMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetExpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetExpMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetExpMode +
+ + + +
+
+ Type +
+
+ +ReqSetExpMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetExpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetExpMode +
+ + + +
+
+ Type +
+
+ +ReqSetExpMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetExpMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetExpMode + + + + + + + + + + + ReqSetExpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetExpMode + + + + + + + + + + + ReqSetExpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetExpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetExpMode +
+ + + +
+
+ Type +
+
+ +ReqSetExpMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetExpMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetExpMode + + + + + + + + + + + ReqSetExpMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetExpMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetFeatureParams.html b/docs/ReqSetFeatureParams.html new file mode 100644 index 00000000..9164e2cd --- /dev/null +++ b/docs/ReqSetFeatureParams.html @@ -0,0 +1,2218 @@ + + + + + + ReqSetFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetFeatureParams

+ + + + + + + +
+ +
+ +

+ + ReqSetFeatureParams + +

+ +
Represents a ReqSetFeatureParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetFeatureParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetFeatureParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

param :ICommonParam|null|undefined

+ + + + + +
+ +
Description:
+
  • ReqSetFeatureParams param.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetFeatureParams param. +
+ + + +
Type:
+
    +
  • + +ICommonParam +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetFeatureParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetFeatureParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetFeatureParams instance +
+ + + +
+
+ Type +
+
+ +ReqSetFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetFeatureParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqSetFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqSetFeatureParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetFeatureParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetFeatureParams + + + + + + + + + + + ReqSetFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetFeatureParams + + + + + + + + + + + ReqSetFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetFeatureParams +
+ + + +
+
+ Type +
+
+ +ReqSetFeatureParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetFeatureParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetFeatureParams + + + + + + + + + + + ReqSetFeatureParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetFeatureParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetGain.html b/docs/ReqSetGain.html new file mode 100644 index 00000000..72b20f04 --- /dev/null +++ b/docs/ReqSetGain.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetGain

+ + + + + + + +
+ +
+ +

+ + ReqSetGain + +

+ +
Represents a ReqSetGain.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetGain(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetGain
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetGain + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqSetGain index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetGain index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetGain to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetGain}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetGain instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetGain + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetGain instance +
+ + + +
+
+ Type +
+
+ +ReqSetGain + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetGain}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetGain message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetGain +
+ + + +
+
+ Type +
+
+ +ReqSetGain + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetGain}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetGain message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetGain +
+ + + +
+
+ Type +
+
+ +ReqSetGain + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetGain message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetGain + + + + + + + + + + + ReqSetGain message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetGain message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetGain + + + + + + + + + + + ReqSetGain message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetGain}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetGain +
+ + + +
+
+ Type +
+
+ +ReqSetGain + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetGain
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetGain message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetGain + + + + + + + + + + + ReqSetGain
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetGain message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetGainMode.html b/docs/ReqSetGainMode.html new file mode 100644 index 00000000..6629cc1c --- /dev/null +++ b/docs/ReqSetGainMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetGainMode

+ + + + + + + +
+ +
+ +

+ + ReqSetGainMode + +

+ +
Represents a ReqSetGainMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetGainMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetGainMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetGainMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetGainMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetGainMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetGainMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetGainMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetGainMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetGainMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetGainMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetGainMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetGainMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetGainMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetGainMode +
+ + + +
+
+ Type +
+
+ +ReqSetGainMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetGainMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetGainMode +
+ + + +
+
+ Type +
+
+ +ReqSetGainMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetGainMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetGainMode + + + + + + + + + + + ReqSetGainMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetGainMode + + + + + + + + + + + ReqSetGainMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetGainMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetGainMode +
+ + + +
+
+ Type +
+
+ +ReqSetGainMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetGainMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetGainMode + + + + + + + + + + + ReqSetGainMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetGainMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetHostMode.html b/docs/ReqSetHostMode.html new file mode 100644 index 00000000..b4b387d2 --- /dev/null +++ b/docs/ReqSetHostMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetHostMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetHostMode

+ + + + + + + +
+ +
+ +

+ + ReqSetHostMode + +

+ +
Represents a ReqSetHostMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetHostMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetHostMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetHostMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetHostMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetHostMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetHostMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetHostMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetHostMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetHostMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetHostMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetHostMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostMode + + + + + + + + + + + ReqSetHostMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostMode + + + + + + + + + + + ReqSetHostMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetHostMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetHostMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetHostMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetHostMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetHostMode + + + + + + + + + + + ReqSetHostMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetHostMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Fri Mar 29 2024 18:35:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetHostSalveMode.html b/docs/ReqSetHostSalveMode.html new file mode 100644 index 00000000..950453c5 --- /dev/null +++ b/docs/ReqSetHostSalveMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetHostSalveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetHostSalveMode

+ + + + + + + +
+ +
+ +

+ + ReqSetHostSalveMode + +

+ +
Represents a ReqSetHostSalveMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetHostSalveMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetHostSalveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetHostSalveMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostSalveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetHostSalveMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetHostSalveMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetHostSalveMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetHostSalveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetHostSalveMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostSalveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostSalveMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetHostSalveMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetHostSalveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostSalveMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostSalveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSalveMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetHostSalveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostSalveMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostSalveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSalveMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostSalveMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostSalveMode + + + + + + + + + + + ReqSetHostSalveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostSalveMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostSalveMode + + + + + + + + + + + ReqSetHostSalveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetHostSalveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetHostSalveMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostSalveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSalveMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetHostSalveMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetHostSalveMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetHostSalveMode + + + + + + + + + + + ReqSetHostSalveMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetHostSalveMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Wed Apr 17 2024 15:06:54 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetHostSlaveMode.html b/docs/ReqSetHostSlaveMode.html new file mode 100644 index 00000000..cd970544 --- /dev/null +++ b/docs/ReqSetHostSlaveMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetHostSlaveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetHostSlaveMode

+ + + + + + + +
+ +
+ +

+ + ReqSetHostSlaveMode + +

+ +
Represents a ReqSetHostSlaveMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetHostSlaveMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetHostSlaveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetHostSlaveMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostSlaveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetHostSlaveMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetHostSlaveMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetHostSlaveMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetHostSlaveMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHostSlaveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostSlaveMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostSlaveMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHostSlaveMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostSlaveMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostSlaveMode + + + + + + + + + + + ReqSetHostSlaveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHostSlaveMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHostSlaveMode + + + + + + + + + + + ReqSetHostSlaveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetHostSlaveMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ReqSetHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetHostSlaveMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetHostSlaveMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetHostSlaveMode + + + + + + + + + + + ReqSetHostSlaveMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetHostSlaveMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:55 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetHue.html b/docs/ReqSetHue.html new file mode 100644 index 00000000..76928150 --- /dev/null +++ b/docs/ReqSetHue.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetHue

+ + + + + + + +
+ +
+ +

+ + ReqSetHue + +

+ +
Represents a ReqSetHue.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetHue(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetHue
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHue + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetHue value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetHue value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetHue to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetHue}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetHue instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetHue + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHue instance +
+ + + +
+
+ Type +
+
+ +ReqSetHue + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetHue}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHue message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHue +
+ + + +
+
+ Type +
+
+ +ReqSetHue + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetHue}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetHue message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetHue +
+ + + +
+
+ Type +
+
+ +ReqSetHue + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHue message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHue + + + + + + + + + + + ReqSetHue message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetHue message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetHue + + + + + + + + + + + ReqSetHue message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetHue}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetHue +
+ + + +
+
+ Type +
+
+ +ReqSetHue + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetHue
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetHue message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetHue + + + + + + + + + + + ReqSetHue
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetHue message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetIrCut.html b/docs/ReqSetIrCut.html new file mode 100644 index 00000000..7535075a --- /dev/null +++ b/docs/ReqSetIrCut.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetIrCut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetIrCut

+ + + + + + + +
+ +
+ +

+ + ReqSetIrCut + +

+ +
Represents a ReqSetIrCut.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetIrCut(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetIrCut.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetIrCut
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetIrCut + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetIrCut value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetIrCut value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetIrCut to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetIrCut}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetIrCut instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetIrCut + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetIrCut instance +
+ + + +
+
+ Type +
+
+ +ReqSetIrCut + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetIrCut}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetIrCut message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetIrCut +
+ + + +
+
+ Type +
+
+ +ReqSetIrCut + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetIrCut}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetIrCut +
+ + + +
+
+ Type +
+
+ +ReqSetIrCut + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetIrCut message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetIrCut + + + + + + + + + + + ReqSetIrCut message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetIrCut + + + + + + + + + + + ReqSetIrCut message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetIrCut}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetIrCut +
+ + + +
+
+ Type +
+
+ +ReqSetIrCut + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetIrCut
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetIrCut + + + + + + + + + + + ReqSetIrCut
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetIrCut message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetJpgQuality.html b/docs/ReqSetJpgQuality.html new file mode 100644 index 00000000..ae77729c --- /dev/null +++ b/docs/ReqSetJpgQuality.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetJpgQuality

+ + + + + + + +
+ +
+ +

+ + ReqSetJpgQuality + +

+ +
Represents a ReqSetJpgQuality.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetJpgQuality(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetJpgQuality
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetJpgQuality + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

quality :number

+ + + + + +
+ +
Description:
+
  • ReqSetJpgQuality quality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetJpgQuality quality. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetJpgQuality to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetJpgQuality instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetJpgQuality + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetJpgQuality instance +
+ + + +
+
+ Type +
+
+ +ReqSetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetJpgQuality message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqSetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqSetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetJpgQuality message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetJpgQuality + + + + + + + + + + + ReqSetJpgQuality message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetJpgQuality + + + + + + + + + + + ReqSetJpgQuality message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetJpgQuality}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetJpgQuality +
+ + + +
+
+ Type +
+
+ +ReqSetJpgQuality + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetJpgQuality
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetJpgQuality + + + + + + + + + + + ReqSetJpgQuality
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetJpgQuality message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetMtpMode.html b/docs/ReqSetMtpMode.html new file mode 100644 index 00000000..7c845988 --- /dev/null +++ b/docs/ReqSetMtpMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetMtpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetMtpMode

+ + + + + + + +
+ +
+ +

+ + ReqSetMtpMode + +

+ +
Represents a ReqSetMtpMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetMtpMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetMtpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetMtpMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetMtpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetMtpMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetMtpMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetMtpMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetMtpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetMtpMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetMtpMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetMtpMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetMtpMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetMtpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetMtpMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetMtpMode +
+ + + +
+
+ Type +
+
+ +ReqSetMtpMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetMtpMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetMtpMode +
+ + + +
+
+ Type +
+
+ +ReqSetMtpMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetMtpMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetMtpMode + + + + + + + + + + + ReqSetMtpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetMtpMode + + + + + + + + + + + ReqSetMtpMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetMtpMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetMtpMode +
+ + + +
+
+ Type +
+
+ +ReqSetMtpMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetMtpMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetMtpMode + + + + + + + + + + + ReqSetMtpMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetMtpMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetRtspBitRateType.html b/docs/ReqSetRtspBitRateType.html new file mode 100644 index 00000000..7943cd6f --- /dev/null +++ b/docs/ReqSetRtspBitRateType.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetRtspBitRateType - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetRtspBitRateType

+ + + + + + + +
+ +
+ +

+ + ReqSetRtspBitRateType + +

+ +
Represents a ReqSetRtspBitRateType.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetRtspBitRateType(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetRtspBitRateType.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetRtspBitRateType
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetRtspBitRateType + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

bitrateType :number

+ + + + + +
+ +
Description:
+
  • ReqSetRtspBitRateType bitrateType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetRtspBitRateType bitrateType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetRtspBitRateType to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetRtspBitRateType}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetRtspBitRateType instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetRtspBitRateType + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetRtspBitRateType instance +
+ + + +
+
+ Type +
+
+ +ReqSetRtspBitRateType + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetRtspBitRateType}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetRtspBitRateType message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetRtspBitRateType +
+ + + +
+
+ Type +
+
+ +ReqSetRtspBitRateType + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetRtspBitRateType}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetRtspBitRateType +
+ + + +
+
+ Type +
+
+ +ReqSetRtspBitRateType + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetRtspBitRateType message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetRtspBitRateType + + + + + + + + + + + ReqSetRtspBitRateType message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetRtspBitRateType + + + + + + + + + + + ReqSetRtspBitRateType message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetRtspBitRateType}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetRtspBitRateType +
+ + + +
+
+ Type +
+
+ +ReqSetRtspBitRateType + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetRtspBitRateType
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetRtspBitRateType + + + + + + + + + + + ReqSetRtspBitRateType
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetRtspBitRateType message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetSaturation.html b/docs/ReqSetSaturation.html new file mode 100644 index 00000000..b1d0fc70 --- /dev/null +++ b/docs/ReqSetSaturation.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetSaturation

+ + + + + + + +
+ +
+ +

+ + ReqSetSaturation + +

+ +
Represents a ReqSetSaturation.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetSaturation(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetSaturation
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetSaturation + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetSaturation value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetSaturation value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetSaturation to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetSaturation}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetSaturation instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetSaturation + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetSaturation instance +
+ + + +
+
+ Type +
+
+ +ReqSetSaturation + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetSaturation}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetSaturation message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetSaturation +
+ + + +
+
+ Type +
+
+ +ReqSetSaturation + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetSaturation}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetSaturation +
+ + + +
+
+ Type +
+
+ +ReqSetSaturation + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetSaturation message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetSaturation + + + + + + + + + + + ReqSetSaturation message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetSaturation + + + + + + + + + + + ReqSetSaturation message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetSaturation}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetSaturation +
+ + + +
+
+ Type +
+
+ +ReqSetSaturation + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetSaturation
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetSaturation + + + + + + + + + + + ReqSetSaturation
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetSaturation message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetSharpness.html b/docs/ReqSetSharpness.html new file mode 100644 index 00000000..c645b74f --- /dev/null +++ b/docs/ReqSetSharpness.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetSharpness

+ + + + + + + +
+ +
+ +

+ + ReqSetSharpness + +

+ +
Represents a ReqSetSharpness.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetSharpness(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetSharpness
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetSharpness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetSharpness value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetSharpness value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetSharpness to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetSharpness}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetSharpness instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetSharpness + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetSharpness instance +
+ + + +
+
+ Type +
+
+ +ReqSetSharpness + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetSharpness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetSharpness message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetSharpness +
+ + + +
+
+ Type +
+
+ +ReqSetSharpness + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetSharpness}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetSharpness +
+ + + +
+
+ Type +
+
+ +ReqSetSharpness + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetSharpness message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetSharpness + + + + + + + + + + + ReqSetSharpness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetSharpness + + + + + + + + + + + ReqSetSharpness message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetSharpness}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetSharpness +
+ + + +
+
+ Type +
+
+ +ReqSetSharpness + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetSharpness
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetSharpness + + + + + + + + + + + ReqSetSharpness
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetSharpness message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetTime.html b/docs/ReqSetTime.html new file mode 100644 index 00000000..aa5f215a --- /dev/null +++ b/docs/ReqSetTime.html @@ -0,0 +1,2293 @@ + + + + + + ReqSetTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetTime

+ + + + + + + +
+ +
+ +

+ + ReqSetTime + +

+ +
Represents a ReqSetTime.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetTime(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetTime
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

timestamp :number|Long

+ + + + + +
+ +
Description:
+
  • ReqSetTime timestamp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetTime timestamp. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

timezoneOffset :number

+ + + + + +
+ +
Description:
+
  • ReqSetTime timezoneOffset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetTime timezoneOffset. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetTime to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetTime}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetTime instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetTime instance +
+ + + +
+
+ Type +
+
+ +ReqSetTime + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetTime message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetTime +
+ + + +
+
+ Type +
+
+ +ReqSetTime + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetTime message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetTime +
+ + + +
+
+ Type +
+
+ +ReqSetTime + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetTime message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetTime + + + + + + + + + + + ReqSetTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetTime message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetTime + + + + + + + + + + + ReqSetTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetTime}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetTime +
+ + + +
+
+ Type +
+
+ +ReqSetTime + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetTime
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetTime message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetTime + + + + + + + + + + + ReqSetTime
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetTime message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:40 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetTimezone.html b/docs/ReqSetTimezone.html new file mode 100644 index 00000000..915d8944 --- /dev/null +++ b/docs/ReqSetTimezone.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetTimezone - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetTimezone

+ + + + + + + +
+ +
+ +

+ + ReqSetTimezone + +

+ +
Represents a ReqSetTimezone.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetTimezone(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetTimezone.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetTimezone
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetTimezone + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

timezone :string

+ + + + + +
+ +
Description:
+
  • ReqSetTimezone timezone.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetTimezone timezone. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetTimezone to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetTimezone}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetTimezone instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetTimezone + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetTimezone instance +
+ + + +
+
+ Type +
+
+ +ReqSetTimezone + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetTimezone}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetTimezone message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetTimezone +
+ + + +
+
+ Type +
+
+ +ReqSetTimezone + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetTimezone}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetTimezone +
+ + + +
+
+ Type +
+
+ +ReqSetTimezone + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetTimezone message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetTimezone + + + + + + + + + + + ReqSetTimezone message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetTimezone + + + + + + + + + + + ReqSetTimezone message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetTimezone}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetTimezone +
+ + + +
+
+ Type +
+
+ +ReqSetTimezone + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetTimezone
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetTimezone + + + + + + + + + + + ReqSetTimezone
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetTimezone message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetWBCT.html b/docs/ReqSetWBCT.html new file mode 100644 index 00000000..16369642 --- /dev/null +++ b/docs/ReqSetWBCT.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetWBCT

+ + + + + + + +
+ +
+ +

+ + ReqSetWBCT + +

+ +
Represents a ReqSetWBCT.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetWBCT(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetWBCT
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBCT + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqSetWBCT index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetWBCT index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetWBCT to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetWBCT}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetWBCT instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBCT + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBCT instance +
+ + + +
+
+ Type +
+
+ +ReqSetWBCT + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetWBCT}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBCT message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBCT +
+ + + +
+
+ Type +
+
+ +ReqSetWBCT + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetWBCT}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBCT +
+ + + +
+
+ Type +
+
+ +ReqSetWBCT + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBCT message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBCT + + + + + + + + + + + ReqSetWBCT message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBCT + + + + + + + + + + + ReqSetWBCT message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetWBCT}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBCT +
+ + + +
+
+ Type +
+
+ +ReqSetWBCT + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetWBCT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetWBCT + + + + + + + + + + + ReqSetWBCT
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetWBCT message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetWBMode.html b/docs/ReqSetWBMode.html new file mode 100644 index 00000000..4a7f2582 --- /dev/null +++ b/docs/ReqSetWBMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetWBMode

+ + + + + + + +
+ +
+ +

+ + ReqSetWBMode + +

+ +
Represents a ReqSetWBMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetWBMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetWBMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetWBMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetWBMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetWBMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetWBMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetWBMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBMode instance +
+ + + +
+
+ Type +
+
+ +ReqSetWBMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetWBMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBMode +
+ + + +
+
+ Type +
+
+ +ReqSetWBMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetWBMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBMode +
+ + + +
+
+ Type +
+
+ +ReqSetWBMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBMode + + + + + + + + + + + ReqSetWBMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBMode + + + + + + + + + + + ReqSetWBMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetWBMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBMode +
+ + + +
+
+ Type +
+
+ +ReqSetWBMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetWBMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetWBMode + + + + + + + + + + + ReqSetWBMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetWBMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetWBSence.html b/docs/ReqSetWBSence.html new file mode 100644 index 00000000..8c89e596 --- /dev/null +++ b/docs/ReqSetWBSence.html @@ -0,0 +1,2212 @@ + + + + + + ReqSetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetWBSence

+ + + + + + + +
+ +
+ +

+ + ReqSetWBSence + +

+ +
Represents a ReqSetWBSence.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetWBSence(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetWBSence
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBSence + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

value :number

+ + + + + +
+ +
Description:
+
  • ReqSetWBSence value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetWBSence value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetWBSence to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetWBSence}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetWBSence instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetWBSence + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBSence instance +
+ + + +
+
+ Type +
+
+ +ReqSetWBSence + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetWBSence}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBSence message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBSence +
+ + + +
+
+ Type +
+
+ +ReqSetWBSence + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetWBSence}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetWBSence +
+ + + +
+
+ Type +
+
+ +ReqSetWBSence + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBSence message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBSence + + + + + + + + + + + ReqSetWBSence message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetWBSence + + + + + + + + + + + ReqSetWBSence message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetWBSence}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetWBSence +
+ + + +
+
+ Type +
+
+ +ReqSetWBSence + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetWBSence
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetWBSence + + + + + + + + + + + ReqSetWBSence
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetWBSence message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSetblewifi.html b/docs/ReqSetblewifi.html new file mode 100644 index 00000000..bb44f31d --- /dev/null +++ b/docs/ReqSetblewifi.html @@ -0,0 +1,2446 @@ + + + + + + ReqSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSetblewifi

+ + + + + + + +
+ +
+ +

+ + ReqSetblewifi + +

+ +
Represents a ReqSetblewifi.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSetblewifi(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSetblewifi
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetblewifi + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

blePsd :string

+ + + + + +
+ +
Description:
+
  • ReqSetblewifi blePsd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetblewifi blePsd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqSetblewifi cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetblewifi cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqSetblewifi mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetblewifi mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

value :string

+ + + + + +
+ +
Description:
+
  • ReqSetblewifi value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSetblewifi value. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSetblewifi to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSetblewifi instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSetblewifi + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetblewifi instance +
+ + + +
+
+ Type +
+
+ +ReqSetblewifi + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetblewifi message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetblewifi +
+ + + +
+
+ Type +
+
+ +ReqSetblewifi + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSetblewifi +
+ + + +
+
+ Type +
+
+ +ReqSetblewifi + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetblewifi message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetblewifi + + + + + + + + + + + ReqSetblewifi message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSetblewifi + + + + + + + + + + + ReqSetblewifi message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSetblewifi +
+ + + +
+
+ Type +
+
+ +ReqSetblewifi + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSetblewifi
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSetblewifi + + + + + + + + + + + ReqSetblewifi
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSetblewifi message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSta.html b/docs/ReqSta.html new file mode 100644 index 00000000..c28d4658 --- /dev/null +++ b/docs/ReqSta.html @@ -0,0 +1,2524 @@ + + + + + + ReqSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSta

+ + + + + + + +
+ +
+ +

+ + ReqSta + +

+ +
Represents a ReqSta.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSta(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSta
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSta + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

autoStart :number

+ + + + + +
+ +
Description:
+
  • ReqSta autoStart.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSta autoStart. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

blePsd :string

+ + + + + +
+ +
Description:
+
  • ReqSta blePsd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSta blePsd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ReqSta cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSta cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

psd :string

+ + + + + +
+ +
Description:
+
  • ReqSta psd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSta psd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

ssid :string

+ + + + + +
+ +
Description:
+
  • ReqSta ssid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSta ssid. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSta to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSta}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSta instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSta + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSta instance +
+ + + +
+
+ Type +
+
+ +ReqSta + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSta}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSta message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSta +
+ + + +
+
+ Type +
+
+ +ReqSta + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSta}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSta message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSta +
+ + + +
+
+ Type +
+
+ +ReqSta + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSta message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSta + + + + + + + + + + + ReqSta message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSta message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSta + + + + + + + + + + + ReqSta message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSta}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSta message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSta +
+ + + +
+
+ Type +
+
+ +ReqSta + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSta
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSta message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSta + + + + + + + + + + + ReqSta
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSta message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartCalibration.html b/docs/ReqStartCalibration.html new file mode 100644 index 00000000..629b0c57 --- /dev/null +++ b/docs/ReqStartCalibration.html @@ -0,0 +1,2130 @@ + + + + + + ReqStartCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartCalibration

+ + + + + + + +
+ +
+ +

+ + ReqStartCalibration + +

+ +
Represents a ReqStartCalibration.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartCalibration(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartCalibration to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartCalibration instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartCalibration instance +
+ + + +
+
+ Type +
+
+ +ReqStartCalibration + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartCalibration message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartCalibration +
+ + + +
+
+ Type +
+
+ +ReqStartCalibration + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartCalibration +
+ + + +
+
+ Type +
+
+ +ReqStartCalibration + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartCalibration message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartCalibration + + + + + + + + + + + ReqStartCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartCalibration + + + + + + + + + + + ReqStartCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartCalibration +
+ + + +
+
+ Type +
+
+ +ReqStartCalibration + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartCalibration
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartCalibration + + + + + + + + + + + ReqStartCalibration
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartCalibration message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartEqSolving.html b/docs/ReqStartEqSolving.html new file mode 100644 index 00000000..7d443773 --- /dev/null +++ b/docs/ReqStartEqSolving.html @@ -0,0 +1,2290 @@ + + + + + + ReqStartEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartEqSolving

+ + + + + + + +
+ +
+ +

+ + ReqStartEqSolving + +

+ +
Represents a ReqStartEqSolving.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartEqSolving(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

lat :number

+ + + + + +
+ +
Description:
+
  • ReqStartEqSolving lat.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartEqSolving lat. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lon :number

+ + + + + +
+ +
Description:
+
  • ReqStartEqSolving lon.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartEqSolving lon. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartEqSolving to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartEqSolving instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartEqSolving instance +
+ + + +
+
+ Type +
+
+ +ReqStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartEqSolving message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartEqSolving message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartEqSolving + + + + + + + + + + + ReqStartEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartEqSolving + + + + + + + + + + + ReqStartEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartEqSolving
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartEqSolving + + + + + + + + + + + ReqStartEqSolving
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartEqSolving message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartPanoramaByEulerRange.html b/docs/ReqStartPanoramaByEulerRange.html new file mode 100644 index 00000000..3577d41d --- /dev/null +++ b/docs/ReqStartPanoramaByEulerRange.html @@ -0,0 +1,2290 @@ + + + + + + ReqStartPanoramaByEulerRange - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartPanoramaByEulerRange

+ + + + + + + +
+ +
+ +

+ + ReqStartPanoramaByEulerRange + +

+ +
Represents a ReqStartPanoramaByEulerRange.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartPanoramaByEulerRange(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartPanoramaByEulerRange.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartPanoramaByEulerRange
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaByEulerRange + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

pitchRange :number

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaByEulerRange pitchRange.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaByEulerRange pitchRange. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

yawRange :number

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaByEulerRange yawRange.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaByEulerRange yawRange. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartPanoramaByEulerRange to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartPanoramaByEulerRange}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartPanoramaByEulerRange instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaByEulerRange + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaByEulerRange instance +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByEulerRange + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartPanoramaByEulerRange}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaByEulerRange +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByEulerRange + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartPanoramaByEulerRange}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaByEulerRange +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByEulerRange + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaByEulerRange + + + + + + + + + + + ReqStartPanoramaByEulerRange message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaByEulerRange + + + + + + + + + + + ReqStartPanoramaByEulerRange message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartPanoramaByEulerRange}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaByEulerRange +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByEulerRange + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartPanoramaByEulerRange
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartPanoramaByEulerRange + + + + + + + + + + + ReqStartPanoramaByEulerRange
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartPanoramaByEulerRange message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartPanoramaByGrid.html b/docs/ReqStartPanoramaByGrid.html new file mode 100644 index 00000000..fc302135 --- /dev/null +++ b/docs/ReqStartPanoramaByGrid.html @@ -0,0 +1,2130 @@ + + + + + + ReqStartPanoramaByGrid - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartPanoramaByGrid

+ + + + + + + +
+ +
+ +

+ + ReqStartPanoramaByGrid + +

+ +
Represents a ReqStartPanoramaByGrid.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartPanoramaByGrid(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartPanoramaByGrid.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartPanoramaByGrid
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaByGrid + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartPanoramaByGrid to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartPanoramaByGrid}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartPanoramaByGrid instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaByGrid + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaByGrid instance +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByGrid + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartPanoramaByGrid}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaByGrid +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByGrid + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartPanoramaByGrid}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaByGrid +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByGrid + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaByGrid + + + + + + + + + + + ReqStartPanoramaByGrid message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaByGrid + + + + + + + + + + + ReqStartPanoramaByGrid message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartPanoramaByGrid}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaByGrid +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaByGrid + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartPanoramaByGrid
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartPanoramaByGrid + + + + + + + + + + + ReqStartPanoramaByGrid
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartPanoramaByGrid message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartPanoramaStitchUpload.html b/docs/ReqStartPanoramaStitchUpload.html new file mode 100644 index 00000000..87756cfb --- /dev/null +++ b/docs/ReqStartPanoramaStitchUpload.html @@ -0,0 +1,2680 @@ + + + + + + ReqStartPanoramaStitchUpload - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartPanoramaStitchUpload

+ + + + + + + +
+ +
+ +

+ + ReqStartPanoramaStitchUpload + +

+ +
Represents a ReqStartPanoramaStitchUpload.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartPanoramaStitchUpload(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartPanoramaStitchUpload.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartPanoramaStitchUpload
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaStitchUpload + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

ak :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload ak.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload ak. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

appPlatform :number

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload appPlatform.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload appPlatform. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

busiNo :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload busiNo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload busiNo. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

panoramaName :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload panoramaName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload panoramaName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

sk :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload sk.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload sk. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

token :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload token.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload token. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

userId :string

+ + + + + +
+ +
Description:
+
  • ReqStartPanoramaStitchUpload userId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartPanoramaStitchUpload userId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartPanoramaStitchUpload to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartPanoramaStitchUpload instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartPanoramaStitchUpload + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaStitchUpload instance +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaStitchUpload + + + + + + + + + + + ReqStartPanoramaStitchUpload message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartPanoramaStitchUpload + + + + + + + + + + + ReqStartPanoramaStitchUpload message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStartPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartPanoramaStitchUpload
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartPanoramaStitchUpload + + + + + + + + + + + ReqStartPanoramaStitchUpload
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartPanoramaStitchUpload message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartRecord.html b/docs/ReqStartRecord.html new file mode 100644 index 00000000..fcf48aa3 --- /dev/null +++ b/docs/ReqStartRecord.html @@ -0,0 +1,2212 @@ + + + + + + ReqStartRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartRecord

+ + + + + + + +
+ +
+ +

+ + ReqStartRecord + +

+ +
Represents a ReqStartRecord.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartRecord(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartRecord
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartRecord + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

encodeType :number

+ + + + + +
+ +
Description:
+
  • ReqStartRecord encodeType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartRecord encodeType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartRecord to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartRecord}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartRecord instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartRecord + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartRecord instance +
+ + + +
+
+ Type +
+
+ +ReqStartRecord + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartRecord}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartRecord message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartRecord +
+ + + +
+
+ Type +
+
+ +ReqStartRecord + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartRecord}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartRecord message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartRecord +
+ + + +
+
+ Type +
+
+ +ReqStartRecord + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartRecord message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartRecord + + + + + + + + + + + ReqStartRecord message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartRecord message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartRecord + + + + + + + + + + + ReqStartRecord message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartRecord}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartRecord +
+ + + +
+
+ Type +
+
+ +ReqStartRecord + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartRecord
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartRecord + + + + + + + + + + + ReqStartRecord
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartRecord message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartSentryMode.html b/docs/ReqStartSentryMode.html new file mode 100644 index 00000000..cb4c6186 --- /dev/null +++ b/docs/ReqStartSentryMode.html @@ -0,0 +1,2212 @@ + + + + + + ReqStartSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartSentryMode

+ + + + + + + +
+ +
+ +

+ + ReqStartSentryMode + +

+ +
Represents a ReqStartSentryMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartSentryMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartSentryMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ReqStartSentryMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartSentryMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartSentryMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartSentryMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartSentryMode instance +
+ + + +
+
+ Type +
+
+ +ReqStartSentryMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartSentryMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStartSentryMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStartSentryMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartSentryMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartSentryMode + + + + + + + + + + + ReqStartSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartSentryMode + + + + + + + + + + + ReqStartSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStartSentryMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartSentryMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartSentryMode + + + + + + + + + + + ReqStartSentryMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartSentryMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartTimeLapse.html b/docs/ReqStartTimeLapse.html new file mode 100644 index 00000000..92728879 --- /dev/null +++ b/docs/ReqStartTimeLapse.html @@ -0,0 +1,2130 @@ + + + + + + ReqStartTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartTimeLapse

+ + + + + + + +
+ +
+ +

+ + ReqStartTimeLapse + +

+ +
Represents a ReqStartTimeLapse.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartTimeLapse(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartTimeLapse
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartTimeLapse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartTimeLapse to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartTimeLapse instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartTimeLapse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartTimeLapse instance +
+ + + +
+
+ Type +
+
+ +ReqStartTimeLapse + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartTimeLapse message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStartTimeLapse + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStartTimeLapse + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartTimeLapse message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartTimeLapse + + + + + + + + + + + ReqStartTimeLapse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartTimeLapse + + + + + + + + + + + ReqStartTimeLapse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStartTimeLapse + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartTimeLapse
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartTimeLapse + + + + + + + + + + + ReqStartTimeLapse
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartTimeLapse message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStartTrack.html b/docs/ReqStartTrack.html new file mode 100644 index 00000000..e6df88f9 --- /dev/null +++ b/docs/ReqStartTrack.html @@ -0,0 +1,2446 @@ + + + + + + ReqStartTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStartTrack

+ + + + + + + +
+ +
+ +

+ + ReqStartTrack + +

+ +
Represents a ReqStartTrack.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStartTrack(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStartTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStartTrack
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

h :number

+ + + + + +
+ +
Description:
+
  • ReqStartTrack h.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartTrack h. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

w :number

+ + + + + +
+ +
Description:
+
  • ReqStartTrack w.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartTrack w. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

x :number

+ + + + + +
+ +
Description:
+
  • ReqStartTrack x.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartTrack x. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

y :number

+ + + + + +
+ +
Description:
+
  • ReqStartTrack y.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqStartTrack y. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStartTrack to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStartTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStartTrack instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStartTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartTrack instance +
+ + + +
+
+ Type +
+
+ +ReqStartTrack + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStartTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartTrack message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartTrack +
+ + + +
+
+ Type +
+
+ +ReqStartTrack + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStartTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStartTrack message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStartTrack +
+ + + +
+
+ Type +
+
+ +ReqStartTrack + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartTrack message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartTrack + + + + + + + + + + + ReqStartTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStartTrack message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStartTrack + + + + + + + + + + + ReqStartTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStartTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStartTrack +
+ + + +
+
+ Type +
+
+ +ReqStartTrack + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStartTrack
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStartTrack + + + + + + + + + + + ReqStartTrack
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStartTrack message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopAstroAutoFocus.html b/docs/ReqStopAstroAutoFocus.html new file mode 100644 index 00000000..14d03959 --- /dev/null +++ b/docs/ReqStopAstroAutoFocus.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ + ReqStopAstroAutoFocus + +

+ +
Represents a ReqStopAstroAutoFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopAstroAutoFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopAstroAutoFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopAstroAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopAstroAutoFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopAstroAutoFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopAstroAutoFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopAstroAutoFocus instance +
+ + + +
+
+ Type +
+
+ +ReqStopAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqStopAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqStopAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopAstroAutoFocus + + + + + + + + + + + ReqStopAstroAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopAstroAutoFocus + + + + + + + + + + + ReqStopAstroAutoFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopAstroAutoFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopAstroAutoFocus +
+ + + +
+
+ Type +
+
+ +ReqStopAstroAutoFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopAstroAutoFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopAstroAutoFocus + + + + + + + + + + + ReqStopAstroAutoFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopAstroAutoFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopBurstPhoto.html b/docs/ReqStopBurstPhoto.html new file mode 100644 index 00000000..0d27c33b --- /dev/null +++ b/docs/ReqStopBurstPhoto.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopBurstPhoto

+ + + + + + + +
+ +
+ +

+ + ReqStopBurstPhoto + +

+ +
Represents a ReqStopBurstPhoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopBurstPhoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopBurstPhoto
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopBurstPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopBurstPhoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopBurstPhoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopBurstPhoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopBurstPhoto instance +
+ + + +
+
+ Type +
+
+ +ReqStopBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopBurstPhoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqStopBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqStopBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopBurstPhoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopBurstPhoto + + + + + + + + + + + ReqStopBurstPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopBurstPhoto + + + + + + + + + + + ReqStopBurstPhoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopBurstPhoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopBurstPhoto +
+ + + +
+
+ Type +
+
+ +ReqStopBurstPhoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopBurstPhoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopBurstPhoto + + + + + + + + + + + ReqStopBurstPhoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopBurstPhoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCalibration.html b/docs/ReqStopCalibration.html new file mode 100644 index 00000000..45c9ab65 --- /dev/null +++ b/docs/ReqStopCalibration.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCalibration

+ + + + + + + +
+ +
+ +

+ + ReqStopCalibration + +

+ +
Represents a ReqStopCalibration.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCalibration(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCalibration to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCalibration instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCalibration instance +
+ + + +
+
+ Type +
+
+ +ReqStopCalibration + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCalibration message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCalibration +
+ + + +
+
+ Type +
+
+ +ReqStopCalibration + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCalibration +
+ + + +
+
+ Type +
+
+ +ReqStopCalibration + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCalibration message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCalibration + + + + + + + + + + + ReqStopCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCalibration + + + + + + + + + + + ReqStopCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCalibration +
+ + + +
+
+ Type +
+
+ +ReqStopCalibration + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCalibration
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCalibration + + + + + + + + + + + ReqStopCalibration
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCalibration message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCaptureDarkFrame.html b/docs/ReqStopCaptureDarkFrame.html new file mode 100644 index 00000000..091e7126 --- /dev/null +++ b/docs/ReqStopCaptureDarkFrame.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCaptureDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCaptureDarkFrame

+ + + + + + + +
+ +
+ +

+ + ReqStopCaptureDarkFrame + +

+ +
Represents a ReqStopCaptureDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCaptureDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCaptureDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCaptureDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCaptureDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureDarkFrame + + + + + + + + + + + ReqStopCaptureDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureDarkFrame + + + + + + + + + + + ReqStopCaptureDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCaptureDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureDarkFrame +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCaptureDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCaptureDarkFrame + + + + + + + + + + + ReqStopCaptureDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCaptureDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCaptureDarkFrameWithParam.html b/docs/ReqStopCaptureDarkFrameWithParam.html new file mode 100644 index 00000000..e8ad07d2 --- /dev/null +++ b/docs/ReqStopCaptureDarkFrameWithParam.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCaptureDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCaptureDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + ReqStopCaptureDarkFrameWithParam + +

+ +
Represents a ReqStopCaptureDarkFrameWithParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCaptureDarkFrameWithParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCaptureDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCaptureDarkFrameWithParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureDarkFrameWithParam instance +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCaptureDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCaptureDarkFrameWithParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCaptureDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureDarkFrameWithParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCaptureDarkFrameWithParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCaptureRawLiveStacking.html b/docs/ReqStopCaptureRawLiveStacking.html new file mode 100644 index 00000000..0a6b943c --- /dev/null +++ b/docs/ReqStopCaptureRawLiveStacking.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + ReqStopCaptureRawLiveStacking + +

+ +
Represents a ReqStopCaptureRawLiveStacking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCaptureRawLiveStacking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCaptureRawLiveStacking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureRawLiveStacking instance +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureRawLiveStacking + + + + + + + + + + + ReqStopCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureRawLiveStacking + + + + + + + + + + + ReqStopCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCaptureRawLiveStacking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCaptureRawLiveStacking + + + + + + + + + + + ReqStopCaptureRawLiveStacking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCaptureRawLiveStacking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCaptureWideDarkFrameWithParam.html b/docs/ReqStopCaptureWideDarkFrameWithParam.html new file mode 100644 index 00000000..5b61c657 --- /dev/null +++ b/docs/ReqStopCaptureWideDarkFrameWithParam.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCaptureWideDarkFrameWithParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCaptureWideDarkFrameWithParam

+ + + + + + + +
+ +
+ +

+ + ReqStopCaptureWideDarkFrameWithParam + +

+ +
Represents a ReqStopCaptureWideDarkFrameWithParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCaptureWideDarkFrameWithParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCaptureWideDarkFrameWithParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureWideDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCaptureWideDarkFrameWithParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureWideDarkFrameWithParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureWideDarkFrameWithParam instance +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureWideDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureWideDarkFrameWithParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCaptureWideDarkFrameWithParam}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureWideDarkFrameWithParam +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideDarkFrameWithParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCaptureWideDarkFrameWithParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCaptureWideDarkFrameWithParam + + + + + + + + + + + ReqStopCaptureWideDarkFrameWithParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCaptureWideDarkFrameWithParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopCaptureWideRawLiveStacking.html b/docs/ReqStopCaptureWideRawLiveStacking.html new file mode 100644 index 00000000..87eea9e4 --- /dev/null +++ b/docs/ReqStopCaptureWideRawLiveStacking.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopCaptureWideRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopCaptureWideRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + ReqStopCaptureWideRawLiveStacking + +

+ +
Represents a ReqStopCaptureWideRawLiveStacking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopCaptureWideRawLiveStacking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopCaptureWideRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureWideRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopCaptureWideRawLiveStacking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopCaptureWideRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureWideRawLiveStacking instance +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureWideRawLiveStacking + + + + + + + + + + + ReqStopCaptureWideRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopCaptureWideRawLiveStacking + + + + + + + + + + + ReqStopCaptureWideRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopCaptureWideRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopCaptureWideRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ReqStopCaptureWideRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopCaptureWideRawLiveStacking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopCaptureWideRawLiveStacking + + + + + + + + + + + ReqStopCaptureWideRawLiveStacking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopCaptureWideRawLiveStacking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopEqSolving.html b/docs/ReqStopEqSolving.html new file mode 100644 index 00000000..76b62ed2 --- /dev/null +++ b/docs/ReqStopEqSolving.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopEqSolving

+ + + + + + + +
+ +
+ +

+ + ReqStopEqSolving + +

+ +
Represents a ReqStopEqSolving.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopEqSolving(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopEqSolving to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopEqSolving instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopEqSolving instance +
+ + + +
+
+ Type +
+
+ +ReqStopEqSolving + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopEqSolving message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStopEqSolving + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStopEqSolving + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopEqSolving message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopEqSolving + + + + + + + + + + + ReqStopEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopEqSolving + + + + + + + + + + + ReqStopEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopEqSolving +
+ + + +
+
+ Type +
+
+ +ReqStopEqSolving + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopEqSolving
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopEqSolving + + + + + + + + + + + ReqStopEqSolving
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopEqSolving message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopGoto.html b/docs/ReqStopGoto.html new file mode 100644 index 00000000..2621b1a1 --- /dev/null +++ b/docs/ReqStopGoto.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopGoto

+ + + + + + + +
+ +
+ +

+ + ReqStopGoto + +

+ +
Represents a ReqStopGoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopGoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopGoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopGoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopGoto instance +
+ + + +
+
+ Type +
+
+ +ReqStopGoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopGoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopGoto +
+ + + +
+
+ Type +
+
+ +ReqStopGoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopGoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopGoto +
+ + + +
+
+ Type +
+
+ +ReqStopGoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopGoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopGoto + + + + + + + + + + + ReqStopGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopGoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopGoto + + + + + + + + + + + ReqStopGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopGoto +
+ + + +
+
+ Type +
+
+ +ReqStopGoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopGoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopGoto + + + + + + + + + + + ReqStopGoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopGoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopManualContinuFocus.html b/docs/ReqStopManualContinuFocus.html new file mode 100644 index 00000000..3d39ba57 --- /dev/null +++ b/docs/ReqStopManualContinuFocus.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopManualContinuFocus

+ + + + + + + +
+ +
+ +

+ + ReqStopManualContinuFocus + +

+ +
Represents a ReqStopManualContinuFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopManualContinuFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopManualContinuFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopManualContinuFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopManualContinuFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopManualContinuFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopManualContinuFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopManualContinuFocus instance +
+ + + +
+
+ Type +
+
+ +ReqStopManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopManualContinuFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqStopManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqStopManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopManualContinuFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopManualContinuFocus + + + + + + + + + + + ReqStopManualContinuFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopManualContinuFocus + + + + + + + + + + + ReqStopManualContinuFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopManualContinuFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopManualContinuFocus +
+ + + +
+
+ Type +
+
+ +ReqStopManualContinuFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopManualContinuFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopManualContinuFocus + + + + + + + + + + + ReqStopManualContinuFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopManualContinuFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopOneClickGoto.html b/docs/ReqStopOneClickGoto.html new file mode 100644 index 00000000..76e7c03e --- /dev/null +++ b/docs/ReqStopOneClickGoto.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopOneClickGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopOneClickGoto

+ + + + + + + +
+ +
+ +

+ + ReqStopOneClickGoto + +

+ +
Represents a ReqStopOneClickGoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopOneClickGoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopOneClickGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopOneClickGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopOneClickGoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopOneClickGoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopOneClickGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopOneClickGoto instance +
+ + + +
+
+ Type +
+
+ +ReqStopOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopOneClickGoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopOneClickGoto +
+ + + +
+
+ Type +
+
+ +ReqStopOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopOneClickGoto +
+ + + +
+
+ Type +
+
+ +ReqStopOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopOneClickGoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopOneClickGoto + + + + + + + + + + + ReqStopOneClickGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopOneClickGoto + + + + + + + + + + + ReqStopOneClickGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopOneClickGoto +
+ + + +
+
+ Type +
+
+ +ReqStopOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopOneClickGoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopOneClickGoto + + + + + + + + + + + ReqStopOneClickGoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopOneClickGoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopPanorama.html b/docs/ReqStopPanorama.html new file mode 100644 index 00000000..81f1e9d5 --- /dev/null +++ b/docs/ReqStopPanorama.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopPanorama - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopPanorama

+ + + + + + + +
+ +
+ +

+ + ReqStopPanorama + +

+ +
Represents a ReqStopPanorama.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopPanorama(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopPanorama.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopPanorama
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopPanorama + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopPanorama to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopPanorama}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopPanorama instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopPanorama + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopPanorama instance +
+ + + +
+
+ Type +
+
+ +ReqStopPanorama + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopPanorama}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopPanorama message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopPanorama +
+ + + +
+
+ Type +
+
+ +ReqStopPanorama + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopPanorama}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopPanorama +
+ + + +
+
+ Type +
+
+ +ReqStopPanorama + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopPanorama message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopPanorama + + + + + + + + + + + ReqStopPanorama message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopPanorama + + + + + + + + + + + ReqStopPanorama message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopPanorama}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopPanorama +
+ + + +
+
+ Type +
+
+ +ReqStopPanorama + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopPanorama
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopPanorama + + + + + + + + + + + ReqStopPanorama
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopPanorama message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopPanoramaStitchUpload.html b/docs/ReqStopPanoramaStitchUpload.html new file mode 100644 index 00000000..db34efc9 --- /dev/null +++ b/docs/ReqStopPanoramaStitchUpload.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopPanoramaStitchUpload - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopPanoramaStitchUpload

+ + + + + + + +
+ +
+ +

+ + ReqStopPanoramaStitchUpload + +

+ +
Represents a ReqStopPanoramaStitchUpload.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopPanoramaStitchUpload(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopPanoramaStitchUpload.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopPanoramaStitchUpload
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopPanoramaStitchUpload + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopPanoramaStitchUpload to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopPanoramaStitchUpload instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopPanoramaStitchUpload + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopPanoramaStitchUpload instance +
+ + + +
+
+ Type +
+
+ +ReqStopPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStopPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStopPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopPanoramaStitchUpload + + + + + + + + + + + ReqStopPanoramaStitchUpload message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopPanoramaStitchUpload + + + + + + + + + + + ReqStopPanoramaStitchUpload message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopPanoramaStitchUpload}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopPanoramaStitchUpload +
+ + + +
+
+ Type +
+
+ +ReqStopPanoramaStitchUpload + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopPanoramaStitchUpload
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopPanoramaStitchUpload + + + + + + + + + + + ReqStopPanoramaStitchUpload
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopPanoramaStitchUpload message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopRecord.html b/docs/ReqStopRecord.html new file mode 100644 index 00000000..361eec8f --- /dev/null +++ b/docs/ReqStopRecord.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopRecord

+ + + + + + + +
+ +
+ +

+ + ReqStopRecord + +

+ +
Represents a ReqStopRecord.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopRecord(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopRecord
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopRecord + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopRecord to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopRecord}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopRecord instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopRecord + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopRecord instance +
+ + + +
+
+ Type +
+
+ +ReqStopRecord + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopRecord}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopRecord message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopRecord +
+ + + +
+
+ Type +
+
+ +ReqStopRecord + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopRecord}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopRecord message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopRecord +
+ + + +
+
+ Type +
+
+ +ReqStopRecord + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopRecord message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopRecord + + + + + + + + + + + ReqStopRecord message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopRecord message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopRecord + + + + + + + + + + + ReqStopRecord message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopRecord}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopRecord +
+ + + +
+
+ Type +
+
+ +ReqStopRecord + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopRecord
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopRecord + + + + + + + + + + + ReqStopRecord
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopRecord message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopSentryMode.html b/docs/ReqStopSentryMode.html new file mode 100644 index 00000000..c8a2dbb5 --- /dev/null +++ b/docs/ReqStopSentryMode.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopSentryMode

+ + + + + + + +
+ +
+ +

+ + ReqStopSentryMode + +

+ +
Represents a ReqStopSentryMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopSentryMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopSentryMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopSentryMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopSentryMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopSentryMode instance +
+ + + +
+
+ Type +
+
+ +ReqStopSentryMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopSentryMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStopSentryMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStopSentryMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopSentryMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopSentryMode + + + + + + + + + + + ReqStopSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopSentryMode + + + + + + + + + + + ReqStopSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopSentryMode +
+ + + +
+
+ Type +
+
+ +ReqStopSentryMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopSentryMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopSentryMode + + + + + + + + + + + ReqStopSentryMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopSentryMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopTimeLapse.html b/docs/ReqStopTimeLapse.html new file mode 100644 index 00000000..14b4ef4f --- /dev/null +++ b/docs/ReqStopTimeLapse.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopTimeLapse

+ + + + + + + +
+ +
+ +

+ + ReqStopTimeLapse + +

+ +
Represents a ReqStopTimeLapse.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopTimeLapse(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopTimeLapse
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTimeLapse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopTimeLapse to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopTimeLapse instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTimeLapse + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTimeLapse instance +
+ + + +
+
+ Type +
+
+ +ReqStopTimeLapse + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTimeLapse message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStopTimeLapse + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStopTimeLapse + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTimeLapse message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTimeLapse + + + + + + + + + + + ReqStopTimeLapse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTimeLapse + + + + + + + + + + + ReqStopTimeLapse message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopTimeLapse}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTimeLapse +
+ + + +
+
+ Type +
+
+ +ReqStopTimeLapse + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopTimeLapse
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopTimeLapse + + + + + + + + + + + ReqStopTimeLapse
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopTimeLapse message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:41 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopTrack.html b/docs/ReqStopTrack.html new file mode 100644 index 00000000..0f981b0f --- /dev/null +++ b/docs/ReqStopTrack.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopTrack

+ + + + + + + +
+ +
+ +

+ + ReqStopTrack + +

+ +
Represents a ReqStopTrack.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopTrack(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqStopTrack
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopTrack to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopTrack instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTrack + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTrack instance +
+ + + +
+
+ Type +
+
+ +ReqStopTrack + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTrack message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTrack +
+ + + +
+
+ Type +
+
+ +ReqStopTrack + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopTrack}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTrack message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTrack +
+ + + +
+
+ Type +
+
+ +ReqStopTrack + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTrack message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTrack + + + + + + + + + + + ReqStopTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTrack message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTrack + + + + + + + + + + + ReqStopTrack message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopTrack}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTrack +
+ + + +
+
+ Type +
+
+ +ReqStopTrack + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopTrack
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopTrack + + + + + + + + + + + ReqStopTrack
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopTrack message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqStopTrackSpecialTarget.html b/docs/ReqStopTrackSpecialTarget.html new file mode 100644 index 00000000..abc771fa --- /dev/null +++ b/docs/ReqStopTrackSpecialTarget.html @@ -0,0 +1,2130 @@ + + + + + + ReqStopTrackSpecialTarget - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqStopTrackSpecialTarget

+ + + + + + + +
+ +
+ +

+ + ReqStopTrackSpecialTarget + +

+ +
Represents a ReqStopTrackSpecialTarget.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqStopTrackSpecialTarget(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqStopTrackSpecialTarget.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTrackSpecialTarget + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqStopTrackSpecialTarget to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqStopTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqStopTrackSpecialTarget instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqStopTrackSpecialTarget + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTrackSpecialTarget instance +
+ + + +
+
+ Type +
+
+ +ReqStopTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqStopTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqStopTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqStopTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqStopTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqStopTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTrackSpecialTarget + + + + + + + + + + + ReqStopTrackSpecialTarget message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqStopTrackSpecialTarget + + + + + + + + + + + ReqStopTrackSpecialTarget message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqStopTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqStopTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqStopTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqStopTrackSpecialTarget
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqStopTrackSpecialTarget + + + + + + + + + + + ReqStopTrackSpecialTarget
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqStopTrackSpecialTarget message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqSyncShootingSchedule.html b/docs/ReqSyncShootingSchedule.html new file mode 100644 index 00000000..3a0b9a88 --- /dev/null +++ b/docs/ReqSyncShootingSchedule.html @@ -0,0 +1,2218 @@ + + + + + + ReqSyncShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqSyncShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqSyncShootingSchedule + +

+ +
Represents a ReqSyncShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqSyncShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqSyncShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqSyncShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSyncShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

shootingSchedule :IShootingScheduleMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ReqSyncShootingSchedule shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqSyncShootingSchedule shootingSchedule. +
+ + + +
Type:
+
    +
  • + +IShootingScheduleMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqSyncShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqSyncShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqSyncShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSyncShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSyncShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSyncShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSyncShootingSchedule + + + + + + + + + + + ReqSyncShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqSyncShootingSchedule + + + + + + + + + + + ReqSyncShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqSyncShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqSyncShootingSchedule + + + + + + + + + + + ReqSyncShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqSyncShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqTrackSpecialTarget.html b/docs/ReqTrackSpecialTarget.html new file mode 100644 index 00000000..cc4c2bd2 --- /dev/null +++ b/docs/ReqTrackSpecialTarget.html @@ -0,0 +1,2368 @@ + + + + + + ReqTrackSpecialTarget - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqTrackSpecialTarget

+ + + + + + + +
+ +
+ +

+ + ReqTrackSpecialTarget + +

+ +
Represents a ReqTrackSpecialTarget.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqTrackSpecialTarget(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqTrackSpecialTarget.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqTrackSpecialTarget + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ReqTrackSpecialTarget index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqTrackSpecialTarget index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lat :number

+ + + + + +
+ +
Description:
+
  • ReqTrackSpecialTarget lat.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqTrackSpecialTarget lat. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

lon :number

+ + + + + +
+ +
Description:
+
  • ReqTrackSpecialTarget lon.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqTrackSpecialTarget lon. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqTrackSpecialTarget to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqTrackSpecialTarget instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqTrackSpecialTarget + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqTrackSpecialTarget instance +
+ + + +
+
+ Type +
+
+ +ReqTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqTrackSpecialTarget message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqTrackSpecialTarget message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqTrackSpecialTarget + + + + + + + + + + + ReqTrackSpecialTarget message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqTrackSpecialTarget + + + + + + + + + + + ReqTrackSpecialTarget message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqTrackSpecialTarget}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqTrackSpecialTarget +
+ + + +
+
+ Type +
+
+ +ReqTrackSpecialTarget + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqTrackSpecialTarget
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqTrackSpecialTarget + + + + + + + + + + + ReqTrackSpecialTarget
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqTrackSpecialTarget message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqUnlockShootingSchedule.html b/docs/ReqUnlockShootingSchedule.html new file mode 100644 index 00000000..7b1bd69f --- /dev/null +++ b/docs/ReqUnlockShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ReqUnlockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqUnlockShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ReqUnlockShootingSchedule + +

+ +
Represents a ReqUnlockShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqUnlockShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqUnlockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqUnlockShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqUnlockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

id :string

+ + + + + +
+ +
Description:
+
  • ReqUnlockShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqUnlockShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

password :string

+ + + + + +
+ +
Description:
+
  • ReqUnlockShootingSchedule password.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqUnlockShootingSchedule password. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqUnlockShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqUnlockShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqUnlockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqUnlockShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ReqUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqUnlockShootingSchedule + + + + + + + + + + + ReqUnlockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqUnlockShootingSchedule + + + + + + + + + + + ReqUnlockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ReqUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqUnlockShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqUnlockShootingSchedule + + + + + + + + + + + ReqUnlockShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqUnlockShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ReqsetMasterLock.html b/docs/ReqsetMasterLock.html new file mode 100644 index 00000000..13627266 --- /dev/null +++ b/docs/ReqsetMasterLock.html @@ -0,0 +1,2212 @@ + + + + + + ReqsetMasterLock - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ReqsetMasterLock

+ + + + + + + +
+ +
+ +

+ + ReqsetMasterLock + +

+ +
Represents a ReqsetMasterLock.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ReqsetMasterLock(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ReqsetMasterLock.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IReqsetMasterLock
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqsetMasterLock + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

lock :boolean

+ + + + + +
+ +
Description:
+
  • ReqsetMasterLock lock.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ReqsetMasterLock lock. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ReqsetMasterLock to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ReqsetMasterLock}

+ + + + + + +
+ +
Description:
+
  • Creates a new ReqsetMasterLock instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IReqsetMasterLock + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqsetMasterLock instance +
+ + + +
+
+ Type +
+
+ +ReqsetMasterLock + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ReqsetMasterLock}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqsetMasterLock message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqsetMasterLock +
+ + + +
+
+ Type +
+
+ +ReqsetMasterLock + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ReqsetMasterLock}

+ + + + + + +
+ +
Description:
+
  • Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ReqsetMasterLock +
+ + + +
+
+ Type +
+
+ +ReqsetMasterLock + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqsetMasterLock message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqsetMasterLock + + + + + + + + + + + ReqsetMasterLock message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IReqsetMasterLock + + + + + + + + + + + ReqsetMasterLock message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ReqsetMasterLock}

+ + + + + + +
+ +
Description:
+
  • Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ReqsetMasterLock +
+ + + +
+
+ Type +
+
+ +ReqsetMasterLock + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ReqsetMasterLock
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ReqsetMasterLock + + + + + + + + + + + ReqsetMasterLock
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ReqsetMasterLock message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResAp.html b/docs/ResAp.html new file mode 100644 index 00000000..05c8bdec --- /dev/null +++ b/docs/ResAp.html @@ -0,0 +1,2524 @@ + + + + + + ResAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResAp

+ + + + + + + +
+ +
+ +

+ + ResAp + +

+ +
Represents a ResAp.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResAp(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResAp
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResAp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResAp cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResAp cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResAp code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResAp code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ResAp mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResAp mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

psd :string

+ + + + + +
+ +
Description:
+
  • ResAp psd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResAp psd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

ssid :string

+ + + + + +
+ +
Description:
+
  • ResAp ssid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResAp ssid. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResAp to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResAp}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResAp instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResAp + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResAp instance +
+ + + +
+
+ Type +
+
+ +ResAp + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResAp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResAp message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResAp +
+ + + +
+
+ Type +
+
+ +ResAp + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResAp}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResAp message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResAp +
+ + + +
+
+ Type +
+
+ +ResAp + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResAp message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResAp + + + + + + + + + + + ResAp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResAp message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResAp + + + + + + + + + + + ResAp message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResAp}

+ + + + + + +
+ +
Description:
+
  • Creates a ResAp message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResAp +
+ + + +
+
+ Type +
+
+ +ResAp + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResAp
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResAp message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResAp + + + + + + + + + + + ResAp
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResAp message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResCancelShootingSchedule.html b/docs/ResCancelShootingSchedule.html new file mode 100644 index 00000000..6ba25e72 --- /dev/null +++ b/docs/ResCancelShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ResCancelShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResCancelShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResCancelShootingSchedule + +

+ +
Represents a ResCancelShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResCancelShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResCancelShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResCancelShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCancelShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResCancelShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCancelShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :string

+ + + + + +
+ +
Description:
+
  • ResCancelShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCancelShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResCancelShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResCancelShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCancelShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCancelShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCancelShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCancelShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCancelShootingSchedule + + + + + + + + + + + ResCancelShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCancelShootingSchedule + + + + + + + + + + + ResCancelShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResCancelShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCancelShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResCancelShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResCancelShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResCancelShootingSchedule + + + + + + + + + + + ResCancelShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResCancelShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResCheckDarkFrame.html b/docs/ResCheckDarkFrame.html new file mode 100644 index 00000000..79998dd8 --- /dev/null +++ b/docs/ResCheckDarkFrame.html @@ -0,0 +1,2290 @@ + + + + + + ResCheckDarkFrame - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResCheckDarkFrame

+ + + + + + + +
+ +
+ +

+ + ResCheckDarkFrame + +

+ +
Represents a ResCheckDarkFrame.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResCheckDarkFrame(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResCheckDarkFrame.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCheckDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResCheckDarkFrame code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCheckDarkFrame code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

progress :number

+ + + + + +
+ +
Description:
+
  • ResCheckDarkFrame progress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCheckDarkFrame progress. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResCheckDarkFrame to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResCheckDarkFrame instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCheckDarkFrame + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCheckDarkFrame instance +
+ + + +
+
+ Type +
+
+ +ResCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCheckDarkFrame message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ResCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ResCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCheckDarkFrame message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCheckDarkFrame + + + + + + + + + + + ResCheckDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCheckDarkFrame + + + + + + + + + + + ResCheckDarkFrame message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResCheckDarkFrame}

+ + + + + + +
+ +
Description:
+
  • Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCheckDarkFrame +
+ + + +
+
+ Type +
+
+ +ResCheckDarkFrame + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResCheckDarkFrame
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResCheckDarkFrame + + + + + + + + + + + ResCheckDarkFrame
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResCheckDarkFrame message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResCheckFile.html b/docs/ResCheckFile.html new file mode 100644 index 00000000..95a25715 --- /dev/null +++ b/docs/ResCheckFile.html @@ -0,0 +1,2290 @@ + + + + + + ResCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResCheckFile

+ + + + + + + +
+ +
+ +

+ + ResCheckFile + +

+ +
Represents a ResCheckFile.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResCheckFile(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResCheckFile
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCheckFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResCheckFile cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCheckFile cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResCheckFile code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResCheckFile code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResCheckFile to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResCheckFile}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResCheckFile instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResCheckFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCheckFile instance +
+ + + +
+
+ Type +
+
+ +ResCheckFile + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResCheckFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCheckFile message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCheckFile +
+ + + +
+
+ Type +
+
+ +ResCheckFile + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResCheckFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResCheckFile message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResCheckFile +
+ + + +
+
+ Type +
+
+ +ResCheckFile + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCheckFile message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCheckFile + + + + + + + + + + + ResCheckFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResCheckFile message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResCheckFile + + + + + + + + + + + ResCheckFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResCheckFile}

+ + + + + + +
+ +
Description:
+
  • Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResCheckFile +
+ + + +
+
+ Type +
+
+ +ResCheckFile + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResCheckFile
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResCheckFile message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResCheckFile + + + + + + + + + + + ResCheckFile
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResCheckFile message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDelDarkFrameList.html b/docs/ResDelDarkFrameList.html new file mode 100644 index 00000000..e70896b7 --- /dev/null +++ b/docs/ResDelDarkFrameList.html @@ -0,0 +1,2212 @@ + + + + + + ResDelDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDelDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ResDelDarkFrameList + +

+ +
Represents a ResDelDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDelDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDelDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDelDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDelDarkFrameList code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDelDarkFrameList code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDelDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDelDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDelDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDelDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ResDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDelDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDelDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDelDarkFrameList + + + + + + + + + + + ResDelDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDelDarkFrameList + + + + + + + + + + + ResDelDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDelDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDelDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDelDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDelDarkFrameList + + + + + + + + + + + ResDelDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDelDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDelWideDarkFrameList.html b/docs/ResDelWideDarkFrameList.html new file mode 100644 index 00000000..ee54cffe --- /dev/null +++ b/docs/ResDelWideDarkFrameList.html @@ -0,0 +1,2212 @@ + + + + + + ResDelWideDarkFrameList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDelWideDarkFrameList

+ + + + + + + +
+ +
+ +

+ + ResDelWideDarkFrameList + +

+ +
Represents a ResDelWideDarkFrameList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDelWideDarkFrameList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDelWideDarkFrameList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDelWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDelWideDarkFrameList code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDelWideDarkFrameList code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDelWideDarkFrameList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDelWideDarkFrameList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDelWideDarkFrameList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDelWideDarkFrameList instance +
+ + + +
+
+ Type +
+
+ +ResDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDelWideDarkFrameList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDelWideDarkFrameList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDelWideDarkFrameList + + + + + + + + + + + ResDelWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDelWideDarkFrameList + + + + + + + + + + + ResDelWideDarkFrameList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDelWideDarkFrameList}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDelWideDarkFrameList +
+ + + +
+
+ Type +
+
+ +ResDelWideDarkFrameList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDelWideDarkFrameList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDelWideDarkFrameList + + + + + + + + + + + ResDelWideDarkFrameList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDelWideDarkFrameList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDeleteShootingSchedule.html b/docs/ResDeleteShootingSchedule.html new file mode 100644 index 00000000..08c842ce --- /dev/null +++ b/docs/ResDeleteShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ResDeleteShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDeleteShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResDeleteShootingSchedule + +

+ +
Represents a ResDeleteShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDeleteShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDeleteShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResDeleteShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeleteShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDeleteShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeleteShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :string

+ + + + + +
+ +
Description:
+
  • ResDeleteShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeleteShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDeleteShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDeleteShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeleteShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeleteShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeleteShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeleteShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeleteShootingSchedule + + + + + + + + + + + ResDeleteShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeleteShootingSchedule + + + + + + + + + + + ResDeleteShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDeleteShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeleteShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResDeleteShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDeleteShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDeleteShootingSchedule + + + + + + + + + + + ResDeleteShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDeleteShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDeviceActivateInfo.html b/docs/ResDeviceActivateInfo.html new file mode 100644 index 00000000..50ec55b9 --- /dev/null +++ b/docs/ResDeviceActivateInfo.html @@ -0,0 +1,2368 @@ + + + + + + ResDeviceActivateInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDeviceActivateInfo

+ + + + + + + +
+ +
+ +

+ + ResDeviceActivateInfo + +

+ +
Represents a ResDeviceActivateInfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDeviceActivateInfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDeviceActivateInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResDeviceActivateInfo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

activateProcessState :number

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateInfo activateProcessState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateInfo activateProcessState. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

activateState :number

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateInfo activateState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateInfo activateState. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

requestParam :string

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateInfo requestParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateInfo requestParam. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDeviceActivateInfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDeviceActivateInfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateInfo instance +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateInfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateInfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateInfo + + + + + + + + + + + ResDeviceActivateInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateInfo + + + + + + + + + + + ResDeviceActivateInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDeviceActivateInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateInfo +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateInfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDeviceActivateInfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDeviceActivateInfo + + + + + + + + + + + ResDeviceActivateInfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDeviceActivateInfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDeviceActivateSuccessfull.html b/docs/ResDeviceActivateSuccessfull.html new file mode 100644 index 00000000..521157d2 --- /dev/null +++ b/docs/ResDeviceActivateSuccessfull.html @@ -0,0 +1,2290 @@ + + + + + + ResDeviceActivateSuccessfull - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDeviceActivateSuccessfull

+ + + + + + + +
+ +
+ +

+ + ResDeviceActivateSuccessfull + +

+ +
Represents a ResDeviceActivateSuccessfull.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDeviceActivateSuccessfull(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDeviceActivateSuccessfull.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResDeviceActivateSuccessfull
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateSuccessfull + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

activateState :number

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateSuccessfull activateState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateSuccessfull activateState. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateSuccessfull code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateSuccessfull code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDeviceActivateSuccessfull to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDeviceActivateSuccessfull instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateSuccessfull + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateSuccessfull instance +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateSuccessfull + + + + + + + + + + + ResDeviceActivateSuccessfull message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateSuccessfull + + + + + + + + + + + ResDeviceActivateSuccessfull message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDeviceActivateSuccessfull}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateSuccessfull +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateSuccessfull + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDeviceActivateSuccessfull
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDeviceActivateSuccessfull + + + + + + + + + + + ResDeviceActivateSuccessfull
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDeviceActivateSuccessfull message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDeviceActivateWriteFile.html b/docs/ResDeviceActivateWriteFile.html new file mode 100644 index 00000000..733fa71f --- /dev/null +++ b/docs/ResDeviceActivateWriteFile.html @@ -0,0 +1,2290 @@ + + + + + + ResDeviceActivateWriteFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDeviceActivateWriteFile

+ + + + + + + +
+ +
+ +

+ + ResDeviceActivateWriteFile + +

+ +
Represents a ResDeviceActivateWriteFile.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDeviceActivateWriteFile(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDeviceActivateWriteFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResDeviceActivateWriteFile
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateWriteFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateWriteFile code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateWriteFile code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

requestParam :string

+ + + + + +
+ +
Description:
+
  • ResDeviceActivateWriteFile requestParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDeviceActivateWriteFile requestParam. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDeviceActivateWriteFile to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDeviceActivateWriteFile instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDeviceActivateWriteFile + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateWriteFile instance +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateWriteFile + + + + + + + + + + + ResDeviceActivateWriteFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDeviceActivateWriteFile + + + + + + + + + + + ResDeviceActivateWriteFile message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDeviceActivateWriteFile}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDeviceActivateWriteFile +
+ + + +
+
+ Type +
+
+ +ResDeviceActivateWriteFile + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDeviceActivateWriteFile
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDeviceActivateWriteFile + + + + + + + + + + + ResDeviceActivateWriteFile
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDeviceActivateWriteFile message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResDisableDeviceActivate.html b/docs/ResDisableDeviceActivate.html new file mode 100644 index 00000000..f73421ef --- /dev/null +++ b/docs/ResDisableDeviceActivate.html @@ -0,0 +1,2290 @@ + + + + + + ResDisableDeviceActivate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResDisableDeviceActivate

+ + + + + + + +
+ +
+ +

+ + ResDisableDeviceActivate + +

+ +
Represents a ResDisableDeviceActivate.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResDisableDeviceActivate(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResDisableDeviceActivate.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResDisableDeviceActivate
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDisableDeviceActivate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

activateState :number

+ + + + + +
+ +
Description:
+
  • ResDisableDeviceActivate activateState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDisableDeviceActivate activateState. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResDisableDeviceActivate code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResDisableDeviceActivate code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResDisableDeviceActivate to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResDisableDeviceActivate instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResDisableDeviceActivate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDisableDeviceActivate instance +
+ + + +
+
+ Type +
+
+ +ResDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDisableDeviceActivate message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ResDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ResDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDisableDeviceActivate message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDisableDeviceActivate + + + + + + + + + + + ResDisableDeviceActivate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResDisableDeviceActivate + + + + + + + + + + + ResDisableDeviceActivate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResDisableDeviceActivate}

+ + + + + + +
+ +
Description:
+
  • Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResDisableDeviceActivate +
+ + + +
+
+ Type +
+
+ +ResDisableDeviceActivate + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResDisableDeviceActivate
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResDisableDeviceActivate + + + + + + + + + + + ResDisableDeviceActivate
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResDisableDeviceActivate message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetAllFeatureParams.html b/docs/ResGetAllFeatureParams.html new file mode 100644 index 00000000..adcb7a6a --- /dev/null +++ b/docs/ResGetAllFeatureParams.html @@ -0,0 +1,2290 @@ + + + + + + ResGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ + ResGetAllFeatureParams + +

+ +
Represents a ResGetAllFeatureParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetAllFeatureParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetAllFeatureParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

allFeatureParams :Array.<ICommonParam>

+ + + + + +
+ +
Description:
+
  • ResGetAllFeatureParams allFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllFeatureParams allFeatureParams. +
+ + + +
Type:
+
    +
  • + +Array.<ICommonParam> + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetAllFeatureParams code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllFeatureParams code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetAllFeatureParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetAllFeatureParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllFeatureParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllFeatureParams instance +
+ + + +
+
+ Type +
+
+ +ResGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllFeatureParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ResGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ResGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllFeatureParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllFeatureParams + + + + + + + + + + + ResGetAllFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllFeatureParams + + + + + + + + + + + ResGetAllFeatureParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetAllFeatureParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllFeatureParams +
+ + + +
+
+ Type +
+
+ +ResGetAllFeatureParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetAllFeatureParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetAllFeatureParams + + + + + + + + + + + ResGetAllFeatureParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetAllFeatureParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetAllParams.html b/docs/ResGetAllParams.html new file mode 100644 index 00000000..49a35a56 --- /dev/null +++ b/docs/ResGetAllParams.html @@ -0,0 +1,2290 @@ + + + + + + ResGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetAllParams

+ + + + + + + +
+ +
+ +

+ + ResGetAllParams + +

+ +
Represents a ResGetAllParams.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetAllParams(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetAllParams
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

allParams :Array.<ICommonParam>

+ + + + + +
+ +
Description:
+
  • ResGetAllParams allParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllParams allParams. +
+ + + +
Type:
+
    +
  • + +Array.<ICommonParam> + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetAllParams code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllParams code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetAllParams to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetAllParams instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllParams + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllParams instance +
+ + + +
+
+ Type +
+
+ +ResGetAllParams + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllParams message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllParams +
+ + + +
+
+ Type +
+
+ +ResGetAllParams + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllParams message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllParams +
+ + + +
+
+ Type +
+
+ +ResGetAllParams + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllParams message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllParams + + + + + + + + + + + ResGetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllParams message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllParams + + + + + + + + + + + ResGetAllParams message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetAllParams}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllParams +
+ + + +
+
+ Type +
+
+ +ResGetAllParams + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetAllParams
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetAllParams + + + + + + + + + + + ResGetAllParams
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetAllParams message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetAllShootingSchedule.html b/docs/ResGetAllShootingSchedule.html new file mode 100644 index 00000000..ba21fc72 --- /dev/null +++ b/docs/ResGetAllShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ResGetAllShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetAllShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResGetAllShootingSchedule + +

+ +
Represents a ResGetAllShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetAllShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetAllShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetAllShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetAllShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

shootingSchedule :Array.<IShootingScheduleMsg>

+ + + + + +
+ +
Description:
+
  • ResGetAllShootingSchedule shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetAllShootingSchedule shootingSchedule. +
+ + + +
Type:
+
    +
  • + +Array.<IShootingScheduleMsg> + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetAllShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetAllShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetAllShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllShootingSchedule + + + + + + + + + + + ResGetAllShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetAllShootingSchedule + + + + + + + + + + + ResGetAllShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetAllShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetAllShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResGetAllShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetAllShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetAllShootingSchedule + + + + + + + + + + + ResGetAllShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetAllShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetDarkFrameInfo.html b/docs/ResGetDarkFrameInfo.html new file mode 100644 index 00000000..8c887398 --- /dev/null +++ b/docs/ResGetDarkFrameInfo.html @@ -0,0 +1,2680 @@ + + + + + + ResGetDarkFrameInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetDarkFrameInfo

+ + + + + + + +
+ +
+ +

+ + ResGetDarkFrameInfo + +

+ +
Represents a ResGetDarkFrameInfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetDarkFrameInfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetDarkFrameInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetDarkFrameInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

binName :string

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo binName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo binName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expName :string

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo expName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo expName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainName :string

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo gainName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo gainName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

temperature :number

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfo temperature.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfo temperature. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetDarkFrameInfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetDarkFrameInfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetDarkFrameInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetDarkFrameInfo instance +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetDarkFrameInfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetDarkFrameInfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetDarkFrameInfo + + + + + + + + + + + ResGetDarkFrameInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetDarkFrameInfo + + + + + + + + + + + ResGetDarkFrameInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetDarkFrameInfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetDarkFrameInfo + + + + + + + + + + + ResGetDarkFrameInfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetDarkFrameInfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetDarkFrameInfoList.html b/docs/ResGetDarkFrameInfoList.html new file mode 100644 index 00000000..7445240d --- /dev/null +++ b/docs/ResGetDarkFrameInfoList.html @@ -0,0 +1,2290 @@ + + + + + + ResGetDarkFrameInfoList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetDarkFrameInfoList

+ + + + + + + +
+ +
+ +

+ + ResGetDarkFrameInfoList + +

+ +
Represents a ResGetDarkFrameInfoList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetDarkFrameInfoList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetDarkFrameInfoList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetDarkFrameInfoList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfoList code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfoList code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

results :Array.<IResGetDarkFrameInfo>

+ + + + + +
+ +
Description:
+
  • ResGetDarkFrameInfoList results.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetDarkFrameInfoList results. +
+ + + +
Type:
+ + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetDarkFrameInfoList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetDarkFrameInfoList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetDarkFrameInfoList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetDarkFrameInfoList instance +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetDarkFrameInfoList + + + + + + + + + + + ResGetDarkFrameInfoList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetDarkFrameInfoList + + + + + + + + + + + ResGetDarkFrameInfoList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetDarkFrameInfoList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetDarkFrameInfoList + + + + + + + + + + + ResGetDarkFrameInfoList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetDarkFrameInfoList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetShootingScheduleById.html b/docs/ResGetShootingScheduleById.html new file mode 100644 index 00000000..d9ceda50 --- /dev/null +++ b/docs/ResGetShootingScheduleById.html @@ -0,0 +1,2296 @@ + + + + + + ResGetShootingScheduleById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetShootingScheduleById

+ + + + + + + +
+ +
+ +

+ + ResGetShootingScheduleById + +

+ +
Represents a ResGetShootingScheduleById.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetShootingScheduleById(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetShootingScheduleById.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetShootingScheduleById
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetShootingScheduleById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetShootingScheduleById code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetShootingScheduleById code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

shootingSchedule :IShootingScheduleMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ResGetShootingScheduleById shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetShootingScheduleById shootingSchedule. +
+ + + +
Type:
+
    +
  • + +IShootingScheduleMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetShootingScheduleById to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetShootingScheduleById instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetShootingScheduleById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetShootingScheduleById instance +
+ + + +
+
+ Type +
+
+ +ResGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetShootingScheduleById message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ResGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ResGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetShootingScheduleById message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetShootingScheduleById + + + + + + + + + + + ResGetShootingScheduleById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetShootingScheduleById + + + + + + + + + + + ResGetShootingScheduleById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetShootingScheduleById}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetShootingScheduleById +
+ + + +
+
+ Type +
+
+ +ResGetShootingScheduleById + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetShootingScheduleById
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetShootingScheduleById + + + + + + + + + + + ResGetShootingScheduleById
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetShootingScheduleById message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetShootingTaskById.html b/docs/ResGetShootingTaskById.html new file mode 100644 index 00000000..172101cd --- /dev/null +++ b/docs/ResGetShootingTaskById.html @@ -0,0 +1,2296 @@ + + + + + + ResGetShootingTaskById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetShootingTaskById

+ + + + + + + +
+ +
+ +

+ + ResGetShootingTaskById + +

+ +
Represents a ResGetShootingTaskById.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetShootingTaskById(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetShootingTaskById.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetShootingTaskById
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetShootingTaskById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetShootingTaskById code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetShootingTaskById code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

shootingTask :IShootingTaskMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ResGetShootingTaskById shootingTask.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetShootingTaskById shootingTask. +
+ + + +
Type:
+
    +
  • + +IShootingTaskMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetShootingTaskById to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetShootingTaskById instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetShootingTaskById + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetShootingTaskById instance +
+ + + +
+
+ Type +
+
+ +ResGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetShootingTaskById message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ResGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ResGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetShootingTaskById message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetShootingTaskById + + + + + + + + + + + ResGetShootingTaskById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetShootingTaskById + + + + + + + + + + + ResGetShootingTaskById message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetShootingTaskById}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetShootingTaskById +
+ + + +
+
+ Type +
+
+ +ResGetShootingTaskById + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetShootingTaskById
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetShootingTaskById + + + + + + + + + + + ResGetShootingTaskById
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetShootingTaskById message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetStitchUploadState.html b/docs/ResGetStitchUploadState.html new file mode 100644 index 00000000..3153d1e2 --- /dev/null +++ b/docs/ResGetStitchUploadState.html @@ -0,0 +1,2920 @@ + + + + + + ResGetStitchUploadState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetStitchUploadState

+ + + + + + + +
+ +
+ +

+ + ResGetStitchUploadState + +

+ +
Represents a ResGetStitchUploadState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetStitchUploadState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetStitchUploadState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetStitchUploadState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetStitchUploadState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

busiNo :string

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState busiNo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState busiNo. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

compressedFilesNum :number

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState compressedFilesNum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState compressedFilesNum. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mac :string

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState mac.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState mac. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

panoramaName :string

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState panoramaName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState panoramaName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

step :number

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState step.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState step. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalFilesNum :number

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState totalFilesNum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState totalFilesNum. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalSize :number|Long

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState totalSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState totalSize. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

uploadedSize :number|Long

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState uploadedSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState uploadedSize. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

userId :string

+ + + + + +
+ +
Description:
+
  • ResGetStitchUploadState userId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetStitchUploadState userId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetStitchUploadState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetStitchUploadState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetStitchUploadState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetStitchUploadState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetStitchUploadState instance +
+ + + +
+
+ Type +
+
+ +ResGetStitchUploadState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetStitchUploadState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetStitchUploadState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetStitchUploadState +
+ + + +
+
+ Type +
+
+ +ResGetStitchUploadState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetStitchUploadState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetStitchUploadState +
+ + + +
+
+ Type +
+
+ +ResGetStitchUploadState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetStitchUploadState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetStitchUploadState + + + + + + + + + + + ResGetStitchUploadState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetStitchUploadState + + + + + + + + + + + ResGetStitchUploadState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetStitchUploadState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetStitchUploadState +
+ + + +
+
+ Type +
+
+ +ResGetStitchUploadState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetStitchUploadState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetStitchUploadState + + + + + + + + + + + ResGetStitchUploadState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetStitchUploadState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetWideDarkFrameInfo.html b/docs/ResGetWideDarkFrameInfo.html new file mode 100644 index 00000000..4d8b77a5 --- /dev/null +++ b/docs/ResGetWideDarkFrameInfo.html @@ -0,0 +1,2680 @@ + + + + + + ResGetWideDarkFrameInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetWideDarkFrameInfo

+ + + + + + + +
+ +
+ +

+ + ResGetWideDarkFrameInfo + +

+ +
Represents a ResGetWideDarkFrameInfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetWideDarkFrameInfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetWideDarkFrameInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetWideDarkFrameInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

binIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo binIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo binIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

binName :string

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo binName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo binName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expName :string

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo expName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo expName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainName :string

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo gainName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo gainName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

temperature :number

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfo temperature.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfo temperature. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetWideDarkFrameInfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetWideDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetWideDarkFrameInfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetWideDarkFrameInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetWideDarkFrameInfo instance +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetWideDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetWideDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetWideDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetWideDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetWideDarkFrameInfo + + + + + + + + + + + ResGetWideDarkFrameInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetWideDarkFrameInfo + + + + + + + + + + + ResGetWideDarkFrameInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetWideDarkFrameInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetWideDarkFrameInfo +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetWideDarkFrameInfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetWideDarkFrameInfo + + + + + + + + + + + ResGetWideDarkFrameInfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetWideDarkFrameInfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetWideDarkFrameInfoList.html b/docs/ResGetWideDarkFrameInfoList.html new file mode 100644 index 00000000..226b7a62 --- /dev/null +++ b/docs/ResGetWideDarkFrameInfoList.html @@ -0,0 +1,2290 @@ + + + + + + ResGetWideDarkFrameInfoList - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetWideDarkFrameInfoList

+ + + + + + + +
+ +
+ +

+ + ResGetWideDarkFrameInfoList + +

+ +
Represents a ResGetWideDarkFrameInfoList.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetWideDarkFrameInfoList(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetWideDarkFrameInfoList.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetWideDarkFrameInfoList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfoList code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfoList code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

results :Array.<IResGetDarkFrameInfo>

+ + + + + +
+ +
Description:
+
  • ResGetWideDarkFrameInfoList results.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetWideDarkFrameInfoList results. +
+ + + +
Type:
+ + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetWideDarkFrameInfoList to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetWideDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetWideDarkFrameInfoList instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetWideDarkFrameInfoList + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetWideDarkFrameInfoList instance +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetWideDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetWideDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetWideDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetWideDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetWideDarkFrameInfoList + + + + + + + + + + + ResGetWideDarkFrameInfoList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetWideDarkFrameInfoList + + + + + + + + + + + ResGetWideDarkFrameInfoList message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetWideDarkFrameInfoList}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetWideDarkFrameInfoList +
+ + + +
+
+ Type +
+
+ +ResGetWideDarkFrameInfoList + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetWideDarkFrameInfoList
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetWideDarkFrameInfoList + + + + + + + + + + + ResGetWideDarkFrameInfoList
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetWideDarkFrameInfoList message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetconfig.html b/docs/ResGetconfig.html new file mode 100644 index 00000000..07f846b1 --- /dev/null +++ b/docs/ResGetconfig.html @@ -0,0 +1,2992 @@ + + + + + + ResGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetconfig

+ + + + + + + +
+ +
+ +

+ + ResGetconfig + +

+ +
Represents a ResGetconfig.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetconfig(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetconfig
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetconfig + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

apCountry :string

+ + + + + +
+ +
Description:
+
  • ResGetconfig apCountry.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig apCountry. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

apCountryList :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig apCountryList.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig apCountryList. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

apMode :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig apMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig apMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

autoStart :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig autoStart.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig autoStart. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ip :string

+ + + + + +
+ +
Description:
+
  • ResGetconfig ip.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig ip. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

psd :string

+ + + + + +
+ +
Description:
+
  • ResGetconfig psd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig psd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

ssid :string

+ + + + + +
+ +
Description:
+
  • ResGetconfig ssid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig ssid. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

state :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig state. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

wifiMode :number

+ + + + + +
+ +
Description:
+
  • ResGetconfig wifiMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetconfig wifiMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetconfig to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetconfig}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetconfig instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetconfig + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetconfig instance +
+ + + +
+
+ Type +
+
+ +ResGetconfig + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetconfig}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetconfig message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetconfig +
+ + + +
+
+ Type +
+
+ +ResGetconfig + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetconfig}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetconfig message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetconfig +
+ + + +
+
+ Type +
+
+ +ResGetconfig + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetconfig message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetconfig + + + + + + + + + + + ResGetconfig message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetconfig message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetconfig + + + + + + + + + + + ResGetconfig message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetconfig}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetconfig +
+ + + +
+
+ Type +
+
+ +ResGetconfig + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetconfig
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetconfig message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetconfig + + + + + + + + + + + ResGetconfig
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetconfig message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResGetsysteminfo.html b/docs/ResGetsysteminfo.html new file mode 100644 index 00000000..2832095c --- /dev/null +++ b/docs/ResGetsysteminfo.html @@ -0,0 +1,2602 @@ + + + + + + ResGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResGetsysteminfo

+ + + + + + + +
+ +
+ +

+ + ResGetsysteminfo + +

+ +
Represents a ResGetsysteminfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResGetsysteminfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResGetsysteminfo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetsysteminfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

device :string

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo device.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo device. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

dwarfOtaVersion :string

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo dwarfOtaVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo dwarfOtaVersion. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

macAddress :string

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo macAddress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo macAddress. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

protocolVersion :number

+ + + + + +
+ +
Description:
+
  • ResGetsysteminfo protocolVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResGetsysteminfo protocolVersion. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResGetsysteminfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResGetsysteminfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResGetsysteminfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetsysteminfo instance +
+ + + +
+
+ Type +
+
+ +ResGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetsysteminfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ResGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ResGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetsysteminfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetsysteminfo + + + + + + + + + + + ResGetsysteminfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResGetsysteminfo + + + + + + + + + + + ResGetsysteminfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResGetsysteminfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResGetsysteminfo +
+ + + +
+
+ Type +
+
+ +ResGetsysteminfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResGetsysteminfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResGetsysteminfo + + + + + + + + + + + ResGetsysteminfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResGetsysteminfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResLockShootingSchedule.html b/docs/ResLockShootingSchedule.html new file mode 100644 index 00000000..f08fe967 --- /dev/null +++ b/docs/ResLockShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ResLockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResLockShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResLockShootingSchedule + +

+ +
Represents a ResLockShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResLockShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResLockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResLockShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResLockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResLockShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResLockShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :string

+ + + + + +
+ +
Description:
+
  • ResLockShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResLockShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResLockShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResLockShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResLockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResLockShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResLockShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResLockShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResLockShootingSchedule + + + + + + + + + + + ResLockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResLockShootingSchedule + + + + + + + + + + + ResLockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResLockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResLockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResLockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResLockShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResLockShootingSchedule + + + + + + + + + + + ResLockShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResLockShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResMotor.html b/docs/ResMotor.html new file mode 100644 index 00000000..e5a9e9db --- /dev/null +++ b/docs/ResMotor.html @@ -0,0 +1,2290 @@ + + + + + + ResMotor - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResMotor

+ + + + + + + +
+ +
+ +

+ + ResMotor + +

+ +
Represents a ResMotor.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResMotor(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResMotor.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResMotor
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResMotor + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResMotor code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResMotor code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ResMotor id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResMotor id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResMotor to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResMotor}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResMotor instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResMotor + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResMotor instance +
+ + + +
+
+ Type +
+
+ +ResMotor + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResMotor}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResMotor message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResMotor +
+ + + +
+
+ Type +
+
+ +ResMotor + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResMotor}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResMotor message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResMotor +
+ + + +
+
+ Type +
+
+ +ResMotor + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResMotor message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResMotor + + + + + + + + + + + ResMotor message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResMotor message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResMotor + + + + + + + + + + + ResMotor message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResMotor}

+ + + + + + +
+ +
Description:
+
  • Creates a ResMotor message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResMotor +
+ + + +
+
+ Type +
+
+ +ResMotor + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResMotor
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResMotor message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResMotor + + + + + + + + + + + ResMotor
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResMotor message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResMotorPosition.html b/docs/ResMotorPosition.html new file mode 100644 index 00000000..e5b006c8 --- /dev/null +++ b/docs/ResMotorPosition.html @@ -0,0 +1,2368 @@ + + + + + + ResMotorPosition - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResMotorPosition

+ + + + + + + +
+ +
+ +

+ + ResMotorPosition + +

+ +
Represents a ResMotorPosition.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResMotorPosition(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResMotorPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResMotorPosition
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResMotorPosition + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResMotorPosition code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResMotorPosition code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :number

+ + + + + +
+ +
Description:
+
  • ResMotorPosition id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResMotorPosition id. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

position :number

+ + + + + +
+ +
Description:
+
  • ResMotorPosition position.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResMotorPosition position. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResMotorPosition to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResMotorPosition}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResMotorPosition instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResMotorPosition + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResMotorPosition instance +
+ + + +
+
+ Type +
+
+ +ResMotorPosition + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResMotorPosition}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResMotorPosition message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResMotorPosition +
+ + + +
+
+ Type +
+
+ +ResMotorPosition + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResMotorPosition}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResMotorPosition message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResMotorPosition +
+ + + +
+
+ Type +
+
+ +ResMotorPosition + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResMotorPosition message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResMotorPosition + + + + + + + + + + + ResMotorPosition message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResMotorPosition message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResMotorPosition + + + + + + + + + + + ResMotorPosition message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResMotorPosition}

+ + + + + + +
+ +
Description:
+
  • Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResMotorPosition +
+ + + +
+
+ Type +
+
+ +ResMotorPosition + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResMotorPosition
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResMotorPosition + + + + + + + + + + + ResMotorPosition
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResMotorPosition message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyAlbumUpdate.html b/docs/ResNotifyAlbumUpdate.html new file mode 100644 index 00000000..310687ce --- /dev/null +++ b/docs/ResNotifyAlbumUpdate.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyAlbumUpdate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyAlbumUpdate

+ + + + + + + +
+ +
+ +

+ + ResNotifyAlbumUpdate + +

+ +
Represents a ResNotifyAlbumUpdate.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyAlbumUpdate(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyAlbumUpdate.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyAlbumUpdate
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyAlbumUpdate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mediaType :number

+ + + + + +
+ +
Description:
+
  • ResNotifyAlbumUpdate mediaType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyAlbumUpdate mediaType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyAlbumUpdate to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyAlbumUpdate}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyAlbumUpdate instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyAlbumUpdate + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyAlbumUpdate instance +
+ + + +
+
+ Type +
+
+ +ResNotifyAlbumUpdate + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyAlbumUpdate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyAlbumUpdate +
+ + + +
+
+ Type +
+
+ +ResNotifyAlbumUpdate + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyAlbumUpdate}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyAlbumUpdate +
+ + + +
+
+ Type +
+
+ +ResNotifyAlbumUpdate + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyAlbumUpdate + + + + + + + + + + + ResNotifyAlbumUpdate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyAlbumUpdate + + + + + + + + + + + ResNotifyAlbumUpdate message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyAlbumUpdate}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyAlbumUpdate +
+ + + +
+
+ Type +
+
+ +ResNotifyAlbumUpdate + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyAlbumUpdate
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyAlbumUpdate + + + + + + + + + + + ResNotifyAlbumUpdate
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyAlbumUpdate message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:42 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyBurstProgress.html b/docs/ResNotifyBurstProgress.html new file mode 100644 index 00000000..4f8a3c66 --- /dev/null +++ b/docs/ResNotifyBurstProgress.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyBurstProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyBurstProgress

+ + + + + + + +
+ +
+ +

+ + ResNotifyBurstProgress + +

+ +
Represents a ResNotifyBurstProgress.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyBurstProgress(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyBurstProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyBurstProgress
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyBurstProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

completedCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyBurstProgress completedCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyBurstProgress completedCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyBurstProgress totalCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyBurstProgress totalCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyBurstProgress to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyBurstProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyBurstProgress instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyBurstProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyBurstProgress instance +
+ + + +
+
+ Type +
+
+ +ResNotifyBurstProgress + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyBurstProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyBurstProgress message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyBurstProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyBurstProgress + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyBurstProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyBurstProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyBurstProgress + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyBurstProgress message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyBurstProgress + + + + + + + + + + + ResNotifyBurstProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyBurstProgress + + + + + + + + + + + ResNotifyBurstProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyBurstProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyBurstProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyBurstProgress + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyBurstProgress
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyBurstProgress + + + + + + + + + + + ResNotifyBurstProgress
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyBurstProgress message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyCPUMode.html b/docs/ResNotifyCPUMode.html new file mode 100644 index 00000000..1589b03c --- /dev/null +++ b/docs/ResNotifyCPUMode.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyCPUMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyCPUMode

+ + + + + + + +
+ +
+ +

+ + ResNotifyCPUMode + +

+ +
Represents a ResNotifyCPUMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyCPUMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyCPUMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyCPUMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyCPUMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ResNotifyCPUMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyCPUMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyCPUMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyCPUMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyCPUMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyCPUMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyCPUMode instance +
+ + + +
+
+ Type +
+
+ +ResNotifyCPUMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyCPUMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyCPUMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyCPUMode +
+ + + +
+
+ Type +
+
+ +ResNotifyCPUMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyCPUMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyCPUMode +
+ + + +
+
+ Type +
+
+ +ResNotifyCPUMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyCPUMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyCPUMode + + + + + + + + + + + ResNotifyCPUMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyCPUMode + + + + + + + + + + + ResNotifyCPUMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyCPUMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyCPUMode +
+ + + +
+
+ Type +
+
+ +ResNotifyCPUMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyCPUMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyCPUMode + + + + + + + + + + + ResNotifyCPUMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyCPUMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyCamFunctionState.html b/docs/ResNotifyCamFunctionState.html new file mode 100644 index 00000000..675d919a --- /dev/null +++ b/docs/ResNotifyCamFunctionState.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyCamFunctionState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyCamFunctionState

+ + + + + + + +
+ +
+ +

+ + ResNotifyCamFunctionState + +

+ +
Represents a ResNotifyCamFunctionState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyCamFunctionState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyCamFunctionState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyCamFunctionState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyCamFunctionState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

functionId :number

+ + + + + +
+ +
Description:
+
  • ResNotifyCamFunctionState functionId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyCamFunctionState functionId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyCamFunctionState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyCamFunctionState state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyCamFunctionState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyCamFunctionState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyCamFunctionState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyCamFunctionState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyCamFunctionState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyCamFunctionState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyCamFunctionState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyCamFunctionState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyCamFunctionState +
+ + + +
+
+ Type +
+
+ +ResNotifyCamFunctionState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyCamFunctionState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyCamFunctionState +
+ + + +
+
+ Type +
+
+ +ResNotifyCamFunctionState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyCamFunctionState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyCamFunctionState + + + + + + + + + + + ResNotifyCamFunctionState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyCamFunctionState + + + + + + + + + + + ResNotifyCamFunctionState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyCamFunctionState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyCamFunctionState +
+ + + +
+
+ Type +
+
+ +ResNotifyCamFunctionState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyCamFunctionState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyCamFunctionState + + + + + + + + + + + ResNotifyCamFunctionState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyCamFunctionState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyEqSolvingState.html b/docs/ResNotifyEqSolvingState.html new file mode 100644 index 00000000..0eefb9e9 --- /dev/null +++ b/docs/ResNotifyEqSolvingState.html @@ -0,0 +1,2469 @@ + + + + + + ResNotifyEqSolvingState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyEqSolvingState

+ + + + + + + +
+ +
+ +

+ + ResNotifyEqSolvingState + +

+ +
Represents a ResNotifyEqSolvingState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyEqSolvingState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyEqSolvingState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyEqSolvingState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyEqSolvingState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyEqSolvingState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyEqSolvingState state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + +

step :ResNotifyEqSolvingState.Action

+ + + + + +
+ +
Description:
+
  • ResNotifyEqSolvingState step.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyEqSolvingState step. +
+ + + +
Type:
+ + + + + + + + + +

(static) Action :number

+ + + + + +
+ +
Description:
+
  • Action enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
UNSPECIFIED + + +number + + + + + UNSPECIFIED value
FOCUS + + +number + + + + + FOCUS value
SOLVING + + +number + + + + + SOLVING value
+ + + + + + +
+ Action enum. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyEqSolvingState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyEqSolvingState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyEqSolvingState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyEqSolvingState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyEqSolvingState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyEqSolvingState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyEqSolvingState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyEqSolvingState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyEqSolvingState +
+ + + +
+
+ Type +
+
+ +ResNotifyEqSolvingState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyEqSolvingState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyEqSolvingState +
+ + + +
+
+ Type +
+
+ +ResNotifyEqSolvingState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyEqSolvingState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyEqSolvingState + + + + + + + + + + + ResNotifyEqSolvingState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyEqSolvingState + + + + + + + + + + + ResNotifyEqSolvingState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyEqSolvingState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyEqSolvingState +
+ + + +
+
+ Type +
+
+ +ResNotifyEqSolvingState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyEqSolvingState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyEqSolvingState + + + + + + + + + + + ResNotifyEqSolvingState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyEqSolvingState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyFocus.html b/docs/ResNotifyFocus.html new file mode 100644 index 00000000..9bee85e7 --- /dev/null +++ b/docs/ResNotifyFocus.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyFocus

+ + + + + + + +
+ +
+ +

+ + ResNotifyFocus + +

+ +
Represents a ResNotifyFocus.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyFocus(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyFocus
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

focus :number

+ + + + + +
+ +
Description:
+
  • ResNotifyFocus focus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyFocus focus. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyFocus to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyFocus instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyFocus + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyFocus instance +
+ + + +
+
+ Type +
+
+ +ResNotifyFocus + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyFocus message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyFocus +
+ + + +
+
+ Type +
+
+ +ResNotifyFocus + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyFocus}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyFocus +
+ + + +
+
+ Type +
+
+ +ResNotifyFocus + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyFocus message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyFocus + + + + + + + + + + + ResNotifyFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyFocus + + + + + + + + + + + ResNotifyFocus message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyFocus}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyFocus +
+ + + +
+
+ Type +
+
+ +ResNotifyFocus + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyFocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyFocus + + + + + + + + + + + ResNotifyFocus
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyFocus message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyHostSlaveMode.html b/docs/ResNotifyHostSlaveMode.html new file mode 100644 index 00000000..aaaf4935 --- /dev/null +++ b/docs/ResNotifyHostSlaveMode.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyHostSlaveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyHostSlaveMode

+ + + + + + + +
+ +
+ +

+ + ResNotifyHostSlaveMode + +

+ +
Represents a ResNotifyHostSlaveMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyHostSlaveMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyHostSlaveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyHostSlaveMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyHostSlaveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

lock :boolean

+ + + + + +
+ +
Description:
+
  • ResNotifyHostSlaveMode lock.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyHostSlaveMode lock. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ResNotifyHostSlaveMode mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyHostSlaveMode mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyHostSlaveMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyHostSlaveMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyHostSlaveMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyHostSlaveMode instance +
+ + + +
+
+ Type +
+
+ +ResNotifyHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ResNotifyHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ResNotifyHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyHostSlaveMode + + + + + + + + + + + ResNotifyHostSlaveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyHostSlaveMode + + + + + + + + + + + ResNotifyHostSlaveMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyHostSlaveMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyHostSlaveMode +
+ + + +
+
+ Type +
+
+ +ResNotifyHostSlaveMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyHostSlaveMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyHostSlaveMode + + + + + + + + + + + ResNotifyHostSlaveMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyHostSlaveMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyLongExpPhotoProgress.html b/docs/ResNotifyLongExpPhotoProgress.html new file mode 100644 index 00000000..2ee714a4 --- /dev/null +++ b/docs/ResNotifyLongExpPhotoProgress.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifyLongExpPhotoProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyLongExpPhotoProgress

+ + + + + + + +
+ +
+ +

+ + ResNotifyLongExpPhotoProgress + +

+ +
Represents a ResNotifyLongExpPhotoProgress.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyLongExpPhotoProgress(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyLongExpPhotoProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyLongExpPhotoProgress
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyLongExpPhotoProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

exposuredTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyLongExpPhotoProgress exposuredTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyLongExpPhotoProgress exposuredTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

functionId :number

+ + + + + +
+ +
Description:
+
  • ResNotifyLongExpPhotoProgress functionId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyLongExpPhotoProgress functionId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyLongExpPhotoProgress totalTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyLongExpPhotoProgress totalTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyLongExpPhotoProgress to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyLongExpPhotoProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyLongExpPhotoProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyLongExpPhotoProgress instance +
+ + + +
+
+ Type +
+
+ +ResNotifyLongExpPhotoProgress + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyLongExpPhotoProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyLongExpPhotoProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyLongExpPhotoProgress + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyLongExpPhotoProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyLongExpPhotoProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyLongExpPhotoProgress + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyLongExpPhotoProgress + + + + + + + + + + + ResNotifyLongExpPhotoProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyLongExpPhotoProgress + + + + + + + + + + + ResNotifyLongExpPhotoProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyLongExpPhotoProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyLongExpPhotoProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyLongExpPhotoProgress + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyLongExpPhotoProgress
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyLongExpPhotoProgress + + + + + + + + + + + ResNotifyLongExpPhotoProgress
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyLongExpPhotoProgress message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyMTPState.html b/docs/ResNotifyMTPState.html new file mode 100644 index 00000000..e8b99ba6 --- /dev/null +++ b/docs/ResNotifyMTPState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyMTPState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyMTPState

+ + + + + + + +
+ +
+ +

+ + ResNotifyMTPState + +

+ +
Represents a ResNotifyMTPState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyMTPState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyMTPState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyMTPState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyMTPState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ResNotifyMTPState mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyMTPState mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyMTPState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyMTPState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyMTPState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyMTPState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyMTPState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyMTPState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyMTPState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyMTPState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyMTPState +
+ + + +
+
+ Type +
+
+ +ResNotifyMTPState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyMTPState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyMTPState +
+ + + +
+
+ Type +
+
+ +ResNotifyMTPState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyMTPState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyMTPState + + + + + + + + + + + ResNotifyMTPState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyMTPState + + + + + + + + + + + ResNotifyMTPState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyMTPState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyMTPState +
+ + + +
+
+ Type +
+
+ +ResNotifyMTPState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyMTPState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyMTPState + + + + + + + + + + + ResNotifyMTPState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyMTPState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyNewMediaCreated.html b/docs/ResNotifyNewMediaCreated.html new file mode 100644 index 00000000..ee36adee --- /dev/null +++ b/docs/ResNotifyNewMediaCreated.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyNewMediaCreated - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyNewMediaCreated

+ + + + + + + +
+ +
+ +

+ + ResNotifyNewMediaCreated + +

+ +
Represents a ResNotifyNewMediaCreated.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyNewMediaCreated(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyNewMediaCreated.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyNewMediaCreated
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyNewMediaCreated + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

mediaType :number

+ + + + + +
+ +
Description:
+
  • ResNotifyNewMediaCreated mediaType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyNewMediaCreated mediaType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyNewMediaCreated to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyNewMediaCreated}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyNewMediaCreated instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyNewMediaCreated + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyNewMediaCreated instance +
+ + + +
+
+ Type +
+
+ +ResNotifyNewMediaCreated + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyNewMediaCreated}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyNewMediaCreated message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyNewMediaCreated +
+ + + +
+
+ Type +
+
+ +ResNotifyNewMediaCreated + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyNewMediaCreated}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyNewMediaCreated message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyNewMediaCreated +
+ + + +
+
+ Type +
+
+ +ResNotifyNewMediaCreated + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyNewMediaCreated message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyNewMediaCreated + + + + + + + + + + + ResNotifyNewMediaCreated message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyNewMediaCreated message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyNewMediaCreated + + + + + + + + + + + ResNotifyNewMediaCreated message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyNewMediaCreated}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyNewMediaCreated message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyNewMediaCreated +
+ + + +
+
+ Type +
+
+ +ResNotifyNewMediaCreated + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyNewMediaCreated
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyNewMediaCreated message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyNewMediaCreated + + + + + + + + + + + ResNotifyNewMediaCreated
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyNewMediaCreated message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyOneClickGotoState.html b/docs/ResNotifyOneClickGotoState.html new file mode 100644 index 00000000..9bd9446e --- /dev/null +++ b/docs/ResNotifyOneClickGotoState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyOneClickGotoState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyOneClickGotoState

+ + + + + + + +
+ +
+ +

+ + ResNotifyOneClickGotoState + +

+ +
Represents a ResNotifyOneClickGotoState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyOneClickGotoState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyOneClickGotoState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyOneClickGotoState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyOneClickGotoState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyOneClickGotoState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyOneClickGotoState state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyOneClickGotoState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyOneClickGotoState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyOneClickGotoState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyOneClickGotoState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyOneClickGotoState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyOneClickGotoState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyOneClickGotoState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyOneClickGotoState +
+ + + +
+
+ Type +
+
+ +ResNotifyOneClickGotoState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyOneClickGotoState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyOneClickGotoState +
+ + + +
+
+ Type +
+
+ +ResNotifyOneClickGotoState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyOneClickGotoState + + + + + + + + + + + ResNotifyOneClickGotoState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyOneClickGotoState + + + + + + + + + + + ResNotifyOneClickGotoState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyOneClickGotoState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyOneClickGotoState +
+ + + +
+
+ Type +
+
+ +ResNotifyOneClickGotoState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyOneClickGotoState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyOneClickGotoState + + + + + + + + + + + ResNotifyOneClickGotoState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyOneClickGotoState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyOperationState.html b/docs/ResNotifyOperationState.html new file mode 100644 index 00000000..5a0d61dc --- /dev/null +++ b/docs/ResNotifyOperationState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyOperationState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyOperationState

+ + + + + + + +
+ +
+ +

+ + ResNotifyOperationState + +

+ +
Represents a ResNotifyOperationState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyOperationState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyOperationState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyOperationState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyOperationState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyOperationState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyOperationState state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyOperationState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyOperationState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyOperationState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyOperationState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyOperationState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyOperationState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyOperationState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyOperationState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyOperationState +
+ + + +
+
+ Type +
+
+ +ResNotifyOperationState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyOperationState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyOperationState +
+ + + +
+
+ Type +
+
+ +ResNotifyOperationState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyOperationState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyOperationState + + + + + + + + + + + ResNotifyOperationState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyOperationState + + + + + + + + + + + ResNotifyOperationState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyOperationState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyOperationState +
+ + + +
+
+ Type +
+
+ +ResNotifyOperationState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyOperationState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyOperationState + + + + + + + + + + + ResNotifyOperationState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyOperationState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPanoramaCompressionProgress.html b/docs/ResNotifyPanoramaCompressionProgress.html new file mode 100644 index 00000000..ecb1d0ef --- /dev/null +++ b/docs/ResNotifyPanoramaCompressionProgress.html @@ -0,0 +1,2602 @@ + + + + + + ResNotifyPanoramaCompressionProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPanoramaCompressionProgress

+ + + + + + + +
+ +
+ +

+ + ResNotifyPanoramaCompressionProgress + +

+ +
Represents a ResNotifyPanoramaCompressionProgress.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPanoramaCompressionProgress(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPanoramaCompressionProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPanoramaCompressionProgress
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaCompressionProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

busiNo :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress busiNo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress busiNo. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

compressedFilesNum :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress compressedFilesNum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress compressedFilesNum. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mac :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress mac.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress mac. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

panoramaName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress panoramaName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress panoramaName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

totalFilesNum :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress totalFilesNum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress totalFilesNum. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

userId :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaCompressionProgress userId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaCompressionProgress userId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPanoramaCompressionProgress to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPanoramaCompressionProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaCompressionProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaCompressionProgress instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaCompressionProgress + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPanoramaCompressionProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaCompressionProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaCompressionProgress + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPanoramaCompressionProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaCompressionProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaCompressionProgress + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaCompressionProgress + + + + + + + + + + + ResNotifyPanoramaCompressionProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaCompressionProgress + + + + + + + + + + + ResNotifyPanoramaCompressionProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPanoramaCompressionProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaCompressionProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaCompressionProgress + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPanoramaCompressionProgress
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPanoramaCompressionProgress + + + + + + + + + + + ResNotifyPanoramaCompressionProgress
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPanoramaCompressionProgress message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPanoramaProgress.html b/docs/ResNotifyPanoramaProgress.html new file mode 100644 index 00000000..a7b4ae3d --- /dev/null +++ b/docs/ResNotifyPanoramaProgress.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyPanoramaProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPanoramaProgress

+ + + + + + + +
+ +
+ +

+ + ResNotifyPanoramaProgress + +

+ +
Represents a ResNotifyPanoramaProgress.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPanoramaProgress(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPanoramaProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPanoramaProgress
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

completedCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaProgress completedCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaProgress completedCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaProgress totalCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaProgress totalCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPanoramaProgress to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPanoramaProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPanoramaProgress instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaProgress instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaProgress + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPanoramaProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaProgress + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPanoramaProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaProgress + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaProgress + + + + + + + + + + + ResNotifyPanoramaProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaProgress + + + + + + + + + + + ResNotifyPanoramaProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPanoramaProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaProgress + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPanoramaProgress
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPanoramaProgress + + + + + + + + + + + ResNotifyPanoramaProgress
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPanoramaProgress message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPanoramaStitchUploadComplete.html b/docs/ResNotifyPanoramaStitchUploadComplete.html new file mode 100644 index 00000000..d6e93432 --- /dev/null +++ b/docs/ResNotifyPanoramaStitchUploadComplete.html @@ -0,0 +1,2524 @@ + + + + + + ResNotifyPanoramaStitchUploadComplete - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPanoramaStitchUploadComplete

+ + + + + + + +
+ +
+ +

+ + ResNotifyPanoramaStitchUploadComplete + +

+ +
Represents a ResNotifyPanoramaStitchUploadComplete.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPanoramaStitchUploadComplete(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPanoramaStitchUploadComplete.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPanoramaStitchUploadComplete
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaStitchUploadComplete + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

busiNo :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaStitchUploadComplete busiNo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaStitchUploadComplete busiNo. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

mac :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaStitchUploadComplete mac.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaStitchUploadComplete mac. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

panoramaName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaStitchUploadComplete panoramaName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaStitchUploadComplete panoramaName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

uploadRes :boolean

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaStitchUploadComplete uploadRes.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaStitchUploadComplete uploadRes. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

userId :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaStitchUploadComplete userId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaStitchUploadComplete userId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPanoramaStitchUploadComplete to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPanoramaStitchUploadComplete}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaStitchUploadComplete + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaStitchUploadComplete instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaStitchUploadComplete + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPanoramaStitchUploadComplete}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaStitchUploadComplete +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaStitchUploadComplete + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPanoramaStitchUploadComplete}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaStitchUploadComplete +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaStitchUploadComplete + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaStitchUploadComplete + + + + + + + + + + + ResNotifyPanoramaStitchUploadComplete message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaStitchUploadComplete + + + + + + + + + + + ResNotifyPanoramaStitchUploadComplete message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPanoramaStitchUploadComplete}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaStitchUploadComplete +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaStitchUploadComplete + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPanoramaStitchUploadComplete
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPanoramaStitchUploadComplete + + + + + + + + + + + ResNotifyPanoramaStitchUploadComplete
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPanoramaStitchUploadComplete message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPanoramaUploadProgress.html b/docs/ResNotifyPanoramaUploadProgress.html new file mode 100644 index 00000000..105c05ac --- /dev/null +++ b/docs/ResNotifyPanoramaUploadProgress.html @@ -0,0 +1,2608 @@ + + + + + + ResNotifyPanoramaUploadProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPanoramaUploadProgress

+ + + + + + + +
+ +
+ +

+ + ResNotifyPanoramaUploadProgress + +

+ +
Represents a ResNotifyPanoramaUploadProgress.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPanoramaUploadProgress(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPanoramaUploadProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPanoramaUploadProgress
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaUploadProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

busiNo :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress busiNo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress busiNo. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

mac :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress mac.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress mac. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

panoramaName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress panoramaName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress panoramaName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

totalSize :number|Long

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress totalSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress totalSize. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

uploadedSize :number|Long

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress uploadedSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress uploadedSize. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

userId :string

+ + + + + +
+ +
Description:
+
  • ResNotifyPanoramaUploadProgress userId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPanoramaUploadProgress userId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPanoramaUploadProgress to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPanoramaUploadProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPanoramaUploadProgress + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaUploadProgress instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaUploadProgress + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPanoramaUploadProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaUploadProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaUploadProgress + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPanoramaUploadProgress}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPanoramaUploadProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaUploadProgress + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaUploadProgress + + + + + + + + + + + ResNotifyPanoramaUploadProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPanoramaUploadProgress + + + + + + + + + + + ResNotifyPanoramaUploadProgress message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPanoramaUploadProgress}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPanoramaUploadProgress +
+ + + +
+
+ Type +
+
+ +ResNotifyPanoramaUploadProgress + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPanoramaUploadProgress
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPanoramaUploadProgress + + + + + + + + + + + ResNotifyPanoramaUploadProgress
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPanoramaUploadProgress message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyParam.html b/docs/ResNotifyParam.html new file mode 100644 index 00000000..e0aa60c3 --- /dev/null +++ b/docs/ResNotifyParam.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyParam

+ + + + + + + +
+ +
+ +

+ + ResNotifyParam + +

+ +
Represents a ResNotifyParam.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyParam(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyParam
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

param :Array.<ICommonParam>

+ + + + + +
+ +
Description:
+
  • ResNotifyParam param.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyParam param. +
+ + + +
Type:
+
    +
  • + +Array.<ICommonParam> + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyParam to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyParam}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyParam instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyParam + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyParam instance +
+ + + +
+
+ Type +
+
+ +ResNotifyParam + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyParam message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyParam +
+ + + +
+
+ Type +
+
+ +ResNotifyParam + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyParam}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyParam message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyParam +
+ + + +
+
+ Type +
+
+ +ResNotifyParam + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyParam message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyParam + + + + + + + + + + + ResNotifyParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyParam message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyParam + + + + + + + + + + + ResNotifyParam message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyParam}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyParam +
+ + + +
+
+ Type +
+
+ +ResNotifyParam + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyParam
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyParam + + + + + + + + + + + ResNotifyParam
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyParam message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPictureMatching.html b/docs/ResNotifyPictureMatching.html new file mode 100644 index 00000000..5a7593a4 --- /dev/null +++ b/docs/ResNotifyPictureMatching.html @@ -0,0 +1,2602 @@ + + + + + + ResNotifyPictureMatching - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPictureMatching

+ + + + + + + +
+ +
+ +

+ + ResNotifyPictureMatching + +

+ +
Represents a ResNotifyPictureMatching.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPictureMatching(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPictureMatching.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPictureMatching
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPictureMatching + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

height :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching height.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching height. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

value :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching value. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

width :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching width.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching width. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

x :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching x.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching x. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

y :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPictureMatching y.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPictureMatching y. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPictureMatching to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPictureMatching}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPictureMatching instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPictureMatching + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPictureMatching instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPictureMatching + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPictureMatching}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPictureMatching message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPictureMatching +
+ + + +
+
+ Type +
+
+ +ResNotifyPictureMatching + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPictureMatching}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPictureMatching +
+ + + +
+
+ Type +
+
+ +ResNotifyPictureMatching + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPictureMatching message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPictureMatching + + + + + + + + + + + ResNotifyPictureMatching message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPictureMatching + + + + + + + + + + + ResNotifyPictureMatching message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPictureMatching}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPictureMatching +
+ + + +
+
+ Type +
+
+ +ResNotifyPictureMatching + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPictureMatching
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPictureMatching + + + + + + + + + + + ResNotifyPictureMatching
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPictureMatching message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPowerIndState.html b/docs/ResNotifyPowerIndState.html new file mode 100644 index 00000000..10f504b1 --- /dev/null +++ b/docs/ResNotifyPowerIndState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyPowerIndState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPowerIndState

+ + + + + + + +
+ +
+ +

+ + ResNotifyPowerIndState + +

+ +
Represents a ResNotifyPowerIndState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPowerIndState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPowerIndState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPowerIndState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPowerIndState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :number

+ + + + + +
+ +
Description:
+
  • ResNotifyPowerIndState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyPowerIndState state. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPowerIndState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPowerIndState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPowerIndState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPowerIndState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPowerIndState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerIndState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPowerIndState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPowerIndState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPowerIndState +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerIndState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPowerIndState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPowerIndState +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerIndState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPowerIndState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPowerIndState + + + + + + + + + + + ResNotifyPowerIndState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPowerIndState + + + + + + + + + + + ResNotifyPowerIndState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPowerIndState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPowerIndState +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerIndState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPowerIndState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPowerIndState + + + + + + + + + + + ResNotifyPowerIndState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPowerIndState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyPowerOff.html b/docs/ResNotifyPowerOff.html new file mode 100644 index 00000000..cdc9d726 --- /dev/null +++ b/docs/ResNotifyPowerOff.html @@ -0,0 +1,2130 @@ + + + + + + ResNotifyPowerOff - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyPowerOff

+ + + + + + + +
+ +
+ +

+ + ResNotifyPowerOff + +

+ +
Represents a ResNotifyPowerOff.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyPowerOff(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyPowerOff.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyPowerOff
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPowerOff + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyPowerOff to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyPowerOff}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyPowerOff instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyPowerOff + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPowerOff instance +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerOff + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyPowerOff}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPowerOff message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPowerOff +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerOff + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyPowerOff}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyPowerOff +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerOff + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPowerOff message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPowerOff + + + + + + + + + + + ResNotifyPowerOff message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyPowerOff + + + + + + + + + + + ResNotifyPowerOff message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyPowerOff}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyPowerOff +
+ + + +
+
+ Type +
+
+ +ResNotifyPowerOff + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyPowerOff
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyPowerOff + + + + + + + + + + + ResNotifyPowerOff
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyPowerOff message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyProgressCaptureRawDark.html b/docs/ResNotifyProgressCaptureRawDark.html new file mode 100644 index 00000000..9c0ee56b --- /dev/null +++ b/docs/ResNotifyProgressCaptureRawDark.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyProgressCaptureRawDark - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyProgressCaptureRawDark

+ + + + + + + +
+ +
+ +

+ + ResNotifyProgressCaptureRawDark + +

+ +
Represents a ResNotifyProgressCaptureRawDark.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyProgressCaptureRawDark(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyProgressCaptureRawDark.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyProgressCaptureRawDark
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyProgressCaptureRawDark + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

progress :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawDark progress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawDark progress. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

remainingTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawDark remainingTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawDark remainingTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyProgressCaptureRawDark to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyProgressCaptureRawDark}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyProgressCaptureRawDark + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawDark instance +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawDark + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyProgressCaptureRawDark}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawDark +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawDark + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyProgressCaptureRawDark}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawDark +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawDark + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyProgressCaptureRawDark + + + + + + + + + + + ResNotifyProgressCaptureRawDark message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyProgressCaptureRawDark + + + + + + + + + + + ResNotifyProgressCaptureRawDark message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyProgressCaptureRawDark}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawDark +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawDark + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyProgressCaptureRawDark
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyProgressCaptureRawDark + + + + + + + + + + + ResNotifyProgressCaptureRawDark
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyProgressCaptureRawDark message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyProgressCaptureRawLiveStacking.html b/docs/ResNotifyProgressCaptureRawLiveStacking.html new file mode 100644 index 00000000..f1066e66 --- /dev/null +++ b/docs/ResNotifyProgressCaptureRawLiveStacking.html @@ -0,0 +1,2680 @@ + + + + + + ResNotifyProgressCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyProgressCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ + ResNotifyProgressCaptureRawLiveStacking + +

+ +
Represents a ResNotifyProgressCaptureRawLiveStacking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyProgressCaptureRawLiveStacking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyProgressCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyProgressCaptureRawLiveStacking
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyProgressCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

currentCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking currentCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking currentCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

expIndex :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking expIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking expIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

gainIndex :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking gainIndex.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking gainIndex. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

stackedCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking stackedCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking stackedCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

totalCount :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking totalCount.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking totalCount. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

updateCountType :number

+ + + + + +
+ +
Description:
+
  • ResNotifyProgressCaptureRawLiveStacking updateCountType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyProgressCaptureRawLiveStacking updateCountType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyProgressCaptureRawLiveStacking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyProgressCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyProgressCaptureRawLiveStacking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawLiveStacking instance +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyProgressCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyProgressCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyProgressCaptureRawLiveStacking + + + + + + + + + + + ResNotifyProgressCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyProgressCaptureRawLiveStacking + + + + + + + + + + + ResNotifyProgressCaptureRawLiveStacking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyProgressCaptureRawLiveStacking}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyProgressCaptureRawLiveStacking +
+ + + +
+
+ Type +
+
+ +ResNotifyProgressCaptureRawLiveStacking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyProgressCaptureRawLiveStacking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyProgressCaptureRawLiveStacking + + + + + + + + + + + ResNotifyProgressCaptureRawLiveStacking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyProgressCaptureRawLiveStacking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyRecordTime.html b/docs/ResNotifyRecordTime.html new file mode 100644 index 00000000..d3047dd3 --- /dev/null +++ b/docs/ResNotifyRecordTime.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyRecordTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyRecordTime

+ + + + + + + +
+ +
+ +

+ + ResNotifyRecordTime + +

+ +
Represents a ResNotifyRecordTime.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyRecordTime(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyRecordTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyRecordTime
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyRecordTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

recordTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyRecordTime recordTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyRecordTime recordTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyRecordTime to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyRecordTime}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyRecordTime instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyRecordTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyRecordTime instance +
+ + + +
+
+ Type +
+
+ +ResNotifyRecordTime + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyRecordTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyRecordTime message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyRecordTime +
+ + + +
+
+ Type +
+
+ +ResNotifyRecordTime + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyRecordTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyRecordTime +
+ + + +
+
+ Type +
+
+ +ResNotifyRecordTime + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyRecordTime message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyRecordTime + + + + + + + + + + + ResNotifyRecordTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyRecordTime + + + + + + + + + + + ResNotifyRecordTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyRecordTime}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyRecordTime +
+ + + +
+
+ Type +
+
+ +ResNotifyRecordTime + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyRecordTime
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyRecordTime + + + + + + + + + + + ResNotifyRecordTime
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyRecordTime message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyRgbState.html b/docs/ResNotifyRgbState.html new file mode 100644 index 00000000..8e550d72 --- /dev/null +++ b/docs/ResNotifyRgbState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyRgbState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyRgbState

+ + + + + + + +
+ +
+ +

+ + ResNotifyRgbState + +

+ +
Represents a ResNotifyRgbState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyRgbState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyRgbState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyRgbState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyRgbState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :number

+ + + + + +
+ +
Description:
+
  • ResNotifyRgbState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyRgbState state. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyRgbState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyRgbState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyRgbState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyRgbState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyRgbState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyRgbState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyRgbState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyRgbState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyRgbState +
+ + + +
+
+ Type +
+
+ +ResNotifyRgbState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyRgbState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyRgbState +
+ + + +
+
+ Type +
+
+ +ResNotifyRgbState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyRgbState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyRgbState + + + + + + + + + + + ResNotifyRgbState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyRgbState + + + + + + + + + + + ResNotifyRgbState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyRgbState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyRgbState +
+ + + +
+
+ Type +
+
+ +ResNotifyRgbState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyRgbState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyRgbState + + + + + + + + + + + ResNotifyRgbState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyRgbState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifySDcardInfo.html b/docs/ResNotifySDcardInfo.html new file mode 100644 index 00000000..2ebec31f --- /dev/null +++ b/docs/ResNotifySDcardInfo.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifySDcardInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifySDcardInfo

+ + + + + + + +
+ +
+ +

+ + ResNotifySDcardInfo + +

+ +
Represents a ResNotifySDcardInfo.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifySDcardInfo(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifySDcardInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifySDcardInfo
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifySDcardInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

availableSize :number

+ + + + + +
+ +
Description:
+
  • ResNotifySDcardInfo availableSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifySDcardInfo availableSize. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResNotifySDcardInfo code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifySDcardInfo code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalSize :number

+ + + + + +
+ +
Description:
+
  • ResNotifySDcardInfo totalSize.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifySDcardInfo totalSize. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifySDcardInfo to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifySDcardInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifySDcardInfo instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifySDcardInfo + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifySDcardInfo instance +
+ + + +
+
+ Type +
+
+ +ResNotifySDcardInfo + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifySDcardInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifySDcardInfo message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifySDcardInfo +
+ + + +
+
+ Type +
+
+ +ResNotifySDcardInfo + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifySDcardInfo}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifySDcardInfo +
+ + + +
+
+ Type +
+
+ +ResNotifySDcardInfo + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifySDcardInfo message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifySDcardInfo + + + + + + + + + + + ResNotifySDcardInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifySDcardInfo + + + + + + + + + + + ResNotifySDcardInfo message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifySDcardInfo}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifySDcardInfo +
+ + + +
+
+ Type +
+
+ +ResNotifySDcardInfo + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifySDcardInfo
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifySDcardInfo + + + + + + + + + + + ResNotifySDcardInfo
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifySDcardInfo message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyShootingScheduleResultAndState.html b/docs/ResNotifyShootingScheduleResultAndState.html new file mode 100644 index 00000000..0e33409e --- /dev/null +++ b/docs/ResNotifyShootingScheduleResultAndState.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifyShootingScheduleResultAndState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyShootingScheduleResultAndState

+ + + + + + + +
+ +
+ +

+ + ResNotifyShootingScheduleResultAndState + +

+ +
Represents a ResNotifyShootingScheduleResultAndState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyShootingScheduleResultAndState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyShootingScheduleResultAndState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyShootingScheduleResultAndState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyShootingScheduleResultAndState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

result :number

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingScheduleResultAndState result.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingScheduleResultAndState result. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

scheduleId :string

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingScheduleResultAndState scheduleId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingScheduleResultAndState scheduleId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

state :number

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingScheduleResultAndState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingScheduleResultAndState state. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyShootingScheduleResultAndState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyShootingScheduleResultAndState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyShootingScheduleResultAndState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyShootingScheduleResultAndState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingScheduleResultAndState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyShootingScheduleResultAndState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyShootingScheduleResultAndState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingScheduleResultAndState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyShootingScheduleResultAndState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyShootingScheduleResultAndState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingScheduleResultAndState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyShootingScheduleResultAndState + + + + + + + + + + + ResNotifyShootingScheduleResultAndState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyShootingScheduleResultAndState + + + + + + + + + + + ResNotifyShootingScheduleResultAndState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyShootingScheduleResultAndState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyShootingScheduleResultAndState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingScheduleResultAndState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyShootingScheduleResultAndState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyShootingScheduleResultAndState + + + + + + + + + + + ResNotifyShootingScheduleResultAndState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyShootingScheduleResultAndState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyShootingTaskState.html b/docs/ResNotifyShootingTaskState.html new file mode 100644 index 00000000..8202bb1f --- /dev/null +++ b/docs/ResNotifyShootingTaskState.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifyShootingTaskState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyShootingTaskState

+ + + + + + + +
+ +
+ +

+ + ResNotifyShootingTaskState + +

+ +
Represents a ResNotifyShootingTaskState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyShootingTaskState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyShootingTaskState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyShootingTaskState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyShootingTaskState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingTaskState code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingTaskState code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

scheduleTaskId :string

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingTaskState scheduleTaskId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingTaskState scheduleTaskId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

state :number

+ + + + + +
+ +
Description:
+
  • ResNotifyShootingTaskState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyShootingTaskState state. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyShootingTaskState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyShootingTaskState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyShootingTaskState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyShootingTaskState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyShootingTaskState instance +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingTaskState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyShootingTaskState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyShootingTaskState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyShootingTaskState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingTaskState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyShootingTaskState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyShootingTaskState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingTaskState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyShootingTaskState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyShootingTaskState + + + + + + + + + + + ResNotifyShootingTaskState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyShootingTaskState + + + + + + + + + + + ResNotifyShootingTaskState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyShootingTaskState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyShootingTaskState +
+ + + +
+
+ Type +
+
+ +ResNotifyShootingTaskState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyShootingTaskState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyShootingTaskState + + + + + + + + + + + ResNotifyShootingTaskState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyShootingTaskState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifySkySeacherState.html b/docs/ResNotifySkySeacherState.html new file mode 100644 index 00000000..4c7f343d --- /dev/null +++ b/docs/ResNotifySkySeacherState.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifySkySeacherState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifySkySeacherState

+ + + + + + + +
+ +
+ +

+ + ResNotifySkySeacherState + +

+ +
Represents a ResNotifySkySeacherState.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifySkySeacherState(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifySkySeacherState.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifySkySeacherState
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifySkySeacherState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifySkySeacherState state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifySkySeacherState state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifySkySeacherState to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifySkySeacherState}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifySkySeacherState instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifySkySeacherState + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifySkySeacherState instance +
+ + + +
+
+ Type +
+
+ +ResNotifySkySeacherState + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifySkySeacherState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifySkySeacherState message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifySkySeacherState +
+ + + +
+
+ Type +
+
+ +ResNotifySkySeacherState + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifySkySeacherState}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifySkySeacherState +
+ + + +
+
+ Type +
+
+ +ResNotifySkySeacherState + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifySkySeacherState message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifySkySeacherState + + + + + + + + + + + ResNotifySkySeacherState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifySkySeacherState + + + + + + + + + + + ResNotifySkySeacherState message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifySkySeacherState}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifySkySeacherState +
+ + + +
+
+ Type +
+
+ +ResNotifySkySeacherState + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifySkySeacherState
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifySkySeacherState + + + + + + + + + + + ResNotifySkySeacherState
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifySkySeacherState message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStateAstroCalibration.html b/docs/ResNotifyStateAstroCalibration.html new file mode 100644 index 00000000..f4e08bc0 --- /dev/null +++ b/docs/ResNotifyStateAstroCalibration.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyStateAstroCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStateAstroCalibration

+ + + + + + + +
+ +
+ +

+ + ResNotifyStateAstroCalibration + +

+ +
Represents a ResNotifyStateAstroCalibration.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStateAstroCalibration(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStateAstroCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStateAstroCalibration
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

plateSolvingTimes :number

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroCalibration plateSolvingTimes.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroCalibration plateSolvingTimes. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

state :AstroState

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroCalibration state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroCalibration state. +
+ + + +
Type:
+
    +
  • + +AstroState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStateAstroCalibration to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStateAstroCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStateAstroCalibration instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroCalibration + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroCalibration instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroCalibration + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStateAstroCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroCalibration +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroCalibration + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStateAstroCalibration}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroCalibration +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroCalibration + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroCalibration + + + + + + + + + + + ResNotifyStateAstroCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroCalibration + + + + + + + + + + + ResNotifyStateAstroCalibration message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStateAstroCalibration}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroCalibration +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroCalibration + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStateAstroCalibration
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStateAstroCalibration + + + + + + + + + + + ResNotifyStateAstroCalibration
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStateAstroCalibration message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStateAstroGoto.html b/docs/ResNotifyStateAstroGoto.html new file mode 100644 index 00000000..3ea125aa --- /dev/null +++ b/docs/ResNotifyStateAstroGoto.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyStateAstroGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStateAstroGoto

+ + + + + + + +
+ +
+ +

+ + ResNotifyStateAstroGoto + +

+ +
Represents a ResNotifyStateAstroGoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStateAstroGoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStateAstroGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStateAstroGoto
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :AstroState

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroGoto state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroGoto state. +
+ + + +
Type:
+
    +
  • + +AstroState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStateAstroGoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStateAstroGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStateAstroGoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroGoto instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroGoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStateAstroGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroGoto +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroGoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStateAstroGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroGoto +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroGoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroGoto + + + + + + + + + + + ResNotifyStateAstroGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroGoto + + + + + + + + + + + ResNotifyStateAstroGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStateAstroGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroGoto +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroGoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStateAstroGoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStateAstroGoto + + + + + + + + + + + ResNotifyStateAstroGoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStateAstroGoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStateAstroTracking.html b/docs/ResNotifyStateAstroTracking.html new file mode 100644 index 00000000..cdc8b46e --- /dev/null +++ b/docs/ResNotifyStateAstroTracking.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyStateAstroTracking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStateAstroTracking

+ + + + + + + +
+ +
+ +

+ + ResNotifyStateAstroTracking + +

+ +
Represents a ResNotifyStateAstroTracking.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStateAstroTracking(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStateAstroTracking.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStateAstroTracking
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroTracking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroTracking state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroTracking state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroTracking targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroTracking targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStateAstroTracking to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStateAstroTracking}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStateAstroTracking instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroTracking + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroTracking instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTracking + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStateAstroTracking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroTracking +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTracking + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStateAstroTracking}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroTracking +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTracking + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroTracking + + + + + + + + + + + ResNotifyStateAstroTracking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroTracking + + + + + + + + + + + ResNotifyStateAstroTracking message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStateAstroTracking}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroTracking +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTracking + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStateAstroTracking
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStateAstroTracking + + + + + + + + + + + ResNotifyStateAstroTracking
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStateAstroTracking message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStateAstroTrackingSpecial.html b/docs/ResNotifyStateAstroTrackingSpecial.html new file mode 100644 index 00000000..a988dee0 --- /dev/null +++ b/docs/ResNotifyStateAstroTrackingSpecial.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifyStateAstroTrackingSpecial - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStateAstroTrackingSpecial

+ + + + + + + +
+ +
+ +

+ + ResNotifyStateAstroTrackingSpecial + +

+ +
Represents a ResNotifyStateAstroTrackingSpecial.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStateAstroTrackingSpecial(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStateAstroTrackingSpecial.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStateAstroTrackingSpecial
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroTrackingSpecial + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

index :number

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroTrackingSpecial index.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroTrackingSpecial index. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

state :OperationState

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroTrackingSpecial state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroTrackingSpecial state. +
+ + + +
Type:
+
    +
  • + +OperationState + + + +
  • +
+ + + + + + + + +

targetName :string

+ + + + + +
+ +
Description:
+
  • ResNotifyStateAstroTrackingSpecial targetName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateAstroTrackingSpecial targetName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStateAstroTrackingSpecial to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStateAstroTrackingSpecial}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateAstroTrackingSpecial + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroTrackingSpecial instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTrackingSpecial + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStateAstroTrackingSpecial}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroTrackingSpecial +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTrackingSpecial + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStateAstroTrackingSpecial}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateAstroTrackingSpecial +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTrackingSpecial + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroTrackingSpecial + + + + + + + + + + + ResNotifyStateAstroTrackingSpecial message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateAstroTrackingSpecial + + + + + + + + + + + ResNotifyStateAstroTrackingSpecial message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStateAstroTrackingSpecial}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateAstroTrackingSpecial +
+ + + +
+
+ Type +
+
+ +ResNotifyStateAstroTrackingSpecial + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStateAstroTrackingSpecial
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStateAstroTrackingSpecial + + + + + + + + + + + ResNotifyStateAstroTrackingSpecial
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStateAstroTrackingSpecial message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStateSentryMode.html b/docs/ResNotifyStateSentryMode.html new file mode 100644 index 00000000..936083a9 --- /dev/null +++ b/docs/ResNotifyStateSentryMode.html @@ -0,0 +1,2212 @@ + + + + + + ResNotifyStateSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStateSentryMode

+ + + + + + + +
+ +
+ +

+ + ResNotifyStateSentryMode + +

+ +
Represents a ResNotifyStateSentryMode.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStateSentryMode(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStateSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStateSentryMode
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

state :SentryModeState

+ + + + + +
+ +
Description:
+
  • ResNotifyStateSentryMode state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStateSentryMode state. +
+ + + +
Type:
+
    +
  • + +SentryModeState + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStateSentryMode to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStateSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStateSentryMode instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStateSentryMode + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateSentryMode instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStateSentryMode + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStateSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateSentryMode message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateSentryMode +
+ + + +
+
+ Type +
+
+ +ResNotifyStateSentryMode + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStateSentryMode}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStateSentryMode +
+ + + +
+
+ Type +
+
+ +ResNotifyStateSentryMode + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateSentryMode message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateSentryMode + + + + + + + + + + + ResNotifyStateSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStateSentryMode + + + + + + + + + + + ResNotifyStateSentryMode message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStateSentryMode}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStateSentryMode +
+ + + +
+
+ Type +
+
+ +ResNotifyStateSentryMode + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStateSentryMode
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStateSentryMode + + + + + + + + + + + ResNotifyStateSentryMode
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStateSentryMode message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyStreamType.html b/docs/ResNotifyStreamType.html new file mode 100644 index 00000000..d6413f64 --- /dev/null +++ b/docs/ResNotifyStreamType.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyStreamType - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyStreamType

+ + + + + + + +
+ +
+ +

+ + ResNotifyStreamType + +

+ +
Represents a ResNotifyStreamType.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyStreamType(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyStreamType.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyStreamType
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStreamType + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

camId :number

+ + + + + +
+ +
Description:
+
  • ResNotifyStreamType camId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStreamType camId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

streamType :number

+ + + + + +
+ +
Description:
+
  • ResNotifyStreamType streamType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyStreamType streamType. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyStreamType to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyStreamType}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyStreamType instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyStreamType + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStreamType instance +
+ + + +
+
+ Type +
+
+ +ResNotifyStreamType + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyStreamType}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStreamType message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStreamType +
+ + + +
+
+ Type +
+
+ +ResNotifyStreamType + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyStreamType}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyStreamType +
+ + + +
+
+ Type +
+
+ +ResNotifyStreamType + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStreamType message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStreamType + + + + + + + + + + + ResNotifyStreamType message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyStreamType + + + + + + + + + + + ResNotifyStreamType message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyStreamType}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyStreamType +
+ + + +
+
+ Type +
+
+ +ResNotifyStreamType + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyStreamType
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyStreamType + + + + + + + + + + + ResNotifyStreamType
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyStreamType message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:43 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyTemperature.html b/docs/ResNotifyTemperature.html new file mode 100644 index 00000000..29431931 --- /dev/null +++ b/docs/ResNotifyTemperature.html @@ -0,0 +1,2290 @@ + + + + + + ResNotifyTemperature - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyTemperature

+ + + + + + + +
+ +
+ +

+ + ResNotifyTemperature + +

+ +
Represents a ResNotifyTemperature.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyTemperature(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyTemperature.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyTemperature
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTemperature + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTemperature code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTemperature code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

temperature :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTemperature temperature.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTemperature temperature. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyTemperature to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyTemperature}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyTemperature instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTemperature + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTemperature instance +
+ + + +
+
+ Type +
+
+ +ResNotifyTemperature + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyTemperature}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTemperature message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTemperature +
+ + + +
+
+ Type +
+
+ +ResNotifyTemperature + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyTemperature}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTemperature +
+ + + +
+
+ Type +
+
+ +ResNotifyTemperature + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTemperature message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTemperature + + + + + + + + + + + ResNotifyTemperature message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTemperature + + + + + + + + + + + ResNotifyTemperature message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyTemperature}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTemperature +
+ + + +
+
+ Type +
+
+ +ResNotifyTemperature + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyTemperature
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyTemperature + + + + + + + + + + + ResNotifyTemperature
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyTemperature message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyTimeLapseOutTime.html b/docs/ResNotifyTimeLapseOutTime.html new file mode 100644 index 00000000..a690cb79 --- /dev/null +++ b/docs/ResNotifyTimeLapseOutTime.html @@ -0,0 +1,2368 @@ + + + + + + ResNotifyTimeLapseOutTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyTimeLapseOutTime

+ + + + + + + +
+ +
+ +

+ + ResNotifyTimeLapseOutTime + +

+ +
Represents a ResNotifyTimeLapseOutTime.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyTimeLapseOutTime(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyTimeLapseOutTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyTimeLapseOutTime
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTimeLapseOutTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

interval :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTimeLapseOutTime interval.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTimeLapseOutTime interval. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

outTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTimeLapseOutTime outTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTimeLapseOutTime outTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

totalTime :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTimeLapseOutTime totalTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTimeLapseOutTime totalTime. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyTimeLapseOutTime to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyTimeLapseOutTime}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyTimeLapseOutTime instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTimeLapseOutTime + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTimeLapseOutTime instance +
+ + + +
+
+ Type +
+
+ +ResNotifyTimeLapseOutTime + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyTimeLapseOutTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTimeLapseOutTime +
+ + + +
+
+ Type +
+
+ +ResNotifyTimeLapseOutTime + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyTimeLapseOutTime}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTimeLapseOutTime +
+ + + +
+
+ Type +
+
+ +ResNotifyTimeLapseOutTime + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTimeLapseOutTime + + + + + + + + + + + ResNotifyTimeLapseOutTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTimeLapseOutTime + + + + + + + + + + + ResNotifyTimeLapseOutTime message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyTimeLapseOutTime}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTimeLapseOutTime +
+ + + +
+
+ Type +
+
+ +ResNotifyTimeLapseOutTime + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyTimeLapseOutTime
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyTimeLapseOutTime + + + + + + + + + + + ResNotifyTimeLapseOutTime
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyTimeLapseOutTime message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResNotifyTrackResult.html b/docs/ResNotifyTrackResult.html new file mode 100644 index 00000000..3277a140 --- /dev/null +++ b/docs/ResNotifyTrackResult.html @@ -0,0 +1,2446 @@ + + + + + + ResNotifyTrackResult - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResNotifyTrackResult

+ + + + + + + +
+ +
+ +

+ + ResNotifyTrackResult + +

+ +
Represents a ResNotifyTrackResult.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResNotifyTrackResult(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResNotifyTrackResult.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResNotifyTrackResult
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTrackResult + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

h :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTrackResult h.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTrackResult h. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

w :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTrackResult w.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTrackResult w. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

x :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTrackResult x.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTrackResult x. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

y :number

+ + + + + +
+ +
Description:
+
  • ResNotifyTrackResult y.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResNotifyTrackResult y. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResNotifyTrackResult to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResNotifyTrackResult}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResNotifyTrackResult instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResNotifyTrackResult + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTrackResult instance +
+ + + +
+
+ Type +
+
+ +ResNotifyTrackResult + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResNotifyTrackResult}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTrackResult message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTrackResult +
+ + + +
+
+ Type +
+
+ +ResNotifyTrackResult + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResNotifyTrackResult}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResNotifyTrackResult +
+ + + +
+
+ Type +
+
+ +ResNotifyTrackResult + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTrackResult message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTrackResult + + + + + + + + + + + ResNotifyTrackResult message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResNotifyTrackResult + + + + + + + + + + + ResNotifyTrackResult message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResNotifyTrackResult}

+ + + + + + +
+ +
Description:
+
  • Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResNotifyTrackResult +
+ + + +
+
+ Type +
+
+ +ResNotifyTrackResult + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResNotifyTrackResult
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResNotifyTrackResult + + + + + + + + + + + ResNotifyTrackResult
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResNotifyTrackResult message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResOneClickGoto.html b/docs/ResOneClickGoto.html new file mode 100644 index 00000000..c0747588 --- /dev/null +++ b/docs/ResOneClickGoto.html @@ -0,0 +1,2368 @@ + + + + + + ResOneClickGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResOneClickGoto

+ + + + + + + +
+ +
+ +

+ + ResOneClickGoto + +

+ +
Represents a ResOneClickGoto.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResOneClickGoto(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResOneClickGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResOneClickGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

allEnd :boolean

+ + + + + +
+ +
Description:
+
  • ResOneClickGoto allEnd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResOneClickGoto allEnd. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResOneClickGoto code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResOneClickGoto code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

step :number

+ + + + + +
+ +
Description:
+
  • ResOneClickGoto step.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResOneClickGoto step. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResOneClickGoto to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResOneClickGoto instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResOneClickGoto + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResOneClickGoto instance +
+ + + +
+
+ Type +
+
+ +ResOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResOneClickGoto message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResOneClickGoto +
+ + + +
+
+ Type +
+
+ +ResOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResOneClickGoto +
+ + + +
+
+ Type +
+
+ +ResOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResOneClickGoto message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResOneClickGoto + + + + + + + + + + + ResOneClickGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResOneClickGoto + + + + + + + + + + + ResOneClickGoto message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResOneClickGoto}

+ + + + + + +
+ +
Description:
+
  • Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResOneClickGoto +
+ + + +
+
+ Type +
+
+ +ResOneClickGoto + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResOneClickGoto
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResOneClickGoto + + + + + + + + + + + ResOneClickGoto
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResOneClickGoto message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResReceiveDataError.html b/docs/ResReceiveDataError.html new file mode 100644 index 00000000..dfc3668d --- /dev/null +++ b/docs/ResReceiveDataError.html @@ -0,0 +1,2290 @@ + + + + + + ResReceiveDataError - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResReceiveDataError

+ + + + + + + +
+ +
+ +

+ + ResReceiveDataError + +

+ +
Represents a ResReceiveDataError.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResReceiveDataError(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResReceiveDataError.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResReceiveDataError
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReceiveDataError + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResReceiveDataError cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReceiveDataError cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResReceiveDataError code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReceiveDataError code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResReceiveDataError to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResReceiveDataError}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResReceiveDataError instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReceiveDataError + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReceiveDataError instance +
+ + + +
+
+ Type +
+
+ +ResReceiveDataError + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResReceiveDataError}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReceiveDataError message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReceiveDataError +
+ + + +
+
+ Type +
+
+ +ResReceiveDataError + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResReceiveDataError}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReceiveDataError +
+ + + +
+
+ Type +
+
+ +ResReceiveDataError + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReceiveDataError message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReceiveDataError + + + + + + + + + + + ResReceiveDataError message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReceiveDataError + + + + + + + + + + + ResReceiveDataError message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResReceiveDataError}

+ + + + + + +
+ +
Description:
+
  • Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReceiveDataError +
+ + + +
+
+ Type +
+
+ +ResReceiveDataError + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResReceiveDataError
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResReceiveDataError + + + + + + + + + + + ResReceiveDataError
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResReceiveDataError message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResReplaceShootingSchedule.html b/docs/ResReplaceShootingSchedule.html new file mode 100644 index 00000000..fa9971c5 --- /dev/null +++ b/docs/ResReplaceShootingSchedule.html @@ -0,0 +1,2296 @@ + + + + + + ResReplaceShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResReplaceShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResReplaceShootingSchedule + +

+ +
Represents a ResReplaceShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResReplaceShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResReplaceShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResReplaceShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReplaceShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResReplaceShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReplaceShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

shootingSchedule :IShootingScheduleMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ResReplaceShootingSchedule shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReplaceShootingSchedule shootingSchedule. +
+ + + +
Type:
+
    +
  • + +IShootingScheduleMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResReplaceShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResReplaceShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReplaceShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReplaceShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReplaceShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReplaceShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReplaceShootingSchedule + + + + + + + + + + + ResReplaceShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReplaceShootingSchedule + + + + + + + + + + + ResReplaceShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResReplaceShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReplaceShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResReplaceShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResReplaceShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResReplaceShootingSchedule + + + + + + + + + + + ResReplaceShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResReplaceShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResReset.html b/docs/ResReset.html new file mode 100644 index 00000000..d2547dc1 --- /dev/null +++ b/docs/ResReset.html @@ -0,0 +1,2290 @@ + + + + + + ResReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResReset

+ + + + + + + +
+ +
+ +

+ + ResReset + +

+ +
Represents a ResReset.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResReset(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResReset
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResReset cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReset cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResReset code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResReset code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResReset to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResReset}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResReset instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResReset + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReset instance +
+ + + +
+
+ Type +
+
+ +ResReset + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReset message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReset +
+ + + +
+
+ Type +
+
+ +ResReset + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResReset}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResReset message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResReset +
+ + + +
+
+ Type +
+
+ +ResReset + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReset message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReset + + + + + + + + + + + ResReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResReset message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResReset + + + + + + + + + + + ResReset message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResReset}

+ + + + + + +
+ +
Description:
+
  • Creates a ResReset message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResReset +
+ + + +
+
+ Type +
+
+ +ResReset + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResReset
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResReset message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResReset + + + + + + + + + + + ResReset
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResReset message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResSetblewifi.html b/docs/ResSetblewifi.html new file mode 100644 index 00000000..bbcf42d2 --- /dev/null +++ b/docs/ResSetblewifi.html @@ -0,0 +1,2446 @@ + + + + + + ResSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResSetblewifi

+ + + + + + + +
+ +
+ +

+ + ResSetblewifi + +

+ +
Represents a ResSetblewifi.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResSetblewifi(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResSetblewifi
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSetblewifi + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResSetblewifi cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSetblewifi cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResSetblewifi code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSetblewifi code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

mode :number

+ + + + + +
+ +
Description:
+
  • ResSetblewifi mode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSetblewifi mode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

value :string

+ + + + + +
+ +
Description:
+
  • ResSetblewifi value.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSetblewifi value. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResSetblewifi to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResSetblewifi instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSetblewifi + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSetblewifi instance +
+ + + +
+
+ Type +
+
+ +ResSetblewifi + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSetblewifi message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSetblewifi +
+ + + +
+
+ Type +
+
+ +ResSetblewifi + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSetblewifi message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSetblewifi +
+ + + +
+
+ Type +
+
+ +ResSetblewifi + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSetblewifi message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSetblewifi + + + + + + + + + + + ResSetblewifi message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSetblewifi message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSetblewifi + + + + + + + + + + + ResSetblewifi message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResSetblewifi}

+ + + + + + +
+ +
Description:
+
  • Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSetblewifi +
+ + + +
+
+ Type +
+
+ +ResSetblewifi + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResSetblewifi
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResSetblewifi + + + + + + + + + + + ResSetblewifi
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResSetblewifi message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResSta.html b/docs/ResSta.html new file mode 100644 index 00000000..a264d957 --- /dev/null +++ b/docs/ResSta.html @@ -0,0 +1,2524 @@ + + + + + + ResSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResSta

+ + + + + + + +
+ +
+ +

+ + ResSta + +

+ +
Represents a ResSta.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResSta(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResSta
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSta + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResSta cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSta cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResSta code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSta code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ip :string

+ + + + + +
+ +
Description:
+
  • ResSta ip.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSta ip. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

psd :string

+ + + + + +
+ +
Description:
+
  • ResSta psd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSta psd. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

ssid :string

+ + + + + +
+ +
Description:
+
  • ResSta ssid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSta ssid. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResSta to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResSta}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResSta instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSta + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSta instance +
+ + + +
+
+ Type +
+
+ +ResSta + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResSta}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSta message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSta +
+ + + +
+
+ Type +
+
+ +ResSta + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResSta}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSta message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSta +
+ + + +
+
+ Type +
+
+ +ResSta + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSta message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSta + + + + + + + + + + + ResSta message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSta message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSta + + + + + + + + + + + ResSta message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResSta}

+ + + + + + +
+ +
Description:
+
  • Creates a ResSta message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSta +
+ + + +
+
+ Type +
+
+ +ResSta + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResSta
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResSta message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResSta + + + + + + + + + + + ResSta
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResSta message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResStartEqSolving.html b/docs/ResStartEqSolving.html new file mode 100644 index 00000000..82adfcb2 --- /dev/null +++ b/docs/ResStartEqSolving.html @@ -0,0 +1,2368 @@ + + + + + + ResStartEqSolving - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResStartEqSolving

+ + + + + + + +
+ +
+ +

+ + ResStartEqSolving + +

+ +
Represents a ResStartEqSolving.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResStartEqSolving(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResStartEqSolving.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResStartEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

altErr :number

+ + + + + +
+ +
Description:
+
  • ResStartEqSolving altErr.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResStartEqSolving altErr. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

aziErr :number

+ + + + + +
+ +
Description:
+
  • ResStartEqSolving aziErr.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResStartEqSolving aziErr. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResStartEqSolving code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResStartEqSolving code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResStartEqSolving to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResStartEqSolving instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResStartEqSolving + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResStartEqSolving instance +
+ + + +
+
+ Type +
+
+ +ResStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResStartEqSolving message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResStartEqSolving +
+ + + +
+
+ Type +
+
+ +ResStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResStartEqSolving +
+ + + +
+
+ Type +
+
+ +ResStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResStartEqSolving message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResStartEqSolving + + + + + + + + + + + ResStartEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResStartEqSolving + + + + + + + + + + + ResStartEqSolving message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResStartEqSolving}

+ + + + + + +
+ +
Description:
+
  • Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResStartEqSolving +
+ + + +
+
+ Type +
+
+ +ResStartEqSolving + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResStartEqSolving
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResStartEqSolving + + + + + + + + + + + ResStartEqSolving
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResStartEqSolving message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResSyncShootingSchedule.html b/docs/ResSyncShootingSchedule.html new file mode 100644 index 00000000..f8e27ebf --- /dev/null +++ b/docs/ResSyncShootingSchedule.html @@ -0,0 +1,2452 @@ + + + + + + ResSyncShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResSyncShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResSyncShootingSchedule + +

+ +
Represents a ResSyncShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResSyncShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResSyncShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResSyncShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSyncShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

canReplace :boolean

+ + + + + +
+ +
Description:
+
  • ResSyncShootingSchedule canReplace.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSyncShootingSchedule canReplace. +
+ + + +
Type:
+
    +
  • + +boolean + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResSyncShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSyncShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

shootingSchedule :IShootingScheduleMsg|null|undefined

+ + + + + +
+ +
Description:
+
  • ResSyncShootingSchedule shootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSyncShootingSchedule shootingSchedule. +
+ + + +
Type:
+
    +
  • + +IShootingScheduleMsg +| + +null +| + +undefined + + + +
  • +
+ + + + + + + + +

timeConflictScheduleIds :Array.<string>

+ + + + + +
+ +
Description:
+
  • ResSyncShootingSchedule timeConflictScheduleIds.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResSyncShootingSchedule timeConflictScheduleIds. +
+ + + +
Type:
+
    +
  • + +Array.<string> + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResSyncShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResSyncShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResSyncShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSyncShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSyncShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSyncShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSyncShootingSchedule + + + + + + + + + + + ResSyncShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResSyncShootingSchedule + + + + + + + + + + + ResSyncShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResSyncShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResSyncShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResSyncShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResSyncShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResSyncShootingSchedule + + + + + + + + + + + ResSyncShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResSyncShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResUnlockShootingSchedule.html b/docs/ResUnlockShootingSchedule.html new file mode 100644 index 00000000..21d51504 --- /dev/null +++ b/docs/ResUnlockShootingSchedule.html @@ -0,0 +1,2290 @@ + + + + + + ResUnlockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResUnlockShootingSchedule

+ + + + + + + +
+ +
+ +

+ + ResUnlockShootingSchedule + +

+ +
Represents a ResUnlockShootingSchedule.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResUnlockShootingSchedule(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResUnlockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResUnlockShootingSchedule
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResUnlockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResUnlockShootingSchedule code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResUnlockShootingSchedule code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

id :string

+ + + + + +
+ +
Description:
+
  • ResUnlockShootingSchedule id.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResUnlockShootingSchedule id. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResUnlockShootingSchedule to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResUnlockShootingSchedule instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResUnlockShootingSchedule + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResUnlockShootingSchedule instance +
+ + + +
+
+ Type +
+
+ +ResUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResUnlockShootingSchedule message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResUnlockShootingSchedule message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResUnlockShootingSchedule + + + + + + + + + + + ResUnlockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResUnlockShootingSchedule + + + + + + + + + + + ResUnlockShootingSchedule message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResUnlockShootingSchedule}

+ + + + + + +
+ +
Description:
+
  • Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResUnlockShootingSchedule +
+ + + +
+
+ Type +
+
+ +ResUnlockShootingSchedule + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResUnlockShootingSchedule
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResUnlockShootingSchedule + + + + + + + + + + + ResUnlockShootingSchedule
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResUnlockShootingSchedule message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ResWifilist.html b/docs/ResWifilist.html new file mode 100644 index 00000000..b081d01d --- /dev/null +++ b/docs/ResWifilist.html @@ -0,0 +1,2368 @@ + + + + + + ResWifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ResWifilist

+ + + + + + + +
+ +
+ +

+ + ResWifilist + +

+ +
Represents a ResWifilist.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ResWifilist(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ResWifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IResWifilist
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResWifilist + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • ResWifilist cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResWifilist cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

code :number

+ + + + + +
+ +
Description:
+
  • ResWifilist code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResWifilist code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

ssid :Array.<string>

+ + + + + +
+ +
Description:
+
  • ResWifilist ssid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ResWifilist ssid. +
+ + + +
Type:
+
    +
  • + +Array.<string> + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ResWifilist to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ResWifilist}

+ + + + + + +
+ +
Description:
+
  • Creates a new ResWifilist instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IResWifilist + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResWifilist instance +
+ + + +
+
+ Type +
+
+ +ResWifilist + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ResWifilist}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResWifilist message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResWifilist +
+ + + +
+
+ Type +
+
+ +ResWifilist + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ResWifilist}

+ + + + + + +
+ +
Description:
+
  • Decodes a ResWifilist message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ResWifilist +
+ + + +
+
+ Type +
+
+ +ResWifilist + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResWifilist message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResWifilist + + + + + + + + + + + ResWifilist message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ResWifilist message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IResWifilist + + + + + + + + + + + ResWifilist message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ResWifilist}

+ + + + + + +
+ +
Description:
+
  • Creates a ResWifilist message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ResWifilist +
+ + + +
+
+ Type +
+
+ +ResWifilist + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ResWifilist
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ResWifilist message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ResWifilist + + + + + + + + + + + ResWifilist
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ResWifilist message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ShootingScheduleMsg.html b/docs/ShootingScheduleMsg.html new file mode 100644 index 00000000..3e6b00a4 --- /dev/null +++ b/docs/ShootingScheduleMsg.html @@ -0,0 +1,3553 @@ + + + + + + ShootingScheduleMsg - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingScheduleMsg

+ + + + + + + +
+ +
+ +

+ + ShootingScheduleMsg + +

+ +
Represents a ShootingScheduleMsg.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ShootingScheduleMsg(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ShootingScheduleMsg.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IShootingScheduleMsg
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IShootingScheduleMsg + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

createdTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg createdTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg createdTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

deviceId :number

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg deviceId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg deviceId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

endTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg endTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg endTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

lock :number

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg lock.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg lock. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

macAddress :string

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg macAddress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg macAddress. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

paramMode :number

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg paramMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg paramMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

paramVersion :number

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg paramVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg paramVersion. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

params :string

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg params.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg params. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

password :string

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg password.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg password. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

result :ShootingScheduleResult

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg result.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg result. +
+ + + +
Type:
+
    +
  • + +ShootingScheduleResult + + + +
  • +
+ + + + + + + + +

scheduleId :string

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg scheduleId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg scheduleId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

scheduleName :string

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg scheduleName.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg scheduleName. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

scheduleTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg scheduleTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg scheduleTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

shootingTasks :Array.<IShootingTaskMsg>

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg shootingTasks.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg shootingTasks. +
+ + + +
Type:
+
    +
  • + +Array.<IShootingTaskMsg> + + + +
  • +
+ + + + + + + + +

startTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg startTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg startTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

state :ShootingScheduleState

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg state. +
+ + + +
Type:
+
    +
  • + +ShootingScheduleState + + + +
  • +
+ + + + + + + + +

syncState :ShootingScheduleSyncState

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg syncState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg syncState. +
+ + + +
Type:
+
    +
  • + +ShootingScheduleSyncState + + + +
  • +
+ + + + + + + + +

updatedTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingScheduleMsg updatedTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingScheduleMsg updatedTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ShootingScheduleMsg to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ShootingScheduleMsg}

+ + + + + + +
+ +
Description:
+
  • Creates a new ShootingScheduleMsg instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IShootingScheduleMsg + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ShootingScheduleMsg instance +
+ + + +
+
+ Type +
+
+ +ShootingScheduleMsg + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ShootingScheduleMsg}

+ + + + + + +
+ +
Description:
+
  • Decodes a ShootingScheduleMsg message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ShootingScheduleMsg +
+ + + +
+
+ Type +
+
+ +ShootingScheduleMsg + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ShootingScheduleMsg}

+ + + + + + +
+ +
Description:
+
  • Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ShootingScheduleMsg +
+ + + +
+
+ Type +
+
+ +ShootingScheduleMsg + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ShootingScheduleMsg message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IShootingScheduleMsg + + + + + + + + + + + ShootingScheduleMsg message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IShootingScheduleMsg + + + + + + + + + + + ShootingScheduleMsg message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ShootingScheduleMsg}

+ + + + + + +
+ +
Description:
+
  • Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ShootingScheduleMsg +
+ + + +
+
+ Type +
+
+ +ShootingScheduleMsg + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ShootingScheduleMsg
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ShootingScheduleMsg + + + + + + + + + + + ShootingScheduleMsg
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ShootingScheduleMsg message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/ShootingTaskMsg.html b/docs/ShootingTaskMsg.html new file mode 100644 index 00000000..1e871664 --- /dev/null +++ b/docs/ShootingTaskMsg.html @@ -0,0 +1,2920 @@ + + + + + + ShootingTaskMsg - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingTaskMsg

+ + + + + + + +
+ +
+ +

+ + ShootingTaskMsg + +

+ +
Represents a ShootingTaskMsg.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new ShootingTaskMsg(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new ShootingTaskMsg.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IShootingTaskMsg
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IShootingTaskMsg + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

code :number

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg code.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg code. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

createFrom :number

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg createFrom.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg createFrom. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

createdTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg createdTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg createdTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + +

paramMode :number

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg paramMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg paramMode. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

paramVersion :number

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg paramVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg paramVersion. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

params :string

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg params.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg params. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

scheduleId :string

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg scheduleId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg scheduleId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

scheduleTaskId :string

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg scheduleTaskId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg scheduleTaskId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

state :ShootingTaskState

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg state.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg state. +
+ + + +
Type:
+
    +
  • + +ShootingTaskState + + + +
  • +
+ + + + + + + + +

updatedTime :number|Long

+ + + + + +
+ +
Description:
+
  • ShootingTaskMsg updatedTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ShootingTaskMsg updatedTime. +
+ + + +
Type:
+
    +
  • + +number +| + +Long + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this ShootingTaskMsg to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {ShootingTaskMsg}

+ + + + + + +
+ +
Description:
+
  • Creates a new ShootingTaskMsg instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IShootingTaskMsg + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ShootingTaskMsg instance +
+ + + +
+
+ Type +
+
+ +ShootingTaskMsg + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {ShootingTaskMsg}

+ + + + + + +
+ +
Description:
+
  • Decodes a ShootingTaskMsg message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ShootingTaskMsg +
+ + + +
+
+ Type +
+
+ +ShootingTaskMsg + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {ShootingTaskMsg}

+ + + + + + +
+ +
Description:
+
  • Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ ShootingTaskMsg +
+ + + +
+
+ Type +
+
+ +ShootingTaskMsg + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ShootingTaskMsg message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IShootingTaskMsg + + + + + + + + + + + ShootingTaskMsg message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IShootingTaskMsg + + + + + + + + + + + ShootingTaskMsg message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {ShootingTaskMsg}

+ + + + + + +
+ +
Description:
+
  • Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ ShootingTaskMsg +
+ + + +
+
+ Type +
+
+ +ShootingTaskMsg + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for ShootingTaskMsg
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +ShootingTaskMsg + + + + + + + + + + + ShootingTaskMsg
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a ShootingTaskMsg message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/WsPacket.html b/docs/WsPacket.html new file mode 100644 index 00000000..ce97ed33 --- /dev/null +++ b/docs/WsPacket.html @@ -0,0 +1,2758 @@ + + + + + + WsPacket - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

WsPacket

+ + + + + + + +
+ +
+ +

+ + WsPacket + +

+ +
Represents a WsPacket.
+ + +
+ +
+ +
+ + + + +

Constructor

+ + +

new WsPacket(propertiesopt)

+ + + + + + +
+ +
Description:
+
  • Constructs a new WsPacket.
+ + + +
Source:
+
+ + + + + + + + + + + + + +
Implements:
+
    + +
  • IWsPacket
  • + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IWsPacket + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

clientId :string

+ + + + + +
+ +
Description:
+
  • WsPacket clientId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket clientId. +
+ + + +
Type:
+
    +
  • + +string + + + +
  • +
+ + + + + + + + +

cmd :number

+ + + + + +
+ +
Description:
+
  • WsPacket cmd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket cmd. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

data :Uint8Array

+ + + + + +
+ +
Description:
+
  • WsPacket data.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket data. +
+ + + +
Type:
+
    +
  • + +Uint8Array + + + +
  • +
+ + + + + + + + +

deviceId :number

+ + + + + +
+ +
Description:
+
  • WsPacket deviceId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket deviceId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

majorVersion :number

+ + + + + +
+ +
Description:
+
  • WsPacket majorVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket majorVersion. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

minorVersion :number

+ + + + + +
+ +
Description:
+
  • WsPacket minorVersion.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket minorVersion. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

moduleId :number

+ + + + + +
+ +
Description:
+
  • WsPacket moduleId.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket moduleId. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + +

type :number

+ + + + + +
+ +
Description:
+
  • WsPacket type.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ WsPacket type. +
+ + + +
Type:
+
    +
  • + +number + + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

toJSON() → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Converts this WsPacket to JSON.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ JSON object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) create(propertiesopt) → {WsPacket}

+ + + + + + +
+ +
Description:
+
  • Creates a new WsPacket instance using the specified properties.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
properties + + +IWsPacket + + + + + + + <optional>
+ + + + + +
Properties to set
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ WsPacket instance +
+ + + +
+
+ Type +
+
+ +WsPacket + + + +
+
+ + + + + + + + + + +

(static) decode(reader, lengthopt) → {WsPacket}

+ + + + + + +
+ +
Description:
+
  • Decodes a WsPacket message from the specified reader or buffer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + + + + + + + Reader or buffer to decode from
length + + +number + + + + + + + <optional>
+ + + + + +
Message length if known beforehand
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ WsPacket +
+ + + +
+
+ Type +
+
+ +WsPacket + + + +
+
+ + + + + + + + + + +

(static) decodeDelimited(reader) → {WsPacket}

+ + + + + + +
+ +
Description:
+
  • Decodes a WsPacket message from the specified reader or buffer, length delimited.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reader + + +$protobuf.Reader +| + +Uint8Array + + + + + Reader or buffer to decode from
+ + + + + + + + + + + + + + +
Throws:
+
    +
  • + +
    +
    +
    + If the payload is not a reader or valid buffer +
    +
    +
    +
    +
    +
    + Type +
    +
    + +Error + + + +
    +
    +
    +
    +
    + +
  • + +
  • + +
    +
    +
    + If required fields are missing +
    +
    +
    +
    +
    +
    + Type +
    +
    + +$protobuf.util.ProtocolError + + + +
    +
    +
    +
    +
    + +
  • +
+ + +
Returns:
+ + +
+ WsPacket +
+ + + +
+
+ Type +
+
+ +WsPacket + + + +
+
+ + + + + + + + + + +

(static) encode(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified WsPacket message. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IWsPacket + + + + + + + + + + + WsPacket message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

+ + + + + + +
+ +
Description:
+
  • Encodes the specified WsPacket message, length delimited. Does not implicitly verify messages.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +IWsPacket + + + + + + + + + + + WsPacket message or plain object to encode
writer + + +$protobuf.Writer + + + + + + + <optional>
+ + + + + +
Writer to encode to
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Writer +
+ + + +
+
+ Type +
+
+ +$protobuf.Writer + + + +
+
+ + + + + + + + + + +

(static) fromObject(object) → {WsPacket}

+ + + + + + +
+ +
Description:
+
  • Creates a WsPacket message from a plain object. Also converts values to their respective internal types.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + +Object.<string, *> + + + + + Plain object
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ WsPacket +
+ + + +
+
+ Type +
+
+ +WsPacket + + + +
+
+ + + + + + + + + + +

(static) getTypeUrl(typeUrlPrefixopt) → {string}

+ + + + + + +
+ +
Description:
+
  • Gets the default type url for WsPacket
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
typeUrlPrefix + + +string + + + + + + + <optional>
+ + + + + +
your custom typeUrlPrefix(default "type.googleapis.com")
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ The default type url +
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) toObject(message, optionsopt) → {Object.<string, *>}

+ + + + + + +
+ +
Description:
+
  • Creates a plain object from a WsPacket message. Also converts values to other types if specified.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
message + + +WsPacket + + + + + + + + + + + WsPacket
options + + +$protobuf.IConversionOptions + + + + + + + <optional>
+ + + + + +
Conversion options
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ Plain object +
+ + + +
+
+ Type +
+
+ +Object.<string, *> + + + +
+
+ + + + + + + + + + +

(static) verify(message) → {string|null}

+ + + + + + +
+ +
Description:
+
  • Verifies a WsPacket message.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object.<string, *> + + + + + Plain object to verify
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ `null` if valid, otherwise the reason why it is not +
+ + + +
+
+ Type +
+
+ +string +| + +null + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 434055c8..cac6b18f 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -56,13 +56,24 @@

api_codes.js

* @param {string} IP * @returns {string} */ -export const wsURL = (IP) => `ws://${IP}:9900`; +//export const wsURL = (IP, PROXY, HTTPS) => `ws://${IP}:9900`; +export const wsURL = (IP, proxyURL = undefined, useHttps = false) => { + if (proxyURL) { + const protocol = useHttps ? "wss" : "ws"; + console.log( + `Starting Web Socket : ${protocol}://${proxyURL}/?target=ws://${IP}:9900` + ); + return `${protocol}://${proxyURL}/?target=ws://${IP}:9900`; + } + console.log(`Starting Web Socket : ws://${IP}:9900`); + return `ws://${IP}:9900`; +}; /** * @param {string} IP * @returns {string} */ -export const wideangleURL = (IP) => `http://${IP}:8092/thirdstream`; +export const wideangleURL = (IP) => `http://${IP}:8092/secondstream`; /** * @param {string} IP @@ -74,154 +85,70 @@

api_codes.js

* @param {string} IP * @returns {string} */ -export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; + +// old ip : not working anymore in V2 +//export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; +export const rawPreviewURL = (IP) => `http://${IP}:8092/mainstream`; /** * @param {string} IP * @returns {string} */ -export const utcURL = (IP) => `http://${IP}:8092/date?date=`; - -// =============== -// 3.1 image transmission -// =============== +export const firmwareVersion = (IP) => `http://${IP}:8082/firmwareVersion`; -// camera -export const turnOnCameraCmd = 10000; -export const turnOffCameraCmd = 10017; - -export const telephotoCamera = 0; -export const wideangleCamera = 1; - -export const previewImageQuality = 10016; - -// =============== -// 3.2 photo and video -// =============== - -// photo -export const takePhotoCmd = 10006; -export const photoSingleShot = 0; -export const photoContinuous = 1; - -// video -export const startRecordingCmd = 10007; -export const stopRecordingCmd = 10009; +/** + * @param {string} IP + * @returns {string} + */ +export const getDefaultParamsConfig = (IP) => + `http://${IP}:8082/getDefaultParamsConfig`; -// timelapse photos -export const startTimelapseCmd = 10018; -export const stopTimelapseCmd = 10019; +/** + * POST Request + * data.deviceID 1:DWARF II 2:DWARF3 + * data.deviceName 1:DWARF_XXXXXX 2:DWARF3_XXXXXX + * @param {string} IP + * @returns {string} + */ +export const deviceInfo = (IP) => `http://${IP}:8082/deviceInfo`; // =============== -// 3.3 ISP settings // =============== +// exposition - gain export const modeAuto = 0; export const modeManual = 1; -// brightness -export const setBrightnessValueCmd = 10204; - -// contrast -export const setContrastValueCmd = 10205; - -// saturation -export const setSaturationValueCmd = 10206; - -// hue -export const setHueValueCmd = 10207; - -// sharpness -export const setSharpnessValueCmd = 10208; - -// exposure -export const setExposureModeCmd = 10001; -export const setExposureValueCmd = 10003; -export const exposureTelephotoModeAuto = 0; -export const exposureWideangleModeAuto = 3; - -// gain -export const setGainModeCmd = 10004; -export const setGainValueCmd = 10005; - // autofocus -export const autofocusCmd = 10211; export const autofocusGlobal = 0; export const autofocusArea = 1; +export const exposureTelephotoModeAuto = 0; +export const exposureWideangleModeAuto = 3; + // whitebalance -export const setWhiteBalanceModeCmd = 10212; -export const setWhiteBalanceScenceCmd = 10213; export const whiteBalanceScenesIDValue = { - 0: "incandescent lamp", - 1: "fluorescent lamp", - 2: "warm fluorescent lamp", + 0: "incandescent", + 1: "warm fluorescent", + 2: "fluorescent", 3: "sunlight", - 4: "overcast sky", - 5: "evening twilight", - 6: "shadow", + 4: "cloudy", + 5: "shadow", + 6: "twilight", }; export const whiteBalanceScenesValueID = { - "incandescent lamp": 0, - "fluorescent lamp": 1, - "warm fluorescent lamp": 2, + incandescent: 0, + "warm fluorescent": 1, + fluorescent: 2, sunlight: 3, - "overcast sky": 4, - "evening twilight": 5, - shadow: 6, + cloudy: 4, + shadow: 5, + twilight: 6, }; -export const setWhiteBalanceColorCmd = 10214; // IR -export const setIRCmd = 10203; export const IRCut = 0; -export const IRPass = 3; - -// =============== -// 3.4 status -// =============== - -// telephoto -export const statusTelephotoCmd = 10215; -export const statusIRTelephotoCmd = 10216; -export const statusWorkingStateTelephotoCmd = 10022; - -// wideangle -export const statusWideangleCmd = 10217; - -// =============== -// 4.1 Astro -// =============== - -// goto -export const calibrateGotoCmd = 11205; -export const startGotoCmd = 11203; - -export const planetsValueId = { - Mercury: 0, - Venus: 1, - Mars: 2, - Jupiter: 3, - Saturn: 4, - Uranus: 5, - Neptune: 6, - Moon: 7, -}; - -export const planetsIdValue = { - 0: "Mercury", - 1: "Venus", - 2: "Mars", - 3: "Jupiter", - 4: "Saturn", - 5: "Uranus", - 6: "Neptune", - 7: "Moon", -}; - -// RAW astro photo -export const takeAstroPhotoCmd = 10011; -export const stopAstroPhotoCmd = 10015; +export const IRPass = 1; export const binning1x1 = 0; export const binning2x2 = 1; @@ -229,85 +156,26 @@

api_codes.js

export const fileFits = 0; export const fileTiff = 1; -export const numberRawImagesCmd = 10014; -export const numberSuperImposedImages = 10023; - // raw preview -export const setRAWPreviewCmd = 10020; export const rawPreviewContinousSuperimpose = 0; export const rawPreviewSingle15 = 1; export const rawPreviewSingleComposite = 2; -// astro dark frames -export const takeAstroDarkFramesCmd = 10026; -export const darkGainDefault = 65528; - -// query shot field -export const queryShotFieldCmd = 10027; - -// =============== -// 4.2 tracking -// =============== - -export const traceInitCmd = 11200; -export const startTrackingCmd = 11201; -export const stopTrackingCmd = 11202; - -// =============== -// 4.3 panoromic -// =============== - -export const startPanoCmd = 10103; -export const stopPanoCmd = 10106; - // =============== // 5 motion control // =============== -export const startMotionCmd = 10100; export const continuous_mode = 1; export const pulse_mode = 2; -export const stopMotionCmd = 10101; - -export const setSpeedCmd = 10107; export const speedDecelerate = 0; export const speedAccelerate = 1; -export const setDirectionCmd = 10108; export const anticlockwise = 0; export const clockwise = 1; -export const setSubdivideCmd = 10109; - export const spinMotor = 1; export const pitchMotor = 2; - -// =============== -// 7.1 system status -// =============== - -export const systemStatusCmd = 11407; - -// =============== -// 7.2 microsd card status -// =============== - -export const microsdStatusCmd = 11405; -export const microsdAvailableCmd = 11409; - -// =============== -// 7.4 dwarf status -// =============== - -export const dwarfSoftwareVersionCmd = 11410; -export const dwarfChargingStatusCmd = 11011; - -// =============== -// 7.11 shut down -// =============== - -export const shutDownCmd = 11004; @@ -322,7 +190,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index e4c4e2ab..18ec67ab 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -48,6 +48,68 @@

api_utils.js

/** @module api_utils */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+export const Dwarfii_Api = $root;
+import {
+  cmdMapping,
+  responseMapping,
+  notifyMapping,
+  notifyResponseMapping,
+  getClassStateMappings,
+  getClassModeMappings,
+} from "./cmd_mapping.js";
+import {
+  cmdTxtMapping,
+  errorTxtMapping,
+  stateTxtMapping,
+} from "./txt_mapping.js";
+
+export var DwarfClientID = "0000DAF2-0000-1000-8000-00805F9B34FB";
+
+/** Set clientID value if need : defaut is "0000DAF2-0000-1000-8000-00805F9B34FB"
+ * @param {string} clientID
+ * @returns {boolean}
+ */
+export function setDwarfClientID(clientID) {
+  // Check if the value is a string
+  if (typeof clientID !== "string") {
+    return false;
+  }
+
+  // Define a regular expression pattern for the specified UUID format
+  const uuidPattern =
+    /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
+
+  // Test if the clientID matches the pattern
+  if (uuidPattern.test(clientID)) {
+    DwarfClientID = clientID;
+    return true;
+  } else {
+    return false;
+  }
+}
+
+var DwarfDeviceID = 1; // DWARF II
+
+/** Set Dwarf deviceID value upon value return by the dwarf
+ * @param {number} deviceID
+ * @returns {boolean}
+ */
+export function setDwarfDeviceID(deviceID) {
+  // Check if the value is a number
+  if (typeof deviceID !== "number") {
+    return false;
+  }
+
+  // Test if the deviceID greater than 0
+  if (deviceID > 0) {
+    DwarfDeviceID = deviceID;
+    return true;
+  } else {
+    return false;
+  }
+}
 
 /**
  * Returns the now UTC time as 'yyyy-mm-dd hh:mm:ss'
@@ -56,7 +118,6 @@ 

api_utils.js

export function nowUTC() { return new Date().toISOString().replace("T", " ").slice(0, 19); } - /** * Returns the now local time as 'yyyy-mm-dd hh:mm:ss' * @returns {string} @@ -74,7 +135,6 @@

api_utils.js

second )}`; } - /** * Returns the now UTC time as 'yyyymmddhhmmss' * @returns {string|undefined} @@ -86,7 +146,6 @@

api_utils.js

return matches.join(""); } } - /** * Returns the now local time as 'yyyymmddhhmmss' * @returns {string|undefined} @@ -97,15 +156,273 @@

api_utils.js

return matches.join(""); } } - /** - * Execute socket's send command - * @param {WebSocket} socket - * @param {Object} command + * Execute Decoding Received Packet from the Dwarf II + * @param {Uint8Array} WS_Packet + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} */ -export function socketSend(socket, command) { +export function decodePacket(WS_Packet, classDecode) { // eslint-disable-next-line no-undef - socket.send(JSON.stringify(command)); + // Obtain a message type + let decoded = classDecode.decode(WS_Packet); + console.log(`decoded data = ${JSON.stringify(decoded)}`); + return decoded; +} +/** + * Generic Create Encoded Packet Function + * @param {Object} message + * @param {Object} class_message + * @param {number} module_id + * @param {number} interface_id instruction + * @param {number} type_id Message type + * @returns {Uint8Array} + */ +export function createPacket( + message, + class_message, + module_id, + interface_id, + type_id +) { + let major_version = Dwarfii_Api.WsMajorVersion.WS_MAJOR_VERSION_NUMBER; + let minor_version = Dwarfii_Api.WsMinorVersion.WS_MINOR_VERSION_NUMBER; + let device_id = DwarfDeviceID; + // message + let message_buffer = undefined; + message_buffer = class_message.encode(message).finish(); + console.debug( + `message_buffer = ${Array.prototype.toString.call(message_buffer)}` + ); + // payload + let payload = { + majorVersion: major_version, + minorVersion: minor_version, + deviceId: device_id, + moduleId: module_id, + cmd: interface_id, + type: type_id, + data: message_buffer, + clientId: DwarfClientID, + }; + console.log(`Packet payload = ${JSON.stringify(payload)}`); + + // Verify the payload if necessary (i.e. when possibly incomplete or invalid) + let errMsg = Dwarfii_Api.WsPacket.verify(payload); + if (errMsg) throw Error(errMsg); + + // Create a new message + let message_payload = Dwarfii_Api.WsPacket.create(payload); // or use .fromObject if conversion is necessary + console.log(`Sending message_payload = ${JSON.stringify(message_payload)}`); + // Encode Final Buffer + let buffer = Dwarfii_Api.WsPacket.encode(message_payload).finish(); + console.debug(`buffer to Send = ${Array.prototype.toString.call(buffer)}`); + + // For Testing Only : try to decode it + let result_buffer = analyzePacket(buffer, false); + + return buffer; +} +/** + * Generic Analysing Encoded Received Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacket(message_buffer, input_data_log = true) { + // Check if binary message_buffer + if ( + message_buffer instanceof Uint8Array || + message_buffer instanceof ArrayBuffer + ) { + // binary frame + console.debug(" -> Binary data ....."); + } else { + // text frame ping ? + if (message_buffer !== undefined && message_buffer !== null) { + console.debug(" -> Text data ....."); + console.debug(`Text Frame Received : ${message_buffer}`); + return JSON.stringify({ text: message_buffer }); + } else { + // Handle the case where message_buffer is undefined or null + return JSON.stringify({ text: "" }); + } + } + // Get buffer received + let data_rcv = new Uint8Array(message_buffer); + console.debug(data_rcv); + // Obtain a message type + let decoded_message = {}; + let WsPacket_message = new Dwarfii_Api.WsPacket(); + let Response_message = {}; + let data_class = ""; + // Decoding buffer received + WsPacket_message = decodePacket(data_rcv, Dwarfii_Api.WsPacket); + console.debug( + `receive message.majorVersion = ${WsPacket_message.majorVersion}` + ); + console.debug( + `receive message.minorVersion = ${WsPacket_message.minorVersion}` + ); + console.debug(`receive message.deviceId = ${WsPacket_message.deviceId}`); + console.debug(`receive message.moduleId = ${WsPacket_message.moduleId}`); + console.debug(`=> ${Dwarfii_Api.ModuleId[WsPacket_message.moduleId]}`); + console.debug(`receive message.cmd = ${WsPacket_message.cmd}`); + console.debug(`=> ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`receive message.type = ${WsPacket_message.type}`); + console.debug(`receive message.clientId = ${WsPacket_message.clientId}`); + // Analyze Data : depends of cmd and type value of response packet. + const cmdClass = cmdMapping[WsPacket_message.cmd]; + console.debug(`cmdClass: ${cmdClass}`); + const responseClass = responseMapping[WsPacket_message.cmd]; + console.debug(`responseClass: ${responseClass}`); + const notifyClass = notifyMapping[WsPacket_message.cmd]; + console.debug(`notifyClass: ${notifyClass}`); + const notifyResponseClass = notifyResponseMapping[WsPacket_message.cmd]; + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + + if ( + (WsPacket_message.type == 0 && cmdClass === undefined) || + (WsPacket_message.type == 1 && responseClass === undefined) || + (WsPacket_message.type == 2 && notifyClass === undefined) || + (WsPacket_message.type == 3 && notifyResponseClass === undefined) + ) { + // Error cmd not known, ignore it + console.error(`Ignore Command Message Unknown: ${WsPacket_message.cmd}`); + return JSON.stringify({}); + } + + // Automatic Analyse Data + if (WsPacket_message.type == 0) { + // Request + console.debug( + `Decoding Request Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}` + ); + // Get Response Class Object + console.debug(`cmdClass: ${cmdClass}`); + data_class = "Dwarfii_Api." + cmdClass; + Response_message = eval(`new Dwarfii_Api.${cmdClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${cmdClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 1) { + // Response + console.debug( + `Decoding Response Request Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`responseClass: ${responseClass}`); + data_class = "Dwarfii_Api." + responseClass; + Response_message = eval(`new Dwarfii_Api.${responseClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${responseClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 2) { + // Notification + console.debug( + `Decoding Notification Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`notifyClass: ${notifyClass}`); + data_class = "Dwarfii_Api." + notifyClass; + Response_message = eval(`new Dwarfii_Api.${notifyClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${notifyClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 3) { + // Notification Response + console.debug( + `Decoding Notification Response Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + data_class = "Dwarfii_Api." + notifyResponseClass; + Response_message = eval(`new Dwarfii_Api.${notifyResponseClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${notifyResponseClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + // replace data value with new keys and also prototype key assigned by default. + // escape toJSON property of object + decoded_message = Object.assign({}, WsPacket_message); + // Ensure 'data' property is defined + decoded_message.data = {}; + decoded_message.data.class = data_class; + for (let key in Response_message) { + if (key !== "toJSON") { + decoded_message.data[key] = Response_message[key]; + } + } + // add command in plain text + let value = ""; + if (decoded_message.cmd) { + decoded_message.data.cmdText = {}; + decoded_message.data.cmdText = Dwarfii_Api.DwarfCMD[decoded_message.cmd]; + decoded_message.data.cmdPlainTxt = {}; + if (cmdTxtMapping[decoded_message.cmd]) + decoded_message.data.cmdPlainTxt = cmdTxtMapping[decoded_message.cmd]; + } + // add mode response code in plain text + if (decoded_message.data.mode !== undefined) { + value = getClassModeMappings(data_class, decoded_message.data.mode); + if (value) { + decoded_message.data.modeText = {}; + decoded_message.data.modeText = value; + } + } + // add state response code in plain text + if (decoded_message.data.state !== undefined) { + value = getClassStateMappings(data_class, decoded_message.data.state); + if (value) { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } else { + // Protobuf get the correct Txt value with toObject function except for 0 + value = JSON.parse(JSON.stringify(Response_message)).state; + if (value && typeof value == "string") { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } + } + decoded_message.data.statePlainTxt = {}; + if (stateTxtMapping[decoded_message.data.state]) + decoded_message.data.statePlainTxt = + stateTxtMapping[decoded_message.data.state]; + } + // add error code in plain text + if (decoded_message.data.hasOwnProperty("code")) { + decoded_message.data.errorTxt = {}; + if (Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]) + decoded_message.data.errorTxt = + Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]; + decoded_message.data.errorPlainTxt = {}; + if (decoded_message.data.code == 0) + decoded_message.data.errorPlainTxt = + errorTxtMapping[decoded_message.data.code]; + else if (errorTxtMapping[-decoded_message.data.code]) + decoded_message.data.errorPlainTxt = + errorTxtMapping[-decoded_message.data.code]; + } + if (input_data_log) + console.log( + `End Analyze Input Packet >> ${JSON.stringify(decoded_message)}` + ); + else + console.log( + `End Analyze Output Packet >> ${JSON.stringify(decoded_message)}` + ); + + return JSON.stringify(decoded_message); }
@@ -121,7 +438,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index 268d07b0..66066543 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -48,193 +48,700 @@

astro.js

/** @module astro */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
 
-import {
-  telephotoCamera,
-  calibrateGotoCmd,
-  startGotoCmd,
-  binning2x2,
-  fileTiff,
-  takeAstroPhotoCmd,
-  takeAstroDarkFramesCmd,
-  darkGainDefault,
-  utcURL,
-  stopAstroPhotoCmd,
-  rawPreviewContinousSuperimpose,
-  queryShotFieldCmd,
-  setRAWPreviewCmd,
-} from "./api_codes.js";
-import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js";
-
+/*** ---------------------------------------------- ***/
+/*** ---------------- MODULE ASTRO ---------------- ***/
+/*** ---------------------------------------------- ***/
 /**
- * 4.1.1 UTC+0 time
- * @param {string} IP
- * @returns {string}
+ * 4.10.2 Start calibration
+ * Create Encoded Packet for the command CMD_ASTRO_START_CALIBRATION
+ * @returns {Uint8Array}
  */
-export function formatUtcUrl(IP) {
-  return `${utcURL(IP)}${nowUTC()}`;
+export function messageAstroStartCalibration() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CALIBRATION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.2 correction
- * @param {number} latitude
- * @param {number} longitude
- * @returns {Object}
+ * 4.10.3 Stop calibration
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_CALIBRATION
+ * @returns {Uint8Array}
  */
-export function calibrateGoto(latitude, longitude) {
-  const options = {
-    interface: calibrateGotoCmd,
-    camId: telephotoCamera,
-    lon: longitude,
-    lat: latitude,
-    date: nowLocal(),
-    path: `DWARF_GOTO_${nowLocalFileName()}`,
-  };
-  return options;
+export function messageAstroStopCalibration() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CALIBRATION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.3 Start goto
- * @param {number|null} planet
- * @param {string} rightAscension
- * @param {string} declination
- * @param {number} latitude
- * @param {number} longitude
- * @returns {Object}
+ * 4.10.4 Start GOTO and track deep space objects
+ * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_DSO
+ * @param {number} ra Right Ascension
+ * @param {number} dec Declination
+ * @param {string} target_name
+ * @returns {Uint8Array}
  */
-export function startGoto(
-  planet,
-  rightAscension,
-  declination,
-  latitude,
-  longitude
-) {
-  const options = {
-    interface: startGotoCmd,
-    camId: telephotoCamera,
-    lon: longitude,
-    lat: latitude,
-    date: nowLocal(),
-    path: `DWARF_GOTO_${nowLocalFileName()}`,
-  };
-
-  if (planet !== undefined && planet !== null) {
-    options.planet = planet;
-  } else {
-    options.ra = rightAscension;
-    options.dec = declination;
-  }
-  return options;
+export function messageAstroStartGotoDso(ra, dec, target_name) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    ra: ra,
+    dec: dec,
+    targetName: target_name,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.5 Start GOTO and track solar system targets
+ * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_SOLAR_SYSTEM
+ * @param {number} index SolarSystemTargetNumber
+ * @param {number} lon Longitude
+ * @param {number} lat Lattitude
+ * @param {string} targetName
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartGotoSolarSystem(index, lon, lat, targetName) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_SOLAR_SYSTEM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    index: index,
+    lon: lon,
+    lat: lat,
+    targetName: targetName,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.6 Stop GOTO
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_GOTO
+ * @returns {Uint8Array}
+ */
+export function messageAstroStopGoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_GOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.7 Start Sun track & & Moon track
+ * Create Encoded Packet for the command CMD_ASTRO_START_TRACK_SPECIAL_TARGET
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartTrackSpecialTarget(index, lon, lat) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_TRACK_SPECIAL_TARGET;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    index: index,
+    lon: lon,
+    lat: lat,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.8 Stop sun and moon tracking
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET
+ * @returns {Uint8Array}
+ */
+export function messageAstroStopTrackSpecialTarget() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.9 Start stack
+ * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartCaptureRawLiveStacking() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.10 stop stack
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING
+ * @returns {Uint8Array}
+ */
+export function messageAstroStopCaptureRawLiveStacking() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.11 Start Wide stack
+ * Create Encoded Packet for the command CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartWideCaptureLiveStacking() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.12 stop stack
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING
+ * @returns {Uint8Array}
+ */
+export function messageAstroStopWideCaptureLiveStacking() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.13 Inquire about the dark field that has been shot
+ * Create Encoded Packet for the command CMD_ASTRO_CHECK_GOT_DARK
+ * @returns {Uint8Array}
+ */
+export function messageAstroCheckGotDark() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_CHECK_GOT_DARK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.14 Start shooting dark scenes
+ * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK
+ * @param {number} reshoot // Whether to reshoot, 0: No; 1: Remake
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartCaptureRawDark(reshoot) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ reshoot: reshoot });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.4 Take raw pictures
- * @param {string} rightAscension
- * @param {string} declination
- * @param {number} exposureTime
- * @param {number} gain
- * @param {number} binning
- * @param {number} count
- * @param {number} fileFormat
- * @param {string} fileName
- * @returns {Object}
+ * 4.10.15 Stop shooting dark scenes
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK
+ * @returns {Uint8Array}
  */
-export function takeAstroPhoto(
-  rightAscension,
-  declination,
-  exposureTime,
-  gain,
-  binning = binning2x2,
-  count = 1,
-  fileFormat = fileTiff,
-  fileName = `DWARF_RAW_${nowLocalFileName()}`
+export function messageAstroStopCaptureRawDark() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.16 GO LIVE interface
+ * Create Encoded Packet for the command CMD_ASTRO_GO_LIVE
+ * @returns {Uint8Array}
+ */
+export function messageAstroGoLive() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GO_LIVE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.17 One-click GOTO deep space celestial body
+ * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_DSO
+ * @param {number} ra Right Ascension
+ * @param {number} dec Declination
+ * @param {string} target_name
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartOneClickGotoDso(ra, dec, target_name) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_DSO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    ra: ra,
+    dec: dec,
+    targetName: target_name,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.18 One-click GOTO solar system target
+ * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM
+ * @param {number} index SolarSystemTargetNumber
+ * @param {number} lon Longitude
+ * @param {number} lat Lattitude
+ * @param {string} targetName
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartOneClickGotoSolarSystem(
+  index,
+  lon,
+  lat,
+  targetName
 ) {
-  const options = {
-    interface: takeAstroPhotoCmd,
-    camId: telephotoCamera,
-    target: "NULL",
-    RA: rightAscension,
-    DEC: declination,
-    exp: exposureTime,
-    gain: gain,
-    binning: binning,
-    count: count,
-    name: fileName,
-    overlayCount: 1,
-    format: fileFormat,
-  };
-  return options;
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    index: index,
+    lon: lon,
+    lat: lat,
+    targetName: targetName,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.7 Stop taking RAW images
- * @returns {Object}
+ * 4.10.19 Stop one-click GOTO
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_ONE_CLICK_GOTO
+ * @returns {Uint8Array}
  */
-export function stopAstroPhoto() {
-  const options = {
-    interface: stopAstroPhotoCmd,
-  };
-  return options;
+export function messageAstroStopOneClickGoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_ONE_CLICK_GOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.20 Start EQ verification
+ * Create Encoded Packet for the command CMD_ASTRO_START_EQ_SOLVING
+ * @param {number} lon Longitude
+ * @param {number} lat Lattitude
+ * @returns {Uint8Array}
+ */
+export function messageAstroStartEqSolving(lon, lat) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_EQ_SOLVING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    lon: lon,
+    lat: lat,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.9 Switch the RAW preview source
- * @param {number} source
- * @returns {Object}
+ * 4.10.21 Stop EQ verification
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_EQ_SOLVING
+ * @returns {Uint8Array}
  */
-export function updateRawPreviewSource(
-  source = rawPreviewContinousSuperimpose
+export function messageAstroStopEqSolving() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_EQ_SOLVING;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.22 Start shooting the dark field with specified parameters
+ * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM
+ * @param {number} exp_index // Exposure parameter index value
+ * @param {number} gain_index // Gain parameter index value
+ * @param {number} bin_index // Binning parameter index value
+ * @param {number} cap_size // Number of shots
+ * @returns {Uint8Array}
+ */
+export function messageAstroCaptureDarkFrameWithParam(
+  exp_index,
+  gain_index,
+  bin_index,
+  cap_size
 ) {
-  // 0:Continuous superposition graph
-  // 1:Single 15s exposure graph
-  // 2:Single sheet according to exposure time (more than 15s) composite image
-  const options = {
-    interface: setRAWPreviewCmd,
-    camId: telephotoCamera,
-    source,
-  };
-  return options;
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expIndex: exp_index,
+    gainIndex: gain_index,
+    binIndex: bin_index,
+    capSize: cap_size,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
-// BUG: response is {interface: 11003, value: 100, code: 0} when darks already exists
 /**
- * 4.1.10 Taking dark field
- * @param {number} binning
- * @param {number} exposure
- * @param {number} count
- * @param {string} fileName
- * @returns {Object}
+ * 4.10.23 Stop shooting the dark field with specified parameters
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM
+ * @returns {Uint8Array}
  */
-export function takeAstroDarks(
-  binning,
-  exposure,
-  count = 40,
-  fileName = `DWARF_DARK_${nowLocalFileName()}`
+export function messageAstroStopCaptureDarkFrameWithParam() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.24 Query the list of recorded dark scenes
+ * Create Encoded Packet for the command CMD_ASTRO_GET_DARK_FRAME_LIST
+ * @returns {Uint8Array}
+ */
+export function messageAstroGetDarkFrameList() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_DARK_FRAME_LIST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.25 Delete the specified dark field list
+ * Create Encoded Packet for the command CMD_ASTRO_DEL_DARK_FRAME_LIST
+ * @param {number} exp_index // Exposure parameter index value
+ * @param {number} gain_index // Gain parameter index value
+ * @param {number} bin_index // Binning parameter index value
+ * @returns {Uint8Array}
+ */
+export function messageAstroDelDarkFrameList(exp_index, gain_index, bin_index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_DARK_FRAME_LIST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expIndex: exp_index,
+    gainIndex: gain_index,
+    binIndex: bin_index,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.26 Start shooting wide-angle dark field with specified parameters
+ * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM
+ * @param {number} exp_index // Exposure parameter index value
+ * @param {number} gain_index // Gain parameter index value
+ * @param {number} bin_index // Binning parameter index value
+ * @param {number} cap_size // Number of shots
+ * @returns {Uint8Array}
+ */
+export function messageAstroCaptureWideDarkFrameWithParam(
+  exp_index,
+  gain_index,
+  bin_index,
+  cap_size
 ) {
-  const options = {
-    interface: takeAstroDarkFramesCmd,
-    camId: telephotoCamera,
-    count,
-    name: fileName,
-    binning: binning,
-    darkGain: darkGainDefault,
-    darkExposure: exposure,
-  };
-  return options;
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expIndex: exp_index,
+    gainIndex: gain_index,
+    binIndex: bin_index,
+    capSize: cap_size,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.27 Stop shooting the dark field with wide-angle specified parameters
+ * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM
+ * @returns {Uint8Array}
+ */
+export function messageAstroStopCaptureWideDarkFrameWithParam() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.1.11 Query the shot field
- * @param {number} binning
- * @returns {Object}
+ * 4.10.28 Query the list of wide-angle recorded dark scenes
+ * Create Encoded Packet for the command CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST
+ * @returns {Uint8Array}
  */
-export function queryShotField(binning) {
-  const options = {
-    interface: queryShotFieldCmd,
-    camId: telephotoCamera,
-    binning: binning,
-  };
-  return options;
+export function messageAstroGetWideDarkFrameList() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.10.29 Delete the specified wide-angle dark field list
+ * Create Encoded Packet for the command CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST
+ * @param {number} exp_index // Exposure parameter index value
+ * @param {number} gain_index // Gain parameter index value
+ * @param {number} bin_index // Binning parameter index value
+ * @returns {Uint8Array}
+ */
+export function messageAstroDelWideDarkFrameList(
+  exp_index,
+  gain_index,
+  bin_index
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expIndex: exp_index,
+    gainIndex: gain_index,
+    binIndex: bin_index,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
 
@@ -250,7 +757,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/bluetooth.js.html b/docs/bluetooth.js.html new file mode 100644 index 00000000..41d96d75 --- /dev/null +++ b/docs/bluetooth.js.html @@ -0,0 +1,471 @@ + + + + + + bluetooth.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

bluetooth.js

+ + + + + + + +
+
+
/** @module ble */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { cmdMapping, responseMapping } from "./cmd_mapping.js";
+
+/*** -------------------------------------------- ***/
+/*** ---------------- MODULE_BLE ---------------- ***/
+/*** -------------------------------------------- ***/
+/**
+ * Calculates the buffers crc16.
+ *
+ * @param {any} buffer the data buffer.
+ * @return {number} the calculated crc16.
+ *
+ * Source: github.com/yaacov/node-modbus-serial
+ */
+function calculateCRC16(buffer) {
+  var crc = 0xffff;
+  var odd;
+
+  for (var i = 0; i < buffer.length; i++) {
+    crc = crc ^ buffer[i];
+
+    for (var j = 0; j < 8; j++) {
+      odd = crc & 0x0001;
+      crc = crc >> 1;
+      if (odd) {
+        crc = crc ^ 0xa001;
+      }
+    }
+  }
+
+  return crc;
+}
+/**
+ * GetArrayFromHexString
+ * @param {string} data
+ * @returns {array}
+ */
+function getArrayFromHexString(data) {
+  let c = [];
+  while (data.length) {
+    let x = data.substr(0, 2);
+    let z = parseInt(x, 16); // hex string to int
+    z = (z + 0xff + 1) & 0xff; // twos complement
+    c.push(z);
+    data = data.substr(2);
+  }
+  return c;
+}
+/**
+ * getDecimalToHexString
+ * @param {number} number
+ * @returns {string}
+ */
+function getDecimalToHex16bString(number) {
+  let x = number + 0xffff + 1; // twos complement
+  let result = x.toString(16); // to hex
+  result = ("0000" + result).substr(-4);
+  return result;
+}
+/*
+export function testEncode() {
+  let a = [128, -24, 255, 10];
+  alert("Original is " + JSON.stringify(a)); // [3546,-24,99999,3322]
+
+  let b = a
+    .map(function (x) {
+      x = x + 0xff + 1; // twos complement
+      x = x.toString(16); // to hex
+      x = ("00" + x).substr(-2); // zero-pad to 2-digits
+      return x;
+    })
+    .join("");
+  alert("Hex string " + b); // 00000ddaffffffe80001869f00000cfa
+
+  c = [];
+  while (b.length) {
+    var x = b.substr(0, 2);
+    x = parseInt(x, 16); // hex string to int
+    x = (x + 0xff + 1) & 0xff; // twos complement
+    c.push(x);
+    b = b.substr(2);
+  }
+  alert("Converted back: " + JSON.stringify(c)); // [3546,-24,99999,3322]
+}
+*/
+/**
+ * Execute Decoding Received Bluetooth Packet from the Dwarf II
+ * @param {Uint8Array} buffer
+ * @param {Object} classDecode Class of Message depending on the command
+ * @returns {Object}
+ */
+export function decodePacketBle(buffer, classDecode) {
+  // eslint-disable-next-line no-undef
+  // Obtain a message type
+  let decoded = classDecode.decode(buffer);
+  console.log(`decoded data = ${JSON.stringify(decoded)}`);
+  return decoded;
+}
+/**
+ * Generic Create Encoded Bluetooth Packet Function
+ * @param {number} cmd
+ * @param {Object} message
+ * @param {Object} class_message
+ * @returns {Uint8Array}
+ */
+export function createPacketBle(cmd, message, class_message) {
+  let frame_header = 0xaa;
+  let frame_end = 0x0d;
+  let protocol_id = 0x01;
+  let package_id = 0x00;
+  let total_id = 0x01;
+  let reserved1_id = 0x00;
+  let reserved2_id = 0x00;
+  // message
+  let message_buffer = message;
+  message_buffer = class_message.encode(message).finish();
+
+  let buffer = [];
+
+  // payload
+  let payload_init = [
+    frame_header,
+    protocol_id,
+    cmd,
+    package_id,
+    total_id,
+    reserved1_id,
+    reserved2_id,
+  ];
+  console.log(`Packet payload = ${JSON.stringify(payload_init)}`);
+  buffer.push(...payload_init);
+
+  // data lenght
+  let data_length = message_buffer.length;
+  let data_length_hexa = getDecimalToHex16bString(data_length);
+  let data_length_array = getArrayFromHexString(data_length_hexa);
+  console.log(`Data lenght = ${JSON.stringify(data_length_array)}`);
+  buffer.push(...data_length_array);
+
+  // data
+  console.debug(
+    `message_buffer = ${Array.prototype.toString.call(message_buffer)}`
+  );
+  buffer.push(...message_buffer);
+
+  let CRC16 = calculateCRC16(buffer);
+
+  let CRC16_array = getArrayFromHexString(getDecimalToHex16bString(CRC16));
+  buffer.push(...CRC16_array);
+  buffer.push(frame_end);
+
+  console.debug(`buffer = ${Array.prototype.toString.call(buffer)}`);
+  return new Uint8Array(buffer);
+}
+/**
+ * Generic Analysing Encoded Received BLE Packet Function
+ * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer
+ * @returns {string}
+ */
+export function analyzePacketBle(message_buffer, input_data = true) {
+  // Check if binary message_buffer
+  if (
+    message_buffer instanceof Uint8Array ||
+    message_buffer instanceof ArrayBuffer
+  ) {
+    // binary frame
+    console.debug(" -> Binary data .....");
+  } else {
+    // Handle the case where message_buffer is undefined or null
+    return JSON.stringify({ text: "" });
+  }
+  // Get buffer received
+  let data_rcv = new Uint8Array(message_buffer);
+  console.debug(data_rcv);
+  // verify the data : 12 octets minimum
+  if (data_rcv.length < 12) {
+    console.error(
+      `analyzePacketBle error Decoding not enought data received ! nb bytes: ${data_rcv.length}`
+    );
+    return "";
+  }
+  // Obtain a message type
+  let decoded_message = {};
+  let Response_message = {};
+  let data_class = "";
+  // Decoding buffer received
+  let cmd = data_rcv[2];
+  let data_length = data_rcv[7] * 256 + data_rcv[8];
+  let data_buffer = new Uint8Array([]);
+  if (data_length > 0) data_buffer = data_rcv.slice(9, 9 + data_length);
+  console.debug(`receive message cmd = ${cmd}`);
+  console.debug(`receive message data_length = ${data_length}`);
+
+  // Analyze Data : depends of cmd
+  const cmdClass = cmdMapping[cmd];
+  console.debug(`cmdClass: ${cmdClass}`);
+  const responseClass = responseMapping[cmd];
+  console.debug(`responseClass: ${responseClass}`);
+
+  // Automatic Analyse Data
+  // Get Response Class Object
+  if (input_data) {
+    console.debug(`cmdClass: ${cmdClass}`);
+    data_class = "Dwarfii_Api." + cmdClass;
+    Response_message = eval(`new Dwarfii_Api.${cmdClass}()`);
+    Response_message = decodePacketBle(
+      data_buffer,
+      eval(`Dwarfii_Api.${cmdClass}`)
+    );
+    console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`);
+  } else {
+    // Response
+    console.debug(`responseClass: ${responseClass}`);
+    data_class = "Dwarfii_Api." + responseClass;
+    Response_message = eval(`new Dwarfii_Api.${responseClass}()`);
+    Response_message = decodePacketBle(
+      data_buffer,
+      eval(`Dwarfii_Api.${responseClass}`)
+    );
+    console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`);
+  }
+  // replace data value with new keys and also prototype key assigned by default.
+  // escape toJSON property of object
+  decoded_message = Object.assign({}, Response_message);
+  for (let key in Response_message) {
+    if (key !== "toJSON") {
+      decoded_message[key] = Response_message[key];
+    }
+  }
+  console.log(`End Analyze Packet >> ${JSON.stringify(decoded_message)}`);
+
+  return JSON.stringify(decoded_message);
+}
+/**
+ * 3.1.1 Request data
+ * Create Encoded Packet for the command Getconfig
+ * CMD instruction, value is 1
+ * @param {string} ble_psd ; //Default: "DWARF_12345678"
+ * @returns {Uint8Array}
+ */
+export function messageGetconfig(ble_psd) {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 1;
+  const cmdClass = cmdMapping[cmd];
+  // let class_message = eval(`Dwarfii_Api.${cmdClass}`); // error in production!
+  let class_message = Dwarfii_Api.ReqGetconfig;
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+    blePsd: ble_psd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+/**
+ * 3.2 Configure WiFi AP mode
+ * Create Encoded Packet for the command Configure WiFi AP mode
+ * CMD instruction, value is 2
+ * @param {Number} wifi_type ; // 0-5G 1-2.4G
+ * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start
+ * @param {Number} country_list ; // 0- do not configure country_list 1- configure country_list
+ * @param {string} country ; //
+ * @param {string} ble_psd ; //Default: "DWARF_12345678"
+ * @returns {Uint8Array}
+ */
+export function messageWifiAP(
+  wifi_type,
+  auto_start,
+  country_list,
+  country,
+  ble_psd
+) {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 2;
+  const cmdClass = cmdMapping[cmd];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+    wifiType: wifi_type,
+    autoStart: auto_start,
+    countryList: country_list,
+    country: country,
+    blePsd: ble_psd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+/**
+ * 3.3 Configure WiFi STA mode
+ * Create Encoded Packet for the command Configure WiFi AP mode
+ * CMD instruction, value is 2
+ * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start
+ * @param {string} ble_psd ; // Default: "DWARF_12345678"
+ * @param {string} ssid ; //  WiFi name of router to connect
+ * @param {string} psd ; // WiFi password of the router to be connected
+ * @returns {Uint8Array}
+ */
+export function messageWifiSTA(auto_start, ble_psd, ssid, psd) {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 3;
+  const cmdClass = cmdMapping[cmd];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+    autoStart: auto_start,
+    blePsd: ble_psd,
+    ssid: ssid,
+    psd: psd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+/**
+ * 3.4 Reset Bluetooth WiFi
+ * Create Encoded Packet for the command Reset Bluetooth WiFi
+ * CMD instruction, value is 5
+ * @returns {Uint8Array}
+ */
+export function messageResetWifi() {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 5;
+  const cmdClass = cmdMapping[cmd];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+/**
+ * 3.5 Get WiFi list
+ * Create Encoded Packet for the command Get WiFi list
+ * CMD instruction, value is 6
+ * @returns {Uint8Array}
+ */
+export function messageGetWifiList() {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 6;
+  const cmdClass = cmdMapping[cmd];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+/**
+ * 3.6 Obtain device information
+ * Create Encoded Packet for the command Get device information
+ * CMD instruction, value is 7
+ * @returns {Uint8Array}
+ */
+export function messageGetSystemInfo() {
+  // Obtain classname depending of the command
+  // Obtain a message class
+  var cmd = 7;
+  const cmdClass = cmdMapping[cmd];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    cmd: cmd,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacketBle(cmd, message, class_message);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html deleted file mode 100644 index 61f944f3..00000000 --- a/docs/camera_settings.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - camera_settings.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

camera_settings.js

- - - - - - - -
-
-
/** @module camera_settings */
-
-import {
-  telephotoCamera,
-  statusTelephotoCmd,
-  statusWideangleCmd,
-  statusIRTelephotoCmd,
-  statusWorkingStateTelephotoCmd,
-} from "./api_codes.js";
-
-/**
- * 3.4.1 Get telephoto ISP parameters
- * 3.4.4 Returns the wide-angle ISP parameter
- * @param {number} camera
- * @returns {Object}
- */
-export function cameraSettings(camera = telephotoCamera) {
-  let command;
-  if (camera === telephotoCamera) {
-    command = statusTelephotoCmd;
-  } else {
-    command = statusWideangleCmd;
-  }
-  const options = { interface: command, camId: camera };
-  return options;
-}
-
-/**
- * 3.4.2 Get telephoto IRCUT state (when shooting raw)
- * @returns {Object}
- */
-export function iRSettings() {
-  const options = { interface: statusIRTelephotoCmd, camId: telephotoCamera };
-  return options;
-}
-
-/**
- *  3.4.3 Returns to the camera working state
- * @param {number} camera
- * @returns {Object}
- */
-export function cameraWorkingState(camera = telephotoCamera) {
-  if (camera === telephotoCamera) {
-    const options = {
-      interface: statusWorkingStateTelephotoCmd,
-      camId: telephotoCamera,
-    };
-    return options;
-  }
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/camera_tele.js.html b/docs/camera_tele.js.html new file mode 100644 index 00000000..729e8fbe --- /dev/null +++ b/docs/camera_tele.js.html @@ -0,0 +1,1052 @@ + + + + + + camera_tele.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

camera_tele.js

+ + + + + + + +
+
+
/** @module camera_tele */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { binning1x1 } from "./api_codes.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ---------------------------------------------------- ***/
+/*** ---------------- MODULE CAMERA TELE ---------------- ***/
+/*** ---------------------------------------------------- ***/
+/**
+ * 4.7.3 Turn on the camera
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_OPEN_CAMERA
+ * @param {number} binning ; 0 : binning1x1 (default) 1: binning2x2
+ * @param {number} rtsp_encode_type ; 0:H264 (default) 1:H265
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleOpenCamera(
+  binning = binning1x1,
+  rtsp_encode_type = 0
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    binning: binning,
+    rtspEncodeType: rtsp_encode_type,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.4 Turn off the camera
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_CLOSE_CAMERA
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleCloseCamera() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_CLOSE_CAMERA;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.5 Set all camera parameters
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_ALL_PARAMS
+ * @param {number} exp_mode ; // 0: Auto 1: Manual
+ * @param {number} exp_index ;
+ * @param {number} gain_mode ;
+ * @param {number} gain_index ;
+ * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS
+ * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual
+ * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode
+ * @param {number} wb_index ;
+ * @param {number} brightness ;
+ * @param {number} contrast ;
+ * @param {number} hue ;
+ * @param {number} saturation ;
+ * @param {number} sharpness ;
+ * @param {number} jpg_quality ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetAllParams(
+  exp_mode,
+  exp_index,
+  gain_mode,
+  gain_index,
+  ircut_value,
+  wb_mode,
+  wb_index_type,
+  wb_index,
+  brightness,
+  contrast,
+  hue,
+  saturation,
+  sharpness,
+  jpg_quality
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_ALL_PARAMS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expMode: exp_mode,
+    expIndex: exp_index,
+    gainMode: gain_mode,
+    gainIndex: gain_index,
+    ircutValue: ircut_value,
+    wbMode: wb_mode,
+    wbIndexType: wb_index_type,
+    wbIndex: wb_index,
+    brightness: brightness,
+    contrast: contrast,
+    hue: hue,
+    saturation: saturation,
+    sharpness: sharpness,
+    jpgQuality: jpg_quality,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.6 Get all camera parameters
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_PARAMS
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetAllParams() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_PARAMS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.7 Set feature parameters
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_FEATURE_PARAM
+ * @param {boolean} has_auto
+ * @param {number} auto_mode
+ * @param {number} id
+ * @param {number} mode_index
+ * @param {number} index
+ * @param {number} continue_value
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetFeatureParams(
+  has_auto,
+  auto_mode,
+  id,
+  mode_index,
+  index,
+  continue_value
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_FEATURE_PARAM;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let param = Dwarfii_Api.CommonParam.create({
+    hasAuto: has_auto,
+    autoMode: auto_mode,
+    id: id,
+    modeIndex: mode_index,
+    index: index,
+    continueValue: continue_value,
+  });
+  let message = class_message.create({
+    param: param,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.8 Get all feature parameters
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetAllFeatureParams() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.9 Get the working status of the whole machine
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetSystemWorkingState() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.10 Take photos
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTOGRAPH
+ * @returns {Uint8Array}
+ */
+export function messageCameraTelePhotograph() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTOGRAPH;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.11 Start continuous shooting
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_BURST
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStartBurst() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_BURST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.12 Stop continuous shooting
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_BURST
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStopBurst() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_BURST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.13 Start recording
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_START_RECORD
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStartRecord() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_RECORD;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.14 Stop recording
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_RECORD
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStopRecord() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_RECORD;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.15 Start time-lapse photography
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStartTimeLapsePhoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.16 Stop time-lapse photography
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleStopTimeLapsePhoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.17 Set exposure mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetExpMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.18 Acquire exposure mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP_MODE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetExpMode() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.19 Set exposure value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP
+ * @param {number} index  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetExp(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.20 Get exposure value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetExp() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.21 Set gain mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetGainMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.22 Acquisition gain mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN_MODE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetGainMode() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.23 Set gain value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN
+ * @param {number} index  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetGain(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.24 Get gain value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetGain() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.25 Set IRCUT
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_IRCUT
+ * @param {number} value  ; //IRCUT value 0: CUT 1: PASS
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetIRCut(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_IRCUT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.26 Get IRCUT status
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_IRCUT
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetIRCut() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_IRCUT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.27 Set white balance mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetWBMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.28 Acquire white balance mode
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_MODE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetWBMode() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.29 Set white balance scene
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_SCENE
+ * @param {number} value ; // See whiteBalanceScenesIDValue
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetWBScene(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_SCENE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.30 Get white balance scene
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_SCENE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetWBScene() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_SCENE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.31 Set the white balance color temperature value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_CT
+ * @param {number} index  ; // See whiteBalanceScenesIDValue
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetWBColorTemp(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_CT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.32 Obtain the white balance color temperature value
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_CT
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetWBColorTemp() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_CT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.33 Set brightness
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_BRIGHTNESS
+ * @param {number} value  ; B = (A + 100) * 255.0 / 200
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetBrightness(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_BRIGHTNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.34 Acquire brightness
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_BRIGHTNESS
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetBrightness() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_BRIGHTNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.35 Set contrast
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_CONTRAST
+ * UI value (A) -100  100  0 (Default)
+ * @param {number} value  ; B = (A + 100) * 255.0 / 200
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetContrast(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_CONTRAST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.36 Get contrast
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_CONTRAST
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetContrast() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_CONTRAST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.37 Set saturation
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SATURATION
+ * UI value (A) -100  100  0 (Default)
+ * @param {number} value  ; B = (A + 100) * 255.0 / 200
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetSaturation(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SATURATION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.38 Acquire saturation
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SATURATION
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetSaturation() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SATURATION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.39 Set tone
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_HUE
+ * UI value (A) -180  180  0 (Default)
+ * @param {number} value  ; B =(A + 180) * 255.0 / 360
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetHue(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_HUE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.40 Get hue
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_HUE
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetHue() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_HUE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.41 Set sharpness
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SHARPNESS
+ * UI value (A) 0  100  50 (Default)
+ * @param {number} value  ; B = A
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetSharpness(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SHARPNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.42 Acquire sharpness
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SHARPNESS
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleGetSharpness() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SHARPNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.43 Set jpg preview quality
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_JPG_QUALITY
+ * @param {number} quality  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetJPGQuality(quality) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ quality: quality });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.44 Shoot RAW image
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTO_RAW
+ * @returns {Uint8Array}
+ */
+export function messageCameraTelePhotoRaw() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTO_RAW;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.7.45 Set rtsp preview bit rate type
+ * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE
+ * @param {number} bitrate_type ; 0:H264 1:H265
+ * @returns {Uint8Array}
+ */
+export function messageCameraTeleSetRTSPPreviewBitsRate(bitrate_type) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ bitrateType: bitrate_type });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/camera_wide.js.html b/docs/camera_wide.js.html new file mode 100644 index 00000000..44e00734 --- /dev/null +++ b/docs/camera_wide.js.html @@ -0,0 +1,679 @@ + + + + + + camera_wide.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

camera_wide.js

+ + + + + + + +
+
+
/** @module camera_wide */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { binning2x2 } from "./api_codes.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ---------------------------------------------------- ***/
+/*** ---------------- MODULE CAMERA WIDE ---------------- ***/
+/*** ---------------------------------------------------- ***/
+/**
+ * 4.9.3 Turn on the camera
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideOpenCamera() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ binning: binning2x2 });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.4 Turn off the camera
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideCloseCamera() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_CLOSE_CAMERA;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.5 Take photos
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH
+ * @returns {Uint8Array}
+ */
+export function messageCameraWidePhotograph() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_PHOTOGRAPH;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.6 Start recording
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStartRecord() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_RECORD;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.7 Stop recording
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStopRecord() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_RECORD;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.8 Start continuous shooting
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStartBurst() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_BURST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.9 Stop continuous shooting
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStopBurst() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_BURST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.10 Get all parameters
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideGetAllParams() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_ALL_PARAMS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.11 Set exposure mode
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetExpMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.12 Acquire exposure mode
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideGetExpMode() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.13 Set exposure value
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP
+ * @param {number} index  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetExp(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.14 Get exposure value
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideGetExp() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.15 Set gain mode
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetGainMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.16 Acquisition gain mode
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideGetGainMode() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.17 Set gain value
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN
+ * @param {number} index  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetGain(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.18 Get gain value
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideGetGain() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.19 Set white balance mode
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE
+ * @param {number} mode ; //0: Auto 1: Manual  ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetWBMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.20 Set the white balance color temperature value
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT
+ * @param {number} index ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetWBColorTemp(index) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_CT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ index: index });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.21 Set brightness
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS
+ * UI value (A) -100  100  0 (Default)
+ * @param {number} value  ; B = A * 64.0 / 10
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetBrightness(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_BRIGHTNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.22 Set contrast
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST
+ * UI value (A) -100  100  0 (Default)
+ * @param {number} value  ; B = (A + 100) * 95.0 / 200
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetContrast(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_CONTRAST;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.23 Set saturation
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION
+ * UI value (A) -100  100  60 (Default)
+ * @param {number} value  ; B =(A + 100) * 100.0 / 200
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetSaturation(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SATURATION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.24 Set tone
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE
+ * UI value (A) -180  180  0 (Default)
+ * @param {number} value  ; B = A * 2000.0 / 180
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetHue(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_HUE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.25 Set sharpness
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS
+ * UI value (A) 0  100  17 (Default)
+ * @param {number} value  ; B = A * 6.0 / 100 + 1
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetSharpness(value) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SHARPNESS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ value: value });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.26 Start time-lapse photography
+ * Not documented
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStartTimeLapsePhoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.27 Stop time-lapse photography
+ * Not documented
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideStopTimeLapsePhoto() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.9.28 Set all camera parameters
+ * Not documented
+ * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS
+ * @param {number} exp_mode ; // 0: Auto 1: Manual
+ * @param {number} exp_index ;
+ * @param {number} gain_mode ;
+ * @param {number} gain_index ;
+ * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS
+ * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual
+ * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode
+ * @param {number} wb_index ;
+ * @param {number} brightness ;
+ * @param {number} contrast ;
+ * @param {number} hue ;
+ * @param {number} saturation ;
+ * @param {number} sharpness ;
+ * @param {number} jpg_quality ;
+ * @returns {Uint8Array}
+ */
+export function messageCameraWideSetAllParams(
+  exp_mode,
+  exp_index,
+  gain_mode,
+  gain_index,
+  ircut_value,
+  wb_mode,
+  wb_index_type,
+  wb_index,
+  brightness,
+  contrast,
+  hue,
+  saturation,
+  sharpness,
+  jpg_quality
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_ALL_PARAMS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    expMode: exp_mode,
+    expIndex: exp_index,
+    gainMode: gain_mode,
+    gainIndex: gain_index,
+    ircutValue: ircut_value,
+    wbMode: wb_mode,
+    wbIndex_type: wb_index_type,
+    wbIndex: wb_index,
+    brightness: brightness,
+    contrast: contrast,
+    hue: hue,
+    saturation: saturation,
+    sharpness: sharpness,
+    jpgQuality: jpg_quality,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/focus.js.html b/docs/focus.js.html new file mode 100644 index 00000000..78a9cb2a --- /dev/null +++ b/docs/focus.js.html @@ -0,0 +1,222 @@ + + + + + + focus.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

focus.js

+ + + + + + + +
+
+
/** @module focus */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ---------------------------------------------- ***/
+/*** ---------------- MODULE_FOCUS ---------------- ***/
+/*** ---------------------------------------------- ***/
+/**
+ * 3.8.3 Normal autofocus
+ * Create Encoded Packet for the command CMD_FOCUS_AUTO_FOCUS
+ * @param {number} mode ; //0: global focus 1: area focus
+ * @param {number} center_x ; //Area focus x coordinates
+ * @param {number} center_y ; //Area focus y coordinates
+ * @returns {Uint8Array}
+ */
+export function messageFocusAutoFocus(mode, center_x, center_y) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_AUTO_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    mode: mode,
+    centerX: center_x,
+    centerY: center_y,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * Create Encoded Packet for the command CMD_FOCUS_START_ASTRO_AUTO_FOCUS
+ * 3.8.4 Start astronomical autofocus
+ * @param {number} mode ; 0: slow focus; 1: fast focus
+ * @returns {Uint8Array}
+ */
+export function messageFocusStartAstroAutoFocus(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_ASTRO_AUTO_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.8.5 Stop astronomical autofocus
+ * Create Encoded Packet for the command CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS
+ * @returns {Uint8Array}
+ */
+export function messageFocusStopAstroAutoFocus() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.8.6 Manual single-step focusing
+ * Create Encoded Packet for the command CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS
+ * @param {number} direction //Focus direction 0: far focus 1: near focus ;
+ * @returns {Uint8Array}
+ */
+export function messageFocusManualSingleStepFocus(direction) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ direction: direction });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.8.7 Start manual continuous focus
+ * Create Encoded Packet for the command CMD_FOCUS_START_MANUAL_CONTINU_FOCUS
+ * @param {number} direction //Focus direction 0: far focus 1: near focus ;
+ * @returns {Uint8Array}
+ */
+export function messageFocusStartManualContinuFocus(direction) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_MANUAL_CONTINU_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ direction: direction });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.8.8 Stop manual continuous focus
+ * Create Encoded Packet for the command CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS
+ * @returns {Uint8Array}
+ */
+export function messageFocusStopManualContinuFocus(binning = false) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html deleted file mode 100644 index 99dd1697..00000000 --- a/docs/image_transmission.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - image_transmission.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

image_transmission.js

- - - - - - - -
-
-
/** @module image_transmission */
-
-import {
-  telephotoCamera,
-  binning2x2,
-  turnOnCameraCmd,
-  turnOffCameraCmd,
-  previewImageQuality,
-} from "./api_codes.js";
-
-/**
- * 3.1.1 Turn on the camera
- * @param {number} binning
- * @param {number} camera
- * @returns {Object}
- */
-export function turnOnCamera(binning = binning2x2, camera = telephotoCamera) {
-  const options = {
-    interface: turnOnCameraCmd,
-    camId: camera,
-    binning: binning,
-  };
-  return options;
-}
-
-/**
- * 3.1.2 Turn off the camera
- * @param {number} camera
- * @returns {Object}
- */
-export function turnOffCamera(camera = telephotoCamera) {
-  const options = { interface: turnOffCameraCmd, camId: camera };
-  return options;
-}
-
-/**
- * 3.1.4 Set preview image quality
- * @param {number} previewQuality
- * @returns {Object}
- */
-export function setPreviewImageQuality(previewQuality) {
-  // previewQuality value: 30-85
-  const options = {
-    interface: previewImageQuality,
-    value: previewQuality,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html index 0ad42e96..640b6d1f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -63,74 +63,95 @@

Dwarf II

-

Wrapper functions for Dwarf II (aka Dwarf 2) API V1. This library and the API are a work in progress.

-

Dwarf Lab's API V1 documentation.

-

Documentation for this package.

+

Wrapper functions for Dwarf II (aka Dwarf 2) API V2.

+

Dwarf Lab's API V2 documentation.

+

Documentation for this package.

Install

npm install dwarfii_api
 
+

Install for Javascript

+

Using this library in pure javascript is possible. +Use the dist_js repertory and follow the instructions in the file index.html

Usage

-

The Dwarf API uses websockets. The URL of the websockets depends on if you use Dwarf wifi or if you use the Dwarf in STA mode.

-

Example of sending a Goto command using the Dwarf wifi.

-
import { startGoto, wsURL, DwarfIP, socketSend } from "dwarfii_api";
-
-const socket = new WebSocket(wsURL(DwarfIP));
-socket.addEventListener("open", () => {
-  let planet = null;
-  let RA = 10.6;
-  let dec = 41.2;
-  let lat = 40.0;
-  let lon = 90.0;
-  let options = startGoto(planet, RA, dec, lat, lon);
-  socketSend(socket, options);
-});
-
-socket.addEventListener("message", (event) => {
-  let message = JSON.parse(event.data);
-  console.log(message);
-});
-
-socket.addEventListener("error", (message) => {
-  console.log("error:", message);
-});
-
-

Example of sending a take astro photos command using the Dwarf in STA mode. You need to provide the IP of your Dwarf II.

-
import {
-  wsURL,
-  socketSend,
-  binning2x2,
-  takeAstroPhoto,
-  fileFits,
-} from "dwarfii_api";
-
-let myIP = "192.123.45.6";
-const socket = new WebSocket(wsURL(myIP));
-socket.addEventListener("open", () => {
-  let RA = 10.6;
-  let dec = 41.2;
-  let exposure = 10;
-  let gain = 60;
-  let count = 100;
-  let options = takeAstroPhoto(
-    RA,
-    dec,
-    exposure,
-    gain,
-    binning2x2,
-    count,
-    fileFits
-  );
-  socketSend(socket, options);
-});
-
-socket.addEventListener("message", (event) => {
-  let message = JSON.parse(event.data);
-  console.log(message);
-});
-
-socket.addEventListener("error", (message) => {
-  console.log("error:", message);
-});
+

The Dwarf API uses websockets with binary protobuf format.

+

The URL of the websockets depends on if you use Dwarf wifi or if you use the Dwarf in STA mode.

+

Example of sending a Goto command.

+
import { messageAstroStartGotoDso, WebSocketHandler } from "dwarfii_api";
+
+// Create WebSocketHandler if need
+const webSocketHandler = new WebSocketHandler(IPDwarf);
+
+// define a customMessageHandler to handle the message in return send by the API
+let goto_end_status = false;
+
+const customMessageHandler = (txt_info, result_data) => {
+  if ( result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO ) {
+    if (result_data.data.code != Dwarfii_Api.DwarfErrorCode.OK) {
+      console.error("Error GOTO : " + result_data.data.errorTxt);
+      if (
+        result_data.data.code ==
+          Dwarfii_Api.DwarfErrorCode.CODE_ASTRO_GOTO_FAILED ||
+        result_data.data.code ==
+          Dwarfii_Api.DwarfErrorCode.CODE_ASTRO_FUNCTION_BUSY
+      )
+        goto_end_status = true;
+    }
+  } else if (
+    !goto_end_status &&
+    result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_GOTO
+  ) {
+      console.log(result_data.data.stateText);
+    }
+  } else if (
+    !goto_end_status &&
+    result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_TRACKING
+  ) {
+    if (
+      result_data.data.state ==
+        Dwarfii_Api.OperationState.OPERATION_STATE_RUNNING &&
+      result_data.data.targetName == targetName
+    ) {
+        goto_end_status = true;
+        console.info("Start Tracking");
+      }
+  } else {
+    // other frame result
+    console.log(txt_info + ": " + result_data);
+    return;
+  }
+  // log frame result
+  console.log(txt_info + ": " + result_data);
+};
+
+
+let txtInfoCommand = "Start Goto";
+
+// create a packet message for the command, you can send a tabs of Packets also
+let WS_Packet = messageAstroStartGotoDso(
+  RA_number,
+  declination_number,
+  targetName
+);
+
+// prepre the messages to send
+webSocketHandler.prepare(
+  WS_Packet,
+  txtInfoCommand,
+  // Tab of commands to listen to, can be "*" for getting All received Data
+  // the others are not sending back to customMessageHandler
+  [
+    Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO,
+    Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_GOTO,
+    Dwarfii_Api.DwarfCMD.CMD_NOTIFY_STATE_ASTRO_TRACKING,
+  ],
+  customMessageHandler
+);
+// start sending and receiving
+if (!webSocketHandler.run()) {
+  console.error(" Can't launch Web Socket Run Action!");
+}
+
+
 
@@ -146,7 +167,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/module-AstroState-IReqStartPanoramaByEulerRange.html b/docs/module-AstroState-IReqStartPanoramaByEulerRange.html new file mode 100644 index 00000000..d6671cb4 --- /dev/null +++ b/docs/module-AstroState-IReqStartPanoramaByEulerRange.html @@ -0,0 +1,271 @@ + + + + + + IReqStartPanoramaByEulerRange - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartPanoramaByEulerRange

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IReqStartPanoramaByEulerRange + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartPanoramaByEulerRange.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
yawRange + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByEulerRange yawRange
pitchRange + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByEulerRange pitchRange
+ + + + + + +
Properties of a ReqStartPanoramaByEulerRange.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IReqStartPanoramaByGrid.html b/docs/module-AstroState-IReqStartPanoramaByGrid.html new file mode 100644 index 00000000..ed8c2405 --- /dev/null +++ b/docs/module-AstroState-IReqStartPanoramaByGrid.html @@ -0,0 +1,271 @@ + + + + + + IReqStartPanoramaByGrid - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartPanoramaByGrid

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IReqStartPanoramaByGrid + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartPanoramaByGrid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
rows + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByGrid rows
cols + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByGrid cols
+ + + + + + +
Properties of a ReqStartPanoramaByGrid.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IReqStopPanorama.html b/docs/module-AstroState-IReqStopPanorama.html new file mode 100644 index 00000000..eceae582 --- /dev/null +++ b/docs/module-AstroState-IReqStopPanorama.html @@ -0,0 +1,170 @@ + + + + + + IReqStopPanorama - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopPanorama

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IReqStopPanorama + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopPanorama.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopPanorama.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyBurstProgress.html b/docs/module-AstroState-IResNotifyBurstProgress.html new file mode 100644 index 00000000..35c9056e --- /dev/null +++ b/docs/module-AstroState-IResNotifyBurstProgress.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyBurstProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyBurstProgress

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyBurstProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyBurstProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyBurstProgress totalCount
completedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyBurstProgress completedCount
+ + + + + + +
Properties of a ResNotifyBurstProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyCPUMode.html b/docs/module-AstroState-IResNotifyCPUMode.html new file mode 100644 index 00000000..7c4a9f20 --- /dev/null +++ b/docs/module-AstroState-IResNotifyCPUMode.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyCPUMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyCPUMode

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyCPUMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyCPUMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCPUMode mode
+ + + + + + +
Properties of a ResNotifyCPUMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyCamFunctionState.html b/docs/module-AstroState-IResNotifyCamFunctionState.html new file mode 100644 index 00000000..04068748 --- /dev/null +++ b/docs/module-AstroState-IResNotifyCamFunctionState.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyCamFunctionState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyCamFunctionState

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyCamFunctionState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyCamFunctionState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCamFunctionState state
functionId + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCamFunctionState functionId
+ + + + + + +
Properties of a ResNotifyCamFunctionState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyHostSlaveMode.html b/docs/module-AstroState-IResNotifyHostSlaveMode.html new file mode 100644 index 00000000..fa71b25e --- /dev/null +++ b/docs/module-AstroState-IResNotifyHostSlaveMode.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyHostSlaveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyHostSlaveMode

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyHostSlaveMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyHostSlaveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyHostSlaveMode mode
+ + + + + + +
Properties of a ResNotifyHostSlaveMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyMTPState.html b/docs/module-AstroState-IResNotifyMTPState.html new file mode 100644 index 00000000..d7af79a2 --- /dev/null +++ b/docs/module-AstroState-IResNotifyMTPState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyMTPState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyMTPState

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyMTPState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyMTPState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyMTPState mode
+ + + + + + +
Properties of a ResNotifyMTPState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyNewMediaCreated.html b/docs/module-AstroState-IResNotifyNewMediaCreated.html new file mode 100644 index 00000000..022fc3a4 --- /dev/null +++ b/docs/module-AstroState-IResNotifyNewMediaCreated.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyNewMediaCreated - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyNewMediaCreated

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyNewMediaCreated + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyNewMediaCreated.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mediaType + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyNewMediaCreated mediaType
+ + + + + + +
Properties of a ResNotifyNewMediaCreated.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyOperationState.html b/docs/module-AstroState-IResNotifyOperationState.html new file mode 100644 index 00000000..056e624d --- /dev/null +++ b/docs/module-AstroState-IResNotifyOperationState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyOperationState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyOperationState

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyOperationState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyOperationState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyOperationState state
+ + + + + + +
Properties of a ResNotifyOperationState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyPanoramaProgress.html b/docs/module-AstroState-IResNotifyPanoramaProgress.html new file mode 100644 index 00000000..db745cc0 --- /dev/null +++ b/docs/module-AstroState-IResNotifyPanoramaProgress.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyPanoramaProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPanoramaProgress

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyPanoramaProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPanoramaProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaProgress totalCount
completedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaProgress completedCount
+ + + + + + +
Properties of a ResNotifyPanoramaProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyParam.html b/docs/module-AstroState-IResNotifyParam.html new file mode 100644 index 00000000..1e3fb628 --- /dev/null +++ b/docs/module-AstroState-IResNotifyParam.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyParam

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
param + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResNotifyParam param
+ + + + + + +
Properties of a ResNotifyParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyPictureMatching.html b/docs/module-AstroState-IResNotifyPictureMatching.html new file mode 100644 index 00000000..2abbdd8c --- /dev/null +++ b/docs/module-AstroState-IResNotifyPictureMatching.html @@ -0,0 +1,411 @@ + + + + + + IResNotifyPictureMatching - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPictureMatching

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyPictureMatching + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPictureMatching.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching y
width + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching width
height + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching height
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching value
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching code
+ + + + + + +
Properties of a ResNotifyPictureMatching.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyPowerIndState.html b/docs/module-AstroState-IResNotifyPowerIndState.html new file mode 100644 index 00000000..234bcbec --- /dev/null +++ b/docs/module-AstroState-IResNotifyPowerIndState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyPowerIndState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPowerIndState

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyPowerIndState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPowerIndState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPowerIndState state
+ + + + + + +
Properties of a ResNotifyPowerIndState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyPowerOff.html b/docs/module-AstroState-IResNotifyPowerOff.html new file mode 100644 index 00000000..054695ee --- /dev/null +++ b/docs/module-AstroState-IResNotifyPowerOff.html @@ -0,0 +1,170 @@ + + + + + + IResNotifyPowerOff - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPowerOff

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyPowerOff + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPowerOff.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ResNotifyPowerOff.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyProgressCaptureRawDark.html b/docs/module-AstroState-IResNotifyProgressCaptureRawDark.html new file mode 100644 index 00000000..f920428c --- /dev/null +++ b/docs/module-AstroState-IResNotifyProgressCaptureRawDark.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyProgressCaptureRawDark - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyProgressCaptureRawDark

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyProgressCaptureRawDark + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyProgressCaptureRawDark.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
progress + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawDark progress
remainingTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawDark remainingTime
+ + + + + + +
Properties of a ResNotifyProgressCaptureRawDark.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyProgressCaptureRawLiveStacking.html b/docs/module-AstroState-IResNotifyProgressCaptureRawLiveStacking.html new file mode 100644 index 00000000..ebd7e55f --- /dev/null +++ b/docs/module-AstroState-IResNotifyProgressCaptureRawLiveStacking.html @@ -0,0 +1,446 @@ + + + + + + IResNotifyProgressCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyProgressCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyProgressCaptureRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyProgressCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking totalCount
updateCountType + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking updateCountType
currentCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking currentCount
stackedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking stackedCount
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking gainIndex
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking targetName
+ + + + + + +
Properties of a ResNotifyProgressCaptureRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyRecordTime.html b/docs/module-AstroState-IResNotifyRecordTime.html new file mode 100644 index 00000000..fd7932b3 --- /dev/null +++ b/docs/module-AstroState-IResNotifyRecordTime.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyRecordTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyRecordTime

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyRecordTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyRecordTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
recordTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyRecordTime recordTime
+ + + + + + +
Properties of a ResNotifyRecordTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyRgbState.html b/docs/module-AstroState-IResNotifyRgbState.html new file mode 100644 index 00000000..506f52eb --- /dev/null +++ b/docs/module-AstroState-IResNotifyRgbState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyRgbState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyRgbState

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyRgbState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyRgbState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyRgbState state
+ + + + + + +
Properties of a ResNotifyRgbState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifySDcardInfo.html b/docs/module-AstroState-IResNotifySDcardInfo.html new file mode 100644 index 00000000..65757595 --- /dev/null +++ b/docs/module-AstroState-IResNotifySDcardInfo.html @@ -0,0 +1,306 @@ + + + + + + IResNotifySDcardInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifySDcardInfo

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifySDcardInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifySDcardInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
availableSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo availableSize
totalSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo totalSize
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo code
+ + + + + + +
Properties of a ResNotifySDcardInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyStateAstroCalibration.html b/docs/module-AstroState-IResNotifyStateAstroCalibration.html new file mode 100644 index 00000000..010e055c --- /dev/null +++ b/docs/module-AstroState-IResNotifyStateAstroCalibration.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyStateAstroCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroCalibration

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyStateAstroCalibration + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +AstroState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroCalibration state
plateSolvingTimes + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroCalibration plateSolvingTimes
+ + + + + + +
Properties of a ResNotifyStateAstroCalibration.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyStateAstroGoto.html b/docs/module-AstroState-IResNotifyStateAstroGoto.html new file mode 100644 index 00000000..5a975aeb --- /dev/null +++ b/docs/module-AstroState-IResNotifyStateAstroGoto.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyStateAstroGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroGoto

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyStateAstroGoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +AstroState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroGoto state
+ + + + + + +
Properties of a ResNotifyStateAstroGoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyStateAstroTracking.html b/docs/module-AstroState-IResNotifyStateAstroTracking.html new file mode 100644 index 00000000..e37025f5 --- /dev/null +++ b/docs/module-AstroState-IResNotifyStateAstroTracking.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyStateAstroTracking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroTracking

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyStateAstroTracking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroTracking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTracking state
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTracking targetName
+ + + + + + +
Properties of a ResNotifyStateAstroTracking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyStateAstroTrackingSpecial.html b/docs/module-AstroState-IResNotifyStateAstroTrackingSpecial.html new file mode 100644 index 00000000..94cc133c --- /dev/null +++ b/docs/module-AstroState-IResNotifyStateAstroTrackingSpecial.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyStateAstroTrackingSpecial - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroTrackingSpecial

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyStateAstroTrackingSpecial + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroTrackingSpecial.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial state
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial targetName
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial index
+ + + + + + +
Properties of a ResNotifyStateAstroTrackingSpecial.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyTimeLapseOutTime.html b/docs/module-AstroState-IResNotifyTimeLapseOutTime.html new file mode 100644 index 00000000..5ac6d2ea --- /dev/null +++ b/docs/module-AstroState-IResNotifyTimeLapseOutTime.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyTimeLapseOutTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyTimeLapseOutTime

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyTimeLapseOutTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyTimeLapseOutTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
interval + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime interval
outTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime outTime
totalTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime totalTime
+ + + + + + +
Properties of a ResNotifyTimeLapseOutTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState-IResNotifyTrackResult.html b/docs/module-AstroState-IResNotifyTrackResult.html new file mode 100644 index 00000000..ea033f93 --- /dev/null +++ b/docs/module-AstroState-IResNotifyTrackResult.html @@ -0,0 +1,341 @@ + + + + + + IResNotifyTrackResult - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyTrackResult

+ + + + + + + +
+ +
+ +

+ AstroState~ + + + IResNotifyTrackResult + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyTrackResult.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult y
w + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult w
h + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult h
+ + + + + + +
Properties of a ResNotifyTrackResult.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroState.html b/docs/module-AstroState.html new file mode 100644 index 00000000..5bbd839f --- /dev/null +++ b/docs/module-AstroState.html @@ -0,0 +1,310 @@ + + + + + + AstroState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

AstroState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • AstroState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ASTRO_STATE_IDLE + + +number + + + + + ASTRO_STATE_IDLE value
ASTRO_STATE_RUNNING + + +number + + + + + ASTRO_STATE_RUNNING value
ASTRO_STATE_STOPPING + + +number + + + + + ASTRO_STATE_STOPPING value
ASTRO_STATE_STOPPED + + +number + + + + + ASTRO_STATE_STOPPED value
ASTRO_STATE_PLATE_SOLVING + + +number + + + + + ASTRO_STATE_PLATE_SOLVING value
+ + + + + + +
AstroState enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-AstroTrackingSpecial.html b/docs/module-AstroTrackingSpecial.html new file mode 100644 index 00000000..692220d0 --- /dev/null +++ b/docs/module-AstroTrackingSpecial.html @@ -0,0 +1,238 @@ + + + + + + AstroTrackingSpecial - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

AstroTrackingSpecial

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • AstroTrackingSpecial enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
TRACKING_SUN + + +number + + + + + TRACKING_SUN value
TRACKING_MOON + + +number + + + + + TRACKING_MOON value
+ + + + + + +
AstroTrackingSpecial enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqAp.html b/docs/module-DwarfBleErrorCode-IReqAp.html new file mode 100644 index 00000000..c51a719b --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqAp.html @@ -0,0 +1,411 @@ + + + + + + IReqAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqAp

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqAp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp cmd
wifiType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp wifiType
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp autoStart
countryList + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp countryList
country + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqAp country
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqAp blePsd
+ + + + + + +
Properties of a ReqAp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqAstroAutoFocus.html b/docs/module-DwarfBleErrorCode-IReqAstroAutoFocus.html new file mode 100644 index 00000000..02483124 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqAstroAutoFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqAstroAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAstroAutoFocus mode
+ + + + + + +
Properties of a ReqAstroAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqBurstPhoto.html b/docs/module-DwarfBleErrorCode-IReqBurstPhoto.html new file mode 100644 index 00000000..27919961 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqBurstPhoto.html @@ -0,0 +1,236 @@ + + + + + + IReqBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqBurstPhoto

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqBurstPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
count + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqBurstPhoto count
+ + + + + + +
Properties of a ReqBurstPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqCheckFile.html b/docs/module-DwarfBleErrorCode-IReqCheckFile.html new file mode 100644 index 00000000..7c4940a7 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqCheckFile.html @@ -0,0 +1,306 @@ + + + + + + IReqCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCheckFile

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqCheckFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile cmd
filePath + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile filePath
md5 + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile md5
+ + + + + + +
Properties of a ReqCheckFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqCloseCamera.html b/docs/module-DwarfBleErrorCode-IReqCloseCamera.html new file mode 100644 index 00000000..5ad8c205 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqCloseCamera.html @@ -0,0 +1,170 @@ + + + + + + IReqCloseCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCloseCamera

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqCloseCamera + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCloseCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCloseCamera.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqDisableAllIspProcessing.html b/docs/module-DwarfBleErrorCode-IReqDisableAllIspProcessing.html new file mode 100644 index 00000000..a75708c2 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqDisableAllIspProcessing.html @@ -0,0 +1,170 @@ + + + + + + IReqDisableAllIspProcessing - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDisableAllIspProcessing

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqDisableAllIspProcessing + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDisableAllIspProcessing.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqDisableAllIspProcessing.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqDualCameraLinkage.html b/docs/module-DwarfBleErrorCode-IReqDualCameraLinkage.html new file mode 100644 index 00000000..0055f681 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqDualCameraLinkage.html @@ -0,0 +1,271 @@ + + + + + + IReqDualCameraLinkage - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDualCameraLinkage

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqDualCameraLinkage + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDualCameraLinkage.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDualCameraLinkage x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDualCameraLinkage y
+ + + + + + +
Properties of a ReqDualCameraLinkage.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqEnableAllIspProcessing.html b/docs/module-DwarfBleErrorCode-IReqEnableAllIspProcessing.html new file mode 100644 index 00000000..163180e9 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqEnableAllIspProcessing.html @@ -0,0 +1,170 @@ + + + + + + IReqEnableAllIspProcessing - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqEnableAllIspProcessing

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqEnableAllIspProcessing + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqEnableAllIspProcessing.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqEnableAllIspProcessing.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetAllFeatureParams.html b/docs/module-DwarfBleErrorCode-IReqGetAllFeatureParams.html new file mode 100644 index 00000000..700ed18b --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetAllFeatureParams.html @@ -0,0 +1,170 @@ + + + + + + IReqGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetAllFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetAllFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetAllParams.html b/docs/module-DwarfBleErrorCode-IReqGetAllParams.html new file mode 100644 index 00000000..91e6fe67 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetAllParams.html @@ -0,0 +1,170 @@ + + + + + + IReqGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetAllParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetBrightness.html b/docs/module-DwarfBleErrorCode-IReqGetBrightness.html new file mode 100644 index 00000000..412fc2f9 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetBrightness.html @@ -0,0 +1,170 @@ + + + + + + IReqGetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetBrightness

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetBrightness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetBrightness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetContrast.html b/docs/module-DwarfBleErrorCode-IReqGetContrast.html new file mode 100644 index 00000000..4df73e8e --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetContrast.html @@ -0,0 +1,170 @@ + + + + + + IReqGetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetContrast

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetContrast + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetContrast.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetExp.html b/docs/module-DwarfBleErrorCode-IReqGetExp.html new file mode 100644 index 00000000..70cb2aa2 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetExp.html @@ -0,0 +1,170 @@ + + + + + + IReqGetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetExp

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetExp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetExp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetExpMode.html b/docs/module-DwarfBleErrorCode-IReqGetExpMode.html new file mode 100644 index 00000000..d78740ce --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetExpMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetExpMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetExpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetExpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetGain.html b/docs/module-DwarfBleErrorCode-IReqGetGain.html new file mode 100644 index 00000000..cf7f3475 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetGain.html @@ -0,0 +1,170 @@ + + + + + + IReqGetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetGain

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetGain + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetGain.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetGainMode.html b/docs/module-DwarfBleErrorCode-IReqGetGainMode.html new file mode 100644 index 00000000..c49119f3 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetGainMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetGainMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetGainMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetGainMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetHue.html b/docs/module-DwarfBleErrorCode-IReqGetHue.html new file mode 100644 index 00000000..1c2c2382 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetHue.html @@ -0,0 +1,170 @@ + + + + + + IReqGetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetHue

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetHue + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetHue.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetIrcut.html b/docs/module-DwarfBleErrorCode-IReqGetIrcut.html new file mode 100644 index 00000000..bff2b757 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetIrcut.html @@ -0,0 +1,170 @@ + + + + + + IReqGetIrcut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetIrcut

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetIrcut + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetIrcut.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetIrcut.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetJpgQuality.html b/docs/module-DwarfBleErrorCode-IReqGetJpgQuality.html new file mode 100644 index 00000000..9ef8c0c4 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetJpgQuality.html @@ -0,0 +1,170 @@ + + + + + + IReqGetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetJpgQuality

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetJpgQuality + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetJpgQuality.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetSaturation.html b/docs/module-DwarfBleErrorCode-IReqGetSaturation.html new file mode 100644 index 00000000..cec4a4fe --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetSaturation.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSaturation

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetSaturation + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSaturation.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetSharpness.html b/docs/module-DwarfBleErrorCode-IReqGetSharpness.html new file mode 100644 index 00000000..79c43b44 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetSharpness.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSharpness

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetSharpness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSharpness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetSystemWorkingState.html b/docs/module-DwarfBleErrorCode-IReqGetSystemWorkingState.html new file mode 100644 index 00000000..ef4549bf --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetSystemWorkingState.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSystemWorkingState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSystemWorkingState

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetSystemWorkingState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSystemWorkingState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSystemWorkingState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetWBCT.html b/docs/module-DwarfBleErrorCode-IReqGetWBCT.html new file mode 100644 index 00000000..2cdafbf6 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetWBCT.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBCT

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetWBCT + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBCT.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetWBMode.html b/docs/module-DwarfBleErrorCode-IReqGetWBMode.html new file mode 100644 index 00000000..45c2e774 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetWBMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetWBMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetWBSence.html b/docs/module-DwarfBleErrorCode-IReqGetWBSence.html new file mode 100644 index 00000000..b5faec80 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetWBSence.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBSence

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetWBSence + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBSence.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetconfig.html b/docs/module-DwarfBleErrorCode-IReqGetconfig.html new file mode 100644 index 00000000..58a856f3 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetconfig.html @@ -0,0 +1,271 @@ + + + + + + IReqGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetconfig

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetconfig + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetconfig cmd
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGetconfig blePsd
+ + + + + + +
Properties of a ReqGetconfig.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetsysteminfo.html b/docs/module-DwarfBleErrorCode-IReqGetsysteminfo.html new file mode 100644 index 00000000..c2b79e4d --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetsysteminfo.html @@ -0,0 +1,236 @@ + + + + + + IReqGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetsysteminfo

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetsysteminfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetsysteminfo cmd
+ + + + + + +
Properties of a ReqGetsysteminfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqGetwifilist.html b/docs/module-DwarfBleErrorCode-IReqGetwifilist.html new file mode 100644 index 00000000..137835d2 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqGetwifilist.html @@ -0,0 +1,236 @@ + + + + + + IReqGetwifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetwifilist

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqGetwifilist + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetwifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetwifilist cmd
+ + + + + + +
Properties of a ReqGetwifilist.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqManualContinuFocus.html b/docs/module-DwarfBleErrorCode-IReqManualContinuFocus.html new file mode 100644 index 00000000..de3ba479 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqManualContinuFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqManualContinuFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqManualContinuFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
direction + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqManualContinuFocus direction
+ + + + + + +
Properties of a ReqManualContinuFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqManualSingleStepFocus.html b/docs/module-DwarfBleErrorCode-IReqManualSingleStepFocus.html new file mode 100644 index 00000000..cc1dd1c5 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqManualSingleStepFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqManualSingleStepFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqManualSingleStepFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqManualSingleStepFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqManualSingleStepFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
direction + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqManualSingleStepFocus direction
+ + + + + + +
Properties of a ReqManualSingleStepFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorChangeDirection.html b/docs/module-DwarfBleErrorCode-IReqMotorChangeDirection.html new file mode 100644 index 00000000..6fa1a7eb --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorChangeDirection.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorChangeDirection - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorChangeDirection

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorChangeDirection + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorChangeDirection.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeDirection id
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeDirection direction
+ + + + + + +
Properties of a ReqMotorChangeDirection.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorChangeSpeed.html b/docs/module-DwarfBleErrorCode-IReqMotorChangeSpeed.html new file mode 100644 index 00000000..7c4ca372 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorChangeSpeed.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorChangeSpeed - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorChangeSpeed

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorChangeSpeed + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorChangeSpeed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeSpeed id
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeSpeed speed
+ + + + + + +
Properties of a ReqMotorChangeSpeed.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorGetPosition.html b/docs/module-DwarfBleErrorCode-IReqMotorGetPosition.html new file mode 100644 index 00000000..95d75fc1 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorGetPosition.html @@ -0,0 +1,236 @@ + + + + + + IReqMotorGetPosition - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorGetPosition

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorGetPosition + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorGetPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorGetPosition id
+ + + + + + +
Properties of a ReqMotorGetPosition.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorReset.html b/docs/module-DwarfBleErrorCode-IReqMotorReset.html new file mode 100644 index 00000000..884f951e --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorReset.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorReset

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorReset id
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorReset direction
+ + + + + + +
Properties of a ReqMotorReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorRun.html b/docs/module-DwarfBleErrorCode-IReqMotorRun.html new file mode 100644 index 00000000..425faea2 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorRun.html @@ -0,0 +1,376 @@ + + + + + + IReqMotorRun - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorRun

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorRun + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorRun.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun id
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun speed
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun direction
speedRamping + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun speedRamping
resolutionLevel + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun resolutionLevel
+ + + + + + +
Properties of a ReqMotorRun.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorRunInPulse.html b/docs/module-DwarfBleErrorCode-IReqMotorRunInPulse.html new file mode 100644 index 00000000..6a20015a --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorRunInPulse.html @@ -0,0 +1,446 @@ + + + + + + IReqMotorRunInPulse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorRunInPulse

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorRunInPulse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorRunInPulse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse id
frequency + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse frequency
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse direction
speedRamping + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse speedRamping
resolution + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse resolution
pulse + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse pulse
mode + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunInPulse mode
+ + + + + + +
Properties of a ReqMotorRunInPulse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorRunTo.html b/docs/module-DwarfBleErrorCode-IReqMotorRunTo.html new file mode 100644 index 00000000..eaf3daf7 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorRunTo.html @@ -0,0 +1,376 @@ + + + + + + IReqMotorRunTo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorRunTo

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorRunTo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorRunTo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo id
endPosition + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo endPosition
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo speed
speedRamping + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo speedRamping
resolutionLevel + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo resolutionLevel
+ + + + + + +
Properties of a ReqMotorRunTo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystick.html b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystick.html new file mode 100644 index 00000000..509c36bf --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystick.html @@ -0,0 +1,306 @@ + + + + + + IReqMotorServiceJoystick - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystick

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorServiceJoystick + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystick.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
vectorAngle + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick vectorAngle
vectorLength + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick vectorLength
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick speed
+ + + + + + +
Properties of a ReqMotorServiceJoystick.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickFixedAngle.html b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickFixedAngle.html new file mode 100644 index 00000000..d0a77200 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickFixedAngle.html @@ -0,0 +1,306 @@ + + + + + + IReqMotorServiceJoystickFixedAngle - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystickFixedAngle

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorServiceJoystickFixedAngle + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystickFixedAngle.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
vectorAngle + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle vectorAngle
vectorLength + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle vectorLength
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle speed
+ + + + + + +
Properties of a ReqMotorServiceJoystickFixedAngle.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickStop.html b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickStop.html new file mode 100644 index 00000000..690bcb46 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorServiceJoystickStop.html @@ -0,0 +1,170 @@ + + + + + + IReqMotorServiceJoystickStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystickStop

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorServiceJoystickStop + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystickStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqMotorServiceJoystickStop.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqMotorStop.html b/docs/module-DwarfBleErrorCode-IReqMotorStop.html new file mode 100644 index 00000000..5f061549 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqMotorStop.html @@ -0,0 +1,236 @@ + + + + + + IReqMotorStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorStop

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqMotorStop + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorStop id
+ + + + + + +
Properties of a ReqMotorStop.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqNormalAutoFocus.html b/docs/module-DwarfBleErrorCode-IReqNormalAutoFocus.html new file mode 100644 index 00000000..4822a5f1 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqNormalAutoFocus.html @@ -0,0 +1,306 @@ + + + + + + IReqNormalAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqNormalAutoFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqNormalAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqNormalAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus mode
centerX + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus centerX
centerY + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus centerY
+ + + + + + +
Properties of a ReqNormalAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqOpenCamera.html b/docs/module-DwarfBleErrorCode-IReqOpenCamera.html new file mode 100644 index 00000000..79c24de4 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqOpenCamera.html @@ -0,0 +1,271 @@ + + + + + + IReqOpenCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOpenCamera

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqOpenCamera + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOpenCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
binning + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqOpenCamera binning
rtspEncodeType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqOpenCamera rtspEncodeType
+ + + + + + +
Properties of a ReqOpenCamera.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqPhoto.html b/docs/module-DwarfBleErrorCode-IReqPhoto.html new file mode 100644 index 00000000..303f5ecc --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqPhoto.html @@ -0,0 +1,170 @@ + + + + + + IReqPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPhoto

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqPhotoRaw.html b/docs/module-DwarfBleErrorCode-IReqPhotoRaw.html new file mode 100644 index 00000000..62c49ea9 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqPhotoRaw.html @@ -0,0 +1,170 @@ + + + + + + IReqPhotoRaw - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPhotoRaw

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqPhotoRaw + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPhotoRaw.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPhotoRaw.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqReset.html b/docs/module-DwarfBleErrorCode-IReqReset.html new file mode 100644 index 00000000..045c72c4 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqReset.html @@ -0,0 +1,236 @@ + + + + + + IReqReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqReset

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqReset cmd
+ + + + + + +
Properties of a ReqReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetAllParams.html b/docs/module-DwarfBleErrorCode-IReqSetAllParams.html new file mode 100644 index 00000000..7ab5379a --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetAllParams.html @@ -0,0 +1,691 @@ + + + + + + IReqSetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetAllParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams expMode
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams expIndex
gainMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams gainMode
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams gainIndex
ircutValue + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams ircutValue
wbMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbMode
wbIndexType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbIndexType
wbIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbIndex
brightness + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams brightness
contrast + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams contrast
hue + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams hue
saturation + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams saturation
sharpness + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams sharpness
jpgQuality + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams jpgQuality
+ + + + + + +
Properties of a ReqSetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetBrightness.html b/docs/module-DwarfBleErrorCode-IReqSetBrightness.html new file mode 100644 index 00000000..c9478fac --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetBrightness.html @@ -0,0 +1,236 @@ + + + + + + IReqSetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetBrightness

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetBrightness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetBrightness value
+ + + + + + +
Properties of a ReqSetBrightness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetContrast.html b/docs/module-DwarfBleErrorCode-IReqSetContrast.html new file mode 100644 index 00000000..51062ea3 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetContrast.html @@ -0,0 +1,236 @@ + + + + + + IReqSetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetContrast

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetContrast + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetContrast value
+ + + + + + +
Properties of a ReqSetContrast.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetExp.html b/docs/module-DwarfBleErrorCode-IReqSetExp.html new file mode 100644 index 00000000..cbefe07c --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetExp.html @@ -0,0 +1,236 @@ + + + + + + IReqSetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetExp

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetExp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetExp index
+ + + + + + +
Properties of a ReqSetExp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetExpMode.html b/docs/module-DwarfBleErrorCode-IReqSetExpMode.html new file mode 100644 index 00000000..f98ec691 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetExpMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetExpMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetExpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetExpMode mode
+ + + + + + +
Properties of a ReqSetExpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetFeatureParams.html b/docs/module-DwarfBleErrorCode-IReqSetFeatureParams.html new file mode 100644 index 00000000..d76f9dbf --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetFeatureParams.html @@ -0,0 +1,236 @@ + + + + + + IReqSetFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetFeatureParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
param + + +ICommonParam +| + +null + + + + + + + <optional>
+ + + +
ReqSetFeatureParams param
+ + + + + + +
Properties of a ReqSetFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetGain.html b/docs/module-DwarfBleErrorCode-IReqSetGain.html new file mode 100644 index 00000000..57544aac --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetGain.html @@ -0,0 +1,236 @@ + + + + + + IReqSetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetGain

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetGain + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetGain index
+ + + + + + +
Properties of a ReqSetGain.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetGainMode.html b/docs/module-DwarfBleErrorCode-IReqSetGainMode.html new file mode 100644 index 00000000..b980dd0b --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetGainMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetGainMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetGainMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetGainMode mode
+ + + + + + +
Properties of a ReqSetGainMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetHue.html b/docs/module-DwarfBleErrorCode-IReqSetHue.html new file mode 100644 index 00000000..4258abb4 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetHue.html @@ -0,0 +1,236 @@ + + + + + + IReqSetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetHue

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetHue + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetHue value
+ + + + + + +
Properties of a ReqSetHue.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetIrCut.html b/docs/module-DwarfBleErrorCode-IReqSetIrCut.html new file mode 100644 index 00000000..b920094c --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetIrCut.html @@ -0,0 +1,236 @@ + + + + + + IReqSetIrCut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetIrCut

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetIrCut + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetIrCut.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetIrCut value
+ + + + + + +
Properties of a ReqSetIrCut.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetJpgQuality.html b/docs/module-DwarfBleErrorCode-IReqSetJpgQuality.html new file mode 100644 index 00000000..1ae8bca0 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetJpgQuality.html @@ -0,0 +1,236 @@ + + + + + + IReqSetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetJpgQuality

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetJpgQuality + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
quality + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetJpgQuality quality
+ + + + + + +
Properties of a ReqSetJpgQuality.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetRtspBitRateType.html b/docs/module-DwarfBleErrorCode-IReqSetRtspBitRateType.html new file mode 100644 index 00000000..c9903fee --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetRtspBitRateType.html @@ -0,0 +1,236 @@ + + + + + + IReqSetRtspBitRateType - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetRtspBitRateType

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetRtspBitRateType + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetRtspBitRateType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
bitrateType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetRtspBitRateType bitrateType
+ + + + + + +
Properties of a ReqSetRtspBitRateType.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetSaturation.html b/docs/module-DwarfBleErrorCode-IReqSetSaturation.html new file mode 100644 index 00000000..bd50ab04 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetSaturation.html @@ -0,0 +1,236 @@ + + + + + + IReqSetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetSaturation

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetSaturation + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetSaturation value
+ + + + + + +
Properties of a ReqSetSaturation.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetSharpness.html b/docs/module-DwarfBleErrorCode-IReqSetSharpness.html new file mode 100644 index 00000000..cf61fc1f --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetSharpness.html @@ -0,0 +1,236 @@ + + + + + + IReqSetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetSharpness

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetSharpness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetSharpness value
+ + + + + + +
Properties of a ReqSetSharpness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:45 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetWBCT.html b/docs/module-DwarfBleErrorCode-IReqSetWBCT.html new file mode 100644 index 00000000..bc72cbe1 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetWBCT.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBCT

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetWBCT + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBCT index
+ + + + + + +
Properties of a ReqSetWBCT.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetWBMode.html b/docs/module-DwarfBleErrorCode-IReqSetWBMode.html new file mode 100644 index 00000000..8880ca21 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetWBMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBMode

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetWBMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBMode mode
+ + + + + + +
Properties of a ReqSetWBMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetWBSence.html b/docs/module-DwarfBleErrorCode-IReqSetWBSence.html new file mode 100644 index 00000000..b732afaf --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetWBSence.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBSence

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetWBSence + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBSence value
+ + + + + + +
Properties of a ReqSetWBSence.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSetblewifi.html b/docs/module-DwarfBleErrorCode-IReqSetblewifi.html new file mode 100644 index 00000000..ed66466f --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSetblewifi.html @@ -0,0 +1,341 @@ + + + + + + IReqSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetblewifi

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSetblewifi + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi cmd
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi mode
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi blePsd
value + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi value
+ + + + + + +
Properties of a ReqSetblewifi.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqSta.html b/docs/module-DwarfBleErrorCode-IReqSta.html new file mode 100644 index 00000000..1564f9f8 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqSta.html @@ -0,0 +1,376 @@ + + + + + + IReqSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSta

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqSta + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSta cmd
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSta autoStart
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta blePsd
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta psd
+ + + + + + +
Properties of a ReqSta.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStartRecord.html b/docs/module-DwarfBleErrorCode-IReqStartRecord.html new file mode 100644 index 00000000..d9f6b0aa --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStartRecord.html @@ -0,0 +1,236 @@ + + + + + + IReqStartRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartRecord

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStartRecord + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
encodeType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartRecord encodeType
+ + + + + + +
Properties of a ReqStartRecord.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStartTimeLapse.html b/docs/module-DwarfBleErrorCode-IReqStartTimeLapse.html new file mode 100644 index 00000000..08622317 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStartTimeLapse.html @@ -0,0 +1,170 @@ + + + + + + IReqStartTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartTimeLapse

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStartTimeLapse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStartTimeLapse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStopAstroAutoFocus.html b/docs/module-DwarfBleErrorCode-IReqStopAstroAutoFocus.html new file mode 100644 index 00000000..4e842f4e --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStopAstroAutoFocus.html @@ -0,0 +1,170 @@ + + + + + + IReqStopAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStopAstroAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopAstroAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStopBurstPhoto.html b/docs/module-DwarfBleErrorCode-IReqStopBurstPhoto.html new file mode 100644 index 00000000..1470ed31 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStopBurstPhoto.html @@ -0,0 +1,170 @@ + + + + + + IReqStopBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopBurstPhoto

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStopBurstPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopBurstPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStopManualContinuFocus.html b/docs/module-DwarfBleErrorCode-IReqStopManualContinuFocus.html new file mode 100644 index 00000000..2a7abf63 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStopManualContinuFocus.html @@ -0,0 +1,170 @@ + + + + + + IReqStopManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopManualContinuFocus

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStopManualContinuFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopManualContinuFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStopRecord.html b/docs/module-DwarfBleErrorCode-IReqStopRecord.html new file mode 100644 index 00000000..9a393391 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStopRecord.html @@ -0,0 +1,170 @@ + + + + + + IReqStopRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopRecord

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStopRecord + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopRecord.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IReqStopTimeLapse.html b/docs/module-DwarfBleErrorCode-IReqStopTimeLapse.html new file mode 100644 index 00000000..2243137b --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IReqStopTimeLapse.html @@ -0,0 +1,170 @@ + + + + + + IReqStopTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopTimeLapse

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IReqStopTimeLapse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopTimeLapse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResAp.html b/docs/module-DwarfBleErrorCode-IResAp.html new file mode 100644 index 00000000..272c56a5 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResAp.html @@ -0,0 +1,376 @@ + + + + + + IResAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResAp

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResAp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp code
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp mode
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResAp ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResAp psd
+ + + + + + +
Properties of a ResAp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResCheckFile.html b/docs/module-DwarfBleErrorCode-IResCheckFile.html new file mode 100644 index 00000000..3fb5ae6d --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResCheckFile.html @@ -0,0 +1,271 @@ + + + + + + IResCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResCheckFile

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResCheckFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckFile cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckFile code
+ + + + + + +
Properties of a ResCheckFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResGetAllFeatureParams.html b/docs/module-DwarfBleErrorCode-IResGetAllFeatureParams.html new file mode 100644 index 00000000..5a893be6 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResGetAllFeatureParams.html @@ -0,0 +1,271 @@ + + + + + + IResGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResGetAllFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
allFeatureParams + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResGetAllFeatureParams allFeatureParams
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetAllFeatureParams code
+ + + + + + +
Properties of a ResGetAllFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResGetAllParams.html b/docs/module-DwarfBleErrorCode-IResGetAllParams.html new file mode 100644 index 00000000..2c240876 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResGetAllParams.html @@ -0,0 +1,271 @@ + + + + + + IResGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetAllParams

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResGetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
allParams + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResGetAllParams allParams
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetAllParams code
+ + + + + + +
Properties of a ResGetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResGetconfig.html b/docs/module-DwarfBleErrorCode-IResGetconfig.html new file mode 100644 index 00000000..71c13ae4 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResGetconfig.html @@ -0,0 +1,586 @@ + + + + + + IResGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetconfig

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResGetconfig + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig code
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig state
wifiMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig wifiMode
apMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apMode
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig autoStart
apCountryList + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apCountryList
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig psd
ip + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig ip
apCountry + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apCountry
+ + + + + + +
Properties of a ResGetconfig.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResGetsysteminfo.html b/docs/module-DwarfBleErrorCode-IResGetsysteminfo.html new file mode 100644 index 00000000..6576fe69 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResGetsysteminfo.html @@ -0,0 +1,411 @@ + + + + + + IResGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetsysteminfo

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResGetsysteminfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo code
protocolVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo protocolVersion
device + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo device
macAddress + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo macAddress
dwarfOtaVersion + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo dwarfOtaVersion
+ + + + + + +
Properties of a ResGetsysteminfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResMotor.html b/docs/module-DwarfBleErrorCode-IResMotor.html new file mode 100644 index 00000000..d68fe791 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResMotor.html @@ -0,0 +1,271 @@ + + + + + + IResMotor - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResMotor

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResMotor + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResMotor.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotor id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotor code
+ + + + + + +
Properties of a ResMotor.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResMotorPosition.html b/docs/module-DwarfBleErrorCode-IResMotorPosition.html new file mode 100644 index 00000000..586de6a0 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResMotorPosition.html @@ -0,0 +1,306 @@ + + + + + + IResMotorPosition - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResMotorPosition

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResMotorPosition + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResMotorPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition code
position + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition position
+ + + + + + +
Properties of a ResMotorPosition.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResReceiveDataError.html b/docs/module-DwarfBleErrorCode-IResReceiveDataError.html new file mode 100644 index 00000000..2f2d62e7 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResReceiveDataError.html @@ -0,0 +1,271 @@ + + + + + + IResReceiveDataError - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResReceiveDataError

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResReceiveDataError + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResReceiveDataError.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReceiveDataError cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReceiveDataError code
+ + + + + + +
Properties of a ResReceiveDataError.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResReset.html b/docs/module-DwarfBleErrorCode-IResReset.html new file mode 100644 index 00000000..de91ea8d --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResReset.html @@ -0,0 +1,271 @@ + + + + + + IResReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResReset

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReset cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReset code
+ + + + + + +
Properties of a ResReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResSetblewifi.html b/docs/module-DwarfBleErrorCode-IResSetblewifi.html new file mode 100644 index 00000000..23115ac3 --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResSetblewifi.html @@ -0,0 +1,341 @@ + + + + + + IResSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResSetblewifi

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResSetblewifi + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi code
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi mode
value + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi value
+ + + + + + +
Properties of a ResSetblewifi.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResSta.html b/docs/module-DwarfBleErrorCode-IResSta.html new file mode 100644 index 00000000..8237ed6c --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResSta.html @@ -0,0 +1,376 @@ + + + + + + IResSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResSta

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResSta + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSta cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSta code
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta psd
ip + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta ip
+ + + + + + +
Properties of a ResSta.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode-IResWifilist.html b/docs/module-DwarfBleErrorCode-IResWifilist.html new file mode 100644 index 00000000..3ad1e92f --- /dev/null +++ b/docs/module-DwarfBleErrorCode-IResWifilist.html @@ -0,0 +1,306 @@ + + + + + + IResWifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResWifilist

+ + + + + + + +
+ +
+ +

+ DwarfBleErrorCode~ + + + IResWifilist + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResWifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResWifilist cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResWifilist code
ssid + + +Array.<string> +| + +null + + + + + + + <optional>
+ + + +
ResWifilist ssid
+ + + + + + +
Properties of a ResWifilist.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfBleErrorCode.html b/docs/module-DwarfBleErrorCode.html new file mode 100644 index 00000000..aa863bce --- /dev/null +++ b/docs/module-DwarfBleErrorCode.html @@ -0,0 +1,905 @@ + + + + + + DwarfBleErrorCode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

DwarfBleErrorCode

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • DwarfBleErrorCode enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
BLE_OK + + +number + + + + + BLE_OK value
BLE_PASSWORD_ERROR + + +number + + + + + BLE_PASSWORD_ERROR value
BLE_MESSAGE_MALLOC_ERROR + + +number + + + + + BLE_MESSAGE_MALLOC_ERROR value
BLE_MESSAGE_PARSE_ERROR + + +number + + + + + BLE_MESSAGE_PARSE_ERROR value
BLE_MESSAGE_CRC_ERROR + + +number + + + + + BLE_MESSAGE_CRC_ERROR value
BLE_WIFI_CONFIGING + + +number + + + + + BLE_WIFI_CONFIGING value
BLE_WIFI_CONFIGED + + +number + + + + + BLE_WIFI_CONFIGED value
BLE_GET_WIFI_LIST_ERROR + + +number + + + + + BLE_GET_WIFI_LIST_ERROR value
BLE_WIFI_STA_PASSWORD_EMPTY + + +number + + + + + BLE_WIFI_STA_PASSWORD_EMPTY value
BLE_WIFI_STA_PASSWORD_ERROR + + +number + + + + + BLE_WIFI_STA_PASSWORD_ERROR value
BLE_WIFI_SET_SSID_PSD_ERROR + + +number + + + + + BLE_WIFI_SET_SSID_PSD_ERROR value
BLE_WIFI_RESET_WAITING + + +number + + + + + BLE_WIFI_RESET_WAITING value
BLE_WIFI_RESETED + + +number + + + + + BLE_WIFI_RESETED value
BLE_GET_SYSTEM_INFO_ERROR + + +number + + + + + BLE_GET_SYSTEM_INFO_ERROR value
BLE_RECEIVE_FRAME_HEAD_ERROR + + +number + + + + + BLE_RECEIVE_FRAME_HEAD_ERROR value
BLE_RECEIVE_FRAME_TAIL_ERROR + + +number + + + + + BLE_RECEIVE_FRAME_TAIL_ERROR value
BLE_CHECK_FILE_NOT_EXIST + + +number + + + + + BLE_CHECK_FILE_NOT_EXIST value
BLE_CHECK_FILE_MD5_ERROR + + +number + + + + + BLE_CHECK_FILE_MD5_ERROR value
BLE_WIFI_RESET_FAILED + + +number + + + + + BLE_WIFI_RESET_FAILED value
+ + + + + + +
DwarfBleErrorCode enum.
+ + + + +
+ + + + + + + + + +

Interfaces

+ +
+
IReqAp
+
+ +
IReqAstroAutoFocus
+
+ +
IReqBurstPhoto
+
+ +
IReqCheckFile
+
+ +
IReqCloseCamera
+
+ +
IReqDisableAllIspProcessing
+
+ +
IReqDualCameraLinkage
+
+ +
IReqEnableAllIspProcessing
+
+ +
IReqGetAllFeatureParams
+
+ +
IReqGetAllParams
+
+ +
IReqGetBrightness
+
+ +
IReqGetContrast
+
+ +
IReqGetExp
+
+ +
IReqGetExpMode
+
+ +
IReqGetGain
+
+ +
IReqGetGainMode
+
+ +
IReqGetHue
+
+ +
IReqGetIrcut
+
+ +
IReqGetJpgQuality
+
+ +
IReqGetSaturation
+
+ +
IReqGetSharpness
+
+ +
IReqGetSystemWorkingState
+
+ +
IReqGetWBCT
+
+ +
IReqGetWBMode
+
+ +
IReqGetWBSence
+
+ +
IReqGetconfig
+
+ +
IReqGetsysteminfo
+
+ +
IReqGetwifilist
+
+ +
IReqManualContinuFocus
+
+ +
IReqManualSingleStepFocus
+
+ +
IReqMotorChangeDirection
+
+ +
IReqMotorChangeSpeed
+
+ +
IReqMotorGetPosition
+
+ +
IReqMotorReset
+
+ +
IReqMotorRun
+
+ +
IReqMotorRunInPulse
+
+ +
IReqMotorRunTo
+
+ +
IReqMotorServiceJoystick
+
+ +
IReqMotorServiceJoystickFixedAngle
+
+ +
IReqMotorServiceJoystickStop
+
+ +
IReqMotorStop
+
+ +
IReqNormalAutoFocus
+
+ +
IReqOpenCamera
+
+ +
IReqPhoto
+
+ +
IReqPhotoRaw
+
+ +
IReqReset
+
+ +
IReqSetAllParams
+
+ +
IReqSetBrightness
+
+ +
IReqSetContrast
+
+ +
IReqSetExp
+
+ +
IReqSetExpMode
+
+ +
IReqSetFeatureParams
+
+ +
IReqSetGain
+
+ +
IReqSetGainMode
+
+ +
IReqSetHue
+
+ +
IReqSetIrCut
+
+ +
IReqSetJpgQuality
+
+ +
IReqSetRtspBitRateType
+
+ +
IReqSetSaturation
+
+ +
IReqSetSharpness
+
+ +
IReqSetWBCT
+
+ +
IReqSetWBMode
+
+ +
IReqSetWBSence
+
+ +
IReqSetblewifi
+
+ +
IReqSta
+
+ +
IReqStartRecord
+
+ +
IReqStartTimeLapse
+
+ +
IReqStopAstroAutoFocus
+
+ +
IReqStopBurstPhoto
+
+ +
IReqStopManualContinuFocus
+
+ +
IReqStopRecord
+
+ +
IReqStopTimeLapse
+
+ +
IResAp
+
+ +
IResCheckFile
+
+ +
IResGetAllFeatureParams
+
+ +
IResGetAllParams
+
+ +
IResGetconfig
+
+ +
IResGetsysteminfo
+
+ +
IResMotor
+
+ +
IResMotorPosition
+
+ +
IResReceiveDataError
+
+ +
IResReset
+
+ +
IResSetblewifi
+
+ +
IResSta
+
+ +
IResWifilist
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:44 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfCMD.html b/docs/module-DwarfCMD.html new file mode 100644 index 00000000..b6d1702c --- /dev/null +++ b/docs/module-DwarfCMD.html @@ -0,0 +1,5014 @@ + + + + + + DwarfCMD - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

DwarfCMD

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • DwarfCMD enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
NO_CMD + + +number + + + + + NO_CMD value
CMD_CAMERA_TELE_OPEN_CAMERA + + +number + + + + + CMD_CAMERA_TELE_OPEN_CAMERA value
CMD_CAMERA_TELE_CLOSE_CAMERA + + +number + + + + + CMD_CAMERA_TELE_CLOSE_CAMERA value
CMD_CAMERA_TELE_PHOTOGRAPH + + +number + + + + + CMD_CAMERA_TELE_PHOTOGRAPH value
CMD_CAMERA_TELE_BURST + + +number + + + + + CMD_CAMERA_TELE_BURST value
CMD_CAMERA_TELE_STOP_BURST + + +number + + + + + CMD_CAMERA_TELE_STOP_BURST value
CMD_CAMERA_TELE_START_RECORD + + +number + + + + + CMD_CAMERA_TELE_START_RECORD value
CMD_CAMERA_TELE_STOP_RECORD + + +number + + + + + CMD_CAMERA_TELE_STOP_RECORD value
CMD_CAMERA_TELE_SET_EXP_MODE + + +number + + + + + CMD_CAMERA_TELE_SET_EXP_MODE value
CMD_CAMERA_TELE_GET_EXP_MODE + + +number + + + + + CMD_CAMERA_TELE_GET_EXP_MODE value
CMD_CAMERA_TELE_SET_EXP + + +number + + + + + CMD_CAMERA_TELE_SET_EXP value
CMD_CAMERA_TELE_GET_EXP + + +number + + + + + CMD_CAMERA_TELE_GET_EXP value
CMD_CAMERA_TELE_SET_GAIN_MODE + + +number + + + + + CMD_CAMERA_TELE_SET_GAIN_MODE value
CMD_CAMERA_TELE_GET_GAIN_MODE + + +number + + + + + CMD_CAMERA_TELE_GET_GAIN_MODE value
CMD_CAMERA_TELE_SET_GAIN + + +number + + + + + CMD_CAMERA_TELE_SET_GAIN value
CMD_CAMERA_TELE_GET_GAIN + + +number + + + + + CMD_CAMERA_TELE_GET_GAIN value
CMD_CAMERA_TELE_SET_BRIGHTNESS + + +number + + + + + CMD_CAMERA_TELE_SET_BRIGHTNESS value
CMD_CAMERA_TELE_GET_BRIGHTNESS + + +number + + + + + CMD_CAMERA_TELE_GET_BRIGHTNESS value
CMD_CAMERA_TELE_SET_CONTRAST + + +number + + + + + CMD_CAMERA_TELE_SET_CONTRAST value
CMD_CAMERA_TELE_GET_CONTRAST + + +number + + + + + CMD_CAMERA_TELE_GET_CONTRAST value
CMD_CAMERA_TELE_SET_SATURATION + + +number + + + + + CMD_CAMERA_TELE_SET_SATURATION value
CMD_CAMERA_TELE_GET_SATURATION + + +number + + + + + CMD_CAMERA_TELE_GET_SATURATION value
CMD_CAMERA_TELE_SET_HUE + + +number + + + + + CMD_CAMERA_TELE_SET_HUE value
CMD_CAMERA_TELE_GET_HUE + + +number + + + + + CMD_CAMERA_TELE_GET_HUE value
CMD_CAMERA_TELE_SET_SHARPNESS + + +number + + + + + CMD_CAMERA_TELE_SET_SHARPNESS value
CMD_CAMERA_TELE_GET_SHARPNESS + + +number + + + + + CMD_CAMERA_TELE_GET_SHARPNESS value
CMD_CAMERA_TELE_SET_WB_MODE + + +number + + + + + CMD_CAMERA_TELE_SET_WB_MODE value
CMD_CAMERA_TELE_GET_WB_MODE + + +number + + + + + CMD_CAMERA_TELE_GET_WB_MODE value
CMD_CAMERA_TELE_SET_WB_SCENE + + +number + + + + + CMD_CAMERA_TELE_SET_WB_SCENE value
CMD_CAMERA_TELE_GET_WB_SCENE + + +number + + + + + CMD_CAMERA_TELE_GET_WB_SCENE value
CMD_CAMERA_TELE_SET_WB_CT + + +number + + + + + CMD_CAMERA_TELE_SET_WB_CT value
CMD_CAMERA_TELE_GET_WB_CT + + +number + + + + + CMD_CAMERA_TELE_GET_WB_CT value
CMD_CAMERA_TELE_SET_IRCUT + + +number + + + + + CMD_CAMERA_TELE_SET_IRCUT value
CMD_CAMERA_TELE_GET_IRCUT + + +number + + + + + CMD_CAMERA_TELE_GET_IRCUT value
CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO + + +number + + + + + CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO value
CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO + + +number + + + + + CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO value
CMD_CAMERA_TELE_SET_ALL_PARAMS + + +number + + + + + CMD_CAMERA_TELE_SET_ALL_PARAMS value
CMD_CAMERA_TELE_GET_ALL_PARAMS + + +number + + + + + CMD_CAMERA_TELE_GET_ALL_PARAMS value
CMD_CAMERA_TELE_SET_FEATURE_PARAM + + +number + + + + + CMD_CAMERA_TELE_SET_FEATURE_PARAM value
CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS + + +number + + + + + CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS value
CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + + +number + + + + + CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE value
CMD_CAMERA_TELE_SET_JPG_QUALITY + + +number + + + + + CMD_CAMERA_TELE_SET_JPG_QUALITY value
CMD_CAMERA_TELE_PHOTO_RAW + + +number + + + + + CMD_CAMERA_TELE_PHOTO_RAW value
CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE + + +number + + + + + CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE value
CMD_ASTRO_START_CALIBRATION + + +number + + + + + CMD_ASTRO_START_CALIBRATION value
CMD_ASTRO_STOP_CALIBRATION + + +number + + + + + CMD_ASTRO_STOP_CALIBRATION value
CMD_ASTRO_START_GOTO_DSO + + +number + + + + + CMD_ASTRO_START_GOTO_DSO value
CMD_ASTRO_START_GOTO_SOLAR_SYSTEM + + +number + + + + + CMD_ASTRO_START_GOTO_SOLAR_SYSTEM value
CMD_ASTRO_STOP_GOTO + + +number + + + + + CMD_ASTRO_STOP_GOTO value
CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING value
CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING value
CMD_ASTRO_START_CAPTURE_RAW_DARK + + +number + + + + + CMD_ASTRO_START_CAPTURE_RAW_DARK value
CMD_ASTRO_STOP_CAPTURE_RAW_DARK + + +number + + + + + CMD_ASTRO_STOP_CAPTURE_RAW_DARK value
CMD_ASTRO_CHECK_GOT_DARK + + +number + + + + + CMD_ASTRO_CHECK_GOT_DARK value
CMD_ASTRO_GO_LIVE + + +number + + + + + CMD_ASTRO_GO_LIVE value
CMD_ASTRO_START_TRACK_SPECIAL_TARGET + + +number + + + + + CMD_ASTRO_START_TRACK_SPECIAL_TARGET value
CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET + + +number + + + + + CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET value
CMD_ASTRO_START_ONE_CLICK_GOTO_DSO + + +number + + + + + CMD_ASTRO_START_ONE_CLICK_GOTO_DSO value
CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM + + +number + + + + + CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM value
CMD_ASTRO_STOP_ONE_CLICK_GOTO + + +number + + + + + CMD_ASTRO_STOP_ONE_CLICK_GOTO value
CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING + + +number + + + + + CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING value
CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING + + +number + + + + + CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING value
CMD_ASTRO_START_EQ_SOLVING + + +number + + + + + CMD_ASTRO_START_EQ_SOLVING value
CMD_ASTRO_STOP_EQ_SOLVING + + +number + + + + + CMD_ASTRO_STOP_EQ_SOLVING value
CMD_ASTRO_WIDE_GO_LIVE + + +number + + + + + CMD_ASTRO_WIDE_GO_LIVE value
CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM + + +number + + + + + CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM value
CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM + + +number + + + + + CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM value
CMD_ASTRO_GET_DARK_FRAME_LIST + + +number + + + + + CMD_ASTRO_GET_DARK_FRAME_LIST value
CMD_ASTRO_DEL_DARK_FRAME_LIST + + +number + + + + + CMD_ASTRO_DEL_DARK_FRAME_LIST value
CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + + +number + + + + + CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value
CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + + +number + + + + + CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value
CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST + + +number + + + + + CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST value
CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST + + +number + + + + + CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST value
CMD_CAMERA_WIDE_OPEN_CAMERA + + +number + + + + + CMD_CAMERA_WIDE_OPEN_CAMERA value
CMD_CAMERA_WIDE_CLOSE_CAMERA + + +number + + + + + CMD_CAMERA_WIDE_CLOSE_CAMERA value
CMD_CAMERA_WIDE_SET_EXP_MODE + + +number + + + + + CMD_CAMERA_WIDE_SET_EXP_MODE value
CMD_CAMERA_WIDE_GET_EXP_MODE + + +number + + + + + CMD_CAMERA_WIDE_GET_EXP_MODE value
CMD_CAMERA_WIDE_SET_EXP + + +number + + + + + CMD_CAMERA_WIDE_SET_EXP value
CMD_CAMERA_WIDE_GET_EXP + + +number + + + + + CMD_CAMERA_WIDE_GET_EXP value
CMD_CAMERA_WIDE_SET_GAIN + + +number + + + + + CMD_CAMERA_WIDE_SET_GAIN value
CMD_CAMERA_WIDE_GET_GAIN + + +number + + + + + CMD_CAMERA_WIDE_GET_GAIN value
CMD_CAMERA_WIDE_SET_BRIGHTNESS + + +number + + + + + CMD_CAMERA_WIDE_SET_BRIGHTNESS value
CMD_CAMERA_WIDE_GET_BRIGHTNESS + + +number + + + + + CMD_CAMERA_WIDE_GET_BRIGHTNESS value
CMD_CAMERA_WIDE_SET_CONTRAST + + +number + + + + + CMD_CAMERA_WIDE_SET_CONTRAST value
CMD_CAMERA_WIDE_GET_CONTRAST + + +number + + + + + CMD_CAMERA_WIDE_GET_CONTRAST value
CMD_CAMERA_WIDE_SET_SATURATION + + +number + + + + + CMD_CAMERA_WIDE_SET_SATURATION value
CMD_CAMERA_WIDE_GET_SATURATION + + +number + + + + + CMD_CAMERA_WIDE_GET_SATURATION value
CMD_CAMERA_WIDE_SET_HUE + + +number + + + + + CMD_CAMERA_WIDE_SET_HUE value
CMD_CAMERA_WIDE_GET_HUE + + +number + + + + + CMD_CAMERA_WIDE_GET_HUE value
CMD_CAMERA_WIDE_SET_SHARPNESS + + +number + + + + + CMD_CAMERA_WIDE_SET_SHARPNESS value
CMD_CAMERA_WIDE_GET_SHARPNESS + + +number + + + + + CMD_CAMERA_WIDE_GET_SHARPNESS value
CMD_CAMERA_WIDE_SET_WB_MODE + + +number + + + + + CMD_CAMERA_WIDE_SET_WB_MODE value
CMD_CAMERA_WIDE_GET_WB_MODE + + +number + + + + + CMD_CAMERA_WIDE_GET_WB_MODE value
CMD_CAMERA_WIDE_SET_WB_CT + + +number + + + + + CMD_CAMERA_WIDE_SET_WB_CT value
CMD_CAMERA_WIDE_GET_WB_CT + + +number + + + + + CMD_CAMERA_WIDE_GET_WB_CT value
CMD_CAMERA_WIDE_PHOTOGRAPH + + +number + + + + + CMD_CAMERA_WIDE_PHOTOGRAPH value
CMD_CAMERA_WIDE_BURST + + +number + + + + + CMD_CAMERA_WIDE_BURST value
CMD_CAMERA_WIDE_STOP_BURST + + +number + + + + + CMD_CAMERA_WIDE_STOP_BURST value
CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO + + +number + + + + + CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO value
CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO + + +number + + + + + CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO value
CMD_CAMERA_WIDE_GET_ALL_PARAMS + + +number + + + + + CMD_CAMERA_WIDE_GET_ALL_PARAMS value
CMD_CAMERA_WIDE_SET_ALL_PARAMS + + +number + + + + + CMD_CAMERA_WIDE_SET_ALL_PARAMS value
CMD_CAMERA_WIDE_START_RECORD + + +number + + + + + CMD_CAMERA_WIDE_START_RECORD value
CMD_CAMERA_WIDE_STOP_RECORD + + +number + + + + + CMD_CAMERA_WIDE_STOP_RECORD value
CMD_SYSTEM_SET_TIME + + +number + + + + + CMD_SYSTEM_SET_TIME value
CMD_SYSTEM_SET_TIME_ZONE + + +number + + + + + CMD_SYSTEM_SET_TIME_ZONE value
CMD_SYSTEM_SET_MTP_MODE + + +number + + + + + CMD_SYSTEM_SET_MTP_MODE value
CMD_SYSTEM_SET_CPU_MODE + + +number + + + + + CMD_SYSTEM_SET_CPU_MODE value
CMD_SYSTEM_SET_MASTERLOCK + + +number + + + + + CMD_SYSTEM_SET_MASTERLOCK value
CMD_RGB_POWER_OPEN_RGB + + +number + + + + + CMD_RGB_POWER_OPEN_RGB value
CMD_RGB_POWER_CLOSE_RGB + + +number + + + + + CMD_RGB_POWER_CLOSE_RGB value
CMD_RGB_POWER_POWER_DOWN + + +number + + + + + CMD_RGB_POWER_POWER_DOWN value
CMD_RGB_POWER_POWERIND_ON + + +number + + + + + CMD_RGB_POWER_POWERIND_ON value
CMD_RGB_POWER_POWERIND_OFF + + +number + + + + + CMD_RGB_POWER_POWERIND_OFF value
CMD_RGB_POWER_REBOOT + + +number + + + + + CMD_RGB_POWER_REBOOT value
CMD_STEP_MOTOR_RUN + + +number + + + + + CMD_STEP_MOTOR_RUN value
CMD_STEP_MOTOR_RUN_TO + + +number + + + + + CMD_STEP_MOTOR_RUN_TO value
CMD_STEP_MOTOR_STOP + + +number + + + + + CMD_STEP_MOTOR_STOP value
CMD_STEP_MOTOR_RESET + + +number + + + + + CMD_STEP_MOTOR_RESET value
CMD_STEP_MOTOR_CHANGE_SPEED + + +number + + + + + CMD_STEP_MOTOR_CHANGE_SPEED value
CMD_STEP_MOTOR_CHANGE_DIRECTION + + +number + + + + + CMD_STEP_MOTOR_CHANGE_DIRECTION value
CMD_STEP_MOTOR_SERVICE_JOYSTICK + + +number + + + + + CMD_STEP_MOTOR_SERVICE_JOYSTICK value
CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE + + +number + + + + + CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE value
CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP + + +number + + + + + CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP value
CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE + + +number + + + + + CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE value
CMD_STEP_MOTOR_RUN_IN_PULSE + + +number + + + + + CMD_STEP_MOTOR_RUN_IN_PULSE value
CMD_STEP_MOTOR_GET_POSITION + + +number + + + + + CMD_STEP_MOTOR_GET_POSITION value
CMD_TRACK_START_TRACK + + +number + + + + + CMD_TRACK_START_TRACK value
CMD_TRACK_STOP_TRACK + + +number + + + + + CMD_TRACK_STOP_TRACK value
CMD_SENTRY_MODE_START + + +number + + + + + CMD_SENTRY_MODE_START value
CMD_SENTRY_MODE_STOP + + +number + + + + + CMD_SENTRY_MODE_STOP value
CMD_MOT_START + + +number + + + + + CMD_MOT_START value
CMD_MOT_TRACK_ONE + + +number + + + + + CMD_MOT_TRACK_ONE value
CMD_UFOTRACK_MODE_START + + +number + + + + + CMD_UFOTRACK_MODE_START value
CMD_UFOTRACK_MODE_STOP + + +number + + + + + CMD_UFOTRACK_MODE_STOP value
CMD_MOT_WIDE_TRACK_ONE + + +number + + + + + CMD_MOT_WIDE_TRACK_ONE value
CMD_WIDE_TELE_TRACK_SWITCH + + +number + + + + + CMD_WIDE_TELE_TRACK_SWITCH value
CMD_UFO_HAND_AOTO_MODE + + +number + + + + + CMD_UFO_HAND_AOTO_MODE value
CMD_FOCUS_AUTO_FOCUS + + +number + + + + + CMD_FOCUS_AUTO_FOCUS value
CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS + + +number + + + + + CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS value
CMD_FOCUS_START_MANUAL_CONTINU_FOCUS + + +number + + + + + CMD_FOCUS_START_MANUAL_CONTINU_FOCUS value
CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS + + +number + + + + + CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS value
CMD_FOCUS_START_ASTRO_AUTO_FOCUS + + +number + + + + + CMD_FOCUS_START_ASTRO_AUTO_FOCUS value
CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS + + +number + + + + + CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS value
CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING + + +number + + + + + CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING value
CMD_NOTIFY_ELE + + +number + + + + + CMD_NOTIFY_ELE value
CMD_NOTIFY_CHARGE + + +number + + + + + CMD_NOTIFY_CHARGE value
CMD_NOTIFY_SDCARD_INFO + + +number + + + + + CMD_NOTIFY_SDCARD_INFO value
CMD_NOTIFY_TELE_RECORD_TIME + + +number + + + + + CMD_NOTIFY_TELE_RECORD_TIME value
CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME + + +number + + + + + CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME value
CMD_NOTIFY_STATE_CAPTURE_RAW_DARK + + +number + + + + + CMD_NOTIFY_STATE_CAPTURE_RAW_DARK value
CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK + + +number + + + + + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK value
CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING value
CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING value
CMD_NOTIFY_STATE_ASTRO_CALIBRATION + + +number + + + + + CMD_NOTIFY_STATE_ASTRO_CALIBRATION value
CMD_NOTIFY_STATE_ASTRO_GOTO + + +number + + + + + CMD_NOTIFY_STATE_ASTRO_GOTO value
CMD_NOTIFY_STATE_ASTRO_TRACKING + + +number + + + + + CMD_NOTIFY_STATE_ASTRO_TRACKING value
CMD_NOTIFY_TELE_SET_PARAM + + +number + + + + + CMD_NOTIFY_TELE_SET_PARAM value
CMD_NOTIFY_WIDE_SET_PARAM + + +number + + + + + CMD_NOTIFY_WIDE_SET_PARAM value
CMD_NOTIFY_TELE_FUNCTION_STATE + + +number + + + + + CMD_NOTIFY_TELE_FUNCTION_STATE value
CMD_NOTIFY_WIDE_FUNCTION_STATE + + +number + + + + + CMD_NOTIFY_WIDE_FUNCTION_STATE value
CMD_NOTIFY_SET_FEATURE_PARAM + + +number + + + + + CMD_NOTIFY_SET_FEATURE_PARAM value
CMD_NOTIFY_TELE_BURST_PROGRESS + + +number + + + + + CMD_NOTIFY_TELE_BURST_PROGRESS value
CMD_NOTIFY_PANORAMA_PROGRESS + + +number + + + + + CMD_NOTIFY_PANORAMA_PROGRESS value
CMD_NOTIFY_WIDE_BURST_PROGRESS + + +number + + + + + CMD_NOTIFY_WIDE_BURST_PROGRESS value
CMD_NOTIFY_RGB_STATE + + +number + + + + + CMD_NOTIFY_RGB_STATE value
CMD_NOTIFY_POWER_IND_STATE + + +number + + + + + CMD_NOTIFY_POWER_IND_STATE value
CMD_NOTIFY_WS_HOST_SLAVE_MODE + + +number + + + + + CMD_NOTIFY_WS_HOST_SLAVE_MODE value
CMD_NOTIFY_MTP_STATE + + +number + + + + + CMD_NOTIFY_MTP_STATE value
CMD_NOTIFY_TRACK_RESULT + + +number + + + + + CMD_NOTIFY_TRACK_RESULT value
CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME + + +number + + + + + CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME value
CMD_NOTIFY_CPU_MODE + + +number + + + + + CMD_NOTIFY_CPU_MODE value
CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL + + +number + + + + + CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL value
CMD_NOTIFY_POWER_OFF + + +number + + + + + CMD_NOTIFY_POWER_OFF value
CMD_NOTIFY_ALBUM_UPDATE + + +number + + + + + CMD_NOTIFY_ALBUM_UPDATE value
CMD_NOTIFY_SENTRY_MODE_STATE + + +number + + + + + CMD_NOTIFY_SENTRY_MODE_STATE value
CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT + + +number + + + + + CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT value
CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO + + +number + + + + + CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO value
CMD_NOTIFY_STREAM_TYPE + + +number + + + + + CMD_NOTIFY_STREAM_TYPE value
CMD_NOTIFY_WIDE_RECORD_TIME + + +number + + + + + CMD_NOTIFY_WIDE_RECORD_TIME value
CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING value
CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING + + +number + + + + + CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING value
CMD_NOTIFY_MULTI_TRACK_RESULT + + +number + + + + + CMD_NOTIFY_MULTI_TRACK_RESULT value
CMD_NOTIFY_EQ_SOLVING_STATE + + +number + + + + + CMD_NOTIFY_EQ_SOLVING_STATE value
CMD_NOTIFY_UFO_MODE_STATE + + +number + + + + + CMD_NOTIFY_UFO_MODE_STATE value
CMD_NOTIFY_TELE_LONG_EXP_PROGRESS + + +number + + + + + CMD_NOTIFY_TELE_LONG_EXP_PROGRESS value
CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS + + +number + + + + + CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS value
CMD_NOTIFY_TEMPERATURE + + +number + + + + + CMD_NOTIFY_TEMPERATURE value
CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS + + +number + + + + + CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS value
CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS + + +number + + + + + CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS value
CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE + + +number + + + + + CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE value
CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK + + +number + + + + + CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK value
CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE + + +number + + + + + CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE value
CMD_NOTIFY_SHOOTING_TASK_STATE + + +number + + + + + CMD_NOTIFY_SHOOTING_TASK_STATE value
CMD_NOTIFY_SKY_SEACHER_STATE + + +number + + + + + CMD_NOTIFY_SKY_SEACHER_STATE value
CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT + + +number + + + + + CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT value
CMD_NOTIFY_WIDE_TRACK_RESULT + + +number + + + + + CMD_NOTIFY_WIDE_TRACK_RESULT value
CMD_NOTIFY_FOCUS + + +number + + + + + CMD_NOTIFY_FOCUS value
CMD_PANORAMA_START_GRID + + +number + + + + + CMD_PANORAMA_START_GRID value
CMD_PANORAMA_STOP + + +number + + + + + CMD_PANORAMA_STOP value
CMD_PANORAMA_START_EULER_RANGE + + +number + + + + + CMD_PANORAMA_START_EULER_RANGE value
+ + + + + + +
DwarfCMD enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-DwarfErrorCode.html b/docs/module-DwarfErrorCode.html new file mode 100644 index 00000000..b17ee777 --- /dev/null +++ b/docs/module-DwarfErrorCode.html @@ -0,0 +1,1270 @@ + + + + + + DwarfErrorCode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

DwarfErrorCode

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • DwarfErrorCode enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
OK + + +number + + + + + OK value
WS_PARSE_PROTOBUF_ERROR + + +number + + + + + WS_PARSE_PROTOBUF_ERROR value
WS_SDCARD_NOT_EXIST + + +number + + + + + WS_SDCARD_NOT_EXIST value
WS_INVALID_PARAM + + +number + + + + + WS_INVALID_PARAM value
WS_SDCARD_WRITE_ERROR + + +number + + + + + WS_SDCARD_WRITE_ERROR value
CODE_CAMERA_TELE_OPENED + + +number + + + + + CODE_CAMERA_TELE_OPENED value
CODE_CAMERA_TELE_CLOSED + + +number + + + + + CODE_CAMERA_TELE_CLOSED value
CODE_CAMERA_TELE_ISP_SET_FAILED + + +number + + + + + CODE_CAMERA_TELE_ISP_SET_FAILED value
CODE_CAMERA_TELE_OPEN_FAILED + + +number + + + + + CODE_CAMERA_TELE_OPEN_FAILED value
CODE_CAMERA_TELE_RECORDING + + +number + + + + + CODE_CAMERA_TELE_RECORDING value
CODE_CAMERA_TELE_WORKING_BUSY_STACK + + +number + + + + + CODE_CAMERA_TELE_WORKING_BUSY_STACK value
CODE_CAMERA_TELE_CAPTURE_RAW_FAILED + + +number + + + + + CODE_CAMERA_TELE_CAPTURE_RAW_FAILED value
CODE_CAMERA_TELE_WORKING_BUSY + + +number + + + + + CODE_CAMERA_TELE_WORKING_BUSY value
CODE_ASTRO_PLATE_SOLVING_FAILED + + +number + + + + + CODE_ASTRO_PLATE_SOLVING_FAILED value
CODE_ASTRO_FUNCTION_BUSY + + +number + + + + + CODE_ASTRO_FUNCTION_BUSY value
CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE + + +number + + + + + CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE value
CODE_ASTRO_DARK_NOT_FOUND + + +number + + + + + CODE_ASTRO_DARK_NOT_FOUND value
CODE_ASTRO_CALIBRATION_FAILED + + +number + + + + + CODE_ASTRO_CALIBRATION_FAILED value
CODE_ASTRO_GOTO_FAILED + + +number + + + + + CODE_ASTRO_GOTO_FAILED value
CODE_ASTRO_NEED_GOTO + + +number + + + + + CODE_ASTRO_NEED_GOTO value
CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM + + +number + + + + + CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM value
CODE_ASTRO_EQ_SOLVING_FAILED + + +number + + + + + CODE_ASTRO_EQ_SOLVING_FAILED value
CODE_ASTRO_SKY_SEARCH_FAILED + + +number + + + + + CODE_ASTRO_SKY_SEARCH_FAILED value
CODE_CAMERA_WIDE_OPENED + + +number + + + + + CODE_CAMERA_WIDE_OPENED value
CODE_CAMERA_WIDE_CLOSED + + +number + + + + + CODE_CAMERA_WIDE_CLOSED value
CODE_CAMERA_WIDE_CANNOT_FOUND + + +number + + + + + CODE_CAMERA_WIDE_CANNOT_FOUND value
CODE_CAMERA_WIDE_OPEN_FAILED + + +number + + + + + CODE_CAMERA_WIDE_OPEN_FAILED value
CODE_CAMERA_WIDE_CLOSE_FAILED + + +number + + + + + CODE_CAMERA_WIDE_CLOSE_FAILED value
CODE_CAMERA_WIDE_SET_ISP_FAILED + + +number + + + + + CODE_CAMERA_WIDE_SET_ISP_FAILED value
CODE_CAMERA_WIDE_PHOTOGRAPHING + + +number + + + + + CODE_CAMERA_WIDE_PHOTOGRAPHING value
CODE_CAMERA_WIDE_EXP_TOO_LONG + + +number + + + + + CODE_CAMERA_WIDE_EXP_TOO_LONG value
CODE_SYSTEM_SET_TIME_FAILED + + +number + + + + + CODE_SYSTEM_SET_TIME_FAILED value
CODE_SYSTEM_SET_TIMEZONE_FAILED + + +number + + + + + CODE_SYSTEM_SET_TIMEZONE_FAILED value
CODE_SYSTEM_SETTING_TIMEZONE_FAILED + + +number + + + + + CODE_SYSTEM_SETTING_TIMEZONE_FAILED value
CODE_RGB_POWER_UART_INIT_FAILED + + +number + + + + + CODE_RGB_POWER_UART_INIT_FAILED value
CODE_STEP_MOTOR_INVALID_PARAMETER_ID + + +number + + + + + CODE_STEP_MOTOR_INVALID_PARAMETER_ID value
CODE_STEP_MOTOR_LIMIT_POSITION_WARNING + + +number + + + + + CODE_STEP_MOTOR_LIMIT_POSITION_WARNING value
CODE_STEP_MOTOR_LIMIT_POSITION_HITTED + + +number + + + + + CODE_STEP_MOTOR_LIMIT_POSITION_HITTED value
CODE_STEP_MOTOR_POSITION_NEED_RESET + + +number + + + + + CODE_STEP_MOTOR_POSITION_NEED_RESET value
CODE_TRACK_TRACKER_INITING + + +number + + + + + CODE_TRACK_TRACKER_INITING value
CODE_TRACK_TRACKER_FAILED + + +number + + + + + CODE_TRACK_TRACKER_FAILED value
CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR + + +number + + + + + CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR value
CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR + + +number + + + + + CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR value
CODE_PANORAMA_PHOTO_FAILED + + +number + + + + + CODE_PANORAMA_PHOTO_FAILED value
CODE_PANORAMA_MOTOR_RESET_FAILED + + +number + + + + + CODE_PANORAMA_MOTOR_RESET_FAILED value
+ + + + + + +
DwarfErrorCode enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqClosePowerInd.html b/docs/module-IrCut-IReqClosePowerInd.html new file mode 100644 index 00000000..cc973a2e --- /dev/null +++ b/docs/module-IrCut-IReqClosePowerInd.html @@ -0,0 +1,170 @@ + + + + + + IReqClosePowerInd - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqClosePowerInd

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqClosePowerInd + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqClosePowerInd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqClosePowerInd.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqCloseRgb.html b/docs/module-IrCut-IReqCloseRgb.html new file mode 100644 index 00000000..9daf75b3 --- /dev/null +++ b/docs/module-IrCut-IReqCloseRgb.html @@ -0,0 +1,170 @@ + + + + + + IReqCloseRgb - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCloseRgb

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqCloseRgb + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCloseRgb.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCloseRgb.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqContinueTrack.html b/docs/module-IrCut-IReqContinueTrack.html new file mode 100644 index 00000000..2ae99027 --- /dev/null +++ b/docs/module-IrCut-IReqContinueTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqContinueTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqContinueTrack

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqContinueTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqContinueTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqContinueTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqOpenPowerInd.html b/docs/module-IrCut-IReqOpenPowerInd.html new file mode 100644 index 00000000..1c1838ea --- /dev/null +++ b/docs/module-IrCut-IReqOpenPowerInd.html @@ -0,0 +1,170 @@ + + + + + + IReqOpenPowerInd - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOpenPowerInd

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqOpenPowerInd + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOpenPowerInd.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqOpenPowerInd.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqOpenRgb.html b/docs/module-IrCut-IReqOpenRgb.html new file mode 100644 index 00000000..80f1196d --- /dev/null +++ b/docs/module-IrCut-IReqOpenRgb.html @@ -0,0 +1,170 @@ + + + + + + IReqOpenRgb - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOpenRgb

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqOpenRgb + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOpenRgb.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqOpenRgb.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqPauseTrack.html b/docs/module-IrCut-IReqPauseTrack.html new file mode 100644 index 00000000..897f06ff --- /dev/null +++ b/docs/module-IrCut-IReqPauseTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqPauseTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPauseTrack

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqPauseTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPauseTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPauseTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqPowerDown.html b/docs/module-IrCut-IReqPowerDown.html new file mode 100644 index 00000000..9fe196d6 --- /dev/null +++ b/docs/module-IrCut-IReqPowerDown.html @@ -0,0 +1,170 @@ + + + + + + IReqPowerDown - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPowerDown

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqPowerDown + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPowerDown.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPowerDown.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqReboot.html b/docs/module-IrCut-IReqReboot.html new file mode 100644 index 00000000..e0a30436 --- /dev/null +++ b/docs/module-IrCut-IReqReboot.html @@ -0,0 +1,170 @@ + + + + + + IReqReboot - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqReboot

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqReboot + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqReboot.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqReboot.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetCpuMode.html b/docs/module-IrCut-IReqSetCpuMode.html new file mode 100644 index 00000000..c0d6dfbb --- /dev/null +++ b/docs/module-IrCut-IReqSetCpuMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetCpuMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetCpuMode

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetCpuMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetCpuMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetCpuMode mode
+ + + + + + +
Properties of a ReqSetCpuMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetHostMode.html b/docs/module-IrCut-IReqSetHostMode.html new file mode 100644 index 00000000..a9c94400 --- /dev/null +++ b/docs/module-IrCut-IReqSetHostMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetHostMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetHostMode

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetHostMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetHostMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetHostMode mode
+ + + + + + +
Properties of a ReqSetHostMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Fri Mar 29 2024 18:35:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetHostSalveMode.html b/docs/module-IrCut-IReqSetHostSalveMode.html new file mode 100644 index 00000000..0bbed04a --- /dev/null +++ b/docs/module-IrCut-IReqSetHostSalveMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetHostSalveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetHostSalveMode

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetHostSalveMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetHostSalveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetHostSalveMode mode
+ + + + + + +
Properties of a ReqSetHostSalveMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Wed Apr 17 2024 15:06:56 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetHostSlaveMode.html b/docs/module-IrCut-IReqSetHostSlaveMode.html new file mode 100644 index 00000000..3ed3a8d3 --- /dev/null +++ b/docs/module-IrCut-IReqSetHostSlaveMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetHostSlaveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetHostSlaveMode

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetHostSlaveMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetHostSlaveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetHostSlaveMode mode
+ + + + + + +
Properties of a ReqSetHostSlaveMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetMtpMode.html b/docs/module-IrCut-IReqSetMtpMode.html new file mode 100644 index 00000000..9e1e2319 --- /dev/null +++ b/docs/module-IrCut-IReqSetMtpMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetMtpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetMtpMode

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetMtpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetMtpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetMtpMode mode
+ + + + + + +
Properties of a ReqSetMtpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetTime.html b/docs/module-IrCut-IReqSetTime.html new file mode 100644 index 00000000..3b58ba8d --- /dev/null +++ b/docs/module-IrCut-IReqSetTime.html @@ -0,0 +1,239 @@ + + + + + + IReqSetTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetTime

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
timestamp + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ReqSetTime timestamp
+ + + + + + +
Properties of a ReqSetTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqSetTimezone.html b/docs/module-IrCut-IReqSetTimezone.html new file mode 100644 index 00000000..041c33ef --- /dev/null +++ b/docs/module-IrCut-IReqSetTimezone.html @@ -0,0 +1,236 @@ + + + + + + IReqSetTimezone - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetTimezone

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqSetTimezone + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetTimezone.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
timezone + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetTimezone timezone
+ + + + + + +
Properties of a ReqSetTimezone.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqStartTrack.html b/docs/module-IrCut-IReqStartTrack.html new file mode 100644 index 00000000..36c95f0f --- /dev/null +++ b/docs/module-IrCut-IReqStartTrack.html @@ -0,0 +1,341 @@ + + + + + + IReqStartTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartTrack

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqStartTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack y
w + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack w
h + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack h
+ + + + + + +
Properties of a ReqStartTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut-IReqStopTrack.html b/docs/module-IrCut-IReqStopTrack.html new file mode 100644 index 00000000..2892ff2a --- /dev/null +++ b/docs/module-IrCut-IReqStopTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqStopTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopTrack

+ + + + + + + +
+ +
+ +

+ IrCut~ + + + IReqStopTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Tue Oct 22 2024 18:12:57 GMT+0200 (Central European Summer Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-IrCut.html b/docs/module-IrCut.html new file mode 100644 index 00000000..4eb86e7f --- /dev/null +++ b/docs/module-IrCut.html @@ -0,0 +1,260 @@ + + + + + + IrCut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IrCut

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • IrCut enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
CUT + + +number + + + + + CUT value
PASS + + +number + + + + + PASS value
+ + + + + + +
IrCut enum.
+ + + + +
+ + + + + + + + + +

Interfaces

+ +
+
IReqClosePowerInd
+
+ +
IReqCloseRgb
+
+ +
IReqOpenPowerInd
+
+ +
IReqOpenRgb
+
+ +
IReqPowerDown
+
+ +
IReqReboot
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-MessageTypeId.html b/docs/module-MessageTypeId.html new file mode 100644 index 00000000..25973752 --- /dev/null +++ b/docs/module-MessageTypeId.html @@ -0,0 +1,286 @@ + + + + + + MessageTypeId - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

MessageTypeId

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • MessageTypeId enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
TYPE_REQUEST + + +number + + + + + TYPE_REQUEST value
TYPE_REQUEST_RESPONSE + + +number + + + + + TYPE_REQUEST_RESPONSE value
TYPE_NOTIFICATION + + +number + + + + + TYPE_NOTIFICATION value
TYPE_NOTIFICATION_RESPONSE + + +number + + + + + TYPE_NOTIFICATION_RESPONSE value
+ + + + + + +
MessageTypeId enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ModuleId.html b/docs/module-ModuleId.html new file mode 100644 index 00000000..8b4d6191 --- /dev/null +++ b/docs/module-ModuleId.html @@ -0,0 +1,478 @@ + + + + + + ModuleId - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ModuleId

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ModuleId enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
MODULE_NONE + + +number + + + + + MODULE_NONE value
MODULE_CAMERA_TELE + + +number + + + + + MODULE_CAMERA_TELE value
MODULE_CAMERA_WIDE + + +number + + + + + MODULE_CAMERA_WIDE value
MODULE_ASTRO + + +number + + + + + MODULE_ASTRO value
MODULE_SYSTEM + + +number + + + + + MODULE_SYSTEM value
MODULE_RGB_POWER + + +number + + + + + MODULE_RGB_POWER value
MODULE_MOTOR + + +number + + + + + MODULE_MOTOR value
MODULE_TRACK + + +number + + + + + MODULE_TRACK value
MODULE_FOCUS + + +number + + + + + MODULE_FOCUS value
MODULE_NOTIFY + + +number + + + + + MODULE_NOTIFY value
MODULE_PANORAMA + + +number + + + + + MODULE_PANORAMA value
MODULE_SHOOTING_SCHEDULE + + +number + + + + + MODULE_SHOOTING_SCHEDULE value
+ + + + + + +
ModuleId enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-OperationState.html b/docs/module-OperationState.html new file mode 100644 index 00000000..5fed41d4 --- /dev/null +++ b/docs/module-OperationState.html @@ -0,0 +1,286 @@ + + + + + + OperationState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

OperationState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • OperationState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
OPERATION_STATE_IDLE + + +number + + + + + OPERATION_STATE_IDLE value
OPERATION_STATE_RUNNING + + +number + + + + + OPERATION_STATE_RUNNING value
OPERATION_STATE_STOPPING + + +number + + + + + OPERATION_STATE_STOPPING value
OPERATION_STATE_STOPPED + + +number + + + + + OPERATION_STATE_STOPPED value
+ + + + + + +
OperationState enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-PhotoMode.html b/docs/module-PhotoMode.html new file mode 100644 index 00000000..22a17d33 --- /dev/null +++ b/docs/module-PhotoMode.html @@ -0,0 +1,238 @@ + + + + + + PhotoMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

PhotoMode

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • PhotoMode enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
Auto + + +number + + + + + Auto value
Manual + + +number + + + + + Manual value
+ + + + + + +
PhotoMode enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IReqStartPanoramaByEulerRange.html b/docs/module-SentryModeState-IReqStartPanoramaByEulerRange.html new file mode 100644 index 00000000..57308552 --- /dev/null +++ b/docs/module-SentryModeState-IReqStartPanoramaByEulerRange.html @@ -0,0 +1,271 @@ + + + + + + IReqStartPanoramaByEulerRange - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartPanoramaByEulerRange

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IReqStartPanoramaByEulerRange + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartPanoramaByEulerRange.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
yawRange + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByEulerRange yawRange
pitchRange + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaByEulerRange pitchRange
+ + + + + + +
Properties of a ReqStartPanoramaByEulerRange.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IReqStartPanoramaByGrid.html b/docs/module-SentryModeState-IReqStartPanoramaByGrid.html new file mode 100644 index 00000000..c91a758c --- /dev/null +++ b/docs/module-SentryModeState-IReqStartPanoramaByGrid.html @@ -0,0 +1,170 @@ + + + + + + IReqStartPanoramaByGrid - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartPanoramaByGrid

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IReqStartPanoramaByGrid + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartPanoramaByGrid.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStartPanoramaByGrid.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IReqStartPanoramaStitchUpload.html b/docs/module-SentryModeState-IReqStartPanoramaStitchUpload.html new file mode 100644 index 00000000..6888be29 --- /dev/null +++ b/docs/module-SentryModeState-IReqStartPanoramaStitchUpload.html @@ -0,0 +1,446 @@ + + + + + + IReqStartPanoramaStitchUpload - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartPanoramaStitchUpload

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IReqStartPanoramaStitchUpload + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartPanoramaStitchUpload.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
userId + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload userId
busiNo + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload busiNo
appPlatform + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload appPlatform
panoramaName + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload panoramaName
ak + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload ak
sk + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload sk
token + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqStartPanoramaStitchUpload token
+ + + + + + +
Properties of a ReqStartPanoramaStitchUpload.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IReqStopPanorama.html b/docs/module-SentryModeState-IReqStopPanorama.html new file mode 100644 index 00000000..95063a7c --- /dev/null +++ b/docs/module-SentryModeState-IReqStopPanorama.html @@ -0,0 +1,170 @@ + + + + + + IReqStopPanorama - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopPanorama

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IReqStopPanorama + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopPanorama.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopPanorama.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IReqStopPanoramaStitchUpload.html b/docs/module-SentryModeState-IReqStopPanoramaStitchUpload.html new file mode 100644 index 00000000..eee9978e --- /dev/null +++ b/docs/module-SentryModeState-IReqStopPanoramaStitchUpload.html @@ -0,0 +1,170 @@ + + + + + + IReqStopPanoramaStitchUpload - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopPanoramaStitchUpload

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IReqStopPanoramaStitchUpload + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopPanoramaStitchUpload.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopPanoramaStitchUpload.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResGetStitchUploadState.html b/docs/module-SentryModeState-IResGetStitchUploadState.html new file mode 100644 index 00000000..ae81ca38 --- /dev/null +++ b/docs/module-SentryModeState-IResGetStitchUploadState.html @@ -0,0 +1,557 @@ + + + + + + IResGetStitchUploadState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetStitchUploadState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResGetStitchUploadState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetStitchUploadState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState code
userId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState userId
busiNo + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState busiNo
panoramaName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState panoramaName
mac + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState mac
totalFilesNum + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState totalFilesNum
compressedFilesNum + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState compressedFilesNum
totalSize + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState totalSize
uploadedSize + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState uploadedSize
step + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetStitchUploadState step
+ + + + + + +
Properties of a ResGetStitchUploadState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyAlbumUpdate.html b/docs/module-SentryModeState-IResNotifyAlbumUpdate.html new file mode 100644 index 00000000..331c7070 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyAlbumUpdate.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyAlbumUpdate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyAlbumUpdate

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyAlbumUpdate + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyAlbumUpdate.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mediaType + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyAlbumUpdate mediaType
+ + + + + + +
Properties of a ResNotifyAlbumUpdate.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyBurstProgress.html b/docs/module-SentryModeState-IResNotifyBurstProgress.html new file mode 100644 index 00000000..207838f4 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyBurstProgress.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyBurstProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyBurstProgress

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyBurstProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyBurstProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyBurstProgress totalCount
completedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyBurstProgress completedCount
+ + + + + + +
Properties of a ResNotifyBurstProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyCPUMode.html b/docs/module-SentryModeState-IResNotifyCPUMode.html new file mode 100644 index 00000000..43aebe33 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyCPUMode.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyCPUMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyCPUMode

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyCPUMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyCPUMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCPUMode mode
+ + + + + + +
Properties of a ResNotifyCPUMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyCamFunctionState.html b/docs/module-SentryModeState-IResNotifyCamFunctionState.html new file mode 100644 index 00000000..4ca0ea00 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyCamFunctionState.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyCamFunctionState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyCamFunctionState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyCamFunctionState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyCamFunctionState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCamFunctionState state
functionId + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyCamFunctionState functionId
+ + + + + + +
Properties of a ResNotifyCamFunctionState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyEqSolvingState.html b/docs/module-SentryModeState-IResNotifyEqSolvingState.html new file mode 100644 index 00000000..350142ff --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyEqSolvingState.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyEqSolvingState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyEqSolvingState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyEqSolvingState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyEqSolvingState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
step + + +ResNotifyEqSolvingState.Action +| + +null + + + + + + + <optional>
+ + + +
ResNotifyEqSolvingState step
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyEqSolvingState state
+ + + + + + +
Properties of a ResNotifyEqSolvingState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyFocus.html b/docs/module-SentryModeState-IResNotifyFocus.html new file mode 100644 index 00000000..50859247 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyFocus.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyFocus

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
focus + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyFocus focus
+ + + + + + +
Properties of a ResNotifyFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyHostSlaveMode.html b/docs/module-SentryModeState-IResNotifyHostSlaveMode.html new file mode 100644 index 00000000..9a6531cb --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyHostSlaveMode.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyHostSlaveMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyHostSlaveMode

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyHostSlaveMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyHostSlaveMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyHostSlaveMode mode
lock + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ResNotifyHostSlaveMode lock
+ + + + + + +
Properties of a ResNotifyHostSlaveMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyLongExpPhotoProgress.html b/docs/module-SentryModeState-IResNotifyLongExpPhotoProgress.html new file mode 100644 index 00000000..47a199a2 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyLongExpPhotoProgress.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyLongExpPhotoProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyLongExpPhotoProgress

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyLongExpPhotoProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyLongExpPhotoProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
functionId + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyLongExpPhotoProgress functionId
totalTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyLongExpPhotoProgress totalTime
exposuredTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyLongExpPhotoProgress exposuredTime
+ + + + + + +
Properties of a ResNotifyLongExpPhotoProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyMTPState.html b/docs/module-SentryModeState-IResNotifyMTPState.html new file mode 100644 index 00000000..c06e58d1 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyMTPState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyMTPState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyMTPState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyMTPState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyMTPState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyMTPState mode
+ + + + + + +
Properties of a ResNotifyMTPState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyOneClickGotoState.html b/docs/module-SentryModeState-IResNotifyOneClickGotoState.html new file mode 100644 index 00000000..f269a6fb --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyOneClickGotoState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyOneClickGotoState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyOneClickGotoState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyOneClickGotoState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyOneClickGotoState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyOneClickGotoState state
+ + + + + + +
Properties of a ResNotifyOneClickGotoState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyOperationState.html b/docs/module-SentryModeState-IResNotifyOperationState.html new file mode 100644 index 00000000..f93e0113 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyOperationState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyOperationState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyOperationState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyOperationState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyOperationState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyOperationState state
+ + + + + + +
Properties of a ResNotifyOperationState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPanoramaCompressionProgress.html b/docs/module-SentryModeState-IResNotifyPanoramaCompressionProgress.html new file mode 100644 index 00000000..217eb661 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPanoramaCompressionProgress.html @@ -0,0 +1,411 @@ + + + + + + IResNotifyPanoramaCompressionProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPanoramaCompressionProgress

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPanoramaCompressionProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPanoramaCompressionProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
userId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress userId
busiNo + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress busiNo
panoramaName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress panoramaName
mac + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress mac
totalFilesNum + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress totalFilesNum
compressedFilesNum + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaCompressionProgress compressedFilesNum
+ + + + + + +
Properties of a ResNotifyPanoramaCompressionProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPanoramaProgress.html b/docs/module-SentryModeState-IResNotifyPanoramaProgress.html new file mode 100644 index 00000000..ed97e403 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPanoramaProgress.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyPanoramaProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPanoramaProgress

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPanoramaProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPanoramaProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaProgress totalCount
completedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaProgress completedCount
+ + + + + + +
Properties of a ResNotifyPanoramaProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPanoramaStitchUploadComplete.html b/docs/module-SentryModeState-IResNotifyPanoramaStitchUploadComplete.html new file mode 100644 index 00000000..4633520d --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPanoramaStitchUploadComplete.html @@ -0,0 +1,376 @@ + + + + + + IResNotifyPanoramaStitchUploadComplete - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPanoramaStitchUploadComplete

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPanoramaStitchUploadComplete + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPanoramaStitchUploadComplete.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
userId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaStitchUploadComplete userId
busiNo + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaStitchUploadComplete busiNo
panoramaName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaStitchUploadComplete panoramaName
mac + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaStitchUploadComplete mac
uploadRes + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaStitchUploadComplete uploadRes
+ + + + + + +
Properties of a ResNotifyPanoramaStitchUploadComplete.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPanoramaUploadProgress.html b/docs/module-SentryModeState-IResNotifyPanoramaUploadProgress.html new file mode 100644 index 00000000..a369d397 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPanoramaUploadProgress.html @@ -0,0 +1,417 @@ + + + + + + IResNotifyPanoramaUploadProgress - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPanoramaUploadProgress

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPanoramaUploadProgress + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPanoramaUploadProgress.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
userId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress userId
busiNo + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress busiNo
panoramaName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress panoramaName
mac + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress mac
totalSize + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress totalSize
uploadedSize + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPanoramaUploadProgress uploadedSize
+ + + + + + +
Properties of a ResNotifyPanoramaUploadProgress.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyParam.html b/docs/module-SentryModeState-IResNotifyParam.html new file mode 100644 index 00000000..b7220b99 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyParam.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyParam

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
param + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResNotifyParam param
+ + + + + + +
Properties of a ResNotifyParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPictureMatching.html b/docs/module-SentryModeState-IResNotifyPictureMatching.html new file mode 100644 index 00000000..3aade62d --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPictureMatching.html @@ -0,0 +1,411 @@ + + + + + + IResNotifyPictureMatching - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPictureMatching

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPictureMatching + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPictureMatching.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching y
width + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching width
height + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching height
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching value
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPictureMatching code
+ + + + + + +
Properties of a ResNotifyPictureMatching.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPowerIndState.html b/docs/module-SentryModeState-IResNotifyPowerIndState.html new file mode 100644 index 00000000..d93a1a77 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPowerIndState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyPowerIndState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPowerIndState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPowerIndState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPowerIndState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyPowerIndState state
+ + + + + + +
Properties of a ResNotifyPowerIndState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyPowerOff.html b/docs/module-SentryModeState-IResNotifyPowerOff.html new file mode 100644 index 00000000..ef64a024 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyPowerOff.html @@ -0,0 +1,170 @@ + + + + + + IResNotifyPowerOff - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyPowerOff

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyPowerOff + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyPowerOff.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ResNotifyPowerOff.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyProgressCaptureRawDark.html b/docs/module-SentryModeState-IResNotifyProgressCaptureRawDark.html new file mode 100644 index 00000000..0908f1de --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyProgressCaptureRawDark.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyProgressCaptureRawDark - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyProgressCaptureRawDark

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyProgressCaptureRawDark + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyProgressCaptureRawDark.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
progress + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawDark progress
remainingTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawDark remainingTime
+ + + + + + +
Properties of a ResNotifyProgressCaptureRawDark.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyProgressCaptureRawLiveStacking.html b/docs/module-SentryModeState-IResNotifyProgressCaptureRawLiveStacking.html new file mode 100644 index 00000000..1ecbe0f0 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyProgressCaptureRawLiveStacking.html @@ -0,0 +1,446 @@ + + + + + + IResNotifyProgressCaptureRawLiveStacking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyProgressCaptureRawLiveStacking

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyProgressCaptureRawLiveStacking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyProgressCaptureRawLiveStacking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
totalCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking totalCount
updateCountType + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking updateCountType
currentCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking currentCount
stackedCount + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking stackedCount
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking expIndex
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking gainIndex
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyProgressCaptureRawLiveStacking targetName
+ + + + + + +
Properties of a ResNotifyProgressCaptureRawLiveStacking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyRecordTime.html b/docs/module-SentryModeState-IResNotifyRecordTime.html new file mode 100644 index 00000000..0223aef6 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyRecordTime.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyRecordTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyRecordTime

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyRecordTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyRecordTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
recordTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyRecordTime recordTime
+ + + + + + +
Properties of a ResNotifyRecordTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyRgbState.html b/docs/module-SentryModeState-IResNotifyRgbState.html new file mode 100644 index 00000000..31d67489 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyRgbState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyRgbState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyRgbState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyRgbState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyRgbState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyRgbState state
+ + + + + + +
Properties of a ResNotifyRgbState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifySDcardInfo.html b/docs/module-SentryModeState-IResNotifySDcardInfo.html new file mode 100644 index 00000000..39629702 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifySDcardInfo.html @@ -0,0 +1,306 @@ + + + + + + IResNotifySDcardInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifySDcardInfo

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifySDcardInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifySDcardInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
availableSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo availableSize
totalSize + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo totalSize
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifySDcardInfo code
+ + + + + + +
Properties of a ResNotifySDcardInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyShootingScheduleResultAndState.html b/docs/module-SentryModeState-IResNotifyShootingScheduleResultAndState.html new file mode 100644 index 00000000..a5367ff9 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyShootingScheduleResultAndState.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyShootingScheduleResultAndState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyShootingScheduleResultAndState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyShootingScheduleResultAndState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyShootingScheduleResultAndState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
scheduleId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingScheduleResultAndState scheduleId
result + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingScheduleResultAndState result
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingScheduleResultAndState state
+ + + + + + +
Properties of a ResNotifyShootingScheduleResultAndState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyShootingTaskState.html b/docs/module-SentryModeState-IResNotifyShootingTaskState.html new file mode 100644 index 00000000..673cef1f --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyShootingTaskState.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyShootingTaskState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyShootingTaskState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyShootingTaskState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyShootingTaskState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
scheduleTaskId + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingTaskState scheduleTaskId
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingTaskState state
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyShootingTaskState code
+ + + + + + +
Properties of a ResNotifyShootingTaskState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifySkySeacherState.html b/docs/module-SentryModeState-IResNotifySkySeacherState.html new file mode 100644 index 00000000..e2e69f1d --- /dev/null +++ b/docs/module-SentryModeState-IResNotifySkySeacherState.html @@ -0,0 +1,236 @@ + + + + + + IResNotifySkySeacherState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifySkySeacherState

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifySkySeacherState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifySkySeacherState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifySkySeacherState state
+ + + + + + +
Properties of a ResNotifySkySeacherState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStateAstroCalibration.html b/docs/module-SentryModeState-IResNotifyStateAstroCalibration.html new file mode 100644 index 00000000..84d77a07 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStateAstroCalibration.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyStateAstroCalibration - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroCalibration

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStateAstroCalibration + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroCalibration.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +AstroState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroCalibration state
plateSolvingTimes + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroCalibration plateSolvingTimes
+ + + + + + +
Properties of a ResNotifyStateAstroCalibration.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStateAstroGoto.html b/docs/module-SentryModeState-IResNotifyStateAstroGoto.html new file mode 100644 index 00000000..cf6e575a --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStateAstroGoto.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyStateAstroGoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroGoto

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStateAstroGoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroGoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +AstroState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroGoto state
+ + + + + + +
Properties of a ResNotifyStateAstroGoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStateAstroTracking.html b/docs/module-SentryModeState-IResNotifyStateAstroTracking.html new file mode 100644 index 00000000..1cf20ea5 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStateAstroTracking.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyStateAstroTracking - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroTracking

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStateAstroTracking + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroTracking.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTracking state
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTracking targetName
+ + + + + + +
Properties of a ResNotifyStateAstroTracking.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStateAstroTrackingSpecial.html b/docs/module-SentryModeState-IResNotifyStateAstroTrackingSpecial.html new file mode 100644 index 00000000..086b72fb --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStateAstroTrackingSpecial.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyStateAstroTrackingSpecial - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateAstroTrackingSpecial

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStateAstroTrackingSpecial + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateAstroTrackingSpecial.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +OperationState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial state
targetName + + +string +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial targetName
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateAstroTrackingSpecial index
+ + + + + + +
Properties of a ResNotifyStateAstroTrackingSpecial.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStateSentryMode.html b/docs/module-SentryModeState-IResNotifyStateSentryMode.html new file mode 100644 index 00000000..bbb11b32 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStateSentryMode.html @@ -0,0 +1,236 @@ + + + + + + IResNotifyStateSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStateSentryMode

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStateSentryMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStateSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
state + + +SentryModeState +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStateSentryMode state
+ + + + + + +
Properties of a ResNotifyStateSentryMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyStreamType.html b/docs/module-SentryModeState-IResNotifyStreamType.html new file mode 100644 index 00000000..23f171e5 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyStreamType.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyStreamType - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyStreamType

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyStreamType + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyStreamType.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
streamType + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStreamType streamType
camId + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyStreamType camId
+ + + + + + +
Properties of a ResNotifyStreamType.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyTemperature.html b/docs/module-SentryModeState-IResNotifyTemperature.html new file mode 100644 index 00000000..19f1234e --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyTemperature.html @@ -0,0 +1,271 @@ + + + + + + IResNotifyTemperature - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyTemperature

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyTemperature + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyTemperature.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTemperature code
temperature + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTemperature temperature
+ + + + + + +
Properties of a ResNotifyTemperature.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyTimeLapseOutTime.html b/docs/module-SentryModeState-IResNotifyTimeLapseOutTime.html new file mode 100644 index 00000000..096dc387 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyTimeLapseOutTime.html @@ -0,0 +1,306 @@ + + + + + + IResNotifyTimeLapseOutTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyTimeLapseOutTime

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyTimeLapseOutTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyTimeLapseOutTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
interval + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime interval
outTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime outTime
totalTime + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTimeLapseOutTime totalTime
+ + + + + + +
Properties of a ResNotifyTimeLapseOutTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState-IResNotifyTrackResult.html b/docs/module-SentryModeState-IResNotifyTrackResult.html new file mode 100644 index 00000000..2042af17 --- /dev/null +++ b/docs/module-SentryModeState-IResNotifyTrackResult.html @@ -0,0 +1,341 @@ + + + + + + IResNotifyTrackResult - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResNotifyTrackResult

+ + + + + + + +
+ +
+ +

+ SentryModeState~ + + + IResNotifyTrackResult + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResNotifyTrackResult.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult y
w + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult w
h + + +number +| + +null + + + + + + + <optional>
+ + + +
ResNotifyTrackResult h
+ + + + + + +
Properties of a ResNotifyTrackResult.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SentryModeState.html b/docs/module-SentryModeState.html new file mode 100644 index 00000000..6b76fd78 --- /dev/null +++ b/docs/module-SentryModeState.html @@ -0,0 +1,464 @@ + + + + + + SentryModeState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

SentryModeState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • SentryModeState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SENTRY_MODE_STATE_IDLE + + +number + + + + + SENTRY_MODE_STATE_IDLE value
SENTRY_MODE_STATE_INIT + + +number + + + + + SENTRY_MODE_STATE_INIT value
SENTRY_MODE_STATE_DETECT + + +number + + + + + SENTRY_MODE_STATE_DETECT value
SENTRY_MODE_STATE_TRACK + + +number + + + + + SENTRY_MODE_STATE_TRACK value
SENTRY_MODE_STATE_TRACK_FINISH + + +number + + + + + SENTRY_MODE_STATE_TRACK_FINISH value
SENTRY_MODE_STATE_STOPPING + + +number + + + + + SENTRY_MODE_STATE_STOPPING value
+ + + + + + +
SentryModeState enum.
+ + + + +
+ + + + + + + + + +

Interfaces

+ +
+
IReqStartPanoramaByEulerRange
+
+ +
IReqStartPanoramaByGrid
+
+ +
IReqStartPanoramaStitchUpload
+
+ +
IReqStopPanorama
+
+ +
IReqStopPanoramaStitchUpload
+
+ +
IResGetStitchUploadState
+
+ +
IResNotifyAlbumUpdate
+
+ +
IResNotifyBurstProgress
+
+ +
IResNotifyCPUMode
+
+ +
IResNotifyCamFunctionState
+
+ +
IResNotifyEqSolvingState
+
+ +
IResNotifyFocus
+
+ +
IResNotifyHostSlaveMode
+
+ +
IResNotifyLongExpPhotoProgress
+
+ +
IResNotifyMTPState
+
+ +
IResNotifyOneClickGotoState
+
+ +
IResNotifyOperationState
+
+ +
IResNotifyPanoramaCompressionProgress
+
+ +
IResNotifyPanoramaProgress
+
+ +
IResNotifyPanoramaStitchUploadComplete
+
+ +
IResNotifyPanoramaUploadProgress
+
+ +
IResNotifyParam
+
+ +
IResNotifyPictureMatching
+
+ +
IResNotifyPowerIndState
+
+ +
IResNotifyPowerOff
+
+ +
IResNotifyProgressCaptureRawDark
+
+ +
IResNotifyProgressCaptureRawLiveStacking
+
+ +
IResNotifyRecordTime
+
+ +
IResNotifyRgbState
+
+ +
IResNotifySDcardInfo
+
+ +
IResNotifyShootingScheduleResultAndState
+
+ +
IResNotifyShootingTaskState
+
+ +
IResNotifySkySeacherState
+
+ +
IResNotifyStateAstroCalibration
+
+ +
IResNotifyStateAstroGoto
+
+ +
IResNotifyStateAstroTracking
+
+ +
IResNotifyStateAstroTrackingSpecial
+
+ +
IResNotifyStateSentryMode
+
+ +
IResNotifyStreamType
+
+ +
IResNotifyTemperature
+
+ +
IResNotifyTimeLapseOutTime
+
+ +
IResNotifyTrackResult
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:46 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqCancelShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqCancelShootingSchedule.html new file mode 100644 index 00000000..2aeae261 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqCancelShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IReqCancelShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCancelShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqCancelShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCancelShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCancelShootingSchedule id
password + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCancelShootingSchedule password
+ + + + + + +
Properties of a ReqCancelShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqContinueTrack.html b/docs/module-ShootingScheduleMode-IReqContinueTrack.html new file mode 100644 index 00000000..2e0b645c --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqContinueTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqContinueTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqContinueTrack

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqContinueTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqContinueTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqContinueTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqDeleteShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqDeleteShootingSchedule.html new file mode 100644 index 00000000..d11f3822 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqDeleteShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IReqDeleteShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDeleteShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqDeleteShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDeleteShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqDeleteShootingSchedule id
password + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqDeleteShootingSchedule password
+ + + + + + +
Properties of a ReqDeleteShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqDeviceActivateSuccessfull.html b/docs/module-ShootingScheduleMode-IReqDeviceActivateSuccessfull.html new file mode 100644 index 00000000..00425310 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqDeviceActivateSuccessfull.html @@ -0,0 +1,236 @@ + + + + + + IReqDeviceActivateSuccessfull - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDeviceActivateSuccessfull

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqDeviceActivateSuccessfull + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDeviceActivateSuccessfull.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
requestParam + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqDeviceActivateSuccessfull requestParam
+ + + + + + +
Properties of a ReqDeviceActivateSuccessfull.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqDeviceActivateWriteFile.html b/docs/module-ShootingScheduleMode-IReqDeviceActivateWriteFile.html new file mode 100644 index 00000000..4229f7dd --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqDeviceActivateWriteFile.html @@ -0,0 +1,236 @@ + + + + + + IReqDeviceActivateWriteFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDeviceActivateWriteFile

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqDeviceActivateWriteFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDeviceActivateWriteFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
requestParam + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqDeviceActivateWriteFile requestParam
+ + + + + + +
Properties of a ReqDeviceActivateWriteFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqDisableDeviceActivate.html b/docs/module-ShootingScheduleMode-IReqDisableDeviceActivate.html new file mode 100644 index 00000000..2ccc643c --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqDisableDeviceActivate.html @@ -0,0 +1,236 @@ + + + + + + IReqDisableDeviceActivate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDisableDeviceActivate

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqDisableDeviceActivate + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDisableDeviceActivate.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
requestParam + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqDisableDeviceActivate requestParam
+ + + + + + +
Properties of a ReqDisableDeviceActivate.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqGetAllShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqGetAllShootingSchedule.html new file mode 100644 index 00000000..d939a9ef --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqGetAllShootingSchedule.html @@ -0,0 +1,170 @@ + + + + + + IReqGetAllShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetAllShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqGetAllShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetAllShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetAllShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqGetDeviceActivateInfo.html b/docs/module-ShootingScheduleMode-IReqGetDeviceActivateInfo.html new file mode 100644 index 00000000..f7d4ac96 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqGetDeviceActivateInfo.html @@ -0,0 +1,236 @@ + + + + + + IReqGetDeviceActivateInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetDeviceActivateInfo

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqGetDeviceActivateInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetDeviceActivateInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
issuer + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetDeviceActivateInfo issuer
+ + + + + + +
Properties of a ReqGetDeviceActivateInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqGetShootingScheduleById.html b/docs/module-ShootingScheduleMode-IReqGetShootingScheduleById.html new file mode 100644 index 00000000..c3d04b9d --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqGetShootingScheduleById.html @@ -0,0 +1,236 @@ + + + + + + IReqGetShootingScheduleById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetShootingScheduleById

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqGetShootingScheduleById + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetShootingScheduleById.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGetShootingScheduleById id
+ + + + + + +
Properties of a ReqGetShootingScheduleById.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqGetShootingTaskById.html b/docs/module-ShootingScheduleMode-IReqGetShootingTaskById.html new file mode 100644 index 00000000..47f8eb81 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqGetShootingTaskById.html @@ -0,0 +1,236 @@ + + + + + + IReqGetShootingTaskById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetShootingTaskById

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqGetShootingTaskById + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetShootingTaskById.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGetShootingTaskById id
+ + + + + + +
Properties of a ReqGetShootingTaskById.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqLockShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqLockShootingSchedule.html new file mode 100644 index 00000000..0eb4ae3c --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqLockShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IReqLockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqLockShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqLockShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqLockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqLockShootingSchedule id
password + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqLockShootingSchedule password
+ + + + + + +
Properties of a ReqLockShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqMOTTrack.html b/docs/module-ShootingScheduleMode-IReqMOTTrack.html new file mode 100644 index 00000000..a1b0d07b --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqMOTTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqMOTTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMOTTrack

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqMOTTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMOTTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqMOTTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqMOTTrackOne.html b/docs/module-ShootingScheduleMode-IReqMOTTrackOne.html new file mode 100644 index 00000000..f037f175 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqMOTTrackOne.html @@ -0,0 +1,236 @@ + + + + + + IReqMOTTrackOne - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMOTTrackOne

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqMOTTrackOne + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMOTTrackOne.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMOTTrackOne id
+ + + + + + +
Properties of a ReqMOTTrackOne.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqPauseTrack.html b/docs/module-ShootingScheduleMode-IReqPauseTrack.html new file mode 100644 index 00000000..c78b3bed --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqPauseTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqPauseTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPauseTrack

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqPauseTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPauseTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPauseTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqReplaceShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqReplaceShootingSchedule.html new file mode 100644 index 00000000..55a18103 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqReplaceShootingSchedule.html @@ -0,0 +1,236 @@ + + + + + + IReqReplaceShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqReplaceShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqReplaceShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqReplaceShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +IShootingScheduleMsg +| + +null + + + + + + + <optional>
+ + + +
ReqReplaceShootingSchedule shootingSchedule
+ + + + + + +
Properties of a ReqReplaceShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqSetCpuMode.html b/docs/module-ShootingScheduleMode-IReqSetCpuMode.html new file mode 100644 index 00000000..9f5336c6 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqSetCpuMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetCpuMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetCpuMode

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqSetCpuMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetCpuMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetCpuMode mode
+ + + + + + +
Properties of a ReqSetCpuMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqSetMtpMode.html b/docs/module-ShootingScheduleMode-IReqSetMtpMode.html new file mode 100644 index 00000000..79fcb690 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqSetMtpMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetMtpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetMtpMode

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqSetMtpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetMtpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetMtpMode mode
+ + + + + + +
Properties of a ReqSetMtpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqSetTime.html b/docs/module-ShootingScheduleMode-IReqSetTime.html new file mode 100644 index 00000000..6a249908 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqSetTime.html @@ -0,0 +1,274 @@ + + + + + + IReqSetTime - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetTime

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqSetTime + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetTime.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
timestamp + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ReqSetTime timestamp
timezoneOffset + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetTime timezoneOffset
+ + + + + + +
Properties of a ReqSetTime.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqSetTimezone.html b/docs/module-ShootingScheduleMode-IReqSetTimezone.html new file mode 100644 index 00000000..78e1933c --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqSetTimezone.html @@ -0,0 +1,236 @@ + + + + + + IReqSetTimezone - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetTimezone

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqSetTimezone + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetTimezone.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
timezone + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetTimezone timezone
+ + + + + + +
Properties of a ReqSetTimezone.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqStartSentryMode.html b/docs/module-ShootingScheduleMode-IReqStartSentryMode.html new file mode 100644 index 00000000..61d5c574 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqStartSentryMode.html @@ -0,0 +1,236 @@ + + + + + + IReqStartSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartSentryMode

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqStartSentryMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartSentryMode mode
+ + + + + + +
Properties of a ReqStartSentryMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqStartTrack.html b/docs/module-ShootingScheduleMode-IReqStartTrack.html new file mode 100644 index 00000000..887de62e --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqStartTrack.html @@ -0,0 +1,341 @@ + + + + + + IReqStartTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartTrack

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqStartTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack y
w + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack w
h + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqStartTrack h
+ + + + + + +
Properties of a ReqStartTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqStopSentryMode.html b/docs/module-ShootingScheduleMode-IReqStopSentryMode.html new file mode 100644 index 00000000..a58f17fe --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqStopSentryMode.html @@ -0,0 +1,170 @@ + + + + + + IReqStopSentryMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopSentryMode

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqStopSentryMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopSentryMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopSentryMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqStopTrack.html b/docs/module-ShootingScheduleMode-IReqStopTrack.html new file mode 100644 index 00000000..32d2e35c --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqStopTrack.html @@ -0,0 +1,170 @@ + + + + + + IReqStopTrack - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopTrack

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqStopTrack + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopTrack.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopTrack.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqSyncShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqSyncShootingSchedule.html new file mode 100644 index 00000000..8279d084 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqSyncShootingSchedule.html @@ -0,0 +1,236 @@ + + + + + + IReqSyncShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSyncShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqSyncShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSyncShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +IShootingScheduleMsg +| + +null + + + + + + + <optional>
+ + + +
ReqSyncShootingSchedule shootingSchedule
+ + + + + + +
Properties of a ReqSyncShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqUnlockShootingSchedule.html b/docs/module-ShootingScheduleMode-IReqUnlockShootingSchedule.html new file mode 100644 index 00000000..ee95e980 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqUnlockShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IReqUnlockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqUnlockShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqUnlockShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqUnlockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqUnlockShootingSchedule id
password + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqUnlockShootingSchedule password
+ + + + + + +
Properties of a ReqUnlockShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IReqsetMasterLock.html b/docs/module-ShootingScheduleMode-IReqsetMasterLock.html new file mode 100644 index 00000000..8f520cd6 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IReqsetMasterLock.html @@ -0,0 +1,236 @@ + + + + + + IReqsetMasterLock - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqsetMasterLock

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IReqsetMasterLock + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqsetMasterLock.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
lock + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqsetMasterLock lock
+ + + + + + +
Properties of a ReqsetMasterLock.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResCancelShootingSchedule.html b/docs/module-ShootingScheduleMode-IResCancelShootingSchedule.html new file mode 100644 index 00000000..505c6d55 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResCancelShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResCancelShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResCancelShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResCancelShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResCancelShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ResCancelShootingSchedule id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCancelShootingSchedule code
+ + + + + + +
Properties of a ResCancelShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResDeleteShootingSchedule.html b/docs/module-ShootingScheduleMode-IResDeleteShootingSchedule.html new file mode 100644 index 00000000..8c68d89f --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResDeleteShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResDeleteShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDeleteShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResDeleteShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDeleteShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ResDeleteShootingSchedule id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeleteShootingSchedule code
+ + + + + + +
Properties of a ResDeleteShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResDeviceActivateInfo.html b/docs/module-ShootingScheduleMode-IResDeviceActivateInfo.html new file mode 100644 index 00000000..20a4eea0 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResDeviceActivateInfo.html @@ -0,0 +1,306 @@ + + + + + + IResDeviceActivateInfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDeviceActivateInfo

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResDeviceActivateInfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDeviceActivateInfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
activateState + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateInfo activateState
activateProcessState + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateInfo activateProcessState
requestParam + + +string +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateInfo requestParam
+ + + + + + +
Properties of a ResDeviceActivateInfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResDeviceActivateSuccessfull.html b/docs/module-ShootingScheduleMode-IResDeviceActivateSuccessfull.html new file mode 100644 index 00000000..66f88380 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResDeviceActivateSuccessfull.html @@ -0,0 +1,271 @@ + + + + + + IResDeviceActivateSuccessfull - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDeviceActivateSuccessfull

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResDeviceActivateSuccessfull + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDeviceActivateSuccessfull.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateSuccessfull code
activateState + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateSuccessfull activateState
+ + + + + + +
Properties of a ResDeviceActivateSuccessfull.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResDeviceActivateWriteFile.html b/docs/module-ShootingScheduleMode-IResDeviceActivateWriteFile.html new file mode 100644 index 00000000..07006438 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResDeviceActivateWriteFile.html @@ -0,0 +1,271 @@ + + + + + + IResDeviceActivateWriteFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDeviceActivateWriteFile

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResDeviceActivateWriteFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDeviceActivateWriteFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateWriteFile code
requestParam + + +string +| + +null + + + + + + + <optional>
+ + + +
ResDeviceActivateWriteFile requestParam
+ + + + + + +
Properties of a ResDeviceActivateWriteFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResDisableDeviceActivate.html b/docs/module-ShootingScheduleMode-IResDisableDeviceActivate.html new file mode 100644 index 00000000..1fa9f8a1 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResDisableDeviceActivate.html @@ -0,0 +1,271 @@ + + + + + + IResDisableDeviceActivate - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResDisableDeviceActivate

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResDisableDeviceActivate + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResDisableDeviceActivate.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDisableDeviceActivate code
activateState + + +number +| + +null + + + + + + + <optional>
+ + + +
ResDisableDeviceActivate activateState
+ + + + + + +
Properties of a ResDisableDeviceActivate.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResGetAllShootingSchedule.html b/docs/module-ShootingScheduleMode-IResGetAllShootingSchedule.html new file mode 100644 index 00000000..6a32ded2 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResGetAllShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResGetAllShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetAllShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResGetAllShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetAllShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +Array.<IShootingScheduleMsg> +| + +null + + + + + + + <optional>
+ + + +
ResGetAllShootingSchedule shootingSchedule
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetAllShootingSchedule code
+ + + + + + +
Properties of a ResGetAllShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResGetShootingScheduleById.html b/docs/module-ShootingScheduleMode-IResGetShootingScheduleById.html new file mode 100644 index 00000000..b6e2eea5 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResGetShootingScheduleById.html @@ -0,0 +1,271 @@ + + + + + + IResGetShootingScheduleById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetShootingScheduleById

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResGetShootingScheduleById + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetShootingScheduleById.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +IShootingScheduleMsg +| + +null + + + + + + + <optional>
+ + + +
ResGetShootingScheduleById shootingSchedule
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetShootingScheduleById code
+ + + + + + +
Properties of a ResGetShootingScheduleById.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResGetShootingTaskById.html b/docs/module-ShootingScheduleMode-IResGetShootingTaskById.html new file mode 100644 index 00000000..621e5f65 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResGetShootingTaskById.html @@ -0,0 +1,271 @@ + + + + + + IResGetShootingTaskById - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetShootingTaskById

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResGetShootingTaskById + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetShootingTaskById.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingTask + + +IShootingTaskMsg +| + +null + + + + + + + <optional>
+ + + +
ResGetShootingTaskById shootingTask
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetShootingTaskById code
+ + + + + + +
Properties of a ResGetShootingTaskById.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResLockShootingSchedule.html b/docs/module-ShootingScheduleMode-IResLockShootingSchedule.html new file mode 100644 index 00000000..85b88e64 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResLockShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResLockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResLockShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResLockShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResLockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ResLockShootingSchedule id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResLockShootingSchedule code
+ + + + + + +
Properties of a ResLockShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResReplaceShootingSchedule.html b/docs/module-ShootingScheduleMode-IResReplaceShootingSchedule.html new file mode 100644 index 00000000..3364ce04 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResReplaceShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResReplaceShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResReplaceShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResReplaceShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResReplaceShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +IShootingScheduleMsg +| + +null + + + + + + + <optional>
+ + + +
ResReplaceShootingSchedule shootingSchedule
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReplaceShootingSchedule code
+ + + + + + +
Properties of a ResReplaceShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResSyncShootingSchedule.html b/docs/module-ShootingScheduleMode-IResSyncShootingSchedule.html new file mode 100644 index 00000000..9f4fc110 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResSyncShootingSchedule.html @@ -0,0 +1,341 @@ + + + + + + IResSyncShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResSyncShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResSyncShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResSyncShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
shootingSchedule + + +IShootingScheduleMsg +| + +null + + + + + + + <optional>
+ + + +
ResSyncShootingSchedule shootingSchedule
timeConflictScheduleIds + + +Array.<string> +| + +null + + + + + + + <optional>
+ + + +
ResSyncShootingSchedule timeConflictScheduleIds
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSyncShootingSchedule code
canReplace + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ResSyncShootingSchedule canReplace
+ + + + + + +
Properties of a ResSyncShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IResUnlockShootingSchedule.html b/docs/module-ShootingScheduleMode-IResUnlockShootingSchedule.html new file mode 100644 index 00000000..ec576eed --- /dev/null +++ b/docs/module-ShootingScheduleMode-IResUnlockShootingSchedule.html @@ -0,0 +1,271 @@ + + + + + + IResUnlockShootingSchedule - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResUnlockShootingSchedule

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IResUnlockShootingSchedule + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResUnlockShootingSchedule.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +string +| + +null + + + + + + + <optional>
+ + + +
ResUnlockShootingSchedule id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResUnlockShootingSchedule code
+ + + + + + +
Properties of a ResUnlockShootingSchedule.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IShootingScheduleMsg.html b/docs/module-ShootingScheduleMode-IShootingScheduleMsg.html new file mode 100644 index 00000000..4d7c7bf5 --- /dev/null +++ b/docs/module-ShootingScheduleMode-IShootingScheduleMsg.html @@ -0,0 +1,846 @@ + + + + + + IShootingScheduleMsg - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IShootingScheduleMsg

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IShootingScheduleMsg + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ShootingScheduleMsg.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
scheduleId + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg scheduleId
scheduleName + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg scheduleName
deviceId + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg deviceId
macAddress + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg macAddress
startTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg startTime
endTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg endTime
result + + +ShootingScheduleResult +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg result
createdTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg createdTime
updatedTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg updatedTime
state + + +ShootingScheduleState +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg state
lock + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg lock
password + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg password
shootingTasks + + +Array.<IShootingTaskMsg> +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg shootingTasks
paramMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg paramMode
paramVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg paramVersion
params + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg params
scheduleTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg scheduleTime
syncState + + +ShootingScheduleSyncState +| + +null + + + + + + + <optional>
+ + + +
ShootingScheduleMsg syncState
+ + + + + + +
Properties of a ShootingScheduleMsg.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode-IShootingTaskMsg.html b/docs/module-ShootingScheduleMode-IShootingTaskMsg.html new file mode 100644 index 00000000..8b0b7d1a --- /dev/null +++ b/docs/module-ShootingScheduleMode-IShootingTaskMsg.html @@ -0,0 +1,557 @@ + + + + + + IShootingTaskMsg - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IShootingTaskMsg

+ + + + + + + +
+ +
+ +

+ ShootingScheduleMode~ + + + IShootingTaskMsg + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ShootingTaskMsg.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
scheduleId + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg scheduleId
params + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg params
state + + +ShootingTaskState +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg state
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg code
createdTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg createdTime
updatedTime + + +number +| + +Long +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg updatedTime
scheduleTaskId + + +string +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg scheduleTaskId
paramMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg paramMode
paramVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg paramVersion
createFrom + + +number +| + +null + + + + + + + <optional>
+ + + +
ShootingTaskMsg createFrom
+ + + + + + +
Properties of a ShootingTaskMsg.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleMode.html b/docs/module-ShootingScheduleMode.html new file mode 100644 index 00000000..09cb9aed --- /dev/null +++ b/docs/module-ShootingScheduleMode.html @@ -0,0 +1,341 @@ + + + + + + ShootingScheduleMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingScheduleMode

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ShootingScheduleMode enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY + + +number + + + + + SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY value
+ + + + + + +
ShootingScheduleMode enum.
+ + + + +
+ + + + + + + + + +

Interfaces

+ +
+
IReqCancelShootingSchedule
+
+ +
IReqContinueTrack
+
+ +
IReqDeleteShootingSchedule
+
+ +
IReqDeviceActivateSuccessfull
+
+ +
IReqDeviceActivateWriteFile
+
+ +
IReqDisableDeviceActivate
+
+ +
IReqGetAllShootingSchedule
+
+ +
IReqGetDeviceActivateInfo
+
+ +
IReqGetShootingScheduleById
+
+ +
IReqGetShootingTaskById
+
+ +
IReqLockShootingSchedule
+
+ +
IReqMOTTrack
+
+ +
IReqMOTTrackOne
+
+ +
IReqPauseTrack
+
+ +
IReqReplaceShootingSchedule
+
+ +
IReqSetCpuMode
+
+ +
IReqSetMtpMode
+
+ +
IReqSetTime
+
+ +
IReqSetTimezone
+
+ +
IReqStartSentryMode
+
+ +
IReqStartTrack
+
+ +
IReqStopSentryMode
+
+ +
IReqStopTrack
+
+ +
IReqSyncShootingSchedule
+
+ +
IReqUnlockShootingSchedule
+
+ +
IReqsetMasterLock
+
+ +
IResCancelShootingSchedule
+
+ +
IResDeleteShootingSchedule
+
+ +
IResDeviceActivateInfo
+
+ +
IResDeviceActivateSuccessfull
+
+ +
IResDeviceActivateWriteFile
+
+ +
IResDisableDeviceActivate
+
+ +
IResGetAllShootingSchedule
+
+ +
IResGetShootingScheduleById
+
+ +
IResGetShootingTaskById
+
+ +
IResLockShootingSchedule
+
+ +
IResReplaceShootingSchedule
+
+ +
IResSyncShootingSchedule
+
+ +
IResUnlockShootingSchedule
+
+ +
IShootingScheduleMsg
+
+ +
IShootingTaskMsg
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleResult.html b/docs/module-ShootingScheduleResult.html new file mode 100644 index 00000000..128ee461 --- /dev/null +++ b/docs/module-ShootingScheduleResult.html @@ -0,0 +1,286 @@ + + + + + + ShootingScheduleResult - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingScheduleResult

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ShootingScheduleResult enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SHOOTING_SCHEDULE_RESULT_PENDING_START + + +number + + + + + SHOOTING_SCHEDULE_RESULT_PENDING_START value
SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED + + +number + + + + + SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED value
SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED + + +number + + + + + SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED value
SHOOTING_SCHEDULE_RESULT_ALL_FAILED + + +number + + + + + SHOOTING_SCHEDULE_RESULT_ALL_FAILED value
+ + + + + + +
ShootingScheduleResult enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleState.html b/docs/module-ShootingScheduleState.html new file mode 100644 index 00000000..aced95ab --- /dev/null +++ b/docs/module-ShootingScheduleState.html @@ -0,0 +1,310 @@ + + + + + + ShootingScheduleState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingScheduleState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ShootingScheduleState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SHOOTING_SCHEDULE_STATE_INITIALIZED + + +number + + + + + SHOOTING_SCHEDULE_STATE_INITIALIZED value
SHOOTING_SCHEDULE_STATE_PENDING_SHOOT + + +number + + + + + SHOOTING_SCHEDULE_STATE_PENDING_SHOOT value
SHOOTING_SCHEDULE_STATE_SHOOTING + + +number + + + + + SHOOTING_SCHEDULE_STATE_SHOOTING value
SHOOTING_SCHEDULE_STATE_COMPLETED + + +number + + + + + SHOOTING_SCHEDULE_STATE_COMPLETED value
SHOOTING_SCHEDULE_STATE_EXPIRED + + +number + + + + + SHOOTING_SCHEDULE_STATE_EXPIRED value
+ + + + + + +
ShootingScheduleState enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingScheduleSyncState.html b/docs/module-ShootingScheduleSyncState.html new file mode 100644 index 00000000..8bf0991f --- /dev/null +++ b/docs/module-ShootingScheduleSyncState.html @@ -0,0 +1,238 @@ + + + + + + ShootingScheduleSyncState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingScheduleSyncState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ShootingScheduleSyncState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC + + +number + + + + + SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC value
SHOOTING_SCHEDULE_SYNC_STATE_SYNCED + + +number + + + + + SHOOTING_SCHEDULE_SYNC_STATE_SYNCED value
+ + + + + + +
ShootingScheduleSyncState enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-ShootingTaskState.html b/docs/module-ShootingTaskState.html new file mode 100644 index 00000000..3b92c2b8 --- /dev/null +++ b/docs/module-ShootingTaskState.html @@ -0,0 +1,310 @@ + + + + + + ShootingTaskState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ShootingTaskState

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • ShootingTaskState enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
SHOOTING_TASK_STATUS_IDLE + + +number + + + + + SHOOTING_TASK_STATUS_IDLE value
SHOOTING_TASK_STATUS_SHOOTING + + +number + + + + + SHOOTING_TASK_STATUS_SHOOTING value
SHOOTING_TASK_STATUS_SUCCESS + + +number + + + + + SHOOTING_TASK_STATUS_SUCCESS value
SHOOTING_TASK_STATUS_FAILED + + +number + + + + + SHOOTING_TASK_STATUS_FAILED value
SHOOTING_TASK_STATUS_INTERRUPTED + + +number + + + + + SHOOTING_TASK_STATUS_INTERRUPTED value
+ + + + + + +
ShootingTaskState enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-SolarSystemTarget.html b/docs/module-SolarSystemTarget.html new file mode 100644 index 00000000..0280830e --- /dev/null +++ b/docs/module-SolarSystemTarget.html @@ -0,0 +1,430 @@ + + + + + + SolarSystemTarget - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

SolarSystemTarget

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • SolarSystemTarget enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
Unknown + + +number + + + + + Unknown value
Mercury + + +number + + + + + Mercury value
Venus + + +number + + + + + Venus value
Mars + + +number + + + + + Mars value
Jupiter + + +number + + + + + Jupiter value
Saturn + + +number + + + + + Saturn value
Uranus + + +number + + + + + Uranus value
Neptune + + +number + + + + + Neptune value
Moon + + +number + + + + + Moon value
Sun + + +number + + + + + Sun value
+ + + + + + +
SolarSystemTarget enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-State.html b/docs/module-State.html new file mode 100644 index 00000000..1eab6859 --- /dev/null +++ b/docs/module-State.html @@ -0,0 +1,358 @@ + + + + + + State - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

State

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • State enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
STATE_IDLE + + +number + + + + + STATE_IDLE value
STATE_RUNNING + + +number + + + + + STATE_RUNNING value
STATE_STOPPING + + +number + + + + + STATE_STOPPING value
STATE_STOPPED + + +number + + + + + STATE_STOPPED value
STATE_SUCCESS + + +number + + + + + STATE_SUCCESS value
STATE_FAILED + + +number + + + + + STATE_FAILED value
STATE_ASTRO_PLATE_SOLVING + + +number + + + + + STATE_ASTRO_PLATE_SOLVING value
+ + + + + + +
State enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WBMode.html b/docs/module-WBMode.html new file mode 100644 index 00000000..2ae03891 --- /dev/null +++ b/docs/module-WBMode.html @@ -0,0 +1,238 @@ + + + + + + WBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

WBMode

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • WBMode enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ColorTemperature + + +number + + + + + ColorTemperature value
SceneMode + + +number + + + + + SceneMode value
+ + + + + + +
WBMode enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMajorVersion.html b/docs/module-WsMajorVersion.html new file mode 100644 index 00000000..19d67976 --- /dev/null +++ b/docs/module-WsMajorVersion.html @@ -0,0 +1,238 @@ + + + + + + WsMajorVersion - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

WsMajorVersion

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • WsMajorVersion enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
WS_MAJOR_VERSION_UNKNOWN + + +number + + + + + WS_MAJOR_VERSION_UNKNOWN value
WS_MAJOR_VERSION_NUMBER + + +number + + + + + WS_MAJOR_VERSION_NUMBER value
+ + + + + + +
WsMajorVersion enum.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IComResWithDouble.html b/docs/module-WsMinorVersion-IComResWithDouble.html new file mode 100644 index 00000000..8e689dca --- /dev/null +++ b/docs/module-WsMinorVersion-IComResWithDouble.html @@ -0,0 +1,271 @@ + + + + + + IComResWithDouble - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IComResWithDouble

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IComResWithDouble + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ComResWithDouble.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResWithDouble value
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResWithDouble code
+ + + + + + +
Properties of a ComResWithDouble.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IComResWithInt.html b/docs/module-WsMinorVersion-IComResWithInt.html new file mode 100644 index 00000000..e914e9e5 --- /dev/null +++ b/docs/module-WsMinorVersion-IComResWithInt.html @@ -0,0 +1,271 @@ + + + + + + IComResWithInt - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IComResWithInt

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IComResWithInt + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ComResWithInt.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResWithInt value
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResWithInt code
+ + + + + + +
Properties of a ComResWithInt.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IComResWithString.html b/docs/module-WsMinorVersion-IComResWithString.html new file mode 100644 index 00000000..00b2f9dc --- /dev/null +++ b/docs/module-WsMinorVersion-IComResWithString.html @@ -0,0 +1,271 @@ + + + + + + IComResWithString - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IComResWithString

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IComResWithString + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ComResWithString.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
str + + +string +| + +null + + + + + + + <optional>
+ + + +
ComResWithString str
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResWithString code
+ + + + + + +
Properties of a ComResWithString.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IComResponse.html b/docs/module-WsMinorVersion-IComResponse.html new file mode 100644 index 00000000..9c737092 --- /dev/null +++ b/docs/module-WsMinorVersion-IComResponse.html @@ -0,0 +1,236 @@ + + + + + + IComResponse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IComResponse

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IComResponse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ComResponse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ComResponse code
+ + + + + + +
Properties of a ComResponse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-ICommonParam.html b/docs/module-WsMinorVersion-ICommonParam.html new file mode 100644 index 00000000..4ac82e72 --- /dev/null +++ b/docs/module-WsMinorVersion-ICommonParam.html @@ -0,0 +1,411 @@ + + + + + + ICommonParam - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ICommonParam

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + ICommonParam + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a CommonParam.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
hasAuto + + +boolean +| + +null + + + + + + + <optional>
+ + + +
CommonParam hasAuto
autoMode + + +number +| + +null + + + + + + + <optional>
+ + + +
CommonParam autoMode
id + + +number +| + +null + + + + + + + <optional>
+ + + +
CommonParam id
modeIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
CommonParam modeIndex
index + + +number +| + +null + + + + + + + <optional>
+ + + +
CommonParam index
continueValue + + +number +| + +null + + + + + + + <optional>
+ + + +
CommonParam continueValue
+ + + + + + +
Properties of a CommonParam.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqAp.html b/docs/module-WsMinorVersion-IReqAp.html new file mode 100644 index 00000000..bdb3eaf9 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqAp.html @@ -0,0 +1,411 @@ + + + + + + IReqAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqAp

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqAp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp cmd
wifiType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp wifiType
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp autoStart
countryList + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAp countryList
country + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqAp country
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqAp blePsd
+ + + + + + +
Properties of a ReqAp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqAstroAutoFocus.html b/docs/module-WsMinorVersion-IReqAstroAutoFocus.html new file mode 100644 index 00000000..bd006dd0 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqAstroAutoFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqAstroAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqAstroAutoFocus mode
+ + + + + + +
Properties of a ReqAstroAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqBurstPhoto.html b/docs/module-WsMinorVersion-IReqBurstPhoto.html new file mode 100644 index 00000000..b0b3a29e --- /dev/null +++ b/docs/module-WsMinorVersion-IReqBurstPhoto.html @@ -0,0 +1,236 @@ + + + + + + IReqBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqBurstPhoto

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqBurstPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
count + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqBurstPhoto count
+ + + + + + +
Properties of a ReqBurstPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqCheckFile.html b/docs/module-WsMinorVersion-IReqCheckFile.html new file mode 100644 index 00000000..45cd6086 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqCheckFile.html @@ -0,0 +1,306 @@ + + + + + + IReqCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCheckFile

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqCheckFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile cmd
filePath + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile filePath
md5 + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqCheckFile md5
+ + + + + + +
Properties of a ReqCheckFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqCloseCamera.html b/docs/module-WsMinorVersion-IReqCloseCamera.html new file mode 100644 index 00000000..9d35c211 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqCloseCamera.html @@ -0,0 +1,170 @@ + + + + + + IReqCloseCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqCloseCamera

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqCloseCamera + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqCloseCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqCloseCamera.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqDualCameraLinkage.html b/docs/module-WsMinorVersion-IReqDualCameraLinkage.html new file mode 100644 index 00000000..e7e48bc4 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqDualCameraLinkage.html @@ -0,0 +1,271 @@ + + + + + + IReqDualCameraLinkage - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqDualCameraLinkage

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqDualCameraLinkage + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqDualCameraLinkage.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
x + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDualCameraLinkage x
y + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqDualCameraLinkage y
+ + + + + + +
Properties of a ReqDualCameraLinkage.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetAllFeatureParams.html b/docs/module-WsMinorVersion-IReqGetAllFeatureParams.html new file mode 100644 index 00000000..694e20c6 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetAllFeatureParams.html @@ -0,0 +1,170 @@ + + + + + + IReqGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetAllFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetAllFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetAllParams.html b/docs/module-WsMinorVersion-IReqGetAllParams.html new file mode 100644 index 00000000..f35b12cb --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetAllParams.html @@ -0,0 +1,170 @@ + + + + + + IReqGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetAllParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetBrightness.html b/docs/module-WsMinorVersion-IReqGetBrightness.html new file mode 100644 index 00000000..a96fdb5b --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetBrightness.html @@ -0,0 +1,170 @@ + + + + + + IReqGetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetBrightness

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetBrightness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetBrightness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetContrast.html b/docs/module-WsMinorVersion-IReqGetContrast.html new file mode 100644 index 00000000..6adc1489 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetContrast.html @@ -0,0 +1,170 @@ + + + + + + IReqGetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetContrast

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetContrast + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetContrast.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetExp.html b/docs/module-WsMinorVersion-IReqGetExp.html new file mode 100644 index 00000000..e1e8a10d --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetExp.html @@ -0,0 +1,170 @@ + + + + + + IReqGetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetExp

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetExp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetExp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetExpMode.html b/docs/module-WsMinorVersion-IReqGetExpMode.html new file mode 100644 index 00000000..52e89ed5 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetExpMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetExpMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetExpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetExpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetGain.html b/docs/module-WsMinorVersion-IReqGetGain.html new file mode 100644 index 00000000..f3d33ae6 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetGain.html @@ -0,0 +1,170 @@ + + + + + + IReqGetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetGain

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetGain + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetGain.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetGainMode.html b/docs/module-WsMinorVersion-IReqGetGainMode.html new file mode 100644 index 00000000..19a19ce5 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetGainMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetGainMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetGainMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetGainMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetHue.html b/docs/module-WsMinorVersion-IReqGetHue.html new file mode 100644 index 00000000..fb9570e8 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetHue.html @@ -0,0 +1,170 @@ + + + + + + IReqGetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetHue

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetHue + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetHue.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetIrcut.html b/docs/module-WsMinorVersion-IReqGetIrcut.html new file mode 100644 index 00000000..9701b58b --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetIrcut.html @@ -0,0 +1,170 @@ + + + + + + IReqGetIrcut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetIrcut

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetIrcut + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetIrcut.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetIrcut.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetJpgQuality.html b/docs/module-WsMinorVersion-IReqGetJpgQuality.html new file mode 100644 index 00000000..ed392ddb --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetJpgQuality.html @@ -0,0 +1,170 @@ + + + + + + IReqGetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetJpgQuality

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetJpgQuality + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetJpgQuality.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetSaturation.html b/docs/module-WsMinorVersion-IReqGetSaturation.html new file mode 100644 index 00000000..081df42c --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetSaturation.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSaturation

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetSaturation + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSaturation.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetSharpness.html b/docs/module-WsMinorVersion-IReqGetSharpness.html new file mode 100644 index 00000000..2f437158 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetSharpness.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSharpness

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetSharpness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSharpness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetSystemWorkingState.html b/docs/module-WsMinorVersion-IReqGetSystemWorkingState.html new file mode 100644 index 00000000..6ae9d5de --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetSystemWorkingState.html @@ -0,0 +1,170 @@ + + + + + + IReqGetSystemWorkingState - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetSystemWorkingState

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetSystemWorkingState + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetSystemWorkingState.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetSystemWorkingState.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetWBCT.html b/docs/module-WsMinorVersion-IReqGetWBCT.html new file mode 100644 index 00000000..5fc1d3c0 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetWBCT.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBCT

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetWBCT + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBCT.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetWBMode.html b/docs/module-WsMinorVersion-IReqGetWBMode.html new file mode 100644 index 00000000..9fa29070 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetWBMode.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetWBMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetWBSence.html b/docs/module-WsMinorVersion-IReqGetWBSence.html new file mode 100644 index 00000000..b07bc2a2 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetWBSence.html @@ -0,0 +1,170 @@ + + + + + + IReqGetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetWBSence

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetWBSence + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqGetWBSence.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetconfig.html b/docs/module-WsMinorVersion-IReqGetconfig.html new file mode 100644 index 00000000..eaff8496 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetconfig.html @@ -0,0 +1,271 @@ + + + + + + IReqGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetconfig

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetconfig + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetconfig cmd
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqGetconfig blePsd
+ + + + + + +
Properties of a ReqGetconfig.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetsysteminfo.html b/docs/module-WsMinorVersion-IReqGetsysteminfo.html new file mode 100644 index 00000000..f9c61daa --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetsysteminfo.html @@ -0,0 +1,236 @@ + + + + + + IReqGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetsysteminfo

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetsysteminfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetsysteminfo cmd
+ + + + + + +
Properties of a ReqGetsysteminfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqGetwifilist.html b/docs/module-WsMinorVersion-IReqGetwifilist.html new file mode 100644 index 00000000..4241b667 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqGetwifilist.html @@ -0,0 +1,236 @@ + + + + + + IReqGetwifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqGetwifilist

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqGetwifilist + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqGetwifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqGetwifilist cmd
+ + + + + + +
Properties of a ReqGetwifilist.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqManualContinuFocus.html b/docs/module-WsMinorVersion-IReqManualContinuFocus.html new file mode 100644 index 00000000..20348b92 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqManualContinuFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqManualContinuFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqManualContinuFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
direction + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqManualContinuFocus direction
+ + + + + + +
Properties of a ReqManualContinuFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqManualSingleStepFocus.html b/docs/module-WsMinorVersion-IReqManualSingleStepFocus.html new file mode 100644 index 00000000..59edfd0c --- /dev/null +++ b/docs/module-WsMinorVersion-IReqManualSingleStepFocus.html @@ -0,0 +1,236 @@ + + + + + + IReqManualSingleStepFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqManualSingleStepFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqManualSingleStepFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqManualSingleStepFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
direction + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqManualSingleStepFocus direction
+ + + + + + +
Properties of a ReqManualSingleStepFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorChangeDirection.html b/docs/module-WsMinorVersion-IReqMotorChangeDirection.html new file mode 100644 index 00000000..ae9a3c2a --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorChangeDirection.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorChangeDirection - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorChangeDirection

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorChangeDirection + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorChangeDirection.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeDirection id
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeDirection direction
+ + + + + + +
Properties of a ReqMotorChangeDirection.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorChangeSpeed.html b/docs/module-WsMinorVersion-IReqMotorChangeSpeed.html new file mode 100644 index 00000000..90088fc1 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorChangeSpeed.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorChangeSpeed - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorChangeSpeed

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorChangeSpeed + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorChangeSpeed.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeSpeed id
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorChangeSpeed speed
+ + + + + + +
Properties of a ReqMotorChangeSpeed.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorReset.html b/docs/module-WsMinorVersion-IReqMotorReset.html new file mode 100644 index 00000000..b3433cdc --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorReset.html @@ -0,0 +1,271 @@ + + + + + + IReqMotorReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorReset

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorReset id
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorReset direction
+ + + + + + +
Properties of a ReqMotorReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorRun.html b/docs/module-WsMinorVersion-IReqMotorRun.html new file mode 100644 index 00000000..ff2ba035 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorRun.html @@ -0,0 +1,376 @@ + + + + + + IReqMotorRun - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorRun

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorRun + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorRun.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun id
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun speed
direction + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun direction
speedRamping + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun speedRamping
resolutionLevel + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRun resolutionLevel
+ + + + + + +
Properties of a ReqMotorRun.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorRunTo.html b/docs/module-WsMinorVersion-IReqMotorRunTo.html new file mode 100644 index 00000000..7c89ed40 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorRunTo.html @@ -0,0 +1,376 @@ + + + + + + IReqMotorRunTo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorRunTo

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorRunTo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorRunTo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo id
endPosition + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo endPosition
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo speed
speedRamping + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo speedRamping
resolutionLevel + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorRunTo resolutionLevel
+ + + + + + +
Properties of a ReqMotorRunTo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorServiceJoystick.html b/docs/module-WsMinorVersion-IReqMotorServiceJoystick.html new file mode 100644 index 00000000..d3f57d48 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorServiceJoystick.html @@ -0,0 +1,306 @@ + + + + + + IReqMotorServiceJoystick - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystick

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorServiceJoystick + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystick.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
vectorAngle + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick vectorAngle
vectorLength + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick vectorLength
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystick speed
+ + + + + + +
Properties of a ReqMotorServiceJoystick.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorServiceJoystickFixedAngle.html b/docs/module-WsMinorVersion-IReqMotorServiceJoystickFixedAngle.html new file mode 100644 index 00000000..a494bb21 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorServiceJoystickFixedAngle.html @@ -0,0 +1,306 @@ + + + + + + IReqMotorServiceJoystickFixedAngle - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystickFixedAngle

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorServiceJoystickFixedAngle + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystickFixedAngle.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
vectorAngle + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle vectorAngle
vectorLength + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle vectorLength
speed + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorServiceJoystickFixedAngle speed
+ + + + + + +
Properties of a ReqMotorServiceJoystickFixedAngle.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorServiceJoystickStop.html b/docs/module-WsMinorVersion-IReqMotorServiceJoystickStop.html new file mode 100644 index 00000000..b8af457b --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorServiceJoystickStop.html @@ -0,0 +1,170 @@ + + + + + + IReqMotorServiceJoystickStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorServiceJoystickStop

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorServiceJoystickStop + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorServiceJoystickStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqMotorServiceJoystickStop.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqMotorStop.html b/docs/module-WsMinorVersion-IReqMotorStop.html new file mode 100644 index 00000000..c0d7bea0 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqMotorStop.html @@ -0,0 +1,236 @@ + + + + + + IReqMotorStop - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqMotorStop

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqMotorStop + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqMotorStop.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqMotorStop id
+ + + + + + +
Properties of a ReqMotorStop.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqNormalAutoFocus.html b/docs/module-WsMinorVersion-IReqNormalAutoFocus.html new file mode 100644 index 00000000..ec500fd9 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqNormalAutoFocus.html @@ -0,0 +1,306 @@ + + + + + + IReqNormalAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqNormalAutoFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqNormalAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqNormalAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus mode
centerX + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus centerX
centerY + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqNormalAutoFocus centerY
+ + + + + + +
Properties of a ReqNormalAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqOpenCamera.html b/docs/module-WsMinorVersion-IReqOpenCamera.html new file mode 100644 index 00000000..5ec8fa2f --- /dev/null +++ b/docs/module-WsMinorVersion-IReqOpenCamera.html @@ -0,0 +1,236 @@ + + + + + + IReqOpenCamera - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqOpenCamera

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqOpenCamera + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqOpenCamera.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
binning + + +boolean +| + +null + + + + + + + <optional>
+ + + +
ReqOpenCamera binning
+ + + + + + +
Properties of a ReqOpenCamera.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqPhoto.html b/docs/module-WsMinorVersion-IReqPhoto.html new file mode 100644 index 00000000..90c1ba28 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqPhoto.html @@ -0,0 +1,170 @@ + + + + + + IReqPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqPhoto

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqReset.html b/docs/module-WsMinorVersion-IReqReset.html new file mode 100644 index 00000000..836ba5cf --- /dev/null +++ b/docs/module-WsMinorVersion-IReqReset.html @@ -0,0 +1,236 @@ + + + + + + IReqReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqReset

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqReset cmd
+ + + + + + +
Properties of a ReqReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetAllParams.html b/docs/module-WsMinorVersion-IReqSetAllParams.html new file mode 100644 index 00000000..d41e99e5 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetAllParams.html @@ -0,0 +1,691 @@ + + + + + + IReqSetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetAllParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
expMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams expMode
expIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams expIndex
gainMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams gainMode
gainIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams gainIndex
ircutValue + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams ircutValue
wbMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbMode
wbIndexType + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbIndexType
wbIndex + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams wbIndex
brightness + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams brightness
contrast + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams contrast
hue + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams hue
saturation + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams saturation
sharpness + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams sharpness
jpgQuality + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetAllParams jpgQuality
+ + + + + + +
Properties of a ReqSetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetBrightness.html b/docs/module-WsMinorVersion-IReqSetBrightness.html new file mode 100644 index 00000000..1ef1f24f --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetBrightness.html @@ -0,0 +1,236 @@ + + + + + + IReqSetBrightness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetBrightness

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetBrightness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetBrightness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetBrightness value
+ + + + + + +
Properties of a ReqSetBrightness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetContrast.html b/docs/module-WsMinorVersion-IReqSetContrast.html new file mode 100644 index 00000000..d809c80c --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetContrast.html @@ -0,0 +1,236 @@ + + + + + + IReqSetContrast - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetContrast

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetContrast + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetContrast.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetContrast value
+ + + + + + +
Properties of a ReqSetContrast.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetExp.html b/docs/module-WsMinorVersion-IReqSetExp.html new file mode 100644 index 00000000..c49d49d7 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetExp.html @@ -0,0 +1,236 @@ + + + + + + IReqSetExp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetExp

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetExp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetExp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetExp index
+ + + + + + +
Properties of a ReqSetExp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetExpMode.html b/docs/module-WsMinorVersion-IReqSetExpMode.html new file mode 100644 index 00000000..f41e4a85 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetExpMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetExpMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetExpMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetExpMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetExpMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetExpMode mode
+ + + + + + +
Properties of a ReqSetExpMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetFeatureParams.html b/docs/module-WsMinorVersion-IReqSetFeatureParams.html new file mode 100644 index 00000000..6a3ccfe3 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetFeatureParams.html @@ -0,0 +1,236 @@ + + + + + + IReqSetFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetFeatureParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
param + + +ICommonParam +| + +null + + + + + + + <optional>
+ + + +
ReqSetFeatureParams param
+ + + + + + +
Properties of a ReqSetFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetGain.html b/docs/module-WsMinorVersion-IReqSetGain.html new file mode 100644 index 00000000..63bc41f5 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetGain.html @@ -0,0 +1,236 @@ + + + + + + IReqSetGain - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetGain

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetGain + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetGain.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetGain index
+ + + + + + +
Properties of a ReqSetGain.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetGainMode.html b/docs/module-WsMinorVersion-IReqSetGainMode.html new file mode 100644 index 00000000..3d40ab17 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetGainMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetGainMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetGainMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetGainMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetGainMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetGainMode mode
+ + + + + + +
Properties of a ReqSetGainMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetHue.html b/docs/module-WsMinorVersion-IReqSetHue.html new file mode 100644 index 00000000..e56722e5 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetHue.html @@ -0,0 +1,236 @@ + + + + + + IReqSetHue - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetHue

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetHue + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetHue.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetHue value
+ + + + + + +
Properties of a ReqSetHue.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetIrCut.html b/docs/module-WsMinorVersion-IReqSetIrCut.html new file mode 100644 index 00000000..c04bdfc1 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetIrCut.html @@ -0,0 +1,236 @@ + + + + + + IReqSetIrCut - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetIrCut

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetIrCut + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetIrCut.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetIrCut value
+ + + + + + +
Properties of a ReqSetIrCut.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetJpgQuality.html b/docs/module-WsMinorVersion-IReqSetJpgQuality.html new file mode 100644 index 00000000..41342b7b --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetJpgQuality.html @@ -0,0 +1,236 @@ + + + + + + IReqSetJpgQuality - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetJpgQuality

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetJpgQuality + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetJpgQuality.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
quality + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetJpgQuality quality
+ + + + + + +
Properties of a ReqSetJpgQuality.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetSaturation.html b/docs/module-WsMinorVersion-IReqSetSaturation.html new file mode 100644 index 00000000..87c386d3 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetSaturation.html @@ -0,0 +1,236 @@ + + + + + + IReqSetSaturation - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetSaturation

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetSaturation + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetSaturation.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetSaturation value
+ + + + + + +
Properties of a ReqSetSaturation.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetSharpness.html b/docs/module-WsMinorVersion-IReqSetSharpness.html new file mode 100644 index 00000000..33643d14 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetSharpness.html @@ -0,0 +1,236 @@ + + + + + + IReqSetSharpness - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetSharpness

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetSharpness + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetSharpness.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetSharpness value
+ + + + + + +
Properties of a ReqSetSharpness.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetWBCT.html b/docs/module-WsMinorVersion-IReqSetWBCT.html new file mode 100644 index 00000000..9143d321 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetWBCT.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBCT - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBCT

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetWBCT + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBCT.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
index + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBCT index
+ + + + + + +
Properties of a ReqSetWBCT.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetWBMode.html b/docs/module-WsMinorVersion-IReqSetWBMode.html new file mode 100644 index 00000000..93433b7a --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetWBMode.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBMode - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBMode

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetWBMode + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBMode.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBMode mode
+ + + + + + +
Properties of a ReqSetWBMode.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetWBSence.html b/docs/module-WsMinorVersion-IReqSetWBSence.html new file mode 100644 index 00000000..0bcd443d --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetWBSence.html @@ -0,0 +1,236 @@ + + + + + + IReqSetWBSence - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetWBSence

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetWBSence + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetWBSence.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
value + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetWBSence value
+ + + + + + +
Properties of a ReqSetWBSence.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSetblewifi.html b/docs/module-WsMinorVersion-IReqSetblewifi.html new file mode 100644 index 00000000..40c0ccde --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSetblewifi.html @@ -0,0 +1,341 @@ + + + + + + IReqSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSetblewifi

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSetblewifi + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi cmd
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi mode
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi blePsd
value + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSetblewifi value
+ + + + + + +
Properties of a ReqSetblewifi.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqSta.html b/docs/module-WsMinorVersion-IReqSta.html new file mode 100644 index 00000000..bbbe4bba --- /dev/null +++ b/docs/module-WsMinorVersion-IReqSta.html @@ -0,0 +1,376 @@ + + + + + + IReqSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqSta

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqSta + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSta cmd
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ReqSta autoStart
blePsd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta blePsd
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ReqSta psd
+ + + + + + +
Properties of a ReqSta.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStartRecord.html b/docs/module-WsMinorVersion-IReqStartRecord.html new file mode 100644 index 00000000..dafffeed --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStartRecord.html @@ -0,0 +1,170 @@ + + + + + + IReqStartRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartRecord

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStartRecord + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStartRecord.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStartTimeLapse.html b/docs/module-WsMinorVersion-IReqStartTimeLapse.html new file mode 100644 index 00000000..67e2ddcc --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStartTimeLapse.html @@ -0,0 +1,170 @@ + + + + + + IReqStartTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStartTimeLapse

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStartTimeLapse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStartTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStartTimeLapse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStopAstroAutoFocus.html b/docs/module-WsMinorVersion-IReqStopAstroAutoFocus.html new file mode 100644 index 00000000..b02e8233 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStopAstroAutoFocus.html @@ -0,0 +1,170 @@ + + + + + + IReqStopAstroAutoFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopAstroAutoFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStopAstroAutoFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopAstroAutoFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopAstroAutoFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStopBurstPhoto.html b/docs/module-WsMinorVersion-IReqStopBurstPhoto.html new file mode 100644 index 00000000..a1b61866 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStopBurstPhoto.html @@ -0,0 +1,170 @@ + + + + + + IReqStopBurstPhoto - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopBurstPhoto

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStopBurstPhoto + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopBurstPhoto.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopBurstPhoto.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStopManualContinuFocus.html b/docs/module-WsMinorVersion-IReqStopManualContinuFocus.html new file mode 100644 index 00000000..a5e4b852 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStopManualContinuFocus.html @@ -0,0 +1,170 @@ + + + + + + IReqStopManualContinuFocus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopManualContinuFocus

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStopManualContinuFocus + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopManualContinuFocus.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopManualContinuFocus.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStopRecord.html b/docs/module-WsMinorVersion-IReqStopRecord.html new file mode 100644 index 00000000..25a46ca3 --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStopRecord.html @@ -0,0 +1,170 @@ + + + + + + IReqStopRecord - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopRecord

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStopRecord + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopRecord.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopRecord.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IReqStopTimeLapse.html b/docs/module-WsMinorVersion-IReqStopTimeLapse.html new file mode 100644 index 00000000..44ebf51c --- /dev/null +++ b/docs/module-WsMinorVersion-IReqStopTimeLapse.html @@ -0,0 +1,170 @@ + + + + + + IReqStopTimeLapse - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IReqStopTimeLapse

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IReqStopTimeLapse + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ReqStopTimeLapse.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties of a ReqStopTimeLapse.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResAp.html b/docs/module-WsMinorVersion-IResAp.html new file mode 100644 index 00000000..6383fb69 --- /dev/null +++ b/docs/module-WsMinorVersion-IResAp.html @@ -0,0 +1,376 @@ + + + + + + IResAp - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResAp

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResAp + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResAp.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp code
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResAp mode
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResAp ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResAp psd
+ + + + + + +
Properties of a ResAp.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResCheckFile.html b/docs/module-WsMinorVersion-IResCheckFile.html new file mode 100644 index 00000000..69780b7e --- /dev/null +++ b/docs/module-WsMinorVersion-IResCheckFile.html @@ -0,0 +1,271 @@ + + + + + + IResCheckFile - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResCheckFile

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResCheckFile + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResCheckFile.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckFile cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResCheckFile code
+ + + + + + +
Properties of a ResCheckFile.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResGetAllFeatureParams.html b/docs/module-WsMinorVersion-IResGetAllFeatureParams.html new file mode 100644 index 00000000..18de0900 --- /dev/null +++ b/docs/module-WsMinorVersion-IResGetAllFeatureParams.html @@ -0,0 +1,271 @@ + + + + + + IResGetAllFeatureParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetAllFeatureParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResGetAllFeatureParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetAllFeatureParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
allFeatureParams + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResGetAllFeatureParams allFeatureParams
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetAllFeatureParams code
+ + + + + + +
Properties of a ResGetAllFeatureParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResGetAllParams.html b/docs/module-WsMinorVersion-IResGetAllParams.html new file mode 100644 index 00000000..59bbdf07 --- /dev/null +++ b/docs/module-WsMinorVersion-IResGetAllParams.html @@ -0,0 +1,271 @@ + + + + + + IResGetAllParams - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetAllParams

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResGetAllParams + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetAllParams.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
allParams + + +Array.<ICommonParam> +| + +null + + + + + + + <optional>
+ + + +
ResGetAllParams allParams
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetAllParams code
+ + + + + + +
Properties of a ResGetAllParams.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResGetconfig.html b/docs/module-WsMinorVersion-IResGetconfig.html new file mode 100644 index 00000000..cd7b4b1b --- /dev/null +++ b/docs/module-WsMinorVersion-IResGetconfig.html @@ -0,0 +1,586 @@ + + + + + + IResGetconfig - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetconfig

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResGetconfig + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetconfig.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig code
state + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig state
wifiMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig wifiMode
apMode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apMode
autoStart + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig autoStart
apCountryList + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apCountryList
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig psd
ip + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig ip
apCountry + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetconfig apCountry
+ + + + + + +
Properties of a ResGetconfig.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResGetsysteminfo.html b/docs/module-WsMinorVersion-IResGetsysteminfo.html new file mode 100644 index 00000000..8f7f3824 --- /dev/null +++ b/docs/module-WsMinorVersion-IResGetsysteminfo.html @@ -0,0 +1,411 @@ + + + + + + IResGetsysteminfo - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResGetsysteminfo

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResGetsysteminfo + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResGetsysteminfo.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo code
protocolVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo protocolVersion
device + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo device
macAddress + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo macAddress
dwarfOtaVersion + + +string +| + +null + + + + + + + <optional>
+ + + +
ResGetsysteminfo dwarfOtaVersion
+ + + + + + +
Properties of a ResGetsysteminfo.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResMotor.html b/docs/module-WsMinorVersion-IResMotor.html new file mode 100644 index 00000000..b9ed0a81 --- /dev/null +++ b/docs/module-WsMinorVersion-IResMotor.html @@ -0,0 +1,271 @@ + + + + + + IResMotor - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResMotor

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResMotor + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResMotor.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotor id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotor code
+ + + + + + +
Properties of a ResMotor.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResMotorPosition.html b/docs/module-WsMinorVersion-IResMotorPosition.html new file mode 100644 index 00000000..b03ef05f --- /dev/null +++ b/docs/module-WsMinorVersion-IResMotorPosition.html @@ -0,0 +1,306 @@ + + + + + + IResMotorPosition - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResMotorPosition

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResMotorPosition + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResMotorPosition.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
id + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition id
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition code
position + + +number +| + +null + + + + + + + <optional>
+ + + +
ResMotorPosition position
+ + + + + + +
Properties of a ResMotorPosition.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResReceiveDataError.html b/docs/module-WsMinorVersion-IResReceiveDataError.html new file mode 100644 index 00000000..0d3b6db8 --- /dev/null +++ b/docs/module-WsMinorVersion-IResReceiveDataError.html @@ -0,0 +1,271 @@ + + + + + + IResReceiveDataError - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResReceiveDataError

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResReceiveDataError + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResReceiveDataError.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReceiveDataError cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReceiveDataError code
+ + + + + + +
Properties of a ResReceiveDataError.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResReset.html b/docs/module-WsMinorVersion-IResReset.html new file mode 100644 index 00000000..bf745e20 --- /dev/null +++ b/docs/module-WsMinorVersion-IResReset.html @@ -0,0 +1,271 @@ + + + + + + IResReset - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResReset

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResReset + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResReset.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReset cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResReset code
+ + + + + + +
Properties of a ResReset.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResSetblewifi.html b/docs/module-WsMinorVersion-IResSetblewifi.html new file mode 100644 index 00000000..fb08ce16 --- /dev/null +++ b/docs/module-WsMinorVersion-IResSetblewifi.html @@ -0,0 +1,341 @@ + + + + + + IResSetblewifi - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResSetblewifi

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResSetblewifi + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResSetblewifi.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi code
mode + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi mode
value + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSetblewifi value
+ + + + + + +
Properties of a ResSetblewifi.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResSta.html b/docs/module-WsMinorVersion-IResSta.html new file mode 100644 index 00000000..26a98099 --- /dev/null +++ b/docs/module-WsMinorVersion-IResSta.html @@ -0,0 +1,376 @@ + + + + + + IResSta - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResSta

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResSta + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResSta.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSta cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResSta code
ssid + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta ssid
psd + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta psd
ip + + +string +| + +null + + + + + + + <optional>
+ + + +
ResSta ip
+ + + + + + +
Properties of a ResSta.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:47 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IResWifilist.html b/docs/module-WsMinorVersion-IResWifilist.html new file mode 100644 index 00000000..4361786c --- /dev/null +++ b/docs/module-WsMinorVersion-IResWifilist.html @@ -0,0 +1,306 @@ + + + + + + IResWifilist - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IResWifilist

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IResWifilist + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a ResWifilist.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
ResWifilist cmd
code + + +number +| + +null + + + + + + + <optional>
+ + + +
ResWifilist code
ssid + + +Array.<string> +| + +null + + + + + + + <optional>
+ + + +
ResWifilist ssid
+ + + + + + +
Properties of a ResWifilist.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Mon Mar 11 2024 14:39:48 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion-IWsPacket.html b/docs/module-WsMinorVersion-IWsPacket.html new file mode 100644 index 00000000..5a654207 --- /dev/null +++ b/docs/module-WsMinorVersion-IWsPacket.html @@ -0,0 +1,481 @@ + + + + + + IWsPacket - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

IWsPacket

+ + + + + + + +
+ +
+ +

+ WsMinorVersion~ + + + IWsPacket + +

+ + +
+ +
+ +
+ + + +
+ +
Description:
+
  • Properties of a WsPacket.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
majorVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket majorVersion
minorVersion + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket minorVersion
deviceId + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket deviceId
moduleId + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket moduleId
cmd + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket cmd
type + + +number +| + +null + + + + + + + <optional>
+ + + +
WsPacket type
data + + +Uint8Array +| + +null + + + + + + + <optional>
+ + + +
WsPacket data
clientId + + +string +| + +null + + + + + + + <optional>
+ + + +
WsPacket clientId
+ + + + + + +
Properties of a WsPacket.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-WsMinorVersion.html b/docs/module-WsMinorVersion.html new file mode 100644 index 00000000..b0c27cbf --- /dev/null +++ b/docs/module-WsMinorVersion.html @@ -0,0 +1,260 @@ + + + + + + WsMinorVersion - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

WsMinorVersion

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +
Description:
+
  • WsMinorVersion enum.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
WS_MINOR_VERSION_UNKNOWN + + +number + + + + + WS_MINOR_VERSION_UNKNOWN value
WS_MINOR_VERSION_NUMBER + + +number + + + + + WS_MINOR_VERSION_NUMBER value
+ + + + + + +
WsMinorVersion enum.
+ + + + +
+ + + + + + + + + +

Interfaces

+ +
+
IComResWithDouble
+
+ +
IComResWithInt
+
+ +
IComResWithString
+
+ +
IComResponse
+
+ +
ICommonParam
+
+ +
IWsPacket
+
+
+ + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index e24eb961..1b683e2d 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -125,7 +125,7 @@

Members

-

(static, constant) rawPreviewURL

+

(static, constant) deviceInfo

@@ -133,11 +133,16 @@

+
Description:
+
  • POST Request +data.deviceID 1:DWARF II 2:DWARF3 +data.deviceName 1:DWARF_XXXXXX 2:DWARF3_XXXXXX
+
Source:
@@ -176,6 +181,12 @@

+ POST Request +data.deviceID 1:DWARF II 2:DWARF3 +data.deviceName 1:DWARF_XXXXXX 2:DWARF3_XXXXXX + + @@ -185,7 +196,7 @@

(static, constant) telephotoURL

+

(static, constant) firmwareVersion

@@ -197,7 +208,7 @@

Source:
@@ -245,7 +256,127 @@

(static, constant) utcURL

+

(static, constant) getDefaultParamsConfig

+ + + + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +

(static, constant) rawPreviewURL

+ + + + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +

(static, constant) telephotoURL

@@ -257,7 +388,7 @@

Source:
@@ -317,7 +448,7 @@

Source:
@@ -377,7 +508,7 @@

Source:
@@ -445,7 +576,7 @@

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index 18f38bfc..75ace971 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -130,6 +130,591 @@

Methods

+

(static) analyzePacket(message_buffer) → {string}

+ + + + + + +
+ +
Description:
+
  • Generic Analysing Encoded Received Packet Function
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message_buffer + + +ArrayBuffer +| + +string + + + + + Encoded Message Buffer
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) createPacket(message, class_message, module_id, interface_id, type_id) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • Generic Create Encoded Packet Function
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message + + +Object + + + + +
class_message + + +Object + + + + +
module_id + + +number + + + + +
interface_id + + +number + + + + + instruction
type_id + + +number + + + + + Message type
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) decodePacket(WS_Packet, classDecode) → {Object}

+ + + + + + +
+ +
Description:
+
  • Execute Decoding Received Packet from the Dwarf II
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
WS_Packet + + +Uint8Array + + + + +
classDecode + + +Object + + + + + Class of Message depending on the command
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Object + + + +
+
+ + + + + + + + + +

(static) nowLocal() → {string}

@@ -146,7 +731,7 @@

Source:
@@ -250,7 +835,7 @@

Source:
@@ -357,7 +942,7 @@

Source:
@@ -461,7 +1046,7 @@

Source:
@@ -552,7 +1137,7 @@
Returns:
-

(static) socketSend(socket, command)

+

(static) setDwarfClientID(clientID) → {boolean}

@@ -562,13 +1147,13 @@

Description:
-
  • Execute socket's send command
+
  • Set clientID value if need : defaut is "0000DAF2-0000-1000-8000-00805F9B34FB"
Source:
@@ -640,13 +1225,13 @@
Parameters:
- socket + clientID -WebSocket +string @@ -661,16 +1246,146 @@
Parameters:
+ + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +boolean + + + +
+
+ + + + + + + + + + +

(static) setDwarfDeviceID(deviceID) → {boolean}

+ + + + + + +
+ +
Description:
+
  • Set Dwarf deviceID value upon value return by the dwarf
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + - + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -292,7 +341,7 @@
Returns:
-Object +Uint8Array @@ -308,7 +357,7 @@
Returns:
-

(static) formatUtcUrl(IP) → {string}

+

(static) messageAstroCaptureWideDarkFrameWithParam(exp_index, gain_index, bin_index, cap_size) → {Uint8Array}

@@ -318,13 +367,14 @@

Description:
-
  • 4.1.1 UTC+0 time
+
  • 4.10.26 Start shooting wide-angle dark field with specified parameters +Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM
Source:
@@ -396,13 +446,13 @@
Parameters:

- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -446,7 +568,7 @@
Returns:
-string +Uint8Array @@ -462,7 +584,7 @@
Returns:
-

(static) queryShotField(binning) → {Object}

+

(static) messageAstroCheckGotDark() → {Uint8Array}

@@ -472,13 +594,14 @@

Description:
-
  • 4.1.11 Query the shot field
+
  • 4.10.13 Inquire about the dark field that has been shot +Create Encoded Packet for the command CMD_ASTRO_CHECK_GOT_DARK
Source:
@@ -525,56 +648,6 @@

Parameters:

- - -

NameTypeDescription
commanddeviceID -Object +number @@ -703,6 +1418,25 @@
Parameters:
+
Returns:
+ + + + +
+
+ Type +
+
+ +boolean + + + +
+
+ + @@ -726,7 +1460,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 4d53750c..3e73c08e 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -130,7 +130,7 @@

Methods

-

(static) calibrateGoto(latitude, longitude) → {Object}

+

(static) messageAstroCaptureDarkFrameWithParam(exp_index, gain_index, bin_index, cap_size) → {Uint8Array}

@@ -140,13 +140,14 @@

Description:
-
  • 4.1.2 correction
+
  • 4.10.22 Start shooting the dark field with specified parameters +Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM
Source:
@@ -218,7 +219,7 @@
Parameters:

latitudeexp_index @@ -235,14 +236,14 @@
Parameters:
-
// Exposure parameter index value
longitudegain_index @@ -259,7 +260,55 @@
Parameters:
-
// Gain parameter index value
bin_index + + +number + + + + + // Binning parameter index value
cap_size + + +number + + + + + // Number of shots
IPexp_index -string +number @@ -413,7 +463,79 @@
Parameters:
-
// Exposure parameter index value
gain_index + + +number + + + + + // Gain parameter index value
bin_index + + +number + + + + + // Binning parameter index value
cap_size + + +number + + + + + // Number of shots
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
binning - - -number - - - - -
- - @@ -600,7 +673,7 @@
Returns:
-Object +Uint8Array @@ -616,7 +689,7 @@
Returns:
-

(static) startGoto(planet, rightAscension, declination, latitude, longitude) → {Object}

+

(static) messageAstroDelDarkFrameList(exp_index, gain_index, bin_index) → {Uint8Array}

@@ -626,13 +699,14 @@

Description:
-
  • 4.1.3 Start goto
+
  • 4.10.25 Delete the specified dark field list +Create Encoded Packet for the command CMD_ASTRO_DEL_DARK_FRAME_LIST
Source:
@@ -704,64 +778,13 @@
Parameters:
- planet + exp_index number -| - -null - - - - - - - - - - - - - - - - - - rightAscension - - - - - -string - - - - - - - - - - - - - - - - - - declination - - - - - -string @@ -772,14 +795,14 @@
Parameters:
- + // Exposure parameter index value - latitude + gain_index @@ -796,14 +819,14 @@
Parameters:
- + // Gain parameter index value - longitude + bin_index @@ -820,7 +843,7 @@
Parameters:
- + // Binning parameter index value @@ -853,7 +876,7 @@
Returns:
-Object +Uint8Array @@ -869,7 +892,7 @@
Returns:
-

(static) stopAstroPhoto() → {Object}

+

(static) messageAstroDelWideDarkFrameList(exp_index, gain_index, bin_index) → {Uint8Array}

@@ -879,13 +902,14 @@

Description:
-
  • 4.1.7 Stop taking RAW images
+
  • 4.10.29 Delete the specified wide-angle dark field list +Create Encoded Packet for the command CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST
Source:
@@ -932,32 +956,2479 @@

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + -
Returns:
- - + + + -
-
- Type -
-
- -Object +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
exp_index + + +number + + // Exposure parameter index value
gain_index + + +number + + + + + // Gain parameter index value
bin_index + + +number + + + + + // Binning parameter index value
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroGetDarkFrameList() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.24 Query the list of recorded dark scenes +Create Encoded Packet for the command CMD_ASTRO_GET_DARK_FRAME_LIST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroGetWideDarkFrameList() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.28 Query the list of wide-angle recorded dark scenes +Create Encoded Packet for the command CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroGoLive() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.16 GO LIVE interface +Create Encoded Packet for the command CMD_ASTRO_GO_LIVE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartCalibration() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.2 Start calibration +Create Encoded Packet for the command CMD_ASTRO_START_CALIBRATION
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartCaptureRawDark(reshoot) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.14 Start shooting dark scenes +Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reshoot + + +number + + + + + // Whether to reshoot, 0: No; 1: Remake
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartCaptureRawLiveStacking() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.9 Start stack +Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartEqSolving(lon, lat) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.20 Start EQ verification +Create Encoded Packet for the command CMD_ASTRO_START_EQ_SOLVING
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
lon + + +number + + + + + Longitude
lat + + +number + + + + + Lattitude
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartGotoDso(ra, dec, target_name) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.4 Start GOTO and track deep space objects +Create Encoded Packet for the command CMD_ASTRO_START_GOTO_DSO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ra + + +number + + + + + Right Ascension
dec + + +number + + + + + Declination
target_name + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartGotoSolarSystem(index, lon, lat, targetName) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.5 Start GOTO and track solar system targets +Create Encoded Packet for the command CMD_ASTRO_START_GOTO_SOLAR_SYSTEM
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + SolarSystemTargetNumber
lon + + +number + + + + + Longitude
lat + + +number + + + + + Lattitude
targetName + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartOneClickGotoDso(ra, dec, target_name) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.17 One-click GOTO deep space celestial body +Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_DSO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ra + + +number + + + + + Right Ascension
dec + + +number + + + + + Declination
target_name + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartOneClickGotoSolarSystem(index, lon, lat, targetName) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.18 One-click GOTO solar system target +Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + SolarSystemTargetNumber
lon + + +number + + + + + Longitude
lat + + +number + + + + + Lattitude
targetName + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartTrackSpecialTarget() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.7 Start Sun track & & Moon track +Create Encoded Packet for the command CMD_ASTRO_START_TRACK_SPECIAL_TARGET
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStartWideCaptureLiveStacking() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.11 Start Wide stack +Create Encoded Packet for the command CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStopCalibration() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.3 Stop calibration +Create Encoded Packet for the command CMD_ASTRO_STOP_CALIBRATION
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStopCaptureDarkFrameWithParam() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.23 Stop shooting the dark field with specified parameters +Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStopCaptureRawDark() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.15 Stop shooting dark scenes +Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageAstroStopCaptureRawLiveStacking() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.10 stop stack +Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array @@ -973,7 +3444,7 @@
Returns:
-

(static) takeAstroDarks(binning, exposure, count, fileName) → {Object}

+

(static) messageAstroStopCaptureWideDarkFrameWithParam() → {Uint8Array}

@@ -983,13 +3454,14 @@

Description:
-
  • 4.1.10 Taking dark field
+
  • 4.10.27 Stop shooting the dark field with wide-angle specified parameters +Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM
Source:
@@ -1036,126 +3508,214 @@

Parameters:

- - - - + + + + + + + + + + + + + +
Returns:
+ - + + +
+
+ Type +
+
+Uint8Array -
+ + + + + + + + + + + + + + +

(static) messageAstroStopEqSolving() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.10.21 Stop EQ verification +Create Encoded Packet for the command CMD_ASTRO_STOP_EQ_SOLVING
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ +
+
+ Type +
+
+Uint8Array -
- - - + + + + - - - - - + - - - - +
+ +
Description:
+
  • 4.10.6 Stop GOTO +Create Encoded Packet for the command CMD_ASTRO_STOP_GOTO
-
- - - + +
Source:
+
+ - + - + - + - - + - - - - + - + - + - + + - - - - - - - - - - - - - - -
NameTypeDescription
binning + + - -number + +

(static) messageAstroStopGoto() → {Uint8Array}

- -
exposure - - -number + + + - -
count - - -number + + + - -
fileName - - -string - -
@@ -1183,7 +3743,7 @@
Returns:
-Object +Uint8Array @@ -1199,7 +3759,7 @@
Returns:
-

(static) takeAstroPhoto(rightAscension, declination, exposureTime, gain, binning, count, fileFormat, fileName) → {Object}

+

(static) messageAstroStopOneClickGoto() → {Uint8Array}

@@ -1209,13 +3769,14 @@

Description:
-
  • 4.1.4 Take raw pictures
+
  • 4.10.19 Stop one-click GOTO +Create Encoded Packet for the command CMD_ASTRO_STOP_ONE_CLICK_GOTO
Source:
@@ -1262,222 +3823,109 @@

Parameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+
+ Type +
+
+ +Uint8Array - - -
- + + - - - - - - - + - - - - - - - - - - - - - - - - +

(static) messageAstroStopTrackSpecialTarget() → {Uint8Array}

- - - - - - - - - - - +
+ +
Description:
+
  • 4.10.8 Stop sun and moon tracking +Create Encoded Packet for the command CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET
-
- - - + +
Source:
+
+ - + - + - + - - + - - - - + - + - + - + + - - - - - - - - - - - - - - -
NameTypeDescription
rightAscension - - -string - -
declination - - -string +
Returns:
+ - -
exposureTime - - -number - - - - -
gain - - -number - - - - -
binning - - -number - - - - -
count - - -number + + + - -
fileFormat - - -number + + + - -
fileName - - -string - -
@@ -1505,7 +3953,7 @@
Returns:
-Object +Uint8Array @@ -1521,7 +3969,7 @@
Returns:
-

(static) updateRawPreviewSource(source) → {Object}

+

(static) messageAstroStopWideCaptureLiveStacking() → {Uint8Array}

@@ -1531,13 +3979,14 @@

Description:
-
  • 4.1.9 Switch the RAW preview source
+
  • 4.10.12 stop stack +Create Encoded Packet for the command CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING
Source:
@@ -1584,56 +4033,6 @@

Parameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
source - - -number - - - - -
- - @@ -1659,7 +4058,7 @@
Returns:
-Object +Uint8Array @@ -1690,7 +4089,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/module-ble.html b/docs/module-ble.html new file mode 100644 index 00000000..5d3c1d18 --- /dev/null +++ b/docs/module-ble.html @@ -0,0 +1,2119 @@ + + + + + + ble - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

ble

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) analyzePacketBle(message_buffer) → {string}

+ + + + + + +
+ +
Description:
+
  • Generic Analysing Encoded Received BLE Packet Function
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
message_buffer + + +ArrayBuffer +| + +string + + + + + Encoded Message Buffer
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + +

(static) createPacketBle(cmd, message, class_message) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • Generic Create Encoded Bluetooth Packet Function
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
cmd + + +number + + + + +
message + + +Object + + + + +
class_message + + +Object + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) decodePacketBle(buffer, classDecode) → {Object}

+ + + + + + +
+ +
Description:
+
  • Execute Decoding Received Bluetooth Packet from the Dwarf II
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
buffer + + +Uint8Array + + + + +
classDecode + + +Object + + + + + Class of Message depending on the command
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Object + + + +
+
+ + + + + + + + + + +

(static) messageGetSystemInfo() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.6 Obtain device information +Create Encoded Packet for the command Get device information +CMD instruction, value is 7
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageGetWifiList() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.5 Get WiFi list +Create Encoded Packet for the command Get WiFi list +CMD instruction, value is 6
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageGetconfig(ble_psd) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.1.1 Request data +Create Encoded Packet for the command Getconfig +CMD instruction, value is 1
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ble_psd + + +string + + + + + ; //Default: "DWARF_12345678"
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageResetWifi() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.4 Reset Bluetooth WiFi +Create Encoded Packet for the command Reset Bluetooth WiFi +CMD instruction, value is 5
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageWifiAP(wifi_type, auto_start, country_list, country, ble_psd) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.2 Configure WiFi AP mode +Create Encoded Packet for the command Configure WiFi AP mode +CMD instruction, value is 2
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
wifi_type + + +Number + + + + + ; // 0-5G 1-2.4G
auto_start + + +Number + + + + + ; // WiFi boot configuration 0 - boot not start 1 - boot start
country_list + + +Number + + + + + ; // 0- do not configure country_list 1- configure country_list
country + + +string + + + + + ; //
ble_psd + + +string + + + + + ; //Default: "DWARF_12345678"
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageWifiSTA(auto_start, ble_psd, ssid, psd) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.3 Configure WiFi STA mode +Create Encoded Packet for the command Configure WiFi AP mode +CMD instruction, value is 2
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
auto_start + + +Number + + + + + ; // WiFi boot configuration 0 - boot not start 1 - boot start
ble_psd + + +string + + + + + ; // Default: "DWARF_12345678"
ssid + + +string + + + + + ; // WiFi name of router to connect
psd + + +string + + + + + ; // WiFi password of the router to be connected
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(inner) calculateCRC16(buffer) → {number}

+ + + + + + +
+ +
Description:
+
  • Calculates the buffers crc16.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
buffer + + +any + + + + + the data buffer.
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ the calculated crc16. + +Source: github.com/yaacov/node-modbus-serial +
+ + + +
+
+ Type +
+
+ +number + + + +
+
+ + + + + + + + + + +

(inner) getArrayFromHexString(data) → {array}

+ + + + + + +
+ +
Description:
+
  • GetArrayFromHexString
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
data + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +array + + + +
+
+ + + + + + + + + + +

(inner) getDecimalToHex16bString(number) → {string}

+ + + + + + +
+ +
Description:
+
  • getDecimalToHexString
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
number + + +number + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html deleted file mode 100644 index c2246a76..00000000 --- a/docs/module-camera_settings.html +++ /dev/null @@ -1,573 +0,0 @@ - - - - - - camera_settings - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

camera_settings

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) cameraSettings(camera) → {Object}

- - - - - - -
- -
Description:
-
  • 3.4.1 Get telephoto ISP parameters -3.4.4 Returns the wide-angle ISP parameter
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) cameraWorkingState(camera) → {Object}

- - - - - - -
- -
Description:
-
  • 3.4.3 Returns to the camera working state
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) iRSettings() → {Object}

- - - - - - -
- -
Description:
-
  • 3.4.2 Get telephoto IRCUT state (when shooting raw)
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-camera_tele.html b/docs/module-camera_tele.html new file mode 100644 index 00000000..ce5258a3 --- /dev/null +++ b/docs/module-camera_tele.html @@ -0,0 +1,6035 @@ + + + + + + camera_tele - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

camera_tele

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageCameraTeleCloseCamera() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.4 Turn off the camera +Create Encoded Packet for the command CMD_CAMERA_TELE_CLOSE_CAMERA
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetAllFeatureParams() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.8 Get all feature parameters +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetAllParams() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.6 Get all camera parameters +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_PARAMS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetBrightness() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.34 Acquire brightness +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_BRIGHTNESS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetContrast() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.36 Get contrast +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_CONTRAST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetExp() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.20 Get exposure value +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetExpMode() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.18 Acquire exposure mode +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetGain() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.24 Get gain value +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetGainMode() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.22 Acquisition gain mode +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetHue() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.40 Get hue +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_HUE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetIRCut() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.26 Get IRCUT status +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_IRCUT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetSaturation() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.38 Acquire saturation +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SATURATION
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetSharpness() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.42 Acquire sharpness +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SHARPNESS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetSystemWorkingState() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.9 Get the working status of the whole machine +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetWBColorTemp() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.32 Obtain the white balance color temperature value +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_CT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetWBMode() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.28 Acquire white balance mode +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleGetWBScene() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.30 Get white balance scene +Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_SCENE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleOpenCamera(binning, rtsp_encode_type) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.3 Turn on the camera +Create Encoded Packet for the command CMD_CAMERA_TELE_OPEN_CAMERA
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
binning + + +number + + + + + ; 0 : binning1x1 (default) 1: binning2x2
rtsp_encode_type + + +number + + + + + ; 0:H264 (default) 1:H265
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTelePhotoRaw() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.44 Shoot RAW image +Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTO_RAW
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTelePhotograph() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.10 Take photos +Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTOGRAPH
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetAllParams(exp_mode, exp_index, gain_mode, gain_index, ircut_value, wb_mode, wb_index_type, wb_index, brightness, contrast, hue, saturation, sharpness, jpg_quality) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.5 Set all camera parameters +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_ALL_PARAMS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
exp_mode + + +number + + + + + ; // 0: Auto 1: Manual
exp_index + + +number + + + + + ;
gain_mode + + +number + + + + + ;
gain_index + + +number + + + + + ;
ircut_value + + +number + + + + + ; //IRCUT value 0: CUT 1: PASS
wb_mode + + +number + + + + + ; //white balance mode 0: automatic 1: manual
wb_index_type + + +number + + + + + ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode
wb_index + + +number + + + + + ;
brightness + + +number + + + + + ;
contrast + + +number + + + + + ;
hue + + +number + + + + + ;
saturation + + +number + + + + + ;
sharpness + + +number + + + + + ;
jpg_quality + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetBrightness(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.33 Set brightness +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_BRIGHTNESS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = (A + 100) * 255.0 / 200
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetContrast(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.35 Set contrast +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_CONTRAST +UI value (A) -100 100 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = (A + 100) * 255.0 / 200
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetExp(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.19 Set exposure value +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetExpMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.17 Set exposure mode +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetFeatureParams(has_auto, auto_mode, id, mode_index, index, continue_value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.7 Set feature parameters +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_FEATURE_PARAM
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
has_auto + + +boolean + + + + +
auto_mode + + +number + + + + +
id + + +number + + + + +
mode_index + + +number + + + + +
index + + +number + + + + +
continue_value + + +number + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetGain(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.23 Set gain value +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetGainMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.21 Set gain mode +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetHue(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.39 Set tone +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_HUE +UI value (A) -180 180 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B =(A + 180) * 255.0 / 360
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetIRCut(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.25 Set IRCUT +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_IRCUT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; //IRCUT value 0: CUT 1: PASS
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetJPGQuality(quality) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.43 Set jpg preview quality +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_JPG_QUALITY
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
quality + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetRTSPPreviewBitsRate(bitrate_type) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.45 Set rtsp preview bit rate type +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
bitrate_type + + +number + + + + + ; 0:H264 1:H265
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetSaturation(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.37 Set saturation +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SATURATION +UI value (A) -100 100 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = (A + 100) * 255.0 / 200
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetSharpness(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.41 Set sharpness +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SHARPNESS +UI value (A) 0 100 50 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = A
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetWBColorTemp(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.31 Set the white balance color temperature value +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_CT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ; // See whiteBalanceScenesIDValue
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetWBMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.27 Set white balance mode +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleSetWBScene(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.29 Set white balance scene +Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_SCENE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; // See whiteBalanceScenesIDValue
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStartBurst() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.11 Start continuous shooting +Create Encoded Packet for the command CMD_CAMERA_TELE_BURST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStartRecord() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.13 Start recording +Create Encoded Packet for the command CMD_CAMERA_TELE_START_RECORD
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStartTimeLapsePhoto() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.15 Start time-lapse photography +Create Encoded Packet for the command CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStopBurst() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.12 Stop continuous shooting +Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_BURST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStopRecord() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.14 Stop recording +Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_RECORD
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraTeleStopTimeLapsePhoto() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.7.16 Stop time-lapse photography +Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-camera_wide.html b/docs/module-camera_wide.html new file mode 100644 index 00000000..f6b00a14 --- /dev/null +++ b/docs/module-camera_wide.html @@ -0,0 +1,3810 @@ + + + + + + camera_wide - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

camera_wide

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageCameraWideCloseCamera() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.4 Turn off the camera +Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideGetAllParams() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.10 Get all parameters +Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideGetExp() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.14 Get exposure value +Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideGetExpMode() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.12 Acquire exposure mode +Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideGetGain() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.18 Get gain value +Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideGetGainMode() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.16 Acquisition gain mode +Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideOpenCamera() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.3 Turn on the camera +Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWidePhotograph() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.5 Take photos +Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetAllParams(exp_mode, exp_index, gain_mode, gain_index, ircut_value, wb_mode, wb_index_type, wb_index, brightness, contrast, hue, saturation, sharpness, jpg_quality) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.28 Set all camera parameters +Not documented +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
exp_mode + + +number + + + + + ; // 0: Auto 1: Manual
exp_index + + +number + + + + + ;
gain_mode + + +number + + + + + ;
gain_index + + +number + + + + + ;
ircut_value + + +number + + + + + ; //IRCUT value 0: CUT 1: PASS
wb_mode + + +number + + + + + ; //white balance mode 0: automatic 1: manual
wb_index_type + + +number + + + + + ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode
wb_index + + +number + + + + + ;
brightness + + +number + + + + + ;
contrast + + +number + + + + + ;
hue + + +number + + + + + ;
saturation + + +number + + + + + ;
sharpness + + +number + + + + + ;
jpg_quality + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetBrightness(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.21 Set brightness +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS +UI value (A) -100 100 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = A * 64.0 / 10
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetContrast(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.22 Set contrast +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST +UI value (A) -100 100 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = (A + 100) * 95.0 / 200
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetExp(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.13 Set exposure value +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetExpMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.11 Set exposure mode +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetGain(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.17 Set gain value +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetGainMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.15 Set gain mode +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetHue(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.24 Set tone +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE +UI value (A) -180 180 0 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = A * 2000.0 / 180
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetSaturation(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.23 Set saturation +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION +UI value (A) -100 100 60 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B =(A + 100) * 100.0 / 200
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetSharpness(value) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.25 Set sharpness +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS +UI value (A) 0 100 17 (Default)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + + + ; B = A * 6.0 / 100 + 1
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetWBColorTemp(index) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.20 Set the white balance color temperature value +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideSetWBMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.19 Set white balance mode +Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: Auto 1: Manual ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStartBurst() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.8 Start continuous shooting +Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStartRecord() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.6 Start recording +Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStartTimeLapsePhoto() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.26 Start time-lapse photography +Not documented +Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStopBurst() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.9 Stop continuous shooting +Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStopRecord() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.7 Stop recording +Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageCameraWideStopTimeLapsePhoto() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.9.27 Stop time-lapse photography +Not documented +Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-focus.html b/docs/module-focus.html new file mode 100644 index 00000000..f6f14529 --- /dev/null +++ b/docs/module-focus.html @@ -0,0 +1,1038 @@ + + + + + + focus - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

focus

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageFocusAutoFocus(mode, center_x, center_y) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.8.3 Normal autofocus +Create Encoded Packet for the command CMD_FOCUS_AUTO_FOCUS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //0: global focus 1: area focus
center_x + + +number + + + + + ; //Area focus x coordinates
center_y + + +number + + + + + ; //Area focus y coordinates
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageFocusManualSingleStepFocus(direction) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.8.6 Manual single-step focusing +Create Encoded Packet for the command CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
direction + + +number + + + + + //Focus direction 0: far focus 1: near focus ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageFocusStartAstroAutoFocus(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • Create Encoded Packet for the command CMD_FOCUS_START_ASTRO_AUTO_FOCUS +3.8.4 Start astronomical autofocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; 0: slow focus; 1: fast focus
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageFocusStartManualContinuFocus(direction) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.8.7 Start manual continuous focus +Create Encoded Packet for the command CMD_FOCUS_START_MANUAL_CONTINU_FOCUS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
direction + + +number + + + + + //Focus direction 0: far focus 1: near focus ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageFocusStopAstroAutoFocus() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.8.5 Stop astronomical autofocus +Create Encoded Packet for the command CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageFocusStopManualContinuFocus() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.8.8 Stop manual continuous focus +Create Encoded Packet for the command CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html deleted file mode 100644 index 60e18508..00000000 --- a/docs/module-image_transmission.html +++ /dev/null @@ -1,646 +0,0 @@ - - - - - - image_transmission - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

image_transmission

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) setPreviewImageQuality(previewQuality) → {Object}

- - - - - - -
- -
Description:
-
  • 3.1.4 Set preview image quality
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
previewQuality - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) turnOffCamera(camera) → {Object}

- - - - - - -
- -
Description:
-
  • 3.1.2 Turn off the camera
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) turnOnCamera(binning, camera) → {Object}

- - - - - - -
- -
Description:
-
  • 3.1.1 Turn on the camera
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
binning - - -number - - - - -
camera - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html deleted file mode 100644 index cd5ec152..00000000 --- a/docs/module-motion_control.html +++ /dev/null @@ -1,1218 +0,0 @@ - - - - - - motion_control - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

motion_control

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) setDirection(motor, direction) → {Object}

- - - - - - -
- -
Description:
-
  • 5.4 Set direction
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
motor - - -number - - - - -
direction - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setSpeed(motor, speed, accelStep, trend) → {Object}

- - - - - - -
- -
Description:
-
  • 5.3 Set speed
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
motor - - -number - - - - -
speed - - -number - - - - -
accelStep - - -number - - - - -
trend - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setSubdivide(motor, mStep) → {Object}

- - - - - - -
- -
Description:
-
  • 5.5 Set subdivide
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
motor - - -number - - - - -
mStep - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) startMotion(motor, mode, mStep, speed, direction, pulse, accelStep) → {Object}

- - - - - - -
- -
Description:
-
  • 5.1 Start
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
motor - - -number - - - - -
mode - - -number - - - - -
mStep - - -number - - - - -
speed - - -number - - - - -
direction - - -number - - - - -
pulse - - -number - - - - -
accelStep - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) stopMotion(motor, decelStep) → {Object}

- - - - - - -
- -
Description:
-
  • 5.2 Stop
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
motor - - -number - - - - -
decelStep - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-motor.html b/docs/module-motor.html new file mode 100644 index 00000000..08c2a2c6 --- /dev/null +++ b/docs/module-motor.html @@ -0,0 +1,2209 @@ + + + + + + motor - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

motor

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageStepMotorChangeDirection(id, direction) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.12 Motor Change direction (Not Documented) +Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_DIRECTION
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // 1 : Rotation axis 2: Pitch axis
direction + + +boolean + + + + + ; //0: left/down 1: right/up
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorChangeSpeed(id, speed;) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.11 Motor Change Speed (Not Documented) +Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_SPEED
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // 1 : Rotation axis 2: Pitch axis
speed; + + +number + + + + + //2 : 5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorGetPosition(id) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.14 Motor Get Position (Not Documented) +Create Encoded Packet for the command CMD_STEP_MOTOR_GET_POSITION
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // 1 : Rotation axis 2: Pitch axis
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorMotion(id, speed, direction, speed_ramping, resolution_level) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.3 Motor motion +Create Encoded Packet for the command CMD_STEP_MOTOR_RUN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; //1 : Rotation axis 2: Pitch axis
speed + + +number + + + + + ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
direction + + +boolean + + + + + ; //0: left/down 1: right/up
speed_ramping + + +number + + + + + ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears
resolution_level + + +number + + + + + ; //Subdivision: 5:32 subdivision + // Subdivision: + // 0:256 Subdivision + // 1:128 Subdivision + // 2:64 Subdivision + // 3:32 Subdivision + // 4:16 Subdivision + // 5:8 Subdivision + // 6:4 Subdivision + // 7:2 Subdivision + // 8:1 Subdivision
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorMotionTo(id, end_position, speed, speed_ramping, resolution_level) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.9 Motor Run To (Not Documented) +Create Encoded Packet for the command CMD_STEP_MOTOR_RUN_TO
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // 1 : Rotation axis 2: Pitch axis
end_position + + +number + + + + + ;
speed + + +number + + + + + ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
speed_ramping + + +number + + + + + ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears
resolution_level + + +number + + + + + ; //Subdivision: 5:32 subdivision
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorReset(id, direction;) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.10 Motor Reset (Not Documented) +Create Encoded Packet for the command CMD_STEP_MOTOR_RESET
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // 1 : Rotation axis 2: Pitch axis
direction; + + +boolean + + + + + //2 : 0: left/down 1: right/up
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorServiceDualCameraLinkage(x, y) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.8 Dual camera linkage +Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
x + + +number + + + + + ;
y + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorServiceJoystick(vector_angle, vector_length, speed) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.5 Joystick +Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
vector_angle + + +number + + + + + ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise
vector_length + + +number + + + + + ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag
speed + + +number + + + + + ; //speed along the direction vector, 0.1 �/s-30 �/s
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorServiceJoystickFixedAngle(vector_angle, vector_length, speed) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.6 Short press the arrow keys with the joystick +Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
vector_angle + + +number + + + + + ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise
vector_length + + +number + + + + + ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag
speed + + +number + + + + + ; //speed along the direction vector, 0.1 �/s-30 �/s
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorServiceJoystickStop() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.13.7 Stop joystick +Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageStepMotorStop(id) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • Create Encoded Packet for the command CMD_STEP_MOTOR_STOP +4.13.4 Motor stop
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; //0: Rotation axis 1: Pitch axis
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-panorama.html b/docs/module-panorama.html new file mode 100644 index 00000000..a44af683 --- /dev/null +++ b/docs/module-panorama.html @@ -0,0 +1,549 @@ + + + + + + panorama - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

panorama

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messagePanoramaStartGrid() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.15.3 Start Panorama +Create Encoded Packet for the command CMD_PANORAMA_START_GRID
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messagePanoramaStartPanoramaByEulerRange(yaw_range, pitch_range) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.15.5 Start Panorama +Create Encoded Packet for the command CMD_PANORAMA_START_EULER_RANGE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
yaw_range + + +number + + + + + ; // yaw range
pitch_range + + +number + + + + + ; // pitch range
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messagePanoramaStop() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.15.4 Stop Panorama +Create Encoded Packet for the command CMD_PANORAMA_STOP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html deleted file mode 100644 index f1949845..00000000 --- a/docs/module-panoramic.html +++ /dev/null @@ -1,634 +0,0 @@ - - - - - - panoramic - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

panoramic

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) startPano(numRows, numColumns, mStep1, mStep2, speed1, speed2, pulse1, pulse2, accelStep1, accelStep2) → {Object}

- - - - - - -
- -
Description:
-
  • 4.3.1 Start panorama
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
numRows - - -number - - - - -
numColumns - - -number - - - - -
mStep1 - - -number - - - - -
mStep2 - - -number - - - - -
speed1 - - -number - - - - -
speed2 - - -number - - - - -
pulse1 - - -number - - - - -
pulse2 - - -number - - - - -
accelStep1 - - -number - - - - -
accelStep2 - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) stopPano() → {Object}

- - - - - - -
- -
Description:
-
  • 4.3.2 Stop panorama
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html deleted file mode 100644 index 2ba94590..00000000 --- a/docs/module-photo_video.html +++ /dev/null @@ -1,950 +0,0 @@ - - - - - - photo_video - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

photo_video

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) startTimeLapse(intervalTime, outTime, name) → {Object}

- - - - - - -
- -
Description:
-
  • 3.2.4 Start time lapse photography
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
intervalTime - - -number - - - - -
outTime - - -number - - - - -
name - - -string - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) startVideo(name) → {Object}

- - - - - - -
- -
Description:
-
  • 3.2.2 Start recording
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) stopTimeLapse() → {Object}

- - - - - - -
- -
Description:
-
  • 3.2.5 Stop time-lapse photography
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) stopVideo() → {Object}

- - - - - - -
- -
Description:
-
  • 3.2.3 Stop recording
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) takePhoto(camera, photoMode, count, name) → {Object}

- - - - - - -
- -
Description:
-
  • 3.2.1 Photograph
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
photoMode - - -number - - - - -
count - - -number - - - - -
name - - -string - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-rgp_power.html b/docs/module-rgp_power.html new file mode 100644 index 00000000..9e8acf3e --- /dev/null +++ b/docs/module-rgp_power.html @@ -0,0 +1,790 @@ + + + + + + rgp_power - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

rgp_power

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageRgbPowerCloseRGB() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.4 Turn off the ring light +Create Encoded Packet for the command CMD_RGB_POWER_CLOSE_RGB
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageRgbPowerDown() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.7 Shut down +Create Encoded Packet for the command CMD_RGB_POWER_POWER_DOWN
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageRgbPowerOpenRGB() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.3 Turn on the ring light +Create Encoded Packet for the command CMD_RGB_POWER_OPEN_RGB
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageRgbPowerPowerIndOFF() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.6 Turn off battery indicator +Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_OFF
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageRgbPowerPowerIndON() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.5 Turn on the battery indicator +Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_ON
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageRgbPowerReboot() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.12.8 Restart +Create Encoded Packet for the command CMD_RGB_POWER_REBOOT
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html deleted file mode 100644 index 7096628b..00000000 --- a/docs/module-set_isp_settings.html +++ /dev/null @@ -1,2652 +0,0 @@ - - - - - - set_isp_settings - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

set_isp_settings

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) autoFocus(camera, mode, x, y) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.10 Start autofocus
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
mode - - -number - - - - -
x - - -number - - - - -
y - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setBrightness(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.1 brightness
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setContrast(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.2 contrast
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setExposure(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.7 Set exposure value
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setExposureMode(camera, mode) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.6 Set exposure mode
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
mode - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setGain(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.9 Set gain value
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setGainMode(camera, mode) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.8 Set gain mode
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
mode - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setHue(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.4 hue
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setIR(value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.14 IR_CUT
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setSaturation(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.3 saturation
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setSharpness(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.5 sharpness
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setWhiteBalanceColor(camera, value) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.13 Set the white balance color temperature parameter
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
value - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setWhiteBalanceMode(camera, mode) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.11 Set the white balance mode
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
camera - - -number - - - - -
mode - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) setWhiteBalanceScene(mode) → {Object}

- - - - - - -
- -
Description:
-
  • 3.3.12 Set the white balance scene
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
mode - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-system.html b/docs/module-system.html new file mode 100644 index 00000000..9243df68 --- /dev/null +++ b/docs/module-system.html @@ -0,0 +1,885 @@ + + + + + + system - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

system

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageSystemSetCpuMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.11.6 Set CPU mode +Create Encoded Packet for the command CMD_SYSTEM_SET_CPU_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + //0: Normal mode 1: Performance mode
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSystemSetMasterLock(lock) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.11.7 Set HOST mode +Create Encoded Packet for the command CMD_SYSTEM_SET_MASTERLOCK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
lock + + +boolean + + + + + //false: Master UnLock true: Master Lock
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSystemSetMtpMode(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.11.5 Set MTP mode +Create Encoded Packet for the command CMD_SYSTEM_SET_MTP_MODE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + //Can be omitted, default is on, cannot be closed
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSystemSetTime() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.11.3 Set the system time +Create Encoded Packet for the command CMD_SYSTEM_SET_TIME
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSystemSetTimezone(timezone) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.11.4 Set the time zone +Create Encoded Packet for the command CMD_SYSTEM_SET_TIME_ZONE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
timezone + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html deleted file mode 100644 index 9e2acd32..00000000 --- a/docs/module-system_settings.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - system_settings - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

system_settings

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) shutDown() → {Object}

- - - - - - -
- -
Description:
-
  • 7.11 Shut down
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-track.html b/docs/module-track.html new file mode 100644 index 00000000..3530df9d --- /dev/null +++ b/docs/module-track.html @@ -0,0 +1,1272 @@ + + + + + + track - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

track

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

(static) messageMOTStart() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.7 Start "Multi-Object Tracking" +Create Encoded Packet for the command CMD_MOT_START
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageMOTStartOne(id) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.8 "Multi-Object Tracking" feature starts tracking a target +Create Encoded Packet for the command CMD_MOT_TRACK_ONE
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +number + + + + + ; // target id
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSentryModeStart(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.5 Start Sentinel Mode +Create Encoded Packet for the command CMD_SENTRY_MODE_START
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //Reserved field, you can pass 0 now
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageSentryModeStop() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.6 Stop Sentinel Mode +Create Encoded Packet for the command CMD_SENTRY_MODE_STOP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageTrackStartTrack(x, y, w, h) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 4.14.3 Started tracking +Create Encoded Packet for the command CMD_TRACK_START_TRACK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
x + + +number + + + + + ; //x coordinate of the upper left point of the target box
y + + +number + + + + + ; // The y coordinate of the upper left point of the target box
w + + +number + + + + + ; // width of the target box
h + + +number + + + + + ; //The length of the target box
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageTrackStopTrack() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.4 Stop tracking +Create Encoded Packet for the command CMD_TRACK_STOP_TRACK
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageUFOTrackModeStart(mode) → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.9 Start UFO Mode +Create Encoded Packet for the command CMD_UFOTRACK_MODE_START
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
mode + + +number + + + + + ; //Reserved field, you can pass 0 now
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + +

(static) messageUFOTrackModeStop() → {Uint8Array}

+ + + + + + +
+ +
Description:
+
  • 3.14.10 Stop UFO Mode +Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Uint8Array + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-tracking.html b/docs/module-tracking.html deleted file mode 100644 index 15bad18e..00000000 --- a/docs/module-tracking.html +++ /dev/null @@ -1,594 +0,0 @@ - - - - - - tracking - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

tracking

- - - - - - - -
- -
- -
- -
- -
- - - -
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -

Methods

- - - - - - -

(static) startTrace() → {Object}

- - - - - - -
- -
Description:
-
  • 4.2.1 Trace initialization
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) startTracking(x, y, width, height) → {Object}

- - - - - - -
- -
Description:
-
  • 4.2.2 Start tracking
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
x - - -number - - - - -
y - - -number - - - - -
width - - -number - - - - -
height - - -number - - - - -
- - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - -

(static) stopTracking() → {Object}

- - - - - - -
- -
Description:
-
  • 4.2.3 Stop tracking
- - - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Object - - - -
-
- - - - - - - - - - - -
- -
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - \ No newline at end of file diff --git a/docs/module-websocket_class.WebSocketHandler.html b/docs/module-websocket_class.WebSocketHandler.html new file mode 100644 index 00000000..38e548d8 --- /dev/null +++ b/docs/module-websocket_class.WebSocketHandler.html @@ -0,0 +1,2587 @@ + + + + + + WebSocketHandler - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

WebSocketHandler

+ + + + + + + +
+ +
+ +

+ websocket_class. + + + WebSocketHandler + +

+ + +
+ +
+ +
+ + + + + +

new WebSocketHandler(IPDwarf)

+ + + + + + +
+ +
Description:
+
  • Create a link to the Api and set the IP address of the Dwarf to connect to
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
IPDwarf + + +string +| + +undefined + + + + + ; Set the IP address of the Dwarf to connect to
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +

Members

+ + + +

closeSocketTimer

+ + + + + +
+ +
Description:
+
  • closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long +
+ + + + + + + + + + +

closeTimerHandler

+ + + + + +
+ +
Description:
+
  • closeTimerHandler : function could be defined : to close the timeout timer.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ closeTimerHandler : function could be defined : to close the timeout timer. +
+ + + + + + + + + + +

onStopTimerHandler

+ + + + + +
+ +
Description:
+
  • onStopTimerHandler : function could be defined : this function will be called in case of error during connection
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ onStopTimerHandler : function could be defined : this function will be called in case of error during connection +
+ + + + + + + + + + + + +

Methods

+ + + + + + +

(async) cleanup(forceStop) → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • cleanup function : Stop all the functions
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
forceStop + + +boolean + + + + + + + false + + ; if true do not try a reconnection, false by default
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

(async) close() → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Force close the socket connection with the Dwarf
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

(async) handleClose() → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Handle close event of the socket connection with the Dwarf +To call from a timeout function during the connection with the Dwarf
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

isConnected() → {boolean}

+ + + + + + +
+ +
Description:
+
  • Verify the status of the connection with the Dwarf
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ status of the connection +
+ + + +
+
+ Type +
+
+ +boolean + + + +
+
+ + + + + + + + + + +

(async) prepare(WS_Packet, senderId, expectedResponseCmd, callbackMessage, callbackConnectState, callbackError, callbackReconnect) → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Prepare function : Define the message to send and the command to listen to and the callbacks functions
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
WS_Packet + + +Object +| + +Array.<Object> + + + + + ; Message or Array of Messages from the API to send to the Dwarf
senderId + + +string + + + + + ; identifier of the sender
expectedResponseCmd + + +Array.<string> + + + + + ; List of the Command Id to listen to, can be "*" to get all commands.
callbackMessage + + +function + + + + + ; Callback Fonction (const customMessageHandler = (txt_info:string, result_data:object)) to analyse reponses from the Dwarf
callbackConnectState + + +function + + + + + ; Callback Fonction (const customStateHandler = (state)) to get the status result of the current connection of the Dwarf
callbackError + + +function + + + + + ; Callback Fonction (const customErrorHandler = ()) called after an socket error.
callbackReconnect + + +function + + + + + ; Callback Fonction (const customReconnectHandler = ()) called after a socket reconnection.
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

(async) run() → {Promise.<boolean>}

+ + + + + + +
+ +
Description:
+
  • Main function, to call after prepare function, send the message and start dialogue with the Dwarf
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + +
+ false if the IP has not been set or if old Socket can't be closed +
+ + + +
+
+ Type +
+
+ +Promise.<boolean> + + + +
+
+ + + + + + + + + + +

setDefaultPongError(nbTimes) → {void}

+ + + + + + +
+ +
Description:
+
  • Set the nb of times to stop connection after not receiving pong, default is 10.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
nbTimes + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + + +
+
+ + + + + + + + + + +

setDefaultReconnect(nbTimes) → {void}

+ + + + + + +
+ +
Description:
+
  • Set the nb of times for trying to reconnect to the Dwarf if the connection closes, default is 5.
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
nbTimes + + +number + + + + + ;
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + + +
+
+ + + + + + + + + + +

setDeviceIdDwarf(deviceIdDwarf) → {boolean}

+ + + + + + +
+ +
Description:
+
  • Set the device ID of the Dwarf connected (readen from the Dwarf or from the config file on the Dwarf)
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
deviceIdDwarf + + +number + + + + + ; Set the device ID of the Dwarf connected.
+ + + + + + + + + + + + + + + + +
Returns:
+ + +
+ status +
+ + + +
+
+ Type +
+
+ +boolean + + + +
+
+ + + + + + + + + + +

(async) setHttpsMode(useHttps) → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Set the Https mode of the proxy connection, the Dwarf connect to
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
useHttps + + +boolean + + + + + ; true if Https, then wss should be used with a proxy connection
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

(async) setNewIpDwarf(IPDwarf) → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Set the IP address of the Dwarf to connect to
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
IPDwarf + + +string + + + + + ; Set the IP address of the Dwarf to connect to, force another one that was configured when calling the constructor.
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

setPingInterval(IntervalInSecond) → {void}

+ + + + + + +
+ +
Description:
+
  • Set the intervall of the build in Ping function defult is 10s
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
IntervalInSecond + + +number + + + + + ; in Seconds
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + + +
+
+ + + + + + + + + + +

(async) setProxyUrl(proxyURL) → {Promise.<void>}

+ + + + + + +
+ +
Description:
+
  • Set the URL address of the proxy uses to connect to the dwarf, +by default not used, set it to empty param for not using a proxy
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
proxyURL + + +string + + + + + ; Set the URL address of the Proxy the Dwarf to connect to.
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + + + + + + + + + +

stopCallbacks(senderId) → {void}

+ + + + + + +
+ +
Description:
+
  • stopCallbacks function : Stop receiving on the callbacks functions
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
senderId + + +string + + + + + ; Identifier of caller
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + + +
+
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/module-websocket_class.html b/docs/module-websocket_class.html new file mode 100644 index 00000000..572be5d1 --- /dev/null +++ b/docs/module-websocket_class.html @@ -0,0 +1,163 @@ + + + + + + websocket_class - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

websocket_class

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + +

Classes

+ +
+
WebSocketHandler
+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:49 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html deleted file mode 100644 index 4156dca0..00000000 --- a/docs/motion_control.js.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - motion_control.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

motion_control.js

- - - - - - - -
-
-
/** @module motion_control */
-
-import {
-  startMotionCmd,
-  stopMotionCmd,
-  setSpeedCmd,
-  setDirectionCmd,
-  setSubdivideCmd,
-} from "./api_codes.js";
-
-/**
- * 5.1 Start
- * @param {number} motor
- * @param {number} mode
- * @param {number} mStep
- * @param {number} speed
- * @param {number} direction
- * @param {number} pulse
- * @param {number} accelStep
- * @returns {Object}
- */
-export function startMotion(
-  motor,
-  mode,
-  mStep,
-  speed,
-  direction,
-  pulse,
-  accelStep
-) {
-  // motor: 1:spin 2:pitch
-  // mode: 1:continuous mode 2:pulse mode
-  // mStep: 1 2 4 8 16 32 64 128 256
-  // speed: range:0-65536(1-50000&&<1000*mStep)
-  // direction: 0:anticlockwise 1:clockwise
-  // pulse: range:>=2(mStep<=32)>=5(mStep>32)
-  // accelStep: 0-1000
-  const options = {
-    interface: startMotionCmd,
-    id: motor,
-    mode,
-    mStep,
-
-    speed,
-    accelStep,
-
-    direction,
-
-    pulse,
-  };
-  return options;
-}
-
-/**
- * 5.2 Stop
- * @param {number} motor
- * @param {number} decelStep
- * @returns {Object}
- */
-export function stopMotion(motor, decelStep) {
-  // motor: 1:spin 2:pitch
-  // decelStep: 0-1000
-  const options = {
-    interface: stopMotionCmd,
-    id: motor,
-    decelStep,
-  };
-  return options;
-}
-
-/**
- * 5.3 Set speed
- * @param {number} motor
- * @param {number} speed
- * @param {number} accelStep
- * @param {number} trend
- * @returns {Object}
- */
-export function setSpeed(motor, speed, accelStep, trend) {
-  // speed: 0-50000
-  // accelStep: 0-1000
-  // trend: 0:decelerate 1:accelerate
-  const options = {
-    interface: setSpeedCmd,
-    id: motor,
-    speed,
-    accelStep,
-    trend,
-  };
-  return options;
-}
-
-/**
- * 5.4 Set direction
- * @param {number} motor
- * @param {number} direction
- * @returns {Object}
- */
-export function setDirection(motor, direction) {
-  // direction: 0:anticlockwise 1:clockwise
-  const options = {
-    interface: setDirectionCmd,
-    id: motor,
-    direction,
-  };
-  return options;
-}
-
-/**
- * 5.5 Set subdivide
- * @param {number} motor
- * @param {number} mStep
- * @returns {Object}
- */
-export function setSubdivide(motor, mStep) {
-  // 1 2 4 8 16 32 64 128 256
-  const options = {
-    interface: setSubdivideCmd,
-    id: motor,
-    mStep,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/motor.js.html b/docs/motor.js.html new file mode 100644 index 00000000..24b0adbd --- /dev/null +++ b/docs/motor.js.html @@ -0,0 +1,407 @@ + + + + + + motor.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

motor.js

+ + + + + + + +
+
+
/** @module motor */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ---------------------------------------------- ***/
+/*** ---------------- MODULE_MOTOR ---------------- ***/
+/*** ---------------------------------------------- ***/
+/**
+ * 4.13.3 Motor motion
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN
+ * @param {number} id ; //1  : Rotation axis   2:   Pitch axis
+ * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
+ * @param {boolean} direction ; //0: left/down 1: right/up
+ * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears
+ * @param {number} resolution_level ; //Subdivision: 5:32 subdivision
+  //     Subdivision: 
+  // 0:256 Subdivision
+  // 1:128 Subdivision
+  // 2:64 Subdivision
+  // 3:32 Subdivision
+  // 4:16 Subdivision
+  // 5:8 Subdivision
+  // 6:4 Subdivision
+  // 7:2 Subdivision
+  // 8:1 Subdivision
+  * @returns {Uint8Array}
+ */
+export function messageStepMotorMotion(
+  id,
+  speed,
+  direction,
+  speed_ramping,
+  resolution_level
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+    speed: speed,
+    direction: direction,
+    speedRamping: speed_ramping,
+    resolutionLevel: resolution_level,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_STOP
+ * 4.13.4 Motor stop
+ * @param {number} id ; //0: Rotation axis 1: Pitch axis
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorStop(id) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_STOP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ id: id });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.5 Joystick
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK
+ * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise
+ * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag
+ * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s
+ * @returns {Uint8Array}
+
+ */
+export function messageStepMotorServiceJoystick(
+  vector_angle,
+  vector_length,
+  speed
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    vectorAngle: vector_angle,
+    vectorLength: vector_length,
+    speed: speed,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.6 Short press the arrow keys with the joystick
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE
+ * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise
+ * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag
+ * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorServiceJoystickFixedAngle(
+  vector_angle,
+  vector_length,
+  speed
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    vectorAngle: vector_angle,
+    vectorLength: vector_length,
+    speed: speed,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.7 Stop joystick
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorServiceJoystickStop() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.8 Dual camera linkage
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE
+ * @param {number} x ;
+ * @param {number} y ;
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorServiceDualCameraLinkage(x, y) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id =
+    Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ x: x, y: y });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.9 Motor Run To (Not Documented)
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN_TO
+ * @param {number} id ; // 1  : Rotation axis   2:   Pitch axis
+ * @param {number} end_position ;
+ * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
+ * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears
+ * @param {number} resolution_level ; //Subdivision: 5:32 subdivision
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorMotionTo(
+  id,
+  end_position,
+  speed,
+  speed_ramping,
+  resolution_level
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN_TO;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+    endPosition: end_position,
+    speed: speed,
+    speedRamping: speed_ramping,
+    resolutionLevel: resolution_level,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.10 Motor Reset (Not Documented)
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_RESET
+ * @param {number} id ; // 1  : Rotation axis   2:   Pitch axis
+ * @param {boolean} direction; //2 : 0: left/down 1: right/up
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorReset(id, direction) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RESET;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+    direction: direction,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.11 Motor Change Speed (Not Documented)
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_SPEED
+ * @param {number} id ; // 1  : Rotation axis   2:   Pitch axis
+ * @param {number} speed; //2 : 5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorChangeSpeed(id, speed) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_SPEED;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+    speed: speed,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.12 Motor Change direction (Not Documented)
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_DIRECTION
+ * @param {number} id ; // 1  : Rotation axis   2:   Pitch axis
+ * @param {boolean} direction ; //0: left/down 1: right/up
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorChangeDirection(id, direction) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_DIRECTION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+    direction: direction,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.13.14 Motor Get Position (Not Documented)
+ * Create Encoded Packet for the command CMD_STEP_MOTOR_GET_POSITION
+ * @param {number} id ; // 1  : Rotation axis   2:   Pitch axis
+ * @returns {Uint8Array}
+ */
+export function messageStepMotorGetPosition(id) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_GET_POSITION;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    id: id,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/panorama.js.html b/docs/panorama.js.html new file mode 100644 index 00000000..3bd686a3 --- /dev/null +++ b/docs/panorama.js.html @@ -0,0 +1,157 @@ + + + + + + panorama.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

panorama.js

+ + + + + + + +
+
+
/** @module panorama */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ------------------------------------------------ ***/
+/*** ---------------- MODULE PANORAMA---------------- ***/
+/*** ------------------------------------------------ ***/
+/**
+ * 3.15.3 Start Panorama
+ * Create Encoded Packet for the command CMD_PANORAMA_START_GRID
+ * @returns {Uint8Array}
+ */
+export function messagePanoramaStartGrid() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_GRID;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.15.4 Stop Panorama
+ * Create Encoded Packet for the command CMD_PANORAMA_STOP
+ * @returns {Uint8Array}
+ */
+export function messagePanoramaStop() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_STOP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.15.5 Start Panorama
+ * Create Encoded Packet for the command CMD_PANORAMA_START_EULER_RANGE
+ * @param {number} yaw_range ; // yaw range
+ * @param {number} pitch_range ; // pitch range
+ * @returns {Uint8Array}
+ */
+export function messagePanoramaStartPanoramaByEulerRange(
+  yaw_range,
+  pitch_range
+) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_EULER_RANGE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({
+    yawRange: yaw_range,
+    pitchRange: pitch_range,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html deleted file mode 100644 index ea359ef9..00000000 --- a/docs/panoramic.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - panoramic.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

panoramic.js

- - - - - - - -
-
-
/** @module panoramic */
-
-import { startPanoCmd, stopPanoCmd } from "./api_codes.js";
-import { nowLocalFileName } from "./api_utils.js";
-
-/**
- * 4.3.1 Start panorama
- * @param {number} numRows
- * @param {number} numColumns
- * @param {number} mStep1
- * @param {number} mStep2
- * @param {number} speed1
- * @param {number} speed2
- * @param {number} pulse1
- * @param {number} pulse2
- * @param {number} accelStep1
- * @param {number} accelStep2
- * @returns {Object}
- */
-export function startPano(
-  numRows,
-  numColumns,
-  mStep1,
-  mStep2,
-  speed1,
-  speed2,
-  pulse1,
-  pulse2,
-  accelStep1,
-  accelStep2
-) {
-  // mStep 1 2 4 8 16 32 64 128 256
-  // speed 0-1000*mStep
-  // pulse >=2
-  // accelStep 0-1000
-  const options = {
-    interface: startPanoCmd,
-    row: numRows,
-    col: numColumns,
-    mStep1,
-    mStep2,
-    speed1,
-    speed2,
-    pulse1,
-    pulse2,
-    imgPath: `DWARF_${nowLocalFileName()}`,
-    accelStep1,
-    accelStep2,
-  };
-  return options;
-}
-
-/**
- * 4.3.2 Stop panorama
- * @returns {Object}
- */
-export function stopPano() {
-  const options = {
-    interface: stopPanoCmd,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html deleted file mode 100644 index 5552036d..00000000 --- a/docs/photo_video.js.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - photo_video.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

photo_video.js

- - - - - - - -
-
-
/** @module photo_video */
-
-import {
-  telephotoCamera,
-  photoSingleShot,
-  takePhotoCmd,
-  startRecordingCmd,
-  stopRecordingCmd,
-  startTimelapseCmd,
-  stopTimelapseCmd,
-} from "./api_codes.js";
-import { nowLocalFileName } from "./api_utils.js";
-
-/**
- * 3.2.1 Photograph
- * @param {number} camera
- * @param {number} photoMode
- * @param {number} count
- * @param {string} name
- * @returns {Object}
- */
-export function takePhoto(
-  camera = telephotoCamera,
-  photoMode = photoSingleShot,
-  count = 1,
-  name = `DWARF_${nowLocalFileName()}`
-) {
-  const options = {
-    interface: takePhotoCmd,
-    camId: camera,
-    mode: photoMode,
-    count: count,
-    name: name,
-  };
-  return options;
-}
-
-/**
- * 3.2.2 Start recording
- * @param {string} name
- * @returns {Object}
- */
-export function startVideo(name = `DWARF_${nowLocalFileName()}`) {
-  const options = {
-    interface: startRecordingCmd,
-    camId: telephotoCamera,
-    name: name,
-  };
-  return options;
-}
-
-/**
- * 3.2.3 Stop recording
- * @returns {Object}
- */
-export function stopVideo() {
-  const options = {
-    interface: stopRecordingCmd,
-    camId: telephotoCamera,
-  };
-  return options;
-}
-
-/**
- * 3.2.4 Start time lapse photography
- * @param {number} intervalTime
- * @param {number} outTime
- * @param {string} name
- * @returns {Object}
- */
-export function startTimeLapse(
-  intervalTime,
-  outTime,
-  name = `DWARF_TL_${nowLocalFileName()}`
-) {
-  // intervalTime value: 1s-60s
-  const options = {
-    interface: startTimelapseCmd,
-    camId: telephotoCamera,
-    interval: intervalTime,
-    outTime: outTime,
-    name: name,
-  };
-  return options;
-}
-
-/**
- * 3.2.5 Stop time-lapse photography
- * @returns {Object}
- */
-export function stopTimeLapse() {
-  const options = {
-    interface: stopTimelapseCmd,
-    camId: telephotoCamera,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/protobuf_protobuf.js.html b/docs/protobuf_protobuf.js.html new file mode 100644 index 00000000..2429fd40 --- /dev/null +++ b/docs/protobuf_protobuf.js.html @@ -0,0 +1,50934 @@ + + + + + + protobuf/protobuf.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

protobuf/protobuf.js

+ + + + + + + +
+
+
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
+// @ts-nocheck
+import $protobuf from "protobufjs/minimal.js";
+
+// Common aliases
+var $Reader = $protobuf.Reader,
+  $Writer = $protobuf.Writer,
+  $util = $protobuf.util;
+
+// Exported root namespace
+var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
+
+$root.ReqStartCalibration = (function () {
+  /**
+   * Properties of a ReqStartCalibration.
+   * @exports IReqStartCalibration
+   * @interface IReqStartCalibration
+   */
+
+  /**
+   * Constructs a new ReqStartCalibration.
+   * @exports ReqStartCalibration
+   * @classdesc Represents a ReqStartCalibration.
+   * @implements IReqStartCalibration
+   * @constructor
+   * @param {IReqStartCalibration=} [properties] Properties to set
+   */
+  function ReqStartCalibration(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStartCalibration instance using the specified properties.
+   * @function create
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {IReqStartCalibration=} [properties] Properties to set
+   * @returns {ReqStartCalibration} ReqStartCalibration instance
+   */
+  ReqStartCalibration.create = function create(properties) {
+    return new ReqStartCalibration(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartCalibration message. Does not implicitly {@link ReqStartCalibration.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartCalibration.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly {@link ReqStartCalibration.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartCalibration.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartCalibration message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartCalibration} ReqStartCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartCalibration.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartCalibration();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartCalibration} ReqStartCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartCalibration.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartCalibration message.
+   * @function verify
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartCalibration.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartCalibration} ReqStartCalibration
+   */
+  ReqStartCalibration.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartCalibration) return object;
+    return new $root.ReqStartCalibration();
+  };
+
+  /**
+   * Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {ReqStartCalibration} message ReqStartCalibration
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartCalibration.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStartCalibration to JSON.
+   * @function toJSON
+   * @memberof ReqStartCalibration
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartCalibration.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartCalibration
+   * @function getTypeUrl
+   * @memberof ReqStartCalibration
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartCalibration";
+  };
+
+  return ReqStartCalibration;
+})();
+
+$root.ReqStopCalibration = (function () {
+  /**
+   * Properties of a ReqStopCalibration.
+   * @exports IReqStopCalibration
+   * @interface IReqStopCalibration
+   */
+
+  /**
+   * Constructs a new ReqStopCalibration.
+   * @exports ReqStopCalibration
+   * @classdesc Represents a ReqStopCalibration.
+   * @implements IReqStopCalibration
+   * @constructor
+   * @param {IReqStopCalibration=} [properties] Properties to set
+   */
+  function ReqStopCalibration(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCalibration instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {IReqStopCalibration=} [properties] Properties to set
+   * @returns {ReqStopCalibration} ReqStopCalibration instance
+   */
+  ReqStopCalibration.create = function create(properties) {
+    return new ReqStopCalibration(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCalibration message. Does not implicitly {@link ReqStopCalibration.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCalibration.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly {@link ReqStopCalibration.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCalibration.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopCalibration message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCalibration} ReqStopCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCalibration.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCalibration();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCalibration} ReqStopCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCalibration.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopCalibration message.
+   * @function verify
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCalibration.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCalibration} ReqStopCalibration
+   */
+  ReqStopCalibration.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopCalibration) return object;
+    return new $root.ReqStopCalibration();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {ReqStopCalibration} message ReqStopCalibration
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCalibration.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCalibration to JSON.
+   * @function toJSON
+   * @memberof ReqStopCalibration
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCalibration.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCalibration
+   * @function getTypeUrl
+   * @memberof ReqStopCalibration
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCalibration";
+  };
+
+  return ReqStopCalibration;
+})();
+
+$root.ReqGotoDSO = (function () {
+  /**
+   * Properties of a ReqGotoDSO.
+   * @exports IReqGotoDSO
+   * @interface IReqGotoDSO
+   * @property {number|null} [ra] ReqGotoDSO ra
+   * @property {number|null} [dec] ReqGotoDSO dec
+   * @property {string|null} [targetName] ReqGotoDSO targetName
+   */
+
+  /**
+   * Constructs a new ReqGotoDSO.
+   * @exports ReqGotoDSO
+   * @classdesc Represents a ReqGotoDSO.
+   * @implements IReqGotoDSO
+   * @constructor
+   * @param {IReqGotoDSO=} [properties] Properties to set
+   */
+  function ReqGotoDSO(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGotoDSO ra.
+   * @member {number} ra
+   * @memberof ReqGotoDSO
+   * @instance
+   */
+  ReqGotoDSO.prototype.ra = 0;
+
+  /**
+   * ReqGotoDSO dec.
+   * @member {number} dec
+   * @memberof ReqGotoDSO
+   * @instance
+   */
+  ReqGotoDSO.prototype.dec = 0;
+
+  /**
+   * ReqGotoDSO targetName.
+   * @member {string} targetName
+   * @memberof ReqGotoDSO
+   * @instance
+   */
+  ReqGotoDSO.prototype.targetName = "";
+
+  /**
+   * Creates a new ReqGotoDSO instance using the specified properties.
+   * @function create
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {IReqGotoDSO=} [properties] Properties to set
+   * @returns {ReqGotoDSO} ReqGotoDSO instance
+   */
+  ReqGotoDSO.create = function create(properties) {
+    return new ReqGotoDSO(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGotoDSO message. Does not implicitly {@link ReqGotoDSO.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGotoDSO.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.ra != null && Object.hasOwnProperty.call(message, "ra"))
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra);
+    if (message.dec != null && Object.hasOwnProperty.call(message, "dec"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly {@link ReqGotoDSO.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGotoDSO.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGotoDSO message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGotoDSO} ReqGotoDSO
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGotoDSO.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGotoDSO();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.ra = reader.double();
+          break;
+        }
+        case 2: {
+          message.dec = reader.double();
+          break;
+        }
+        case 3: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGotoDSO} ReqGotoDSO
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGotoDSO.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGotoDSO message.
+   * @function verify
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGotoDSO.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.ra != null && message.hasOwnProperty("ra"))
+      if (typeof message.ra !== "number") return "ra: number expected";
+    if (message.dec != null && message.hasOwnProperty("dec"))
+      if (typeof message.dec !== "number") return "dec: number expected";
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGotoDSO} ReqGotoDSO
+   */
+  ReqGotoDSO.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGotoDSO) return object;
+    var message = new $root.ReqGotoDSO();
+    if (object.ra != null) message.ra = Number(object.ra);
+    if (object.dec != null) message.dec = Number(object.dec);
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {ReqGotoDSO} message ReqGotoDSO
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGotoDSO.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.ra = 0;
+      object.dec = 0;
+      object.targetName = "";
+    }
+    if (message.ra != null && message.hasOwnProperty("ra"))
+      object.ra =
+        options.json && !isFinite(message.ra) ? String(message.ra) : message.ra;
+    if (message.dec != null && message.hasOwnProperty("dec"))
+      object.dec =
+        options.json && !isFinite(message.dec)
+          ? String(message.dec)
+          : message.dec;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGotoDSO to JSON.
+   * @function toJSON
+   * @memberof ReqGotoDSO
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGotoDSO.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGotoDSO
+   * @function getTypeUrl
+   * @memberof ReqGotoDSO
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGotoDSO";
+  };
+
+  return ReqGotoDSO;
+})();
+
+$root.ReqGotoSolarSystem = (function () {
+  /**
+   * Properties of a ReqGotoSolarSystem.
+   * @exports IReqGotoSolarSystem
+   * @interface IReqGotoSolarSystem
+   * @property {number|null} [index] ReqGotoSolarSystem index
+   * @property {number|null} [lon] ReqGotoSolarSystem lon
+   * @property {number|null} [lat] ReqGotoSolarSystem lat
+   * @property {string|null} [targetName] ReqGotoSolarSystem targetName
+   */
+
+  /**
+   * Constructs a new ReqGotoSolarSystem.
+   * @exports ReqGotoSolarSystem
+   * @classdesc Represents a ReqGotoSolarSystem.
+   * @implements IReqGotoSolarSystem
+   * @constructor
+   * @param {IReqGotoSolarSystem=} [properties] Properties to set
+   */
+  function ReqGotoSolarSystem(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGotoSolarSystem index.
+   * @member {number} index
+   * @memberof ReqGotoSolarSystem
+   * @instance
+   */
+  ReqGotoSolarSystem.prototype.index = 0;
+
+  /**
+   * ReqGotoSolarSystem lon.
+   * @member {number} lon
+   * @memberof ReqGotoSolarSystem
+   * @instance
+   */
+  ReqGotoSolarSystem.prototype.lon = 0;
+
+  /**
+   * ReqGotoSolarSystem lat.
+   * @member {number} lat
+   * @memberof ReqGotoSolarSystem
+   * @instance
+   */
+  ReqGotoSolarSystem.prototype.lat = 0;
+
+  /**
+   * ReqGotoSolarSystem targetName.
+   * @member {string} targetName
+   * @memberof ReqGotoSolarSystem
+   * @instance
+   */
+  ReqGotoSolarSystem.prototype.targetName = "";
+
+  /**
+   * Creates a new ReqGotoSolarSystem instance using the specified properties.
+   * @function create
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {IReqGotoSolarSystem=} [properties] Properties to set
+   * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem instance
+   */
+  ReqGotoSolarSystem.create = function create(properties) {
+    return new ReqGotoSolarSystem(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGotoSolarSystem message. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGotoSolarSystem.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    if (message.lon != null && Object.hasOwnProperty.call(message, "lon"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon);
+    if (message.lat != null && Object.hasOwnProperty.call(message, "lat"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGotoSolarSystem.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGotoSolarSystem message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGotoSolarSystem.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGotoSolarSystem();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        case 2: {
+          message.lon = reader.double();
+          break;
+        }
+        case 3: {
+          message.lat = reader.double();
+          break;
+        }
+        case 4: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGotoSolarSystem.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGotoSolarSystem message.
+   * @function verify
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGotoSolarSystem.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      if (typeof message.lon !== "number") return "lon: number expected";
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      if (typeof message.lat !== "number") return "lat: number expected";
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem
+   */
+  ReqGotoSolarSystem.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGotoSolarSystem) return object;
+    var message = new $root.ReqGotoSolarSystem();
+    if (object.index != null) message.index = object.index | 0;
+    if (object.lon != null) message.lon = Number(object.lon);
+    if (object.lat != null) message.lat = Number(object.lat);
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {ReqGotoSolarSystem} message ReqGotoSolarSystem
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGotoSolarSystem.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.index = 0;
+      object.lon = 0;
+      object.lat = 0;
+      object.targetName = "";
+    }
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      object.lon =
+        options.json && !isFinite(message.lon)
+          ? String(message.lon)
+          : message.lon;
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      object.lat =
+        options.json && !isFinite(message.lat)
+          ? String(message.lat)
+          : message.lat;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGotoSolarSystem to JSON.
+   * @function toJSON
+   * @memberof ReqGotoSolarSystem
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGotoSolarSystem.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGotoSolarSystem
+   * @function getTypeUrl
+   * @memberof ReqGotoSolarSystem
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGotoSolarSystem";
+  };
+
+  return ReqGotoSolarSystem;
+})();
+
+$root.ReqStopGoto = (function () {
+  /**
+   * Properties of a ReqStopGoto.
+   * @exports IReqStopGoto
+   * @interface IReqStopGoto
+   */
+
+  /**
+   * Constructs a new ReqStopGoto.
+   * @exports ReqStopGoto
+   * @classdesc Represents a ReqStopGoto.
+   * @implements IReqStopGoto
+   * @constructor
+   * @param {IReqStopGoto=} [properties] Properties to set
+   */
+  function ReqStopGoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopGoto instance using the specified properties.
+   * @function create
+   * @memberof ReqStopGoto
+   * @static
+   * @param {IReqStopGoto=} [properties] Properties to set
+   * @returns {ReqStopGoto} ReqStopGoto instance
+   */
+  ReqStopGoto.create = function create(properties) {
+    return new ReqStopGoto(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopGoto message. Does not implicitly {@link ReqStopGoto.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopGoto
+   * @static
+   * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopGoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopGoto message, length delimited. Does not implicitly {@link ReqStopGoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopGoto
+   * @static
+   * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopGoto.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopGoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopGoto} ReqStopGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopGoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopGoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopGoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopGoto} ReqStopGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopGoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopGoto message.
+   * @function verify
+   * @memberof ReqStopGoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopGoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopGoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopGoto} ReqStopGoto
+   */
+  ReqStopGoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopGoto) return object;
+    return new $root.ReqStopGoto();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopGoto
+   * @static
+   * @param {ReqStopGoto} message ReqStopGoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopGoto.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopGoto to JSON.
+   * @function toJSON
+   * @memberof ReqStopGoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopGoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopGoto
+   * @function getTypeUrl
+   * @memberof ReqStopGoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopGoto";
+  };
+
+  return ReqStopGoto;
+})();
+
+$root.ReqCaptureRawLiveStacking = (function () {
+  /**
+   * Properties of a ReqCaptureRawLiveStacking.
+   * @exports IReqCaptureRawLiveStacking
+   * @interface IReqCaptureRawLiveStacking
+   */
+
+  /**
+   * Constructs a new ReqCaptureRawLiveStacking.
+   * @exports ReqCaptureRawLiveStacking
+   * @classdesc Represents a ReqCaptureRawLiveStacking.
+   * @implements IReqCaptureRawLiveStacking
+   * @constructor
+   * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set
+   */
+  function ReqCaptureRawLiveStacking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqCaptureRawLiveStacking instance using the specified properties.
+   * @function create
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set
+   * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking instance
+   */
+  ReqCaptureRawLiveStacking.create = function create(properties) {
+    return new ReqCaptureRawLiveStacking(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureRawLiveStacking.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureRawLiveStacking.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureRawLiveStacking.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCaptureRawLiveStacking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCaptureRawLiveStacking message.
+   * @function verify
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCaptureRawLiveStacking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking
+   */
+  ReqCaptureRawLiveStacking.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCaptureRawLiveStacking) return object;
+    return new $root.ReqCaptureRawLiveStacking();
+  };
+
+  /**
+   * Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {ReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCaptureRawLiveStacking.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqCaptureRawLiveStacking to JSON.
+   * @function toJSON
+   * @memberof ReqCaptureRawLiveStacking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCaptureRawLiveStacking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCaptureRawLiveStacking
+   * @function getTypeUrl
+   * @memberof ReqCaptureRawLiveStacking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCaptureRawLiveStacking";
+  };
+
+  return ReqCaptureRawLiveStacking;
+})();
+
+$root.ReqStopCaptureRawLiveStacking = (function () {
+  /**
+   * Properties of a ReqStopCaptureRawLiveStacking.
+   * @exports IReqStopCaptureRawLiveStacking
+   * @interface IReqStopCaptureRawLiveStacking
+   */
+
+  /**
+   * Constructs a new ReqStopCaptureRawLiveStacking.
+   * @exports ReqStopCaptureRawLiveStacking
+   * @classdesc Represents a ReqStopCaptureRawLiveStacking.
+   * @implements IReqStopCaptureRawLiveStacking
+   * @constructor
+   * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set
+   */
+  function ReqStopCaptureRawLiveStacking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set
+   * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking instance
+   */
+  ReqStopCaptureRawLiveStacking.create = function create(properties) {
+    return new ReqStopCaptureRawLiveStacking(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureRawLiveStacking.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureRawLiveStacking.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureRawLiveStacking.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCaptureRawLiveStacking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopCaptureRawLiveStacking message.
+   * @function verify
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCaptureRawLiveStacking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking
+   */
+  ReqStopCaptureRawLiveStacking.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopCaptureRawLiveStacking) return object;
+    return new $root.ReqStopCaptureRawLiveStacking();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {ReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCaptureRawLiveStacking.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCaptureRawLiveStacking to JSON.
+   * @function toJSON
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCaptureRawLiveStacking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCaptureRawLiveStacking
+   * @function getTypeUrl
+   * @memberof ReqStopCaptureRawLiveStacking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCaptureRawLiveStacking";
+  };
+
+  return ReqStopCaptureRawLiveStacking;
+})();
+
+$root.ReqCheckDarkFrame = (function () {
+  /**
+   * Properties of a ReqCheckDarkFrame.
+   * @exports IReqCheckDarkFrame
+   * @interface IReqCheckDarkFrame
+   */
+
+  /**
+   * Constructs a new ReqCheckDarkFrame.
+   * @exports ReqCheckDarkFrame
+   * @classdesc Represents a ReqCheckDarkFrame.
+   * @implements IReqCheckDarkFrame
+   * @constructor
+   * @param {IReqCheckDarkFrame=} [properties] Properties to set
+   */
+  function ReqCheckDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqCheckDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {IReqCheckDarkFrame=} [properties] Properties to set
+   * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame instance
+   */
+  ReqCheckDarkFrame.create = function create(properties) {
+    return new ReqCheckDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCheckDarkFrame message. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCheckDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCheckDarkFrame.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCheckDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCheckDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCheckDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCheckDarkFrame message.
+   * @function verify
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCheckDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame
+   */
+  ReqCheckDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCheckDarkFrame) return object;
+    return new $root.ReqCheckDarkFrame();
+  };
+
+  /**
+   * Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {ReqCheckDarkFrame} message ReqCheckDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCheckDarkFrame.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqCheckDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ReqCheckDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCheckDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCheckDarkFrame
+   * @function getTypeUrl
+   * @memberof ReqCheckDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCheckDarkFrame";
+  };
+
+  return ReqCheckDarkFrame;
+})();
+
+$root.ResCheckDarkFrame = (function () {
+  /**
+   * Properties of a ResCheckDarkFrame.
+   * @exports IResCheckDarkFrame
+   * @interface IResCheckDarkFrame
+   * @property {number|null} [progress] ResCheckDarkFrame progress
+   * @property {number|null} [code] ResCheckDarkFrame code
+   */
+
+  /**
+   * Constructs a new ResCheckDarkFrame.
+   * @exports ResCheckDarkFrame
+   * @classdesc Represents a ResCheckDarkFrame.
+   * @implements IResCheckDarkFrame
+   * @constructor
+   * @param {IResCheckDarkFrame=} [properties] Properties to set
+   */
+  function ResCheckDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResCheckDarkFrame progress.
+   * @member {number} progress
+   * @memberof ResCheckDarkFrame
+   * @instance
+   */
+  ResCheckDarkFrame.prototype.progress = 0;
+
+  /**
+   * ResCheckDarkFrame code.
+   * @member {number} code
+   * @memberof ResCheckDarkFrame
+   * @instance
+   */
+  ResCheckDarkFrame.prototype.code = 0;
+
+  /**
+   * Creates a new ResCheckDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {IResCheckDarkFrame=} [properties] Properties to set
+   * @returns {ResCheckDarkFrame} ResCheckDarkFrame instance
+   */
+  ResCheckDarkFrame.create = function create(properties) {
+    return new ResCheckDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ResCheckDarkFrame message. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCheckDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.progress != null &&
+      Object.hasOwnProperty.call(message, "progress")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCheckDarkFrame.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResCheckDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResCheckDarkFrame} ResCheckDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCheckDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResCheckDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.progress = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResCheckDarkFrame} ResCheckDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResCheckDarkFrame message.
+   * @function verify
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResCheckDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.progress != null && message.hasOwnProperty("progress"))
+      if (!$util.isInteger(message.progress))
+        return "progress: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResCheckDarkFrame} ResCheckDarkFrame
+   */
+  ResCheckDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResCheckDarkFrame) return object;
+    var message = new $root.ResCheckDarkFrame();
+    if (object.progress != null) message.progress = object.progress | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {ResCheckDarkFrame} message ResCheckDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResCheckDarkFrame.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.progress = 0;
+      object.code = 0;
+    }
+    if (message.progress != null && message.hasOwnProperty("progress"))
+      object.progress = message.progress;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResCheckDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ResCheckDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResCheckDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResCheckDarkFrame
+   * @function getTypeUrl
+   * @memberof ResCheckDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResCheckDarkFrame";
+  };
+
+  return ResCheckDarkFrame;
+})();
+
+$root.ReqCaptureDarkFrame = (function () {
+  /**
+   * Properties of a ReqCaptureDarkFrame.
+   * @exports IReqCaptureDarkFrame
+   * @interface IReqCaptureDarkFrame
+   * @property {number|null} [reshoot] ReqCaptureDarkFrame reshoot
+   */
+
+  /**
+   * Constructs a new ReqCaptureDarkFrame.
+   * @exports ReqCaptureDarkFrame
+   * @classdesc Represents a ReqCaptureDarkFrame.
+   * @implements IReqCaptureDarkFrame
+   * @constructor
+   * @param {IReqCaptureDarkFrame=} [properties] Properties to set
+   */
+  function ReqCaptureDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqCaptureDarkFrame reshoot.
+   * @member {number} reshoot
+   * @memberof ReqCaptureDarkFrame
+   * @instance
+   */
+  ReqCaptureDarkFrame.prototype.reshoot = 0;
+
+  /**
+   * Creates a new ReqCaptureDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {IReqCaptureDarkFrame=} [properties] Properties to set
+   * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame instance
+   */
+  ReqCaptureDarkFrame.create = function create(properties) {
+    return new ReqCaptureDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCaptureDarkFrame message. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.reshoot != null &&
+      Object.hasOwnProperty.call(message, "reshoot")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.reshoot);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureDarkFrame.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCaptureDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.reshoot = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCaptureDarkFrame message.
+   * @function verify
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCaptureDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.reshoot != null && message.hasOwnProperty("reshoot"))
+      if (!$util.isInteger(message.reshoot)) return "reshoot: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame
+   */
+  ReqCaptureDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCaptureDarkFrame) return object;
+    var message = new $root.ReqCaptureDarkFrame();
+    if (object.reshoot != null) message.reshoot = object.reshoot | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {ReqCaptureDarkFrame} message ReqCaptureDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCaptureDarkFrame.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.reshoot = 0;
+    if (message.reshoot != null && message.hasOwnProperty("reshoot"))
+      object.reshoot = message.reshoot;
+    return object;
+  };
+
+  /**
+   * Converts this ReqCaptureDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ReqCaptureDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCaptureDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCaptureDarkFrame
+   * @function getTypeUrl
+   * @memberof ReqCaptureDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCaptureDarkFrame";
+  };
+
+  return ReqCaptureDarkFrame;
+})();
+
+$root.ReqStopCaptureDarkFrame = (function () {
+  /**
+   * Properties of a ReqStopCaptureDarkFrame.
+   * @exports IReqStopCaptureDarkFrame
+   * @interface IReqStopCaptureDarkFrame
+   */
+
+  /**
+   * Constructs a new ReqStopCaptureDarkFrame.
+   * @exports ReqStopCaptureDarkFrame
+   * @classdesc Represents a ReqStopCaptureDarkFrame.
+   * @implements IReqStopCaptureDarkFrame
+   * @constructor
+   * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set
+   */
+  function ReqStopCaptureDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCaptureDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set
+   * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame instance
+   */
+  ReqStopCaptureDarkFrame.create = function create(properties) {
+    return new ReqStopCaptureDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureDarkFrame.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCaptureDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopCaptureDarkFrame message.
+   * @function verify
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCaptureDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame
+   */
+  ReqStopCaptureDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopCaptureDarkFrame) return object;
+    return new $root.ReqStopCaptureDarkFrame();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {ReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCaptureDarkFrame.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCaptureDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ReqStopCaptureDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCaptureDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCaptureDarkFrame
+   * @function getTypeUrl
+   * @memberof ReqStopCaptureDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCaptureDarkFrame";
+  };
+
+  return ReqStopCaptureDarkFrame;
+})();
+
+$root.ReqCaptureDarkFrameWithParam = (function () {
+  /**
+   * Properties of a ReqCaptureDarkFrameWithParam.
+   * @exports IReqCaptureDarkFrameWithParam
+   * @interface IReqCaptureDarkFrameWithParam
+   * @property {number|null} [expIndex] ReqCaptureDarkFrameWithParam expIndex
+   * @property {number|null} [gainIndex] ReqCaptureDarkFrameWithParam gainIndex
+   * @property {number|null} [binIndex] ReqCaptureDarkFrameWithParam binIndex
+   * @property {number|null} [capSize] ReqCaptureDarkFrameWithParam capSize
+   */
+
+  /**
+   * Constructs a new ReqCaptureDarkFrameWithParam.
+   * @exports ReqCaptureDarkFrameWithParam
+   * @classdesc Represents a ReqCaptureDarkFrameWithParam.
+   * @implements IReqCaptureDarkFrameWithParam
+   * @constructor
+   * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set
+   */
+  function ReqCaptureDarkFrameWithParam(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqCaptureDarkFrameWithParam expIndex.
+   * @member {number} expIndex
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureDarkFrameWithParam.prototype.expIndex = 0;
+
+  /**
+   * ReqCaptureDarkFrameWithParam gainIndex.
+   * @member {number} gainIndex
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureDarkFrameWithParam.prototype.gainIndex = 0;
+
+  /**
+   * ReqCaptureDarkFrameWithParam binIndex.
+   * @member {number} binIndex
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureDarkFrameWithParam.prototype.binIndex = 0;
+
+  /**
+   * ReqCaptureDarkFrameWithParam capSize.
+   * @member {number} capSize
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureDarkFrameWithParam.prototype.capSize = 0;
+
+  /**
+   * Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties.
+   * @function create
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set
+   * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam instance
+   */
+  ReqCaptureDarkFrameWithParam.create = function create(properties) {
+    return new ReqCaptureDarkFrameWithParam(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureDarkFrameWithParam.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    if (
+      message.capSize != null &&
+      Object.hasOwnProperty.call(message, "capSize")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureDarkFrameWithParam.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCaptureDarkFrameWithParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        case 4: {
+          message.capSize = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCaptureDarkFrameWithParam message.
+   * @function verify
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCaptureDarkFrameWithParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    if (message.capSize != null && message.hasOwnProperty("capSize"))
+      if (!$util.isInteger(message.capSize)) return "capSize: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam
+   */
+  ReqCaptureDarkFrameWithParam.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCaptureDarkFrameWithParam) return object;
+    var message = new $root.ReqCaptureDarkFrameWithParam();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    if (object.capSize != null) message.capSize = object.capSize | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {ReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCaptureDarkFrameWithParam.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+      object.capSize = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    if (message.capSize != null && message.hasOwnProperty("capSize"))
+      object.capSize = message.capSize;
+    return object;
+  };
+
+  /**
+   * Converts this ReqCaptureDarkFrameWithParam to JSON.
+   * @function toJSON
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCaptureDarkFrameWithParam
+   * @function getTypeUrl
+   * @memberof ReqCaptureDarkFrameWithParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCaptureDarkFrameWithParam";
+  };
+
+  return ReqCaptureDarkFrameWithParam;
+})();
+
+$root.ReqStopCaptureDarkFrameWithParam = (function () {
+  /**
+   * Properties of a ReqStopCaptureDarkFrameWithParam.
+   * @exports IReqStopCaptureDarkFrameWithParam
+   * @interface IReqStopCaptureDarkFrameWithParam
+   */
+
+  /**
+   * Constructs a new ReqStopCaptureDarkFrameWithParam.
+   * @exports ReqStopCaptureDarkFrameWithParam
+   * @classdesc Represents a ReqStopCaptureDarkFrameWithParam.
+   * @implements IReqStopCaptureDarkFrameWithParam
+   * @constructor
+   * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set
+   */
+  function ReqStopCaptureDarkFrameWithParam(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set
+   * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam instance
+   */
+  ReqStopCaptureDarkFrameWithParam.create = function create(properties) {
+    return new ReqStopCaptureDarkFrameWithParam(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureDarkFrameWithParam.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureDarkFrameWithParam.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCaptureDarkFrameWithParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopCaptureDarkFrameWithParam message.
+   * @function verify
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCaptureDarkFrameWithParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam
+   */
+  ReqStopCaptureDarkFrameWithParam.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopCaptureDarkFrameWithParam) return object;
+    return new $root.ReqStopCaptureDarkFrameWithParam();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {ReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCaptureDarkFrameWithParam.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCaptureDarkFrameWithParam to JSON.
+   * @function toJSON
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCaptureDarkFrameWithParam
+   * @function getTypeUrl
+   * @memberof ReqStopCaptureDarkFrameWithParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCaptureDarkFrameWithParam";
+  };
+
+  return ReqStopCaptureDarkFrameWithParam;
+})();
+
+$root.ReqGetDarkFrameList = (function () {
+  /**
+   * Properties of a ReqGetDarkFrameList.
+   * @exports IReqGetDarkFrameList
+   * @interface IReqGetDarkFrameList
+   */
+
+  /**
+   * Constructs a new ReqGetDarkFrameList.
+   * @exports ReqGetDarkFrameList
+   * @classdesc Represents a ReqGetDarkFrameList.
+   * @implements IReqGetDarkFrameList
+   * @constructor
+   * @param {IReqGetDarkFrameList=} [properties] Properties to set
+   */
+  function ReqGetDarkFrameList(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {IReqGetDarkFrameList=} [properties] Properties to set
+   * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList instance
+   */
+  ReqGetDarkFrameList.create = function create(properties) {
+    return new ReqGetDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetDarkFrameList message. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetDarkFrameList message.
+   * @function verify
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList
+   */
+  ReqGetDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetDarkFrameList) return object;
+    return new $root.ReqGetDarkFrameList();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {ReqGetDarkFrameList} message ReqGetDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetDarkFrameList.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ReqGetDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetDarkFrameList
+   * @function getTypeUrl
+   * @memberof ReqGetDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetDarkFrameList";
+  };
+
+  return ReqGetDarkFrameList;
+})();
+
+$root.ResGetDarkFrameInfo = (function () {
+  /**
+   * Properties of a ResGetDarkFrameInfo.
+   * @exports IResGetDarkFrameInfo
+   * @interface IResGetDarkFrameInfo
+   * @property {number|null} [expIndex] ResGetDarkFrameInfo expIndex
+   * @property {number|null} [gainIndex] ResGetDarkFrameInfo gainIndex
+   * @property {number|null} [binIndex] ResGetDarkFrameInfo binIndex
+   * @property {string|null} [expName] ResGetDarkFrameInfo expName
+   * @property {string|null} [gainName] ResGetDarkFrameInfo gainName
+   * @property {string|null} [binName] ResGetDarkFrameInfo binName
+   * @property {number|null} [temperature] ResGetDarkFrameInfo temperature
+   */
+
+  /**
+   * Constructs a new ResGetDarkFrameInfo.
+   * @exports ResGetDarkFrameInfo
+   * @classdesc Represents a ResGetDarkFrameInfo.
+   * @implements IResGetDarkFrameInfo
+   * @constructor
+   * @param {IResGetDarkFrameInfo=} [properties] Properties to set
+   */
+  function ResGetDarkFrameInfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetDarkFrameInfo expIndex.
+   * @member {number} expIndex
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.expIndex = 0;
+
+  /**
+   * ResGetDarkFrameInfo gainIndex.
+   * @member {number} gainIndex
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.gainIndex = 0;
+
+  /**
+   * ResGetDarkFrameInfo binIndex.
+   * @member {number} binIndex
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.binIndex = 0;
+
+  /**
+   * ResGetDarkFrameInfo expName.
+   * @member {string} expName
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.expName = "";
+
+  /**
+   * ResGetDarkFrameInfo gainName.
+   * @member {string} gainName
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.gainName = "";
+
+  /**
+   * ResGetDarkFrameInfo binName.
+   * @member {string} binName
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.binName = "";
+
+  /**
+   * ResGetDarkFrameInfo temperature.
+   * @member {number} temperature
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   */
+  ResGetDarkFrameInfo.prototype.temperature = 0;
+
+  /**
+   * Creates a new ResGetDarkFrameInfo instance using the specified properties.
+   * @function create
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {IResGetDarkFrameInfo=} [properties] Properties to set
+   * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo instance
+   */
+  ResGetDarkFrameInfo.create = function create(properties) {
+    return new ResGetDarkFrameInfo(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetDarkFrameInfo message. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetDarkFrameInfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    if (
+      message.expName != null &&
+      Object.hasOwnProperty.call(message, "expName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName);
+    if (
+      message.gainName != null &&
+      Object.hasOwnProperty.call(message, "gainName")
+    )
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName);
+    if (
+      message.binName != null &&
+      Object.hasOwnProperty.call(message, "binName")
+    )
+      writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName);
+    if (
+      message.temperature != null &&
+      Object.hasOwnProperty.call(message, "temperature")
+    )
+      writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetDarkFrameInfo.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetDarkFrameInfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetDarkFrameInfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        case 4: {
+          message.expName = reader.string();
+          break;
+        }
+        case 5: {
+          message.gainName = reader.string();
+          break;
+        }
+        case 6: {
+          message.binName = reader.string();
+          break;
+        }
+        case 7: {
+          message.temperature = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetDarkFrameInfo message.
+   * @function verify
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetDarkFrameInfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    if (message.expName != null && message.hasOwnProperty("expName"))
+      if (!$util.isString(message.expName)) return "expName: string expected";
+    if (message.gainName != null && message.hasOwnProperty("gainName"))
+      if (!$util.isString(message.gainName)) return "gainName: string expected";
+    if (message.binName != null && message.hasOwnProperty("binName"))
+      if (!$util.isString(message.binName)) return "binName: string expected";
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      if (!$util.isInteger(message.temperature))
+        return "temperature: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo
+   */
+  ResGetDarkFrameInfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetDarkFrameInfo) return object;
+    var message = new $root.ResGetDarkFrameInfo();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    if (object.expName != null) message.expName = String(object.expName);
+    if (object.gainName != null) message.gainName = String(object.gainName);
+    if (object.binName != null) message.binName = String(object.binName);
+    if (object.temperature != null)
+      message.temperature = object.temperature | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {ResGetDarkFrameInfo} message ResGetDarkFrameInfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetDarkFrameInfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+      object.expName = "";
+      object.gainName = "";
+      object.binName = "";
+      object.temperature = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    if (message.expName != null && message.hasOwnProperty("expName"))
+      object.expName = message.expName;
+    if (message.gainName != null && message.hasOwnProperty("gainName"))
+      object.gainName = message.gainName;
+    if (message.binName != null && message.hasOwnProperty("binName"))
+      object.binName = message.binName;
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      object.temperature = message.temperature;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetDarkFrameInfo to JSON.
+   * @function toJSON
+   * @memberof ResGetDarkFrameInfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetDarkFrameInfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetDarkFrameInfo
+   * @function getTypeUrl
+   * @memberof ResGetDarkFrameInfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetDarkFrameInfo";
+  };
+
+  return ResGetDarkFrameInfo;
+})();
+
+$root.ResGetDarkFrameInfoList = (function () {
+  /**
+   * Properties of a ResGetDarkFrameInfoList.
+   * @exports IResGetDarkFrameInfoList
+   * @interface IResGetDarkFrameInfoList
+   * @property {number|null} [code] ResGetDarkFrameInfoList code
+   * @property {Array.<IResGetDarkFrameInfo>|null} [results] ResGetDarkFrameInfoList results
+   */
+
+  /**
+   * Constructs a new ResGetDarkFrameInfoList.
+   * @exports ResGetDarkFrameInfoList
+   * @classdesc Represents a ResGetDarkFrameInfoList.
+   * @implements IResGetDarkFrameInfoList
+   * @constructor
+   * @param {IResGetDarkFrameInfoList=} [properties] Properties to set
+   */
+  function ResGetDarkFrameInfoList(properties) {
+    this.results = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetDarkFrameInfoList code.
+   * @member {number} code
+   * @memberof ResGetDarkFrameInfoList
+   * @instance
+   */
+  ResGetDarkFrameInfoList.prototype.code = 0;
+
+  /**
+   * ResGetDarkFrameInfoList results.
+   * @member {Array.<IResGetDarkFrameInfo>} results
+   * @memberof ResGetDarkFrameInfoList
+   * @instance
+   */
+  ResGetDarkFrameInfoList.prototype.results = $util.emptyArray;
+
+  /**
+   * Creates a new ResGetDarkFrameInfoList instance using the specified properties.
+   * @function create
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {IResGetDarkFrameInfoList=} [properties] Properties to set
+   * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList instance
+   */
+  ResGetDarkFrameInfoList.create = function create(properties) {
+    return new ResGetDarkFrameInfoList(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetDarkFrameInfoList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (message.results != null && message.results.length)
+      for (var i = 0; i < message.results.length; ++i)
+        $root.ResGetDarkFrameInfo.encode(
+          message.results[i],
+          writer.uint32(/* id 2, wireType 2 =*/ 18).fork()
+        ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetDarkFrameInfoList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetDarkFrameInfoList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetDarkFrameInfoList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          if (!(message.results && message.results.length))
+            message.results = [];
+          message.results.push(
+            $root.ResGetDarkFrameInfo.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetDarkFrameInfoList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetDarkFrameInfoList message.
+   * @function verify
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetDarkFrameInfoList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.results != null && message.hasOwnProperty("results")) {
+      if (!Array.isArray(message.results)) return "results: array expected";
+      for (var i = 0; i < message.results.length; ++i) {
+        var error = $root.ResGetDarkFrameInfo.verify(message.results[i]);
+        if (error) return "results." + error;
+      }
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList
+   */
+  ResGetDarkFrameInfoList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetDarkFrameInfoList) return object;
+    var message = new $root.ResGetDarkFrameInfoList();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.results) {
+      if (!Array.isArray(object.results))
+        throw TypeError(".ResGetDarkFrameInfoList.results: array expected");
+      message.results = [];
+      for (var i = 0; i < object.results.length; ++i) {
+        if (typeof object.results[i] !== "object")
+          throw TypeError(".ResGetDarkFrameInfoList.results: object expected");
+        message.results[i] = $root.ResGetDarkFrameInfo.fromObject(
+          object.results[i]
+        );
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {ResGetDarkFrameInfoList} message ResGetDarkFrameInfoList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetDarkFrameInfoList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.results = [];
+    if (options.defaults) object.code = 0;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.results && message.results.length) {
+      object.results = [];
+      for (var j = 0; j < message.results.length; ++j)
+        object.results[j] = $root.ResGetDarkFrameInfo.toObject(
+          message.results[j],
+          options
+        );
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ResGetDarkFrameInfoList to JSON.
+   * @function toJSON
+   * @memberof ResGetDarkFrameInfoList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetDarkFrameInfoList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetDarkFrameInfoList
+   * @function getTypeUrl
+   * @memberof ResGetDarkFrameInfoList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetDarkFrameInfoList";
+  };
+
+  return ResGetDarkFrameInfoList;
+})();
+
+$root.ReqDelDarkFrame = (function () {
+  /**
+   * Properties of a ReqDelDarkFrame.
+   * @exports IReqDelDarkFrame
+   * @interface IReqDelDarkFrame
+   * @property {number|null} [expIndex] ReqDelDarkFrame expIndex
+   * @property {number|null} [gainIndex] ReqDelDarkFrame gainIndex
+   * @property {number|null} [binIndex] ReqDelDarkFrame binIndex
+   */
+
+  /**
+   * Constructs a new ReqDelDarkFrame.
+   * @exports ReqDelDarkFrame
+   * @classdesc Represents a ReqDelDarkFrame.
+   * @implements IReqDelDarkFrame
+   * @constructor
+   * @param {IReqDelDarkFrame=} [properties] Properties to set
+   */
+  function ReqDelDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDelDarkFrame expIndex.
+   * @member {number} expIndex
+   * @memberof ReqDelDarkFrame
+   * @instance
+   */
+  ReqDelDarkFrame.prototype.expIndex = 0;
+
+  /**
+   * ReqDelDarkFrame gainIndex.
+   * @member {number} gainIndex
+   * @memberof ReqDelDarkFrame
+   * @instance
+   */
+  ReqDelDarkFrame.prototype.gainIndex = 0;
+
+  /**
+   * ReqDelDarkFrame binIndex.
+   * @member {number} binIndex
+   * @memberof ReqDelDarkFrame
+   * @instance
+   */
+  ReqDelDarkFrame.prototype.binIndex = 0;
+
+  /**
+   * Creates a new ReqDelDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {IReqDelDarkFrame=} [properties] Properties to set
+   * @returns {ReqDelDarkFrame} ReqDelDarkFrame instance
+   */
+  ReqDelDarkFrame.create = function create(properties) {
+    return new ReqDelDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDelDarkFrame message. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelDarkFrame.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDelDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDelDarkFrame} ReqDelDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDelDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDelDarkFrame} ReqDelDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDelDarkFrame message.
+   * @function verify
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDelDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDelDarkFrame} ReqDelDarkFrame
+   */
+  ReqDelDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDelDarkFrame) return object;
+    var message = new $root.ReqDelDarkFrame();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {ReqDelDarkFrame} message ReqDelDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDelDarkFrame.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDelDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ReqDelDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDelDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDelDarkFrame
+   * @function getTypeUrl
+   * @memberof ReqDelDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDelDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDelDarkFrame";
+  };
+
+  return ReqDelDarkFrame;
+})();
+
+$root.ReqDelDarkFrameList = (function () {
+  /**
+   * Properties of a ReqDelDarkFrameList.
+   * @exports IReqDelDarkFrameList
+   * @interface IReqDelDarkFrameList
+   * @property {Array.<IReqDelDarkFrame>|null} [darkList] ReqDelDarkFrameList darkList
+   */
+
+  /**
+   * Constructs a new ReqDelDarkFrameList.
+   * @exports ReqDelDarkFrameList
+   * @classdesc Represents a ReqDelDarkFrameList.
+   * @implements IReqDelDarkFrameList
+   * @constructor
+   * @param {IReqDelDarkFrameList=} [properties] Properties to set
+   */
+  function ReqDelDarkFrameList(properties) {
+    this.darkList = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDelDarkFrameList darkList.
+   * @member {Array.<IReqDelDarkFrame>} darkList
+   * @memberof ReqDelDarkFrameList
+   * @instance
+   */
+  ReqDelDarkFrameList.prototype.darkList = $util.emptyArray;
+
+  /**
+   * Creates a new ReqDelDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {IReqDelDarkFrameList=} [properties] Properties to set
+   * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList instance
+   */
+  ReqDelDarkFrameList.create = function create(properties) {
+    return new ReqDelDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDelDarkFrameList message. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.darkList != null && message.darkList.length)
+      for (var i = 0; i < message.darkList.length; ++i)
+        $root.ReqDelDarkFrame.encode(
+          message.darkList[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDelDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDelDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.darkList && message.darkList.length))
+            message.darkList = [];
+          message.darkList.push(
+            $root.ReqDelDarkFrame.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDelDarkFrameList message.
+   * @function verify
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDelDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.darkList != null && message.hasOwnProperty("darkList")) {
+      if (!Array.isArray(message.darkList)) return "darkList: array expected";
+      for (var i = 0; i < message.darkList.length; ++i) {
+        var error = $root.ReqDelDarkFrame.verify(message.darkList[i]);
+        if (error) return "darkList." + error;
+      }
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList
+   */
+  ReqDelDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDelDarkFrameList) return object;
+    var message = new $root.ReqDelDarkFrameList();
+    if (object.darkList) {
+      if (!Array.isArray(object.darkList))
+        throw TypeError(".ReqDelDarkFrameList.darkList: array expected");
+      message.darkList = [];
+      for (var i = 0; i < object.darkList.length; ++i) {
+        if (typeof object.darkList[i] !== "object")
+          throw TypeError(".ReqDelDarkFrameList.darkList: object expected");
+        message.darkList[i] = $root.ReqDelDarkFrame.fromObject(
+          object.darkList[i]
+        );
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {ReqDelDarkFrameList} message ReqDelDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDelDarkFrameList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.darkList = [];
+    if (message.darkList && message.darkList.length) {
+      object.darkList = [];
+      for (var j = 0; j < message.darkList.length; ++j)
+        object.darkList[j] = $root.ReqDelDarkFrame.toObject(
+          message.darkList[j],
+          options
+        );
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ReqDelDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ReqDelDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDelDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDelDarkFrameList
+   * @function getTypeUrl
+   * @memberof ReqDelDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDelDarkFrameList";
+  };
+
+  return ReqDelDarkFrameList;
+})();
+
+$root.ResDelDarkFrameList = (function () {
+  /**
+   * Properties of a ResDelDarkFrameList.
+   * @exports IResDelDarkFrameList
+   * @interface IResDelDarkFrameList
+   * @property {number|null} [code] ResDelDarkFrameList code
+   */
+
+  /**
+   * Constructs a new ResDelDarkFrameList.
+   * @exports ResDelDarkFrameList
+   * @classdesc Represents a ResDelDarkFrameList.
+   * @implements IResDelDarkFrameList
+   * @constructor
+   * @param {IResDelDarkFrameList=} [properties] Properties to set
+   */
+  function ResDelDarkFrameList(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDelDarkFrameList code.
+   * @member {number} code
+   * @memberof ResDelDarkFrameList
+   * @instance
+   */
+  ResDelDarkFrameList.prototype.code = 0;
+
+  /**
+   * Creates a new ResDelDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {IResDelDarkFrameList=} [properties] Properties to set
+   * @returns {ResDelDarkFrameList} ResDelDarkFrameList instance
+   */
+  ResDelDarkFrameList.create = function create(properties) {
+    return new ResDelDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ResDelDarkFrameList message. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDelDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDelDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDelDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDelDarkFrameList} ResDelDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDelDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDelDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDelDarkFrameList} ResDelDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDelDarkFrameList message.
+   * @function verify
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDelDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDelDarkFrameList} ResDelDarkFrameList
+   */
+  ResDelDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDelDarkFrameList) return object;
+    var message = new $root.ResDelDarkFrameList();
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {ResDelDarkFrameList} message ResDelDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDelDarkFrameList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.code = 0;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResDelDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ResDelDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDelDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDelDarkFrameList
+   * @function getTypeUrl
+   * @memberof ResDelDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDelDarkFrameList";
+  };
+
+  return ResDelDarkFrameList;
+})();
+
+$root.ReqGoLive = (function () {
+  /**
+   * Properties of a ReqGoLive.
+   * @exports IReqGoLive
+   * @interface IReqGoLive
+   */
+
+  /**
+   * Constructs a new ReqGoLive.
+   * @exports ReqGoLive
+   * @classdesc Represents a ReqGoLive.
+   * @implements IReqGoLive
+   * @constructor
+   * @param {IReqGoLive=} [properties] Properties to set
+   */
+  function ReqGoLive(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGoLive instance using the specified properties.
+   * @function create
+   * @memberof ReqGoLive
+   * @static
+   * @param {IReqGoLive=} [properties] Properties to set
+   * @returns {ReqGoLive} ReqGoLive instance
+   */
+  ReqGoLive.create = function create(properties) {
+    return new ReqGoLive(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGoLive message. Does not implicitly {@link ReqGoLive.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGoLive
+   * @static
+   * @param {IReqGoLive} message ReqGoLive message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGoLive.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGoLive message, length delimited. Does not implicitly {@link ReqGoLive.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGoLive
+   * @static
+   * @param {IReqGoLive} message ReqGoLive message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGoLive.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGoLive message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGoLive
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGoLive} ReqGoLive
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGoLive.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGoLive();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGoLive message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGoLive
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGoLive} ReqGoLive
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGoLive.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGoLive message.
+   * @function verify
+   * @memberof ReqGoLive
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGoLive.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGoLive
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGoLive} ReqGoLive
+   */
+  ReqGoLive.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGoLive) return object;
+    return new $root.ReqGoLive();
+  };
+
+  /**
+   * Creates a plain object from a ReqGoLive message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGoLive
+   * @static
+   * @param {ReqGoLive} message ReqGoLive
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGoLive.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGoLive to JSON.
+   * @function toJSON
+   * @memberof ReqGoLive
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGoLive.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGoLive
+   * @function getTypeUrl
+   * @memberof ReqGoLive
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGoLive.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGoLive";
+  };
+
+  return ReqGoLive;
+})();
+
+$root.ReqTrackSpecialTarget = (function () {
+  /**
+   * Properties of a ReqTrackSpecialTarget.
+   * @exports IReqTrackSpecialTarget
+   * @interface IReqTrackSpecialTarget
+   * @property {number|null} [index] ReqTrackSpecialTarget index
+   * @property {number|null} [lon] ReqTrackSpecialTarget lon
+   * @property {number|null} [lat] ReqTrackSpecialTarget lat
+   */
+
+  /**
+   * Constructs a new ReqTrackSpecialTarget.
+   * @exports ReqTrackSpecialTarget
+   * @classdesc Represents a ReqTrackSpecialTarget.
+   * @implements IReqTrackSpecialTarget
+   * @constructor
+   * @param {IReqTrackSpecialTarget=} [properties] Properties to set
+   */
+  function ReqTrackSpecialTarget(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqTrackSpecialTarget index.
+   * @member {number} index
+   * @memberof ReqTrackSpecialTarget
+   * @instance
+   */
+  ReqTrackSpecialTarget.prototype.index = 0;
+
+  /**
+   * ReqTrackSpecialTarget lon.
+   * @member {number} lon
+   * @memberof ReqTrackSpecialTarget
+   * @instance
+   */
+  ReqTrackSpecialTarget.prototype.lon = 0;
+
+  /**
+   * ReqTrackSpecialTarget lat.
+   * @member {number} lat
+   * @memberof ReqTrackSpecialTarget
+   * @instance
+   */
+  ReqTrackSpecialTarget.prototype.lat = 0;
+
+  /**
+   * Creates a new ReqTrackSpecialTarget instance using the specified properties.
+   * @function create
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {IReqTrackSpecialTarget=} [properties] Properties to set
+   * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget instance
+   */
+  ReqTrackSpecialTarget.create = function create(properties) {
+    return new ReqTrackSpecialTarget(properties);
+  };
+
+  /**
+   * Encodes the specified ReqTrackSpecialTarget message. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages.
+   * @function encode
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqTrackSpecialTarget.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    if (message.lon != null && Object.hasOwnProperty.call(message, "lon"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon);
+    if (message.lat != null && Object.hasOwnProperty.call(message, "lat"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqTrackSpecialTarget.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqTrackSpecialTarget.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqTrackSpecialTarget();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        case 2: {
+          message.lon = reader.double();
+          break;
+        }
+        case 3: {
+          message.lat = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqTrackSpecialTarget message.
+   * @function verify
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqTrackSpecialTarget.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      if (typeof message.lon !== "number") return "lon: number expected";
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      if (typeof message.lat !== "number") return "lat: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget
+   */
+  ReqTrackSpecialTarget.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqTrackSpecialTarget) return object;
+    var message = new $root.ReqTrackSpecialTarget();
+    if (object.index != null) message.index = object.index | 0;
+    if (object.lon != null) message.lon = Number(object.lon);
+    if (object.lat != null) message.lat = Number(object.lat);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {ReqTrackSpecialTarget} message ReqTrackSpecialTarget
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqTrackSpecialTarget.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.index = 0;
+      object.lon = 0;
+      object.lat = 0;
+    }
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      object.lon =
+        options.json && !isFinite(message.lon)
+          ? String(message.lon)
+          : message.lon;
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      object.lat =
+        options.json && !isFinite(message.lat)
+          ? String(message.lat)
+          : message.lat;
+    return object;
+  };
+
+  /**
+   * Converts this ReqTrackSpecialTarget to JSON.
+   * @function toJSON
+   * @memberof ReqTrackSpecialTarget
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqTrackSpecialTarget.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqTrackSpecialTarget
+   * @function getTypeUrl
+   * @memberof ReqTrackSpecialTarget
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqTrackSpecialTarget";
+  };
+
+  return ReqTrackSpecialTarget;
+})();
+
+$root.ReqStopTrackSpecialTarget = (function () {
+  /**
+   * Properties of a ReqStopTrackSpecialTarget.
+   * @exports IReqStopTrackSpecialTarget
+   * @interface IReqStopTrackSpecialTarget
+   */
+
+  /**
+   * Constructs a new ReqStopTrackSpecialTarget.
+   * @exports ReqStopTrackSpecialTarget
+   * @classdesc Represents a ReqStopTrackSpecialTarget.
+   * @implements IReqStopTrackSpecialTarget
+   * @constructor
+   * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set
+   */
+  function ReqStopTrackSpecialTarget(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopTrackSpecialTarget instance using the specified properties.
+   * @function create
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set
+   * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget instance
+   */
+  ReqStopTrackSpecialTarget.create = function create(properties) {
+    return new ReqStopTrackSpecialTarget(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTrackSpecialTarget.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTrackSpecialTarget.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTrackSpecialTarget.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopTrackSpecialTarget();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopTrackSpecialTarget message.
+   * @function verify
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopTrackSpecialTarget.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget
+   */
+  ReqStopTrackSpecialTarget.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopTrackSpecialTarget) return object;
+    return new $root.ReqStopTrackSpecialTarget();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {ReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopTrackSpecialTarget.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopTrackSpecialTarget to JSON.
+   * @function toJSON
+   * @memberof ReqStopTrackSpecialTarget
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopTrackSpecialTarget.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopTrackSpecialTarget
+   * @function getTypeUrl
+   * @memberof ReqStopTrackSpecialTarget
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopTrackSpecialTarget";
+  };
+
+  return ReqStopTrackSpecialTarget;
+})();
+
+$root.ReqOneClickGotoDSO = (function () {
+  /**
+   * Properties of a ReqOneClickGotoDSO.
+   * @exports IReqOneClickGotoDSO
+   * @interface IReqOneClickGotoDSO
+   * @property {number|null} [ra] ReqOneClickGotoDSO ra
+   * @property {number|null} [dec] ReqOneClickGotoDSO dec
+   * @property {string|null} [targetName] ReqOneClickGotoDSO targetName
+   */
+
+  /**
+   * Constructs a new ReqOneClickGotoDSO.
+   * @exports ReqOneClickGotoDSO
+   * @classdesc Represents a ReqOneClickGotoDSO.
+   * @implements IReqOneClickGotoDSO
+   * @constructor
+   * @param {IReqOneClickGotoDSO=} [properties] Properties to set
+   */
+  function ReqOneClickGotoDSO(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqOneClickGotoDSO ra.
+   * @member {number} ra
+   * @memberof ReqOneClickGotoDSO
+   * @instance
+   */
+  ReqOneClickGotoDSO.prototype.ra = 0;
+
+  /**
+   * ReqOneClickGotoDSO dec.
+   * @member {number} dec
+   * @memberof ReqOneClickGotoDSO
+   * @instance
+   */
+  ReqOneClickGotoDSO.prototype.dec = 0;
+
+  /**
+   * ReqOneClickGotoDSO targetName.
+   * @member {string} targetName
+   * @memberof ReqOneClickGotoDSO
+   * @instance
+   */
+  ReqOneClickGotoDSO.prototype.targetName = "";
+
+  /**
+   * Creates a new ReqOneClickGotoDSO instance using the specified properties.
+   * @function create
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {IReqOneClickGotoDSO=} [properties] Properties to set
+   * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO instance
+   */
+  ReqOneClickGotoDSO.create = function create(properties) {
+    return new ReqOneClickGotoDSO(properties);
+  };
+
+  /**
+   * Encodes the specified ReqOneClickGotoDSO message. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages.
+   * @function encode
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOneClickGotoDSO.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.ra != null && Object.hasOwnProperty.call(message, "ra"))
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra);
+    if (message.dec != null && Object.hasOwnProperty.call(message, "dec"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOneClickGotoDSO.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOneClickGotoDSO.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqOneClickGotoDSO();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.ra = reader.double();
+          break;
+        }
+        case 2: {
+          message.dec = reader.double();
+          break;
+        }
+        case 3: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOneClickGotoDSO.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqOneClickGotoDSO message.
+   * @function verify
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqOneClickGotoDSO.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.ra != null && message.hasOwnProperty("ra"))
+      if (typeof message.ra !== "number") return "ra: number expected";
+    if (message.dec != null && message.hasOwnProperty("dec"))
+      if (typeof message.dec !== "number") return "dec: number expected";
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO
+   */
+  ReqOneClickGotoDSO.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqOneClickGotoDSO) return object;
+    var message = new $root.ReqOneClickGotoDSO();
+    if (object.ra != null) message.ra = Number(object.ra);
+    if (object.dec != null) message.dec = Number(object.dec);
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {ReqOneClickGotoDSO} message ReqOneClickGotoDSO
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqOneClickGotoDSO.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.ra = 0;
+      object.dec = 0;
+      object.targetName = "";
+    }
+    if (message.ra != null && message.hasOwnProperty("ra"))
+      object.ra =
+        options.json && !isFinite(message.ra) ? String(message.ra) : message.ra;
+    if (message.dec != null && message.hasOwnProperty("dec"))
+      object.dec =
+        options.json && !isFinite(message.dec)
+          ? String(message.dec)
+          : message.dec;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ReqOneClickGotoDSO to JSON.
+   * @function toJSON
+   * @memberof ReqOneClickGotoDSO
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqOneClickGotoDSO.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqOneClickGotoDSO
+   * @function getTypeUrl
+   * @memberof ReqOneClickGotoDSO
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqOneClickGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqOneClickGotoDSO";
+  };
+
+  return ReqOneClickGotoDSO;
+})();
+
+$root.ReqOneClickGotoSolarSystem = (function () {
+  /**
+   * Properties of a ReqOneClickGotoSolarSystem.
+   * @exports IReqOneClickGotoSolarSystem
+   * @interface IReqOneClickGotoSolarSystem
+   * @property {number|null} [index] ReqOneClickGotoSolarSystem index
+   * @property {number|null} [lon] ReqOneClickGotoSolarSystem lon
+   * @property {number|null} [lat] ReqOneClickGotoSolarSystem lat
+   * @property {string|null} [targetName] ReqOneClickGotoSolarSystem targetName
+   */
+
+  /**
+   * Constructs a new ReqOneClickGotoSolarSystem.
+   * @exports ReqOneClickGotoSolarSystem
+   * @classdesc Represents a ReqOneClickGotoSolarSystem.
+   * @implements IReqOneClickGotoSolarSystem
+   * @constructor
+   * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set
+   */
+  function ReqOneClickGotoSolarSystem(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqOneClickGotoSolarSystem index.
+   * @member {number} index
+   * @memberof ReqOneClickGotoSolarSystem
+   * @instance
+   */
+  ReqOneClickGotoSolarSystem.prototype.index = 0;
+
+  /**
+   * ReqOneClickGotoSolarSystem lon.
+   * @member {number} lon
+   * @memberof ReqOneClickGotoSolarSystem
+   * @instance
+   */
+  ReqOneClickGotoSolarSystem.prototype.lon = 0;
+
+  /**
+   * ReqOneClickGotoSolarSystem lat.
+   * @member {number} lat
+   * @memberof ReqOneClickGotoSolarSystem
+   * @instance
+   */
+  ReqOneClickGotoSolarSystem.prototype.lat = 0;
+
+  /**
+   * ReqOneClickGotoSolarSystem targetName.
+   * @member {string} targetName
+   * @memberof ReqOneClickGotoSolarSystem
+   * @instance
+   */
+  ReqOneClickGotoSolarSystem.prototype.targetName = "";
+
+  /**
+   * Creates a new ReqOneClickGotoSolarSystem instance using the specified properties.
+   * @function create
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set
+   * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem instance
+   */
+  ReqOneClickGotoSolarSystem.create = function create(properties) {
+    return new ReqOneClickGotoSolarSystem(properties);
+  };
+
+  /**
+   * Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages.
+   * @function encode
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOneClickGotoSolarSystem.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    if (message.lon != null && Object.hasOwnProperty.call(message, "lon"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon);
+    if (message.lat != null && Object.hasOwnProperty.call(message, "lat"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOneClickGotoSolarSystem.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOneClickGotoSolarSystem.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqOneClickGotoSolarSystem();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        case 2: {
+          message.lon = reader.double();
+          break;
+        }
+        case 3: {
+          message.lat = reader.double();
+          break;
+        }
+        case 4: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOneClickGotoSolarSystem.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqOneClickGotoSolarSystem message.
+   * @function verify
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqOneClickGotoSolarSystem.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      if (typeof message.lon !== "number") return "lon: number expected";
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      if (typeof message.lat !== "number") return "lat: number expected";
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem
+   */
+  ReqOneClickGotoSolarSystem.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqOneClickGotoSolarSystem) return object;
+    var message = new $root.ReqOneClickGotoSolarSystem();
+    if (object.index != null) message.index = object.index | 0;
+    if (object.lon != null) message.lon = Number(object.lon);
+    if (object.lat != null) message.lat = Number(object.lat);
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {ReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqOneClickGotoSolarSystem.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.index = 0;
+      object.lon = 0;
+      object.lat = 0;
+      object.targetName = "";
+    }
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      object.lon =
+        options.json && !isFinite(message.lon)
+          ? String(message.lon)
+          : message.lon;
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      object.lat =
+        options.json && !isFinite(message.lat)
+          ? String(message.lat)
+          : message.lat;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ReqOneClickGotoSolarSystem to JSON.
+   * @function toJSON
+   * @memberof ReqOneClickGotoSolarSystem
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqOneClickGotoSolarSystem.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqOneClickGotoSolarSystem
+   * @function getTypeUrl
+   * @memberof ReqOneClickGotoSolarSystem
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqOneClickGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqOneClickGotoSolarSystem";
+  };
+
+  return ReqOneClickGotoSolarSystem;
+})();
+
+$root.ResOneClickGoto = (function () {
+  /**
+   * Properties of a ResOneClickGoto.
+   * @exports IResOneClickGoto
+   * @interface IResOneClickGoto
+   * @property {number|null} [step] ResOneClickGoto step
+   * @property {number|null} [code] ResOneClickGoto code
+   * @property {boolean|null} [allEnd] ResOneClickGoto allEnd
+   */
+
+  /**
+   * Constructs a new ResOneClickGoto.
+   * @exports ResOneClickGoto
+   * @classdesc Represents a ResOneClickGoto.
+   * @implements IResOneClickGoto
+   * @constructor
+   * @param {IResOneClickGoto=} [properties] Properties to set
+   */
+  function ResOneClickGoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResOneClickGoto step.
+   * @member {number} step
+   * @memberof ResOneClickGoto
+   * @instance
+   */
+  ResOneClickGoto.prototype.step = 0;
+
+  /**
+   * ResOneClickGoto code.
+   * @member {number} code
+   * @memberof ResOneClickGoto
+   * @instance
+   */
+  ResOneClickGoto.prototype.code = 0;
+
+  /**
+   * ResOneClickGoto allEnd.
+   * @member {boolean} allEnd
+   * @memberof ResOneClickGoto
+   * @instance
+   */
+  ResOneClickGoto.prototype.allEnd = false;
+
+  /**
+   * Creates a new ResOneClickGoto instance using the specified properties.
+   * @function create
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {IResOneClickGoto=} [properties] Properties to set
+   * @returns {ResOneClickGoto} ResOneClickGoto instance
+   */
+  ResOneClickGoto.create = function create(properties) {
+    return new ResOneClickGoto(properties);
+  };
+
+  /**
+   * Encodes the specified ResOneClickGoto message. Does not implicitly {@link ResOneClickGoto.verify|verify} messages.
+   * @function encode
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResOneClickGoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.step != null && Object.hasOwnProperty.call(message, "step"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.allEnd != null && Object.hasOwnProperty.call(message, "allEnd"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.allEnd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly {@link ResOneClickGoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResOneClickGoto.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResOneClickGoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResOneClickGoto} ResOneClickGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResOneClickGoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResOneClickGoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.step = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.allEnd = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResOneClickGoto} ResOneClickGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResOneClickGoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResOneClickGoto message.
+   * @function verify
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResOneClickGoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.step != null && message.hasOwnProperty("step"))
+      if (!$util.isInteger(message.step)) return "step: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.allEnd != null && message.hasOwnProperty("allEnd"))
+      if (typeof message.allEnd !== "boolean")
+        return "allEnd: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResOneClickGoto} ResOneClickGoto
+   */
+  ResOneClickGoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResOneClickGoto) return object;
+    var message = new $root.ResOneClickGoto();
+    if (object.step != null) message.step = object.step | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.allEnd != null) message.allEnd = Boolean(object.allEnd);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {ResOneClickGoto} message ResOneClickGoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResOneClickGoto.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.step = 0;
+      object.code = 0;
+      object.allEnd = false;
+    }
+    if (message.step != null && message.hasOwnProperty("step"))
+      object.step = message.step;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.allEnd != null && message.hasOwnProperty("allEnd"))
+      object.allEnd = message.allEnd;
+    return object;
+  };
+
+  /**
+   * Converts this ResOneClickGoto to JSON.
+   * @function toJSON
+   * @memberof ResOneClickGoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResOneClickGoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResOneClickGoto
+   * @function getTypeUrl
+   * @memberof ResOneClickGoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResOneClickGoto";
+  };
+
+  return ResOneClickGoto;
+})();
+
+$root.ReqStopOneClickGoto = (function () {
+  /**
+   * Properties of a ReqStopOneClickGoto.
+   * @exports IReqStopOneClickGoto
+   * @interface IReqStopOneClickGoto
+   */
+
+  /**
+   * Constructs a new ReqStopOneClickGoto.
+   * @exports ReqStopOneClickGoto
+   * @classdesc Represents a ReqStopOneClickGoto.
+   * @implements IReqStopOneClickGoto
+   * @constructor
+   * @param {IReqStopOneClickGoto=} [properties] Properties to set
+   */
+  function ReqStopOneClickGoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopOneClickGoto instance using the specified properties.
+   * @function create
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {IReqStopOneClickGoto=} [properties] Properties to set
+   * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto instance
+   */
+  ReqStopOneClickGoto.create = function create(properties) {
+    return new ReqStopOneClickGoto(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopOneClickGoto message. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopOneClickGoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopOneClickGoto.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopOneClickGoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopOneClickGoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopOneClickGoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopOneClickGoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopOneClickGoto message.
+   * @function verify
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopOneClickGoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto
+   */
+  ReqStopOneClickGoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopOneClickGoto) return object;
+    return new $root.ReqStopOneClickGoto();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {ReqStopOneClickGoto} message ReqStopOneClickGoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopOneClickGoto.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopOneClickGoto to JSON.
+   * @function toJSON
+   * @memberof ReqStopOneClickGoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopOneClickGoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopOneClickGoto
+   * @function getTypeUrl
+   * @memberof ReqStopOneClickGoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopOneClickGoto";
+  };
+
+  return ReqStopOneClickGoto;
+})();
+
+$root.ReqCaptureWideRawLiveStacking = (function () {
+  /**
+   * Properties of a ReqCaptureWideRawLiveStacking.
+   * @exports IReqCaptureWideRawLiveStacking
+   * @interface IReqCaptureWideRawLiveStacking
+   */
+
+  /**
+   * Constructs a new ReqCaptureWideRawLiveStacking.
+   * @exports ReqCaptureWideRawLiveStacking
+   * @classdesc Represents a ReqCaptureWideRawLiveStacking.
+   * @implements IReqCaptureWideRawLiveStacking
+   * @constructor
+   * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set
+   */
+  function ReqCaptureWideRawLiveStacking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties.
+   * @function create
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set
+   * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking instance
+   */
+  ReqCaptureWideRawLiveStacking.create = function create(properties) {
+    return new ReqCaptureWideRawLiveStacking(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureWideRawLiveStacking.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureWideRawLiveStacking.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCaptureWideRawLiveStacking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCaptureWideRawLiveStacking message.
+   * @function verify
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCaptureWideRawLiveStacking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking
+   */
+  ReqCaptureWideRawLiveStacking.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCaptureWideRawLiveStacking) return object;
+    return new $root.ReqCaptureWideRawLiveStacking();
+  };
+
+  /**
+   * Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {ReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCaptureWideRawLiveStacking.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqCaptureWideRawLiveStacking to JSON.
+   * @function toJSON
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCaptureWideRawLiveStacking
+   * @function getTypeUrl
+   * @memberof ReqCaptureWideRawLiveStacking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCaptureWideRawLiveStacking";
+  };
+
+  return ReqCaptureWideRawLiveStacking;
+})();
+
+$root.ReqStopCaptureWideRawLiveStacking = (function () {
+  /**
+   * Properties of a ReqStopCaptureWideRawLiveStacking.
+   * @exports IReqStopCaptureWideRawLiveStacking
+   * @interface IReqStopCaptureWideRawLiveStacking
+   */
+
+  /**
+   * Constructs a new ReqStopCaptureWideRawLiveStacking.
+   * @exports ReqStopCaptureWideRawLiveStacking
+   * @classdesc Represents a ReqStopCaptureWideRawLiveStacking.
+   * @implements IReqStopCaptureWideRawLiveStacking
+   * @constructor
+   * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set
+   */
+  function ReqStopCaptureWideRawLiveStacking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set
+   * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking instance
+   */
+  ReqStopCaptureWideRawLiveStacking.create = function create(properties) {
+    return new ReqStopCaptureWideRawLiveStacking(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureWideRawLiveStacking.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureWideRawLiveStacking.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCaptureWideRawLiveStacking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopCaptureWideRawLiveStacking message.
+   * @function verify
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCaptureWideRawLiveStacking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking
+   */
+  ReqStopCaptureWideRawLiveStacking.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopCaptureWideRawLiveStacking)
+      return object;
+    return new $root.ReqStopCaptureWideRawLiveStacking();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {ReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCaptureWideRawLiveStacking.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCaptureWideRawLiveStacking to JSON.
+   * @function toJSON
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCaptureWideRawLiveStacking
+   * @function getTypeUrl
+   * @memberof ReqStopCaptureWideRawLiveStacking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCaptureWideRawLiveStacking";
+  };
+
+  return ReqStopCaptureWideRawLiveStacking;
+})();
+
+$root.ReqStartEqSolving = (function () {
+  /**
+   * Properties of a ReqStartEqSolving.
+   * @exports IReqStartEqSolving
+   * @interface IReqStartEqSolving
+   * @property {number|null} [lon] ReqStartEqSolving lon
+   * @property {number|null} [lat] ReqStartEqSolving lat
+   */
+
+  /**
+   * Constructs a new ReqStartEqSolving.
+   * @exports ReqStartEqSolving
+   * @classdesc Represents a ReqStartEqSolving.
+   * @implements IReqStartEqSolving
+   * @constructor
+   * @param {IReqStartEqSolving=} [properties] Properties to set
+   */
+  function ReqStartEqSolving(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartEqSolving lon.
+   * @member {number} lon
+   * @memberof ReqStartEqSolving
+   * @instance
+   */
+  ReqStartEqSolving.prototype.lon = 0;
+
+  /**
+   * ReqStartEqSolving lat.
+   * @member {number} lat
+   * @memberof ReqStartEqSolving
+   * @instance
+   */
+  ReqStartEqSolving.prototype.lat = 0;
+
+  /**
+   * Creates a new ReqStartEqSolving instance using the specified properties.
+   * @function create
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {IReqStartEqSolving=} [properties] Properties to set
+   * @returns {ReqStartEqSolving} ReqStartEqSolving instance
+   */
+  ReqStartEqSolving.create = function create(properties) {
+    return new ReqStartEqSolving(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartEqSolving message. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartEqSolving.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.lon != null && Object.hasOwnProperty.call(message, "lon"))
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.lon);
+    if (message.lat != null && Object.hasOwnProperty.call(message, "lat"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lat);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartEqSolving.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartEqSolving message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartEqSolving} ReqStartEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartEqSolving.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartEqSolving();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.lon = reader.double();
+          break;
+        }
+        case 2: {
+          message.lat = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartEqSolving} ReqStartEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartEqSolving.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartEqSolving message.
+   * @function verify
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartEqSolving.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      if (typeof message.lon !== "number") return "lon: number expected";
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      if (typeof message.lat !== "number") return "lat: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartEqSolving} ReqStartEqSolving
+   */
+  ReqStartEqSolving.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartEqSolving) return object;
+    var message = new $root.ReqStartEqSolving();
+    if (object.lon != null) message.lon = Number(object.lon);
+    if (object.lat != null) message.lat = Number(object.lat);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {ReqStartEqSolving} message ReqStartEqSolving
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartEqSolving.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.lon = 0;
+      object.lat = 0;
+    }
+    if (message.lon != null && message.hasOwnProperty("lon"))
+      object.lon =
+        options.json && !isFinite(message.lon)
+          ? String(message.lon)
+          : message.lon;
+    if (message.lat != null && message.hasOwnProperty("lat"))
+      object.lat =
+        options.json && !isFinite(message.lat)
+          ? String(message.lat)
+          : message.lat;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartEqSolving to JSON.
+   * @function toJSON
+   * @memberof ReqStartEqSolving
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartEqSolving.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartEqSolving
+   * @function getTypeUrl
+   * @memberof ReqStartEqSolving
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartEqSolving";
+  };
+
+  return ReqStartEqSolving;
+})();
+
+$root.ResStartEqSolving = (function () {
+  /**
+   * Properties of a ResStartEqSolving.
+   * @exports IResStartEqSolving
+   * @interface IResStartEqSolving
+   * @property {number|null} [aziErr] ResStartEqSolving aziErr
+   * @property {number|null} [altErr] ResStartEqSolving altErr
+   * @property {number|null} [code] ResStartEqSolving code
+   */
+
+  /**
+   * Constructs a new ResStartEqSolving.
+   * @exports ResStartEqSolving
+   * @classdesc Represents a ResStartEqSolving.
+   * @implements IResStartEqSolving
+   * @constructor
+   * @param {IResStartEqSolving=} [properties] Properties to set
+   */
+  function ResStartEqSolving(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResStartEqSolving aziErr.
+   * @member {number} aziErr
+   * @memberof ResStartEqSolving
+   * @instance
+   */
+  ResStartEqSolving.prototype.aziErr = 0;
+
+  /**
+   * ResStartEqSolving altErr.
+   * @member {number} altErr
+   * @memberof ResStartEqSolving
+   * @instance
+   */
+  ResStartEqSolving.prototype.altErr = 0;
+
+  /**
+   * ResStartEqSolving code.
+   * @member {number} code
+   * @memberof ResStartEqSolving
+   * @instance
+   */
+  ResStartEqSolving.prototype.code = 0;
+
+  /**
+   * Creates a new ResStartEqSolving instance using the specified properties.
+   * @function create
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {IResStartEqSolving=} [properties] Properties to set
+   * @returns {ResStartEqSolving} ResStartEqSolving instance
+   */
+  ResStartEqSolving.create = function create(properties) {
+    return new ResStartEqSolving(properties);
+  };
+
+  /**
+   * Encodes the specified ResStartEqSolving message. Does not implicitly {@link ResStartEqSolving.verify|verify} messages.
+   * @function encode
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResStartEqSolving.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.aziErr != null && Object.hasOwnProperty.call(message, "aziErr"))
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.aziErr);
+    if (message.altErr != null && Object.hasOwnProperty.call(message, "altErr"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.altErr);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly {@link ResStartEqSolving.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResStartEqSolving.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResStartEqSolving message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResStartEqSolving} ResStartEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResStartEqSolving.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResStartEqSolving();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.aziErr = reader.double();
+          break;
+        }
+        case 2: {
+          message.altErr = reader.double();
+          break;
+        }
+        case 3: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResStartEqSolving} ResStartEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResStartEqSolving.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResStartEqSolving message.
+   * @function verify
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResStartEqSolving.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.aziErr != null && message.hasOwnProperty("aziErr"))
+      if (typeof message.aziErr !== "number") return "aziErr: number expected";
+    if (message.altErr != null && message.hasOwnProperty("altErr"))
+      if (typeof message.altErr !== "number") return "altErr: number expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResStartEqSolving} ResStartEqSolving
+   */
+  ResStartEqSolving.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResStartEqSolving) return object;
+    var message = new $root.ResStartEqSolving();
+    if (object.aziErr != null) message.aziErr = Number(object.aziErr);
+    if (object.altErr != null) message.altErr = Number(object.altErr);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {ResStartEqSolving} message ResStartEqSolving
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResStartEqSolving.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.aziErr = 0;
+      object.altErr = 0;
+      object.code = 0;
+    }
+    if (message.aziErr != null && message.hasOwnProperty("aziErr"))
+      object.aziErr =
+        options.json && !isFinite(message.aziErr)
+          ? String(message.aziErr)
+          : message.aziErr;
+    if (message.altErr != null && message.hasOwnProperty("altErr"))
+      object.altErr =
+        options.json && !isFinite(message.altErr)
+          ? String(message.altErr)
+          : message.altErr;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResStartEqSolving to JSON.
+   * @function toJSON
+   * @memberof ResStartEqSolving
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResStartEqSolving.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResStartEqSolving
+   * @function getTypeUrl
+   * @memberof ResStartEqSolving
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResStartEqSolving";
+  };
+
+  return ResStartEqSolving;
+})();
+
+$root.ReqStopEqSolving = (function () {
+  /**
+   * Properties of a ReqStopEqSolving.
+   * @exports IReqStopEqSolving
+   * @interface IReqStopEqSolving
+   */
+
+  /**
+   * Constructs a new ReqStopEqSolving.
+   * @exports ReqStopEqSolving
+   * @classdesc Represents a ReqStopEqSolving.
+   * @implements IReqStopEqSolving
+   * @constructor
+   * @param {IReqStopEqSolving=} [properties] Properties to set
+   */
+  function ReqStopEqSolving(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopEqSolving instance using the specified properties.
+   * @function create
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {IReqStopEqSolving=} [properties] Properties to set
+   * @returns {ReqStopEqSolving} ReqStopEqSolving instance
+   */
+  ReqStopEqSolving.create = function create(properties) {
+    return new ReqStopEqSolving(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopEqSolving message. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopEqSolving.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopEqSolving.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopEqSolving message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopEqSolving} ReqStopEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopEqSolving.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopEqSolving();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopEqSolving} ReqStopEqSolving
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopEqSolving.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopEqSolving message.
+   * @function verify
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopEqSolving.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopEqSolving} ReqStopEqSolving
+   */
+  ReqStopEqSolving.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopEqSolving) return object;
+    return new $root.ReqStopEqSolving();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {ReqStopEqSolving} message ReqStopEqSolving
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopEqSolving.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopEqSolving to JSON.
+   * @function toJSON
+   * @memberof ReqStopEqSolving
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopEqSolving.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopEqSolving
+   * @function getTypeUrl
+   * @memberof ReqStopEqSolving
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopEqSolving";
+  };
+
+  return ReqStopEqSolving;
+})();
+
+$root.ReqCaptureWideDarkFrameWithParam = (function () {
+  /**
+   * Properties of a ReqCaptureWideDarkFrameWithParam.
+   * @exports IReqCaptureWideDarkFrameWithParam
+   * @interface IReqCaptureWideDarkFrameWithParam
+   * @property {number|null} [expIndex] ReqCaptureWideDarkFrameWithParam expIndex
+   * @property {number|null} [gainIndex] ReqCaptureWideDarkFrameWithParam gainIndex
+   * @property {number|null} [binIndex] ReqCaptureWideDarkFrameWithParam binIndex
+   * @property {number|null} [capSize] ReqCaptureWideDarkFrameWithParam capSize
+   */
+
+  /**
+   * Constructs a new ReqCaptureWideDarkFrameWithParam.
+   * @exports ReqCaptureWideDarkFrameWithParam
+   * @classdesc Represents a ReqCaptureWideDarkFrameWithParam.
+   * @implements IReqCaptureWideDarkFrameWithParam
+   * @constructor
+   * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set
+   */
+  function ReqCaptureWideDarkFrameWithParam(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqCaptureWideDarkFrameWithParam expIndex.
+   * @member {number} expIndex
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureWideDarkFrameWithParam.prototype.expIndex = 0;
+
+  /**
+   * ReqCaptureWideDarkFrameWithParam gainIndex.
+   * @member {number} gainIndex
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureWideDarkFrameWithParam.prototype.gainIndex = 0;
+
+  /**
+   * ReqCaptureWideDarkFrameWithParam binIndex.
+   * @member {number} binIndex
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureWideDarkFrameWithParam.prototype.binIndex = 0;
+
+  /**
+   * ReqCaptureWideDarkFrameWithParam capSize.
+   * @member {number} capSize
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @instance
+   */
+  ReqCaptureWideDarkFrameWithParam.prototype.capSize = 0;
+
+  /**
+   * Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties.
+   * @function create
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set
+   * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam instance
+   */
+  ReqCaptureWideDarkFrameWithParam.create = function create(properties) {
+    return new ReqCaptureWideDarkFrameWithParam(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureWideDarkFrameWithParam.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    if (
+      message.capSize != null &&
+      Object.hasOwnProperty.call(message, "capSize")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCaptureWideDarkFrameWithParam.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureWideDarkFrameWithParam.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCaptureWideDarkFrameWithParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        case 4: {
+          message.capSize = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCaptureWideDarkFrameWithParam.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCaptureWideDarkFrameWithParam message.
+   * @function verify
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCaptureWideDarkFrameWithParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    if (message.capSize != null && message.hasOwnProperty("capSize"))
+      if (!$util.isInteger(message.capSize)) return "capSize: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam
+   */
+  ReqCaptureWideDarkFrameWithParam.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCaptureWideDarkFrameWithParam) return object;
+    var message = new $root.ReqCaptureWideDarkFrameWithParam();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    if (object.capSize != null) message.capSize = object.capSize | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {ReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCaptureWideDarkFrameWithParam.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+      object.capSize = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    if (message.capSize != null && message.hasOwnProperty("capSize"))
+      object.capSize = message.capSize;
+    return object;
+  };
+
+  /**
+   * Converts this ReqCaptureWideDarkFrameWithParam to JSON.
+   * @function toJSON
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCaptureWideDarkFrameWithParam
+   * @function getTypeUrl
+   * @memberof ReqCaptureWideDarkFrameWithParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCaptureWideDarkFrameWithParam";
+  };
+
+  return ReqCaptureWideDarkFrameWithParam;
+})();
+
+$root.ReqStopCaptureWideDarkFrameWithParam = (function () {
+  /**
+   * Properties of a ReqStopCaptureWideDarkFrameWithParam.
+   * @exports IReqStopCaptureWideDarkFrameWithParam
+   * @interface IReqStopCaptureWideDarkFrameWithParam
+   */
+
+  /**
+   * Constructs a new ReqStopCaptureWideDarkFrameWithParam.
+   * @exports ReqStopCaptureWideDarkFrameWithParam
+   * @classdesc Represents a ReqStopCaptureWideDarkFrameWithParam.
+   * @implements IReqStopCaptureWideDarkFrameWithParam
+   * @constructor
+   * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set
+   */
+  function ReqStopCaptureWideDarkFrameWithParam(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties.
+   * @function create
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set
+   * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam instance
+   */
+  ReqStopCaptureWideDarkFrameWithParam.create = function create(properties) {
+    return new ReqStopCaptureWideDarkFrameWithParam(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureWideDarkFrameWithParam.encode = function encode(
+    message,
+    writer
+  ) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopCaptureWideDarkFrameWithParam.encodeDelimited =
+    function encodeDelimited(message, writer) {
+      return this.encode(message, writer).ldelim();
+    };
+
+  /**
+   * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureWideDarkFrameWithParam.decode = function decode(
+    reader,
+    length
+  ) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopCaptureWideDarkFrameWithParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopCaptureWideDarkFrameWithParam.decodeDelimited =
+    function decodeDelimited(reader) {
+      if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+      return this.decode(reader, reader.uint32());
+    };
+
+  /**
+   * Verifies a ReqStopCaptureWideDarkFrameWithParam message.
+   * @function verify
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopCaptureWideDarkFrameWithParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam
+   */
+  ReqStopCaptureWideDarkFrameWithParam.fromObject = function fromObject(
+    object
+  ) {
+    if (object instanceof $root.ReqStopCaptureWideDarkFrameWithParam)
+      return object;
+    return new $root.ReqStopCaptureWideDarkFrameWithParam();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {ReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopCaptureWideDarkFrameWithParam.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopCaptureWideDarkFrameWithParam to JSON.
+   * @function toJSON
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopCaptureWideDarkFrameWithParam
+   * @function getTypeUrl
+   * @memberof ReqStopCaptureWideDarkFrameWithParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopCaptureWideDarkFrameWithParam";
+  };
+
+  return ReqStopCaptureWideDarkFrameWithParam;
+})();
+
+$root.ReqGetWideDarkFrameList = (function () {
+  /**
+   * Properties of a ReqGetWideDarkFrameList.
+   * @exports IReqGetWideDarkFrameList
+   * @interface IReqGetWideDarkFrameList
+   */
+
+  /**
+   * Constructs a new ReqGetWideDarkFrameList.
+   * @exports ReqGetWideDarkFrameList
+   * @classdesc Represents a ReqGetWideDarkFrameList.
+   * @implements IReqGetWideDarkFrameList
+   * @constructor
+   * @param {IReqGetWideDarkFrameList=} [properties] Properties to set
+   */
+  function ReqGetWideDarkFrameList(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetWideDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {IReqGetWideDarkFrameList=} [properties] Properties to set
+   * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList instance
+   */
+  ReqGetWideDarkFrameList.create = function create(properties) {
+    return new ReqGetWideDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWideDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWideDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWideDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetWideDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetWideDarkFrameList message.
+   * @function verify
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetWideDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList
+   */
+  ReqGetWideDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetWideDarkFrameList) return object;
+    return new $root.ReqGetWideDarkFrameList();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {ReqGetWideDarkFrameList} message ReqGetWideDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetWideDarkFrameList.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetWideDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ReqGetWideDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetWideDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetWideDarkFrameList
+   * @function getTypeUrl
+   * @memberof ReqGetWideDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetWideDarkFrameList";
+  };
+
+  return ReqGetWideDarkFrameList;
+})();
+
+$root.ResGetWideDarkFrameInfo = (function () {
+  /**
+   * Properties of a ResGetWideDarkFrameInfo.
+   * @exports IResGetWideDarkFrameInfo
+   * @interface IResGetWideDarkFrameInfo
+   * @property {number|null} [expIndex] ResGetWideDarkFrameInfo expIndex
+   * @property {number|null} [gainIndex] ResGetWideDarkFrameInfo gainIndex
+   * @property {number|null} [binIndex] ResGetWideDarkFrameInfo binIndex
+   * @property {string|null} [expName] ResGetWideDarkFrameInfo expName
+   * @property {string|null} [gainName] ResGetWideDarkFrameInfo gainName
+   * @property {string|null} [binName] ResGetWideDarkFrameInfo binName
+   * @property {number|null} [temperature] ResGetWideDarkFrameInfo temperature
+   */
+
+  /**
+   * Constructs a new ResGetWideDarkFrameInfo.
+   * @exports ResGetWideDarkFrameInfo
+   * @classdesc Represents a ResGetWideDarkFrameInfo.
+   * @implements IResGetWideDarkFrameInfo
+   * @constructor
+   * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set
+   */
+  function ResGetWideDarkFrameInfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetWideDarkFrameInfo expIndex.
+   * @member {number} expIndex
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.expIndex = 0;
+
+  /**
+   * ResGetWideDarkFrameInfo gainIndex.
+   * @member {number} gainIndex
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.gainIndex = 0;
+
+  /**
+   * ResGetWideDarkFrameInfo binIndex.
+   * @member {number} binIndex
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.binIndex = 0;
+
+  /**
+   * ResGetWideDarkFrameInfo expName.
+   * @member {string} expName
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.expName = "";
+
+  /**
+   * ResGetWideDarkFrameInfo gainName.
+   * @member {string} gainName
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.gainName = "";
+
+  /**
+   * ResGetWideDarkFrameInfo binName.
+   * @member {string} binName
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.binName = "";
+
+  /**
+   * ResGetWideDarkFrameInfo temperature.
+   * @member {number} temperature
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   */
+  ResGetWideDarkFrameInfo.prototype.temperature = 0;
+
+  /**
+   * Creates a new ResGetWideDarkFrameInfo instance using the specified properties.
+   * @function create
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set
+   * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo instance
+   */
+  ResGetWideDarkFrameInfo.create = function create(properties) {
+    return new ResGetWideDarkFrameInfo(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetWideDarkFrameInfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    if (
+      message.expName != null &&
+      Object.hasOwnProperty.call(message, "expName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName);
+    if (
+      message.gainName != null &&
+      Object.hasOwnProperty.call(message, "gainName")
+    )
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName);
+    if (
+      message.binName != null &&
+      Object.hasOwnProperty.call(message, "binName")
+    )
+      writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName);
+    if (
+      message.temperature != null &&
+      Object.hasOwnProperty.call(message, "temperature")
+    )
+      writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetWideDarkFrameInfo.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetWideDarkFrameInfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetWideDarkFrameInfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        case 4: {
+          message.expName = reader.string();
+          break;
+        }
+        case 5: {
+          message.gainName = reader.string();
+          break;
+        }
+        case 6: {
+          message.binName = reader.string();
+          break;
+        }
+        case 7: {
+          message.temperature = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetWideDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetWideDarkFrameInfo message.
+   * @function verify
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetWideDarkFrameInfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    if (message.expName != null && message.hasOwnProperty("expName"))
+      if (!$util.isString(message.expName)) return "expName: string expected";
+    if (message.gainName != null && message.hasOwnProperty("gainName"))
+      if (!$util.isString(message.gainName)) return "gainName: string expected";
+    if (message.binName != null && message.hasOwnProperty("binName"))
+      if (!$util.isString(message.binName)) return "binName: string expected";
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      if (!$util.isInteger(message.temperature))
+        return "temperature: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo
+   */
+  ResGetWideDarkFrameInfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetWideDarkFrameInfo) return object;
+    var message = new $root.ResGetWideDarkFrameInfo();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    if (object.expName != null) message.expName = String(object.expName);
+    if (object.gainName != null) message.gainName = String(object.gainName);
+    if (object.binName != null) message.binName = String(object.binName);
+    if (object.temperature != null)
+      message.temperature = object.temperature | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {ResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetWideDarkFrameInfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+      object.expName = "";
+      object.gainName = "";
+      object.binName = "";
+      object.temperature = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    if (message.expName != null && message.hasOwnProperty("expName"))
+      object.expName = message.expName;
+    if (message.gainName != null && message.hasOwnProperty("gainName"))
+      object.gainName = message.gainName;
+    if (message.binName != null && message.hasOwnProperty("binName"))
+      object.binName = message.binName;
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      object.temperature = message.temperature;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetWideDarkFrameInfo to JSON.
+   * @function toJSON
+   * @memberof ResGetWideDarkFrameInfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetWideDarkFrameInfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetWideDarkFrameInfo
+   * @function getTypeUrl
+   * @memberof ResGetWideDarkFrameInfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetWideDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetWideDarkFrameInfo";
+  };
+
+  return ResGetWideDarkFrameInfo;
+})();
+
+$root.ResGetWideDarkFrameInfoList = (function () {
+  /**
+   * Properties of a ResGetWideDarkFrameInfoList.
+   * @exports IResGetWideDarkFrameInfoList
+   * @interface IResGetWideDarkFrameInfoList
+   * @property {number|null} [code] ResGetWideDarkFrameInfoList code
+   * @property {Array.<IResGetDarkFrameInfo>|null} [results] ResGetWideDarkFrameInfoList results
+   */
+
+  /**
+   * Constructs a new ResGetWideDarkFrameInfoList.
+   * @exports ResGetWideDarkFrameInfoList
+   * @classdesc Represents a ResGetWideDarkFrameInfoList.
+   * @implements IResGetWideDarkFrameInfoList
+   * @constructor
+   * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set
+   */
+  function ResGetWideDarkFrameInfoList(properties) {
+    this.results = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetWideDarkFrameInfoList code.
+   * @member {number} code
+   * @memberof ResGetWideDarkFrameInfoList
+   * @instance
+   */
+  ResGetWideDarkFrameInfoList.prototype.code = 0;
+
+  /**
+   * ResGetWideDarkFrameInfoList results.
+   * @member {Array.<IResGetDarkFrameInfo>} results
+   * @memberof ResGetWideDarkFrameInfoList
+   * @instance
+   */
+  ResGetWideDarkFrameInfoList.prototype.results = $util.emptyArray;
+
+  /**
+   * Creates a new ResGetWideDarkFrameInfoList instance using the specified properties.
+   * @function create
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set
+   * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList instance
+   */
+  ResGetWideDarkFrameInfoList.create = function create(properties) {
+    return new ResGetWideDarkFrameInfoList(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetWideDarkFrameInfoList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (message.results != null && message.results.length)
+      for (var i = 0; i < message.results.length; ++i)
+        $root.ResGetDarkFrameInfo.encode(
+          message.results[i],
+          writer.uint32(/* id 2, wireType 2 =*/ 18).fork()
+        ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetWideDarkFrameInfoList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetWideDarkFrameInfoList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetWideDarkFrameInfoList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          if (!(message.results && message.results.length))
+            message.results = [];
+          message.results.push(
+            $root.ResGetDarkFrameInfo.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetWideDarkFrameInfoList.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetWideDarkFrameInfoList message.
+   * @function verify
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetWideDarkFrameInfoList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.results != null && message.hasOwnProperty("results")) {
+      if (!Array.isArray(message.results)) return "results: array expected";
+      for (var i = 0; i < message.results.length; ++i) {
+        var error = $root.ResGetDarkFrameInfo.verify(message.results[i]);
+        if (error) return "results." + error;
+      }
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList
+   */
+  ResGetWideDarkFrameInfoList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetWideDarkFrameInfoList) return object;
+    var message = new $root.ResGetWideDarkFrameInfoList();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.results) {
+      if (!Array.isArray(object.results))
+        throw TypeError(".ResGetWideDarkFrameInfoList.results: array expected");
+      message.results = [];
+      for (var i = 0; i < object.results.length; ++i) {
+        if (typeof object.results[i] !== "object")
+          throw TypeError(
+            ".ResGetWideDarkFrameInfoList.results: object expected"
+          );
+        message.results[i] = $root.ResGetDarkFrameInfo.fromObject(
+          object.results[i]
+        );
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {ResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetWideDarkFrameInfoList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.results = [];
+    if (options.defaults) object.code = 0;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.results && message.results.length) {
+      object.results = [];
+      for (var j = 0; j < message.results.length; ++j)
+        object.results[j] = $root.ResGetDarkFrameInfo.toObject(
+          message.results[j],
+          options
+        );
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ResGetWideDarkFrameInfoList to JSON.
+   * @function toJSON
+   * @memberof ResGetWideDarkFrameInfoList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetWideDarkFrameInfoList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetWideDarkFrameInfoList
+   * @function getTypeUrl
+   * @memberof ResGetWideDarkFrameInfoList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetWideDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetWideDarkFrameInfoList";
+  };
+
+  return ResGetWideDarkFrameInfoList;
+})();
+
+$root.ReqDelWideDarkFrame = (function () {
+  /**
+   * Properties of a ReqDelWideDarkFrame.
+   * @exports IReqDelWideDarkFrame
+   * @interface IReqDelWideDarkFrame
+   * @property {number|null} [expIndex] ReqDelWideDarkFrame expIndex
+   * @property {number|null} [gainIndex] ReqDelWideDarkFrame gainIndex
+   * @property {number|null} [binIndex] ReqDelWideDarkFrame binIndex
+   */
+
+  /**
+   * Constructs a new ReqDelWideDarkFrame.
+   * @exports ReqDelWideDarkFrame
+   * @classdesc Represents a ReqDelWideDarkFrame.
+   * @implements IReqDelWideDarkFrame
+   * @constructor
+   * @param {IReqDelWideDarkFrame=} [properties] Properties to set
+   */
+  function ReqDelWideDarkFrame(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDelWideDarkFrame expIndex.
+   * @member {number} expIndex
+   * @memberof ReqDelWideDarkFrame
+   * @instance
+   */
+  ReqDelWideDarkFrame.prototype.expIndex = 0;
+
+  /**
+   * ReqDelWideDarkFrame gainIndex.
+   * @member {number} gainIndex
+   * @memberof ReqDelWideDarkFrame
+   * @instance
+   */
+  ReqDelWideDarkFrame.prototype.gainIndex = 0;
+
+  /**
+   * ReqDelWideDarkFrame binIndex.
+   * @member {number} binIndex
+   * @memberof ReqDelWideDarkFrame
+   * @instance
+   */
+  ReqDelWideDarkFrame.prototype.binIndex = 0;
+
+  /**
+   * Creates a new ReqDelWideDarkFrame instance using the specified properties.
+   * @function create
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {IReqDelWideDarkFrame=} [properties] Properties to set
+   * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame instance
+   */
+  ReqDelWideDarkFrame.create = function create(properties) {
+    return new ReqDelWideDarkFrame(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDelWideDarkFrame message. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelWideDarkFrame.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex);
+    if (
+      message.binIndex != null &&
+      Object.hasOwnProperty.call(message, "binIndex")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelWideDarkFrame.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelWideDarkFrame.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDelWideDarkFrame();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 2: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.binIndex = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelWideDarkFrame.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDelWideDarkFrame message.
+   * @function verify
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDelWideDarkFrame.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      if (!$util.isInteger(message.binIndex))
+        return "binIndex: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame
+   */
+  ReqDelWideDarkFrame.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDelWideDarkFrame) return object;
+    var message = new $root.ReqDelWideDarkFrame();
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.binIndex != null) message.binIndex = object.binIndex | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {ReqDelWideDarkFrame} message ReqDelWideDarkFrame
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDelWideDarkFrame.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.binIndex = 0;
+    }
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.binIndex != null && message.hasOwnProperty("binIndex"))
+      object.binIndex = message.binIndex;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDelWideDarkFrame to JSON.
+   * @function toJSON
+   * @memberof ReqDelWideDarkFrame
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDelWideDarkFrame.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDelWideDarkFrame
+   * @function getTypeUrl
+   * @memberof ReqDelWideDarkFrame
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDelWideDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDelWideDarkFrame";
+  };
+
+  return ReqDelWideDarkFrame;
+})();
+
+$root.ReqDelWideDarkFrameList = (function () {
+  /**
+   * Properties of a ReqDelWideDarkFrameList.
+   * @exports IReqDelWideDarkFrameList
+   * @interface IReqDelWideDarkFrameList
+   * @property {Array.<IReqDelDarkFrame>|null} [darkList] ReqDelWideDarkFrameList darkList
+   */
+
+  /**
+   * Constructs a new ReqDelWideDarkFrameList.
+   * @exports ReqDelWideDarkFrameList
+   * @classdesc Represents a ReqDelWideDarkFrameList.
+   * @implements IReqDelWideDarkFrameList
+   * @constructor
+   * @param {IReqDelWideDarkFrameList=} [properties] Properties to set
+   */
+  function ReqDelWideDarkFrameList(properties) {
+    this.darkList = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDelWideDarkFrameList darkList.
+   * @member {Array.<IReqDelDarkFrame>} darkList
+   * @memberof ReqDelWideDarkFrameList
+   * @instance
+   */
+  ReqDelWideDarkFrameList.prototype.darkList = $util.emptyArray;
+
+  /**
+   * Creates a new ReqDelWideDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {IReqDelWideDarkFrameList=} [properties] Properties to set
+   * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList instance
+   */
+  ReqDelWideDarkFrameList.create = function create(properties) {
+    return new ReqDelWideDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelWideDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.darkList != null && message.darkList.length)
+      for (var i = 0; i < message.darkList.length; ++i)
+        $root.ReqDelDarkFrame.encode(
+          message.darkList[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDelWideDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelWideDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDelWideDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.darkList && message.darkList.length))
+            message.darkList = [];
+          message.darkList.push(
+            $root.ReqDelDarkFrame.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDelWideDarkFrameList message.
+   * @function verify
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDelWideDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.darkList != null && message.hasOwnProperty("darkList")) {
+      if (!Array.isArray(message.darkList)) return "darkList: array expected";
+      for (var i = 0; i < message.darkList.length; ++i) {
+        var error = $root.ReqDelDarkFrame.verify(message.darkList[i]);
+        if (error) return "darkList." + error;
+      }
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList
+   */
+  ReqDelWideDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDelWideDarkFrameList) return object;
+    var message = new $root.ReqDelWideDarkFrameList();
+    if (object.darkList) {
+      if (!Array.isArray(object.darkList))
+        throw TypeError(".ReqDelWideDarkFrameList.darkList: array expected");
+      message.darkList = [];
+      for (var i = 0; i < object.darkList.length; ++i) {
+        if (typeof object.darkList[i] !== "object")
+          throw TypeError(".ReqDelWideDarkFrameList.darkList: object expected");
+        message.darkList[i] = $root.ReqDelDarkFrame.fromObject(
+          object.darkList[i]
+        );
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {ReqDelWideDarkFrameList} message ReqDelWideDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDelWideDarkFrameList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.darkList = [];
+    if (message.darkList && message.darkList.length) {
+      object.darkList = [];
+      for (var j = 0; j < message.darkList.length; ++j)
+        object.darkList[j] = $root.ReqDelDarkFrame.toObject(
+          message.darkList[j],
+          options
+        );
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ReqDelWideDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ReqDelWideDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDelWideDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDelWideDarkFrameList
+   * @function getTypeUrl
+   * @memberof ReqDelWideDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDelWideDarkFrameList";
+  };
+
+  return ReqDelWideDarkFrameList;
+})();
+
+$root.ResDelWideDarkFrameList = (function () {
+  /**
+   * Properties of a ResDelWideDarkFrameList.
+   * @exports IResDelWideDarkFrameList
+   * @interface IResDelWideDarkFrameList
+   * @property {number|null} [code] ResDelWideDarkFrameList code
+   */
+
+  /**
+   * Constructs a new ResDelWideDarkFrameList.
+   * @exports ResDelWideDarkFrameList
+   * @classdesc Represents a ResDelWideDarkFrameList.
+   * @implements IResDelWideDarkFrameList
+   * @constructor
+   * @param {IResDelWideDarkFrameList=} [properties] Properties to set
+   */
+  function ResDelWideDarkFrameList(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDelWideDarkFrameList code.
+   * @member {number} code
+   * @memberof ResDelWideDarkFrameList
+   * @instance
+   */
+  ResDelWideDarkFrameList.prototype.code = 0;
+
+  /**
+   * Creates a new ResDelWideDarkFrameList instance using the specified properties.
+   * @function create
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {IResDelWideDarkFrameList=} [properties] Properties to set
+   * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList instance
+   */
+  ResDelWideDarkFrameList.create = function create(properties) {
+    return new ResDelWideDarkFrameList(properties);
+  };
+
+  /**
+   * Encodes the specified ResDelWideDarkFrameList message. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages.
+   * @function encode
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDelWideDarkFrameList.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDelWideDarkFrameList.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDelWideDarkFrameList.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDelWideDarkFrameList();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDelWideDarkFrameList message.
+   * @function verify
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDelWideDarkFrameList.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList
+   */
+  ResDelWideDarkFrameList.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDelWideDarkFrameList) return object;
+    var message = new $root.ResDelWideDarkFrameList();
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {ResDelWideDarkFrameList} message ResDelWideDarkFrameList
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDelWideDarkFrameList.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.code = 0;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResDelWideDarkFrameList to JSON.
+   * @function toJSON
+   * @memberof ResDelWideDarkFrameList
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDelWideDarkFrameList.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDelWideDarkFrameList
+   * @function getTypeUrl
+   * @memberof ResDelWideDarkFrameList
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDelWideDarkFrameList";
+  };
+
+  return ResDelWideDarkFrameList;
+})();
+
+/**
+ * WsMajorVersion enum.
+ * @exports WsMajorVersion
+ * @enum {number}
+ * @property {number} WS_MAJOR_VERSION_UNKNOWN=0 WS_MAJOR_VERSION_UNKNOWN value
+ * @property {number} WS_MAJOR_VERSION_NUMBER=1 WS_MAJOR_VERSION_NUMBER value
+ */
+$root.WsMajorVersion = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "WS_MAJOR_VERSION_UNKNOWN")] = 0;
+  values[(valuesById[1] = "WS_MAJOR_VERSION_NUMBER")] = 1;
+  return values;
+})();
+
+/**
+ * WsMinorVersion enum.
+ * @exports WsMinorVersion
+ * @enum {number}
+ * @property {number} WS_MINOR_VERSION_UNKNOWN=0 WS_MINOR_VERSION_UNKNOWN value
+ * @property {number} WS_MINOR_VERSION_NUMBER=9 WS_MINOR_VERSION_NUMBER value
+ */
+$root.WsMinorVersion = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "WS_MINOR_VERSION_UNKNOWN")] = 0;
+  values[(valuesById[9] = "WS_MINOR_VERSION_NUMBER")] = 9;
+  return values;
+})();
+
+$root.WsPacket = (function () {
+  /**
+   * Properties of a WsPacket.
+   * @exports IWsPacket
+   * @interface IWsPacket
+   * @property {number|null} [majorVersion] WsPacket majorVersion
+   * @property {number|null} [minorVersion] WsPacket minorVersion
+   * @property {number|null} [deviceId] WsPacket deviceId
+   * @property {number|null} [moduleId] WsPacket moduleId
+   * @property {number|null} [cmd] WsPacket cmd
+   * @property {number|null} [type] WsPacket type
+   * @property {Uint8Array|null} [data] WsPacket data
+   * @property {string|null} [clientId] WsPacket clientId
+   */
+
+  /**
+   * Constructs a new WsPacket.
+   * @exports WsPacket
+   * @classdesc Represents a WsPacket.
+   * @implements IWsPacket
+   * @constructor
+   * @param {IWsPacket=} [properties] Properties to set
+   */
+  function WsPacket(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * WsPacket majorVersion.
+   * @member {number} majorVersion
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.majorVersion = 0;
+
+  /**
+   * WsPacket minorVersion.
+   * @member {number} minorVersion
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.minorVersion = 0;
+
+  /**
+   * WsPacket deviceId.
+   * @member {number} deviceId
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.deviceId = 0;
+
+  /**
+   * WsPacket moduleId.
+   * @member {number} moduleId
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.moduleId = 0;
+
+  /**
+   * WsPacket cmd.
+   * @member {number} cmd
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.cmd = 0;
+
+  /**
+   * WsPacket type.
+   * @member {number} type
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.type = 0;
+
+  /**
+   * WsPacket data.
+   * @member {Uint8Array} data
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.data = $util.newBuffer([]);
+
+  /**
+   * WsPacket clientId.
+   * @member {string} clientId
+   * @memberof WsPacket
+   * @instance
+   */
+  WsPacket.prototype.clientId = "";
+
+  /**
+   * Creates a new WsPacket instance using the specified properties.
+   * @function create
+   * @memberof WsPacket
+   * @static
+   * @param {IWsPacket=} [properties] Properties to set
+   * @returns {WsPacket} WsPacket instance
+   */
+  WsPacket.create = function create(properties) {
+    return new WsPacket(properties);
+  };
+
+  /**
+   * Encodes the specified WsPacket message. Does not implicitly {@link WsPacket.verify|verify} messages.
+   * @function encode
+   * @memberof WsPacket
+   * @static
+   * @param {IWsPacket} message WsPacket message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  WsPacket.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.majorVersion != null &&
+      Object.hasOwnProperty.call(message, "majorVersion")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.majorVersion);
+    if (
+      message.minorVersion != null &&
+      Object.hasOwnProperty.call(message, "minorVersion")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.minorVersion);
+    if (
+      message.deviceId != null &&
+      Object.hasOwnProperty.call(message, "deviceId")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.deviceId);
+    if (
+      message.moduleId != null &&
+      Object.hasOwnProperty.call(message, "moduleId")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.moduleId);
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.cmd);
+    if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+      writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.type);
+    if (message.data != null && Object.hasOwnProperty.call(message, "data"))
+      writer.uint32(/* id 7, wireType 2 =*/ 58).bytes(message.data);
+    if (
+      message.clientId != null &&
+      Object.hasOwnProperty.call(message, "clientId")
+    )
+      writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.clientId);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified WsPacket message, length delimited. Does not implicitly {@link WsPacket.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof WsPacket
+   * @static
+   * @param {IWsPacket} message WsPacket message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  WsPacket.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a WsPacket message from the specified reader or buffer.
+   * @function decode
+   * @memberof WsPacket
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {WsPacket} WsPacket
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  WsPacket.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.WsPacket();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.majorVersion = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.minorVersion = reader.uint32();
+          break;
+        }
+        case 3: {
+          message.deviceId = reader.uint32();
+          break;
+        }
+        case 4: {
+          message.moduleId = reader.uint32();
+          break;
+        }
+        case 5: {
+          message.cmd = reader.uint32();
+          break;
+        }
+        case 6: {
+          message.type = reader.uint32();
+          break;
+        }
+        case 7: {
+          message.data = reader.bytes();
+          break;
+        }
+        case 8: {
+          message.clientId = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a WsPacket message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof WsPacket
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {WsPacket} WsPacket
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  WsPacket.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a WsPacket message.
+   * @function verify
+   * @memberof WsPacket
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  WsPacket.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.majorVersion != null && message.hasOwnProperty("majorVersion"))
+      if (!$util.isInteger(message.majorVersion))
+        return "majorVersion: integer expected";
+    if (message.minorVersion != null && message.hasOwnProperty("minorVersion"))
+      if (!$util.isInteger(message.minorVersion))
+        return "minorVersion: integer expected";
+    if (message.deviceId != null && message.hasOwnProperty("deviceId"))
+      if (!$util.isInteger(message.deviceId))
+        return "deviceId: integer expected";
+    if (message.moduleId != null && message.hasOwnProperty("moduleId"))
+      if (!$util.isInteger(message.moduleId))
+        return "moduleId: integer expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.type != null && message.hasOwnProperty("type"))
+      if (!$util.isInteger(message.type)) return "type: integer expected";
+    if (message.data != null && message.hasOwnProperty("data"))
+      if (
+        !(
+          (message.data && typeof message.data.length === "number") ||
+          $util.isString(message.data)
+        )
+      )
+        return "data: buffer expected";
+    if (message.clientId != null && message.hasOwnProperty("clientId"))
+      if (!$util.isString(message.clientId)) return "clientId: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a WsPacket message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof WsPacket
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {WsPacket} WsPacket
+   */
+  WsPacket.fromObject = function fromObject(object) {
+    if (object instanceof $root.WsPacket) return object;
+    var message = new $root.WsPacket();
+    if (object.majorVersion != null)
+      message.majorVersion = object.majorVersion >>> 0;
+    if (object.minorVersion != null)
+      message.minorVersion = object.minorVersion >>> 0;
+    if (object.deviceId != null) message.deviceId = object.deviceId >>> 0;
+    if (object.moduleId != null) message.moduleId = object.moduleId >>> 0;
+    if (object.cmd != null) message.cmd = object.cmd >>> 0;
+    if (object.type != null) message.type = object.type >>> 0;
+    if (object.data != null)
+      if (typeof object.data === "string")
+        $util.base64.decode(
+          object.data,
+          (message.data = $util.newBuffer($util.base64.length(object.data))),
+          0
+        );
+      else if (object.data.length >= 0) message.data = object.data;
+    if (object.clientId != null) message.clientId = String(object.clientId);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a WsPacket message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof WsPacket
+   * @static
+   * @param {WsPacket} message WsPacket
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  WsPacket.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.majorVersion = 0;
+      object.minorVersion = 0;
+      object.deviceId = 0;
+      object.moduleId = 0;
+      object.cmd = 0;
+      object.type = 0;
+      if (options.bytes === String) object.data = "";
+      else {
+        object.data = [];
+        if (options.bytes !== Array) object.data = $util.newBuffer(object.data);
+      }
+      object.clientId = "";
+    }
+    if (message.majorVersion != null && message.hasOwnProperty("majorVersion"))
+      object.majorVersion = message.majorVersion;
+    if (message.minorVersion != null && message.hasOwnProperty("minorVersion"))
+      object.minorVersion = message.minorVersion;
+    if (message.deviceId != null && message.hasOwnProperty("deviceId"))
+      object.deviceId = message.deviceId;
+    if (message.moduleId != null && message.hasOwnProperty("moduleId"))
+      object.moduleId = message.moduleId;
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.type != null && message.hasOwnProperty("type"))
+      object.type = message.type;
+    if (message.data != null && message.hasOwnProperty("data"))
+      object.data =
+        options.bytes === String
+          ? $util.base64.encode(message.data, 0, message.data.length)
+          : options.bytes === Array
+          ? Array.prototype.slice.call(message.data)
+          : message.data;
+    if (message.clientId != null && message.hasOwnProperty("clientId"))
+      object.clientId = message.clientId;
+    return object;
+  };
+
+  /**
+   * Converts this WsPacket to JSON.
+   * @function toJSON
+   * @memberof WsPacket
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  WsPacket.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for WsPacket
+   * @function getTypeUrl
+   * @memberof WsPacket
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  WsPacket.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/WsPacket";
+  };
+
+  return WsPacket;
+})();
+
+$root.ComResponse = (function () {
+  /**
+   * Properties of a ComResponse.
+   * @exports IComResponse
+   * @interface IComResponse
+   * @property {number|null} [code] ComResponse code
+   */
+
+  /**
+   * Constructs a new ComResponse.
+   * @exports ComResponse
+   * @classdesc Represents a ComResponse.
+   * @implements IComResponse
+   * @constructor
+   * @param {IComResponse=} [properties] Properties to set
+   */
+  function ComResponse(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ComResponse code.
+   * @member {number} code
+   * @memberof ComResponse
+   * @instance
+   */
+  ComResponse.prototype.code = 0;
+
+  /**
+   * Creates a new ComResponse instance using the specified properties.
+   * @function create
+   * @memberof ComResponse
+   * @static
+   * @param {IComResponse=} [properties] Properties to set
+   * @returns {ComResponse} ComResponse instance
+   */
+  ComResponse.create = function create(properties) {
+    return new ComResponse(properties);
+  };
+
+  /**
+   * Encodes the specified ComResponse message. Does not implicitly {@link ComResponse.verify|verify} messages.
+   * @function encode
+   * @memberof ComResponse
+   * @static
+   * @param {IComResponse} message ComResponse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResponse.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ComResponse message, length delimited. Does not implicitly {@link ComResponse.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ComResponse
+   * @static
+   * @param {IComResponse} message ComResponse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResponse.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ComResponse message from the specified reader or buffer.
+   * @function decode
+   * @memberof ComResponse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ComResponse} ComResponse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResponse.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ComResponse();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ComResponse message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ComResponse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ComResponse} ComResponse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResponse.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ComResponse message.
+   * @function verify
+   * @memberof ComResponse
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ComResponse.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ComResponse message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ComResponse
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ComResponse} ComResponse
+   */
+  ComResponse.fromObject = function fromObject(object) {
+    if (object instanceof $root.ComResponse) return object;
+    var message = new $root.ComResponse();
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ComResponse message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ComResponse
+   * @static
+   * @param {ComResponse} message ComResponse
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ComResponse.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.code = 0;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ComResponse to JSON.
+   * @function toJSON
+   * @memberof ComResponse
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ComResponse.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ComResponse
+   * @function getTypeUrl
+   * @memberof ComResponse
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ComResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ComResponse";
+  };
+
+  return ComResponse;
+})();
+
+$root.ComResWithInt = (function () {
+  /**
+   * Properties of a ComResWithInt.
+   * @exports IComResWithInt
+   * @interface IComResWithInt
+   * @property {number|null} [value] ComResWithInt value
+   * @property {number|null} [code] ComResWithInt code
+   */
+
+  /**
+   * Constructs a new ComResWithInt.
+   * @exports ComResWithInt
+   * @classdesc Represents a ComResWithInt.
+   * @implements IComResWithInt
+   * @constructor
+   * @param {IComResWithInt=} [properties] Properties to set
+   */
+  function ComResWithInt(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ComResWithInt value.
+   * @member {number} value
+   * @memberof ComResWithInt
+   * @instance
+   */
+  ComResWithInt.prototype.value = 0;
+
+  /**
+   * ComResWithInt code.
+   * @member {number} code
+   * @memberof ComResWithInt
+   * @instance
+   */
+  ComResWithInt.prototype.code = 0;
+
+  /**
+   * Creates a new ComResWithInt instance using the specified properties.
+   * @function create
+   * @memberof ComResWithInt
+   * @static
+   * @param {IComResWithInt=} [properties] Properties to set
+   * @returns {ComResWithInt} ComResWithInt instance
+   */
+  ComResWithInt.create = function create(properties) {
+    return new ComResWithInt(properties);
+  };
+
+  /**
+   * Encodes the specified ComResWithInt message. Does not implicitly {@link ComResWithInt.verify|verify} messages.
+   * @function encode
+   * @memberof ComResWithInt
+   * @static
+   * @param {IComResWithInt} message ComResWithInt message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithInt.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ComResWithInt message, length delimited. Does not implicitly {@link ComResWithInt.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ComResWithInt
+   * @static
+   * @param {IComResWithInt} message ComResWithInt message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithInt.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ComResWithInt message from the specified reader or buffer.
+   * @function decode
+   * @memberof ComResWithInt
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ComResWithInt} ComResWithInt
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithInt.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ComResWithInt();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ComResWithInt message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ComResWithInt
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ComResWithInt} ComResWithInt
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithInt.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ComResWithInt message.
+   * @function verify
+   * @memberof ComResWithInt
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ComResWithInt.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ComResWithInt
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ComResWithInt} ComResWithInt
+   */
+  ComResWithInt.fromObject = function fromObject(object) {
+    if (object instanceof $root.ComResWithInt) return object;
+    var message = new $root.ComResWithInt();
+    if (object.value != null) message.value = object.value | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ComResWithInt message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ComResWithInt
+   * @static
+   * @param {ComResWithInt} message ComResWithInt
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ComResWithInt.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.value = 0;
+      object.code = 0;
+    }
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ComResWithInt to JSON.
+   * @function toJSON
+   * @memberof ComResWithInt
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ComResWithInt.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ComResWithInt
+   * @function getTypeUrl
+   * @memberof ComResWithInt
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ComResWithInt.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ComResWithInt";
+  };
+
+  return ComResWithInt;
+})();
+
+$root.ComResWithDouble = (function () {
+  /**
+   * Properties of a ComResWithDouble.
+   * @exports IComResWithDouble
+   * @interface IComResWithDouble
+   * @property {number|null} [value] ComResWithDouble value
+   * @property {number|null} [code] ComResWithDouble code
+   */
+
+  /**
+   * Constructs a new ComResWithDouble.
+   * @exports ComResWithDouble
+   * @classdesc Represents a ComResWithDouble.
+   * @implements IComResWithDouble
+   * @constructor
+   * @param {IComResWithDouble=} [properties] Properties to set
+   */
+  function ComResWithDouble(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ComResWithDouble value.
+   * @member {number} value
+   * @memberof ComResWithDouble
+   * @instance
+   */
+  ComResWithDouble.prototype.value = 0;
+
+  /**
+   * ComResWithDouble code.
+   * @member {number} code
+   * @memberof ComResWithDouble
+   * @instance
+   */
+  ComResWithDouble.prototype.code = 0;
+
+  /**
+   * Creates a new ComResWithDouble instance using the specified properties.
+   * @function create
+   * @memberof ComResWithDouble
+   * @static
+   * @param {IComResWithDouble=} [properties] Properties to set
+   * @returns {ComResWithDouble} ComResWithDouble instance
+   */
+  ComResWithDouble.create = function create(properties) {
+    return new ComResWithDouble(properties);
+  };
+
+  /**
+   * Encodes the specified ComResWithDouble message. Does not implicitly {@link ComResWithDouble.verify|verify} messages.
+   * @function encode
+   * @memberof ComResWithDouble
+   * @static
+   * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithDouble.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.value);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ComResWithDouble message, length delimited. Does not implicitly {@link ComResWithDouble.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ComResWithDouble
+   * @static
+   * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithDouble.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ComResWithDouble message from the specified reader or buffer.
+   * @function decode
+   * @memberof ComResWithDouble
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ComResWithDouble} ComResWithDouble
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithDouble.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ComResWithDouble();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.double();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ComResWithDouble message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ComResWithDouble
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ComResWithDouble} ComResWithDouble
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithDouble.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ComResWithDouble message.
+   * @function verify
+   * @memberof ComResWithDouble
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ComResWithDouble.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (typeof message.value !== "number") return "value: number expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ComResWithDouble
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ComResWithDouble} ComResWithDouble
+   */
+  ComResWithDouble.fromObject = function fromObject(object) {
+    if (object instanceof $root.ComResWithDouble) return object;
+    var message = new $root.ComResWithDouble();
+    if (object.value != null) message.value = Number(object.value);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ComResWithDouble
+   * @static
+   * @param {ComResWithDouble} message ComResWithDouble
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ComResWithDouble.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.value = 0;
+      object.code = 0;
+    }
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value =
+        options.json && !isFinite(message.value)
+          ? String(message.value)
+          : message.value;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ComResWithDouble to JSON.
+   * @function toJSON
+   * @memberof ComResWithDouble
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ComResWithDouble.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ComResWithDouble
+   * @function getTypeUrl
+   * @memberof ComResWithDouble
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ComResWithDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ComResWithDouble";
+  };
+
+  return ComResWithDouble;
+})();
+
+$root.ComResWithString = (function () {
+  /**
+   * Properties of a ComResWithString.
+   * @exports IComResWithString
+   * @interface IComResWithString
+   * @property {string|null} [str] ComResWithString str
+   * @property {number|null} [code] ComResWithString code
+   */
+
+  /**
+   * Constructs a new ComResWithString.
+   * @exports ComResWithString
+   * @classdesc Represents a ComResWithString.
+   * @implements IComResWithString
+   * @constructor
+   * @param {IComResWithString=} [properties] Properties to set
+   */
+  function ComResWithString(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ComResWithString str.
+   * @member {string} str
+   * @memberof ComResWithString
+   * @instance
+   */
+  ComResWithString.prototype.str = "";
+
+  /**
+   * ComResWithString code.
+   * @member {number} code
+   * @memberof ComResWithString
+   * @instance
+   */
+  ComResWithString.prototype.code = 0;
+
+  /**
+   * Creates a new ComResWithString instance using the specified properties.
+   * @function create
+   * @memberof ComResWithString
+   * @static
+   * @param {IComResWithString=} [properties] Properties to set
+   * @returns {ComResWithString} ComResWithString instance
+   */
+  ComResWithString.create = function create(properties) {
+    return new ComResWithString(properties);
+  };
+
+  /**
+   * Encodes the specified ComResWithString message. Does not implicitly {@link ComResWithString.verify|verify} messages.
+   * @function encode
+   * @memberof ComResWithString
+   * @static
+   * @param {IComResWithString} message ComResWithString message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithString.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.str != null && Object.hasOwnProperty.call(message, "str"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.str);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ComResWithString message, length delimited. Does not implicitly {@link ComResWithString.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ComResWithString
+   * @static
+   * @param {IComResWithString} message ComResWithString message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ComResWithString.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ComResWithString message from the specified reader or buffer.
+   * @function decode
+   * @memberof ComResWithString
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ComResWithString} ComResWithString
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithString.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ComResWithString();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.str = reader.string();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ComResWithString message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ComResWithString
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ComResWithString} ComResWithString
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ComResWithString.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ComResWithString message.
+   * @function verify
+   * @memberof ComResWithString
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ComResWithString.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.str != null && message.hasOwnProperty("str"))
+      if (!$util.isString(message.str)) return "str: string expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ComResWithString message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ComResWithString
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ComResWithString} ComResWithString
+   */
+  ComResWithString.fromObject = function fromObject(object) {
+    if (object instanceof $root.ComResWithString) return object;
+    var message = new $root.ComResWithString();
+    if (object.str != null) message.str = String(object.str);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ComResWithString message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ComResWithString
+   * @static
+   * @param {ComResWithString} message ComResWithString
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ComResWithString.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.str = "";
+      object.code = 0;
+    }
+    if (message.str != null && message.hasOwnProperty("str"))
+      object.str = message.str;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ComResWithString to JSON.
+   * @function toJSON
+   * @memberof ComResWithString
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ComResWithString.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ComResWithString
+   * @function getTypeUrl
+   * @memberof ComResWithString
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ComResWithString.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ComResWithString";
+  };
+
+  return ComResWithString;
+})();
+
+$root.CommonParam = (function () {
+  /**
+   * Properties of a CommonParam.
+   * @exports ICommonParam
+   * @interface ICommonParam
+   * @property {boolean|null} [hasAuto] CommonParam hasAuto
+   * @property {number|null} [autoMode] CommonParam autoMode
+   * @property {number|null} [id] CommonParam id
+   * @property {number|null} [modeIndex] CommonParam modeIndex
+   * @property {number|null} [index] CommonParam index
+   * @property {number|null} [continueValue] CommonParam continueValue
+   */
+
+  /**
+   * Constructs a new CommonParam.
+   * @exports CommonParam
+   * @classdesc Represents a CommonParam.
+   * @implements ICommonParam
+   * @constructor
+   * @param {ICommonParam=} [properties] Properties to set
+   */
+  function CommonParam(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * CommonParam hasAuto.
+   * @member {boolean} hasAuto
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.hasAuto = false;
+
+  /**
+   * CommonParam autoMode.
+   * @member {number} autoMode
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.autoMode = 0;
+
+  /**
+   * CommonParam id.
+   * @member {number} id
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.id = 0;
+
+  /**
+   * CommonParam modeIndex.
+   * @member {number} modeIndex
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.modeIndex = 0;
+
+  /**
+   * CommonParam index.
+   * @member {number} index
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.index = 0;
+
+  /**
+   * CommonParam continueValue.
+   * @member {number} continueValue
+   * @memberof CommonParam
+   * @instance
+   */
+  CommonParam.prototype.continueValue = 0;
+
+  /**
+   * Creates a new CommonParam instance using the specified properties.
+   * @function create
+   * @memberof CommonParam
+   * @static
+   * @param {ICommonParam=} [properties] Properties to set
+   * @returns {CommonParam} CommonParam instance
+   */
+  CommonParam.create = function create(properties) {
+    return new CommonParam(properties);
+  };
+
+  /**
+   * Encodes the specified CommonParam message. Does not implicitly {@link CommonParam.verify|verify} messages.
+   * @function encode
+   * @memberof CommonParam
+   * @static
+   * @param {ICommonParam} message CommonParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  CommonParam.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.hasAuto != null &&
+      Object.hasOwnProperty.call(message, "hasAuto")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.hasAuto);
+    if (
+      message.autoMode != null &&
+      Object.hasOwnProperty.call(message, "autoMode")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoMode);
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.id);
+    if (
+      message.modeIndex != null &&
+      Object.hasOwnProperty.call(message, "modeIndex")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.modeIndex);
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.index);
+    if (
+      message.continueValue != null &&
+      Object.hasOwnProperty.call(message, "continueValue")
+    )
+      writer.uint32(/* id 6, wireType 1 =*/ 49).double(message.continueValue);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified CommonParam message, length delimited. Does not implicitly {@link CommonParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof CommonParam
+   * @static
+   * @param {ICommonParam} message CommonParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  CommonParam.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a CommonParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof CommonParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {CommonParam} CommonParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  CommonParam.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.CommonParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.hasAuto = reader.bool();
+          break;
+        }
+        case 2: {
+          message.autoMode = reader.int32();
+          break;
+        }
+        case 3: {
+          message.id = reader.int32();
+          break;
+        }
+        case 4: {
+          message.modeIndex = reader.int32();
+          break;
+        }
+        case 5: {
+          message.index = reader.int32();
+          break;
+        }
+        case 6: {
+          message.continueValue = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a CommonParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof CommonParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {CommonParam} CommonParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  CommonParam.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a CommonParam message.
+   * @function verify
+   * @memberof CommonParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  CommonParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.hasAuto != null && message.hasOwnProperty("hasAuto"))
+      if (typeof message.hasAuto !== "boolean")
+        return "hasAuto: boolean expected";
+    if (message.autoMode != null && message.hasOwnProperty("autoMode"))
+      if (!$util.isInteger(message.autoMode))
+        return "autoMode: integer expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.modeIndex != null && message.hasOwnProperty("modeIndex"))
+      if (!$util.isInteger(message.modeIndex))
+        return "modeIndex: integer expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    if (
+      message.continueValue != null &&
+      message.hasOwnProperty("continueValue")
+    )
+      if (typeof message.continueValue !== "number")
+        return "continueValue: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a CommonParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof CommonParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {CommonParam} CommonParam
+   */
+  CommonParam.fromObject = function fromObject(object) {
+    if (object instanceof $root.CommonParam) return object;
+    var message = new $root.CommonParam();
+    if (object.hasAuto != null) message.hasAuto = Boolean(object.hasAuto);
+    if (object.autoMode != null) message.autoMode = object.autoMode | 0;
+    if (object.id != null) message.id = object.id | 0;
+    if (object.modeIndex != null) message.modeIndex = object.modeIndex | 0;
+    if (object.index != null) message.index = object.index | 0;
+    if (object.continueValue != null)
+      message.continueValue = Number(object.continueValue);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a CommonParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof CommonParam
+   * @static
+   * @param {CommonParam} message CommonParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  CommonParam.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.hasAuto = false;
+      object.autoMode = 0;
+      object.id = 0;
+      object.modeIndex = 0;
+      object.index = 0;
+      object.continueValue = 0;
+    }
+    if (message.hasAuto != null && message.hasOwnProperty("hasAuto"))
+      object.hasAuto = message.hasAuto;
+    if (message.autoMode != null && message.hasOwnProperty("autoMode"))
+      object.autoMode = message.autoMode;
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.modeIndex != null && message.hasOwnProperty("modeIndex"))
+      object.modeIndex = message.modeIndex;
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    if (
+      message.continueValue != null &&
+      message.hasOwnProperty("continueValue")
+    )
+      object.continueValue =
+        options.json && !isFinite(message.continueValue)
+          ? String(message.continueValue)
+          : message.continueValue;
+    return object;
+  };
+
+  /**
+   * Converts this CommonParam to JSON.
+   * @function toJSON
+   * @memberof CommonParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  CommonParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for CommonParam
+   * @function getTypeUrl
+   * @memberof CommonParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  CommonParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/CommonParam";
+  };
+
+  return CommonParam;
+})();
+
+/**
+ * DwarfBleErrorCode enum.
+ * @exports DwarfBleErrorCode
+ * @enum {number}
+ * @property {number} BLE_OK=0 BLE_OK value
+ * @property {number} BLE_PASSWORD_ERROR=-1 BLE_PASSWORD_ERROR value
+ * @property {number} BLE_MESSAGE_MALLOC_ERROR=-2 BLE_MESSAGE_MALLOC_ERROR value
+ * @property {number} BLE_MESSAGE_PARSE_ERROR=-3 BLE_MESSAGE_PARSE_ERROR value
+ * @property {number} BLE_MESSAGE_CRC_ERROR=-4 BLE_MESSAGE_CRC_ERROR value
+ * @property {number} BLE_WIFI_CONFIGING=-5 BLE_WIFI_CONFIGING value
+ * @property {number} BLE_WIFI_CONFIGED=-6 BLE_WIFI_CONFIGED value
+ * @property {number} BLE_GET_WIFI_LIST_ERROR=-7 BLE_GET_WIFI_LIST_ERROR value
+ * @property {number} BLE_WIFI_STA_PASSWORD_EMPTY=-8 BLE_WIFI_STA_PASSWORD_EMPTY value
+ * @property {number} BLE_WIFI_STA_PASSWORD_ERROR=-9 BLE_WIFI_STA_PASSWORD_ERROR value
+ * @property {number} BLE_WIFI_SET_SSID_PSD_ERROR=-10 BLE_WIFI_SET_SSID_PSD_ERROR value
+ * @property {number} BLE_WIFI_RESET_WAITING=-11 BLE_WIFI_RESET_WAITING value
+ * @property {number} BLE_WIFI_RESETED=-12 BLE_WIFI_RESETED value
+ * @property {number} BLE_GET_SYSTEM_INFO_ERROR=-13 BLE_GET_SYSTEM_INFO_ERROR value
+ * @property {number} BLE_RECEIVE_FRAME_HEAD_ERROR=-14 BLE_RECEIVE_FRAME_HEAD_ERROR value
+ * @property {number} BLE_RECEIVE_FRAME_TAIL_ERROR=-15 BLE_RECEIVE_FRAME_TAIL_ERROR value
+ * @property {number} BLE_CHECK_FILE_NOT_EXIST=-16 BLE_CHECK_FILE_NOT_EXIST value
+ * @property {number} BLE_CHECK_FILE_MD5_ERROR=-17 BLE_CHECK_FILE_MD5_ERROR value
+ * @property {number} BLE_WIFI_RESET_FAILED=-18 BLE_WIFI_RESET_FAILED value
+ */
+$root.DwarfBleErrorCode = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "BLE_OK")] = 0;
+  values[(valuesById[-1] = "BLE_PASSWORD_ERROR")] = -1;
+  values[(valuesById[-2] = "BLE_MESSAGE_MALLOC_ERROR")] = -2;
+  values[(valuesById[-3] = "BLE_MESSAGE_PARSE_ERROR")] = -3;
+  values[(valuesById[-4] = "BLE_MESSAGE_CRC_ERROR")] = -4;
+  values[(valuesById[-5] = "BLE_WIFI_CONFIGING")] = -5;
+  values[(valuesById[-6] = "BLE_WIFI_CONFIGED")] = -6;
+  values[(valuesById[-7] = "BLE_GET_WIFI_LIST_ERROR")] = -7;
+  values[(valuesById[-8] = "BLE_WIFI_STA_PASSWORD_EMPTY")] = -8;
+  values[(valuesById[-9] = "BLE_WIFI_STA_PASSWORD_ERROR")] = -9;
+  values[(valuesById[-10] = "BLE_WIFI_SET_SSID_PSD_ERROR")] = -10;
+  values[(valuesById[-11] = "BLE_WIFI_RESET_WAITING")] = -11;
+  values[(valuesById[-12] = "BLE_WIFI_RESETED")] = -12;
+  values[(valuesById[-13] = "BLE_GET_SYSTEM_INFO_ERROR")] = -13;
+  values[(valuesById[-14] = "BLE_RECEIVE_FRAME_HEAD_ERROR")] = -14;
+  values[(valuesById[-15] = "BLE_RECEIVE_FRAME_TAIL_ERROR")] = -15;
+  values[(valuesById[-16] = "BLE_CHECK_FILE_NOT_EXIST")] = -16;
+  values[(valuesById[-17] = "BLE_CHECK_FILE_MD5_ERROR")] = -17;
+  values[(valuesById[-18] = "BLE_WIFI_RESET_FAILED")] = -18;
+  return values;
+})();
+
+$root.ReqGetconfig = (function () {
+  /**
+   * Properties of a ReqGetconfig.
+   * @exports IReqGetconfig
+   * @interface IReqGetconfig
+   * @property {number|null} [cmd] ReqGetconfig cmd
+   * @property {string|null} [blePsd] ReqGetconfig blePsd
+   */
+
+  /**
+   * Constructs a new ReqGetconfig.
+   * @exports ReqGetconfig
+   * @classdesc Represents a ReqGetconfig.
+   * @implements IReqGetconfig
+   * @constructor
+   * @param {IReqGetconfig=} [properties] Properties to set
+   */
+  function ReqGetconfig(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetconfig cmd.
+   * @member {number} cmd
+   * @memberof ReqGetconfig
+   * @instance
+   */
+  ReqGetconfig.prototype.cmd = 0;
+
+  /**
+   * ReqGetconfig blePsd.
+   * @member {string} blePsd
+   * @memberof ReqGetconfig
+   * @instance
+   */
+  ReqGetconfig.prototype.blePsd = "";
+
+  /**
+   * Creates a new ReqGetconfig instance using the specified properties.
+   * @function create
+   * @memberof ReqGetconfig
+   * @static
+   * @param {IReqGetconfig=} [properties] Properties to set
+   * @returns {ReqGetconfig} ReqGetconfig instance
+   */
+  ReqGetconfig.create = function create(properties) {
+    return new ReqGetconfig(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetconfig message. Does not implicitly {@link ReqGetconfig.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetconfig
+   * @static
+   * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetconfig.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.blePsd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetconfig message, length delimited. Does not implicitly {@link ReqGetconfig.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetconfig
+   * @static
+   * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetconfig.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetconfig message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetconfig
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetconfig} ReqGetconfig
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetconfig.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetconfig();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.blePsd = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetconfig message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetconfig
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetconfig} ReqGetconfig
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetconfig.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetconfig message.
+   * @function verify
+   * @memberof ReqGetconfig
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetconfig.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      if (!$util.isString(message.blePsd)) return "blePsd: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetconfig
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetconfig} ReqGetconfig
+   */
+  ReqGetconfig.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetconfig) return object;
+    var message = new $root.ReqGetconfig();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.blePsd != null) message.blePsd = String(object.blePsd);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetconfig
+   * @static
+   * @param {ReqGetconfig} message ReqGetconfig
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetconfig.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.blePsd = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      object.blePsd = message.blePsd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetconfig to JSON.
+   * @function toJSON
+   * @memberof ReqGetconfig
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetconfig.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetconfig
+   * @function getTypeUrl
+   * @memberof ReqGetconfig
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetconfig";
+  };
+
+  return ReqGetconfig;
+})();
+
+$root.ReqAp = (function () {
+  /**
+   * Properties of a ReqAp.
+   * @exports IReqAp
+   * @interface IReqAp
+   * @property {number|null} [cmd] ReqAp cmd
+   * @property {number|null} [wifiType] ReqAp wifiType
+   * @property {number|null} [autoStart] ReqAp autoStart
+   * @property {number|null} [countryList] ReqAp countryList
+   * @property {string|null} [country] ReqAp country
+   * @property {string|null} [blePsd] ReqAp blePsd
+   */
+
+  /**
+   * Constructs a new ReqAp.
+   * @exports ReqAp
+   * @classdesc Represents a ReqAp.
+   * @implements IReqAp
+   * @constructor
+   * @param {IReqAp=} [properties] Properties to set
+   */
+  function ReqAp(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqAp cmd.
+   * @member {number} cmd
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.cmd = 0;
+
+  /**
+   * ReqAp wifiType.
+   * @member {number} wifiType
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.wifiType = 0;
+
+  /**
+   * ReqAp autoStart.
+   * @member {number} autoStart
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.autoStart = 0;
+
+  /**
+   * ReqAp countryList.
+   * @member {number} countryList
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.countryList = 0;
+
+  /**
+   * ReqAp country.
+   * @member {string} country
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.country = "";
+
+  /**
+   * ReqAp blePsd.
+   * @member {string} blePsd
+   * @memberof ReqAp
+   * @instance
+   */
+  ReqAp.prototype.blePsd = "";
+
+  /**
+   * Creates a new ReqAp instance using the specified properties.
+   * @function create
+   * @memberof ReqAp
+   * @static
+   * @param {IReqAp=} [properties] Properties to set
+   * @returns {ReqAp} ReqAp instance
+   */
+  ReqAp.create = function create(properties) {
+    return new ReqAp(properties);
+  };
+
+  /**
+   * Encodes the specified ReqAp message. Does not implicitly {@link ReqAp.verify|verify} messages.
+   * @function encode
+   * @memberof ReqAp
+   * @static
+   * @param {IReqAp} message ReqAp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqAp.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (
+      message.wifiType != null &&
+      Object.hasOwnProperty.call(message, "wifiType")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.wifiType);
+    if (
+      message.autoStart != null &&
+      Object.hasOwnProperty.call(message, "autoStart")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.autoStart);
+    if (
+      message.countryList != null &&
+      Object.hasOwnProperty.call(message, "countryList")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.countryList);
+    if (
+      message.country != null &&
+      Object.hasOwnProperty.call(message, "country")
+    )
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.country);
+    if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd"))
+      writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.blePsd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqAp message, length delimited. Does not implicitly {@link ReqAp.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqAp
+   * @static
+   * @param {IReqAp} message ReqAp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqAp.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqAp message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqAp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqAp} ReqAp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqAp.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqAp();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.wifiType = reader.int32();
+          break;
+        }
+        case 3: {
+          message.autoStart = reader.int32();
+          break;
+        }
+        case 4: {
+          message.countryList = reader.int32();
+          break;
+        }
+        case 5: {
+          message.country = reader.string();
+          break;
+        }
+        case 6: {
+          message.blePsd = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqAp message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqAp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqAp} ReqAp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqAp.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqAp message.
+   * @function verify
+   * @memberof ReqAp
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqAp.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.wifiType != null && message.hasOwnProperty("wifiType"))
+      if (!$util.isInteger(message.wifiType))
+        return "wifiType: integer expected";
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      if (!$util.isInteger(message.autoStart))
+        return "autoStart: integer expected";
+    if (message.countryList != null && message.hasOwnProperty("countryList"))
+      if (!$util.isInteger(message.countryList))
+        return "countryList: integer expected";
+    if (message.country != null && message.hasOwnProperty("country"))
+      if (!$util.isString(message.country)) return "country: string expected";
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      if (!$util.isString(message.blePsd)) return "blePsd: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqAp message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqAp
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqAp} ReqAp
+   */
+  ReqAp.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqAp) return object;
+    var message = new $root.ReqAp();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.wifiType != null) message.wifiType = object.wifiType | 0;
+    if (object.autoStart != null) message.autoStart = object.autoStart | 0;
+    if (object.countryList != null)
+      message.countryList = object.countryList | 0;
+    if (object.country != null) message.country = String(object.country);
+    if (object.blePsd != null) message.blePsd = String(object.blePsd);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqAp message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqAp
+   * @static
+   * @param {ReqAp} message ReqAp
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqAp.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.wifiType = 0;
+      object.autoStart = 0;
+      object.countryList = 0;
+      object.country = "";
+      object.blePsd = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.wifiType != null && message.hasOwnProperty("wifiType"))
+      object.wifiType = message.wifiType;
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      object.autoStart = message.autoStart;
+    if (message.countryList != null && message.hasOwnProperty("countryList"))
+      object.countryList = message.countryList;
+    if (message.country != null && message.hasOwnProperty("country"))
+      object.country = message.country;
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      object.blePsd = message.blePsd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqAp to JSON.
+   * @function toJSON
+   * @memberof ReqAp
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqAp.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqAp
+   * @function getTypeUrl
+   * @memberof ReqAp
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqAp";
+  };
+
+  return ReqAp;
+})();
+
+$root.ReqSta = (function () {
+  /**
+   * Properties of a ReqSta.
+   * @exports IReqSta
+   * @interface IReqSta
+   * @property {number|null} [cmd] ReqSta cmd
+   * @property {number|null} [autoStart] ReqSta autoStart
+   * @property {string|null} [blePsd] ReqSta blePsd
+   * @property {string|null} [ssid] ReqSta ssid
+   * @property {string|null} [psd] ReqSta psd
+   */
+
+  /**
+   * Constructs a new ReqSta.
+   * @exports ReqSta
+   * @classdesc Represents a ReqSta.
+   * @implements IReqSta
+   * @constructor
+   * @param {IReqSta=} [properties] Properties to set
+   */
+  function ReqSta(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSta cmd.
+   * @member {number} cmd
+   * @memberof ReqSta
+   * @instance
+   */
+  ReqSta.prototype.cmd = 0;
+
+  /**
+   * ReqSta autoStart.
+   * @member {number} autoStart
+   * @memberof ReqSta
+   * @instance
+   */
+  ReqSta.prototype.autoStart = 0;
+
+  /**
+   * ReqSta blePsd.
+   * @member {string} blePsd
+   * @memberof ReqSta
+   * @instance
+   */
+  ReqSta.prototype.blePsd = "";
+
+  /**
+   * ReqSta ssid.
+   * @member {string} ssid
+   * @memberof ReqSta
+   * @instance
+   */
+  ReqSta.prototype.ssid = "";
+
+  /**
+   * ReqSta psd.
+   * @member {string} psd
+   * @memberof ReqSta
+   * @instance
+   */
+  ReqSta.prototype.psd = "";
+
+  /**
+   * Creates a new ReqSta instance using the specified properties.
+   * @function create
+   * @memberof ReqSta
+   * @static
+   * @param {IReqSta=} [properties] Properties to set
+   * @returns {ReqSta} ReqSta instance
+   */
+  ReqSta.create = function create(properties) {
+    return new ReqSta(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSta message. Does not implicitly {@link ReqSta.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSta
+   * @static
+   * @param {IReqSta} message ReqSta message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSta.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (
+      message.autoStart != null &&
+      Object.hasOwnProperty.call(message, "autoStart")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoStart);
+    if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd"))
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd);
+    if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid);
+    if (message.psd != null && Object.hasOwnProperty.call(message, "psd"))
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSta message, length delimited. Does not implicitly {@link ReqSta.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSta
+   * @static
+   * @param {IReqSta} message ReqSta message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSta.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSta message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSta
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSta} ReqSta
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSta.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSta();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.autoStart = reader.int32();
+          break;
+        }
+        case 3: {
+          message.blePsd = reader.string();
+          break;
+        }
+        case 4: {
+          message.ssid = reader.string();
+          break;
+        }
+        case 5: {
+          message.psd = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSta message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSta
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSta} ReqSta
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSta.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSta message.
+   * @function verify
+   * @memberof ReqSta
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSta.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      if (!$util.isInteger(message.autoStart))
+        return "autoStart: integer expected";
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      if (!$util.isString(message.blePsd)) return "blePsd: string expected";
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      if (!$util.isString(message.ssid)) return "ssid: string expected";
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      if (!$util.isString(message.psd)) return "psd: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSta message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSta
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSta} ReqSta
+   */
+  ReqSta.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSta) return object;
+    var message = new $root.ReqSta();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.autoStart != null) message.autoStart = object.autoStart | 0;
+    if (object.blePsd != null) message.blePsd = String(object.blePsd);
+    if (object.ssid != null) message.ssid = String(object.ssid);
+    if (object.psd != null) message.psd = String(object.psd);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSta message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSta
+   * @static
+   * @param {ReqSta} message ReqSta
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSta.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.autoStart = 0;
+      object.blePsd = "";
+      object.ssid = "";
+      object.psd = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      object.autoStart = message.autoStart;
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      object.blePsd = message.blePsd;
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      object.ssid = message.ssid;
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      object.psd = message.psd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSta to JSON.
+   * @function toJSON
+   * @memberof ReqSta
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSta.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSta
+   * @function getTypeUrl
+   * @memberof ReqSta
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSta";
+  };
+
+  return ReqSta;
+})();
+
+$root.ReqSetblewifi = (function () {
+  /**
+   * Properties of a ReqSetblewifi.
+   * @exports IReqSetblewifi
+   * @interface IReqSetblewifi
+   * @property {number|null} [cmd] ReqSetblewifi cmd
+   * @property {number|null} [mode] ReqSetblewifi mode
+   * @property {string|null} [blePsd] ReqSetblewifi blePsd
+   * @property {string|null} [value] ReqSetblewifi value
+   */
+
+  /**
+   * Constructs a new ReqSetblewifi.
+   * @exports ReqSetblewifi
+   * @classdesc Represents a ReqSetblewifi.
+   * @implements IReqSetblewifi
+   * @constructor
+   * @param {IReqSetblewifi=} [properties] Properties to set
+   */
+  function ReqSetblewifi(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetblewifi cmd.
+   * @member {number} cmd
+   * @memberof ReqSetblewifi
+   * @instance
+   */
+  ReqSetblewifi.prototype.cmd = 0;
+
+  /**
+   * ReqSetblewifi mode.
+   * @member {number} mode
+   * @memberof ReqSetblewifi
+   * @instance
+   */
+  ReqSetblewifi.prototype.mode = 0;
+
+  /**
+   * ReqSetblewifi blePsd.
+   * @member {string} blePsd
+   * @memberof ReqSetblewifi
+   * @instance
+   */
+  ReqSetblewifi.prototype.blePsd = "";
+
+  /**
+   * ReqSetblewifi value.
+   * @member {string} value
+   * @memberof ReqSetblewifi
+   * @instance
+   */
+  ReqSetblewifi.prototype.value = "";
+
+  /**
+   * Creates a new ReqSetblewifi instance using the specified properties.
+   * @function create
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {IReqSetblewifi=} [properties] Properties to set
+   * @returns {ReqSetblewifi} ReqSetblewifi instance
+   */
+  ReqSetblewifi.create = function create(properties) {
+    return new ReqSetblewifi(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetblewifi message. Does not implicitly {@link ReqSetblewifi.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetblewifi.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.mode);
+    if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd"))
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd);
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly {@link ReqSetblewifi.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetblewifi.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetblewifi message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetblewifi} ReqSetblewifi
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetblewifi.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetblewifi();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.mode = reader.int32();
+          break;
+        }
+        case 3: {
+          message.blePsd = reader.string();
+          break;
+        }
+        case 4: {
+          message.value = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetblewifi} ReqSetblewifi
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetblewifi.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetblewifi message.
+   * @function verify
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetblewifi.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      if (!$util.isString(message.blePsd)) return "blePsd: string expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isString(message.value)) return "value: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetblewifi} ReqSetblewifi
+   */
+  ReqSetblewifi.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetblewifi) return object;
+    var message = new $root.ReqSetblewifi();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.mode != null) message.mode = object.mode | 0;
+    if (object.blePsd != null) message.blePsd = String(object.blePsd);
+    if (object.value != null) message.value = String(object.value);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {ReqSetblewifi} message ReqSetblewifi
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetblewifi.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.mode = 0;
+      object.blePsd = "";
+      object.value = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    if (message.blePsd != null && message.hasOwnProperty("blePsd"))
+      object.blePsd = message.blePsd;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetblewifi to JSON.
+   * @function toJSON
+   * @memberof ReqSetblewifi
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetblewifi.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetblewifi
+   * @function getTypeUrl
+   * @memberof ReqSetblewifi
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetblewifi";
+  };
+
+  return ReqSetblewifi;
+})();
+
+$root.ReqReset = (function () {
+  /**
+   * Properties of a ReqReset.
+   * @exports IReqReset
+   * @interface IReqReset
+   * @property {number|null} [cmd] ReqReset cmd
+   */
+
+  /**
+   * Constructs a new ReqReset.
+   * @exports ReqReset
+   * @classdesc Represents a ReqReset.
+   * @implements IReqReset
+   * @constructor
+   * @param {IReqReset=} [properties] Properties to set
+   */
+  function ReqReset(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqReset cmd.
+   * @member {number} cmd
+   * @memberof ReqReset
+   * @instance
+   */
+  ReqReset.prototype.cmd = 0;
+
+  /**
+   * Creates a new ReqReset instance using the specified properties.
+   * @function create
+   * @memberof ReqReset
+   * @static
+   * @param {IReqReset=} [properties] Properties to set
+   * @returns {ReqReset} ReqReset instance
+   */
+  ReqReset.create = function create(properties) {
+    return new ReqReset(properties);
+  };
+
+  /**
+   * Encodes the specified ReqReset message. Does not implicitly {@link ReqReset.verify|verify} messages.
+   * @function encode
+   * @memberof ReqReset
+   * @static
+   * @param {IReqReset} message ReqReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReset.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqReset message, length delimited. Does not implicitly {@link ReqReset.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqReset
+   * @static
+   * @param {IReqReset} message ReqReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReset.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqReset message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqReset} ReqReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReset.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqReset();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqReset message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqReset} ReqReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReset.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqReset message.
+   * @function verify
+   * @memberof ReqReset
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqReset.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqReset message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqReset
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqReset} ReqReset
+   */
+  ReqReset.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqReset) return object;
+    var message = new $root.ReqReset();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqReset message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqReset
+   * @static
+   * @param {ReqReset} message ReqReset
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqReset.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.cmd = 0;
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqReset to JSON.
+   * @function toJSON
+   * @memberof ReqReset
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqReset.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqReset
+   * @function getTypeUrl
+   * @memberof ReqReset
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqReset";
+  };
+
+  return ReqReset;
+})();
+
+$root.ReqGetwifilist = (function () {
+  /**
+   * Properties of a ReqGetwifilist.
+   * @exports IReqGetwifilist
+   * @interface IReqGetwifilist
+   * @property {number|null} [cmd] ReqGetwifilist cmd
+   */
+
+  /**
+   * Constructs a new ReqGetwifilist.
+   * @exports ReqGetwifilist
+   * @classdesc Represents a ReqGetwifilist.
+   * @implements IReqGetwifilist
+   * @constructor
+   * @param {IReqGetwifilist=} [properties] Properties to set
+   */
+  function ReqGetwifilist(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetwifilist cmd.
+   * @member {number} cmd
+   * @memberof ReqGetwifilist
+   * @instance
+   */
+  ReqGetwifilist.prototype.cmd = 0;
+
+  /**
+   * Creates a new ReqGetwifilist instance using the specified properties.
+   * @function create
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {IReqGetwifilist=} [properties] Properties to set
+   * @returns {ReqGetwifilist} ReqGetwifilist instance
+   */
+  ReqGetwifilist.create = function create(properties) {
+    return new ReqGetwifilist(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetwifilist message. Does not implicitly {@link ReqGetwifilist.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetwifilist.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly {@link ReqGetwifilist.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetwifilist.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetwifilist message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetwifilist} ReqGetwifilist
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetwifilist.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetwifilist();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetwifilist} ReqGetwifilist
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetwifilist.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetwifilist message.
+   * @function verify
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetwifilist.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetwifilist} ReqGetwifilist
+   */
+  ReqGetwifilist.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetwifilist) return object;
+    var message = new $root.ReqGetwifilist();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {ReqGetwifilist} message ReqGetwifilist
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetwifilist.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.cmd = 0;
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetwifilist to JSON.
+   * @function toJSON
+   * @memberof ReqGetwifilist
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetwifilist.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetwifilist
+   * @function getTypeUrl
+   * @memberof ReqGetwifilist
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetwifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetwifilist";
+  };
+
+  return ReqGetwifilist;
+})();
+
+$root.ReqGetsysteminfo = (function () {
+  /**
+   * Properties of a ReqGetsysteminfo.
+   * @exports IReqGetsysteminfo
+   * @interface IReqGetsysteminfo
+   * @property {number|null} [cmd] ReqGetsysteminfo cmd
+   */
+
+  /**
+   * Constructs a new ReqGetsysteminfo.
+   * @exports ReqGetsysteminfo
+   * @classdesc Represents a ReqGetsysteminfo.
+   * @implements IReqGetsysteminfo
+   * @constructor
+   * @param {IReqGetsysteminfo=} [properties] Properties to set
+   */
+  function ReqGetsysteminfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetsysteminfo cmd.
+   * @member {number} cmd
+   * @memberof ReqGetsysteminfo
+   * @instance
+   */
+  ReqGetsysteminfo.prototype.cmd = 0;
+
+  /**
+   * Creates a new ReqGetsysteminfo instance using the specified properties.
+   * @function create
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {IReqGetsysteminfo=} [properties] Properties to set
+   * @returns {ReqGetsysteminfo} ReqGetsysteminfo instance
+   */
+  ReqGetsysteminfo.create = function create(properties) {
+    return new ReqGetsysteminfo(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetsysteminfo message. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetsysteminfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetsysteminfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetsysteminfo} ReqGetsysteminfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetsysteminfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetsysteminfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetsysteminfo} ReqGetsysteminfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetsysteminfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetsysteminfo message.
+   * @function verify
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetsysteminfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetsysteminfo} ReqGetsysteminfo
+   */
+  ReqGetsysteminfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetsysteminfo) return object;
+    var message = new $root.ReqGetsysteminfo();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {ReqGetsysteminfo} message ReqGetsysteminfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetsysteminfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.cmd = 0;
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetsysteminfo to JSON.
+   * @function toJSON
+   * @memberof ReqGetsysteminfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetsysteminfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetsysteminfo
+   * @function getTypeUrl
+   * @memberof ReqGetsysteminfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetsysteminfo";
+  };
+
+  return ReqGetsysteminfo;
+})();
+
+$root.ReqCheckFile = (function () {
+  /**
+   * Properties of a ReqCheckFile.
+   * @exports IReqCheckFile
+   * @interface IReqCheckFile
+   * @property {number|null} [cmd] ReqCheckFile cmd
+   * @property {string|null} [filePath] ReqCheckFile filePath
+   * @property {string|null} [md5] ReqCheckFile md5
+   */
+
+  /**
+   * Constructs a new ReqCheckFile.
+   * @exports ReqCheckFile
+   * @classdesc Represents a ReqCheckFile.
+   * @implements IReqCheckFile
+   * @constructor
+   * @param {IReqCheckFile=} [properties] Properties to set
+   */
+  function ReqCheckFile(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqCheckFile cmd.
+   * @member {number} cmd
+   * @memberof ReqCheckFile
+   * @instance
+   */
+  ReqCheckFile.prototype.cmd = 0;
+
+  /**
+   * ReqCheckFile filePath.
+   * @member {string} filePath
+   * @memberof ReqCheckFile
+   * @instance
+   */
+  ReqCheckFile.prototype.filePath = "";
+
+  /**
+   * ReqCheckFile md5.
+   * @member {string} md5
+   * @memberof ReqCheckFile
+   * @instance
+   */
+  ReqCheckFile.prototype.md5 = "";
+
+  /**
+   * Creates a new ReqCheckFile instance using the specified properties.
+   * @function create
+   * @memberof ReqCheckFile
+   * @static
+   * @param {IReqCheckFile=} [properties] Properties to set
+   * @returns {ReqCheckFile} ReqCheckFile instance
+   */
+  ReqCheckFile.create = function create(properties) {
+    return new ReqCheckFile(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCheckFile message. Does not implicitly {@link ReqCheckFile.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCheckFile
+   * @static
+   * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCheckFile.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (
+      message.filePath != null &&
+      Object.hasOwnProperty.call(message, "filePath")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.filePath);
+    if (message.md5 != null && Object.hasOwnProperty.call(message, "md5"))
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.md5);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCheckFile message, length delimited. Does not implicitly {@link ReqCheckFile.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCheckFile
+   * @static
+   * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCheckFile.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCheckFile message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCheckFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCheckFile} ReqCheckFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCheckFile.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCheckFile();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.filePath = reader.string();
+          break;
+        }
+        case 3: {
+          message.md5 = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCheckFile message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCheckFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCheckFile} ReqCheckFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCheckFile.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCheckFile message.
+   * @function verify
+   * @memberof ReqCheckFile
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCheckFile.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.filePath != null && message.hasOwnProperty("filePath"))
+      if (!$util.isString(message.filePath)) return "filePath: string expected";
+    if (message.md5 != null && message.hasOwnProperty("md5"))
+      if (!$util.isString(message.md5)) return "md5: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCheckFile
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCheckFile} ReqCheckFile
+   */
+  ReqCheckFile.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCheckFile) return object;
+    var message = new $root.ReqCheckFile();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.filePath != null) message.filePath = String(object.filePath);
+    if (object.md5 != null) message.md5 = String(object.md5);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCheckFile
+   * @static
+   * @param {ReqCheckFile} message ReqCheckFile
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCheckFile.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.filePath = "";
+      object.md5 = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.filePath != null && message.hasOwnProperty("filePath"))
+      object.filePath = message.filePath;
+    if (message.md5 != null && message.hasOwnProperty("md5"))
+      object.md5 = message.md5;
+    return object;
+  };
+
+  /**
+   * Converts this ReqCheckFile to JSON.
+   * @function toJSON
+   * @memberof ReqCheckFile
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCheckFile.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCheckFile
+   * @function getTypeUrl
+   * @memberof ReqCheckFile
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCheckFile";
+  };
+
+  return ReqCheckFile;
+})();
+
+$root.ResGetconfig = (function () {
+  /**
+   * Properties of a ResGetconfig.
+   * @exports IResGetconfig
+   * @interface IResGetconfig
+   * @property {number|null} [cmd] ResGetconfig cmd
+   * @property {number|null} [code] ResGetconfig code
+   * @property {number|null} [state] ResGetconfig state
+   * @property {number|null} [wifiMode] ResGetconfig wifiMode
+   * @property {number|null} [apMode] ResGetconfig apMode
+   * @property {number|null} [autoStart] ResGetconfig autoStart
+   * @property {number|null} [apCountryList] ResGetconfig apCountryList
+   * @property {string|null} [ssid] ResGetconfig ssid
+   * @property {string|null} [psd] ResGetconfig psd
+   * @property {string|null} [ip] ResGetconfig ip
+   * @property {string|null} [apCountry] ResGetconfig apCountry
+   */
+
+  /**
+   * Constructs a new ResGetconfig.
+   * @exports ResGetconfig
+   * @classdesc Represents a ResGetconfig.
+   * @implements IResGetconfig
+   * @constructor
+   * @param {IResGetconfig=} [properties] Properties to set
+   */
+  function ResGetconfig(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetconfig cmd.
+   * @member {number} cmd
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.cmd = 0;
+
+  /**
+   * ResGetconfig code.
+   * @member {number} code
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.code = 0;
+
+  /**
+   * ResGetconfig state.
+   * @member {number} state
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.state = 0;
+
+  /**
+   * ResGetconfig wifiMode.
+   * @member {number} wifiMode
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.wifiMode = 0;
+
+  /**
+   * ResGetconfig apMode.
+   * @member {number} apMode
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.apMode = 0;
+
+  /**
+   * ResGetconfig autoStart.
+   * @member {number} autoStart
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.autoStart = 0;
+
+  /**
+   * ResGetconfig apCountryList.
+   * @member {number} apCountryList
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.apCountryList = 0;
+
+  /**
+   * ResGetconfig ssid.
+   * @member {string} ssid
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.ssid = "";
+
+  /**
+   * ResGetconfig psd.
+   * @member {string} psd
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.psd = "";
+
+  /**
+   * ResGetconfig ip.
+   * @member {string} ip
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.ip = "";
+
+  /**
+   * ResGetconfig apCountry.
+   * @member {string} apCountry
+   * @memberof ResGetconfig
+   * @instance
+   */
+  ResGetconfig.prototype.apCountry = "";
+
+  /**
+   * Creates a new ResGetconfig instance using the specified properties.
+   * @function create
+   * @memberof ResGetconfig
+   * @static
+   * @param {IResGetconfig=} [properties] Properties to set
+   * @returns {ResGetconfig} ResGetconfig instance
+   */
+  ResGetconfig.create = function create(properties) {
+    return new ResGetconfig(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetconfig message. Does not implicitly {@link ResGetconfig.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetconfig
+   * @static
+   * @param {IResGetconfig} message ResGetconfig message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetconfig.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state);
+    if (
+      message.wifiMode != null &&
+      Object.hasOwnProperty.call(message, "wifiMode")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.wifiMode);
+    if (message.apMode != null && Object.hasOwnProperty.call(message, "apMode"))
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.apMode);
+    if (
+      message.autoStart != null &&
+      Object.hasOwnProperty.call(message, "autoStart")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.autoStart);
+    if (
+      message.apCountryList != null &&
+      Object.hasOwnProperty.call(message, "apCountryList")
+    )
+      writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.apCountryList);
+    if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid"))
+      writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.ssid);
+    if (message.psd != null && Object.hasOwnProperty.call(message, "psd"))
+      writer.uint32(/* id 9, wireType 2 =*/ 74).string(message.psd);
+    if (message.ip != null && Object.hasOwnProperty.call(message, "ip"))
+      writer.uint32(/* id 10, wireType 2 =*/ 82).string(message.ip);
+    if (
+      message.apCountry != null &&
+      Object.hasOwnProperty.call(message, "apCountry")
+    )
+      writer.uint32(/* id 11, wireType 2 =*/ 90).string(message.apCountry);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetconfig message, length delimited. Does not implicitly {@link ResGetconfig.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetconfig
+   * @static
+   * @param {IResGetconfig} message ResGetconfig message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetconfig.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetconfig message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetconfig
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetconfig} ResGetconfig
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetconfig.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetconfig();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.state = reader.int32();
+          break;
+        }
+        case 4: {
+          message.wifiMode = reader.int32();
+          break;
+        }
+        case 5: {
+          message.apMode = reader.int32();
+          break;
+        }
+        case 6: {
+          message.autoStart = reader.int32();
+          break;
+        }
+        case 7: {
+          message.apCountryList = reader.int32();
+          break;
+        }
+        case 8: {
+          message.ssid = reader.string();
+          break;
+        }
+        case 9: {
+          message.psd = reader.string();
+          break;
+        }
+        case 10: {
+          message.ip = reader.string();
+          break;
+        }
+        case 11: {
+          message.apCountry = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetconfig message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetconfig
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetconfig} ResGetconfig
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetconfig.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetconfig message.
+   * @function verify
+   * @memberof ResGetconfig
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetconfig.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      if (!$util.isInteger(message.state)) return "state: integer expected";
+    if (message.wifiMode != null && message.hasOwnProperty("wifiMode"))
+      if (!$util.isInteger(message.wifiMode))
+        return "wifiMode: integer expected";
+    if (message.apMode != null && message.hasOwnProperty("apMode"))
+      if (!$util.isInteger(message.apMode)) return "apMode: integer expected";
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      if (!$util.isInteger(message.autoStart))
+        return "autoStart: integer expected";
+    if (
+      message.apCountryList != null &&
+      message.hasOwnProperty("apCountryList")
+    )
+      if (!$util.isInteger(message.apCountryList))
+        return "apCountryList: integer expected";
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      if (!$util.isString(message.ssid)) return "ssid: string expected";
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      if (!$util.isString(message.psd)) return "psd: string expected";
+    if (message.ip != null && message.hasOwnProperty("ip"))
+      if (!$util.isString(message.ip)) return "ip: string expected";
+    if (message.apCountry != null && message.hasOwnProperty("apCountry"))
+      if (!$util.isString(message.apCountry))
+        return "apCountry: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetconfig
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetconfig} ResGetconfig
+   */
+  ResGetconfig.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetconfig) return object;
+    var message = new $root.ResGetconfig();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.state != null) message.state = object.state | 0;
+    if (object.wifiMode != null) message.wifiMode = object.wifiMode | 0;
+    if (object.apMode != null) message.apMode = object.apMode | 0;
+    if (object.autoStart != null) message.autoStart = object.autoStart | 0;
+    if (object.apCountryList != null)
+      message.apCountryList = object.apCountryList | 0;
+    if (object.ssid != null) message.ssid = String(object.ssid);
+    if (object.psd != null) message.psd = String(object.psd);
+    if (object.ip != null) message.ip = String(object.ip);
+    if (object.apCountry != null) message.apCountry = String(object.apCountry);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetconfig message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetconfig
+   * @static
+   * @param {ResGetconfig} message ResGetconfig
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetconfig.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+      object.state = 0;
+      object.wifiMode = 0;
+      object.apMode = 0;
+      object.autoStart = 0;
+      object.apCountryList = 0;
+      object.ssid = "";
+      object.psd = "";
+      object.ip = "";
+      object.apCountry = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state = message.state;
+    if (message.wifiMode != null && message.hasOwnProperty("wifiMode"))
+      object.wifiMode = message.wifiMode;
+    if (message.apMode != null && message.hasOwnProperty("apMode"))
+      object.apMode = message.apMode;
+    if (message.autoStart != null && message.hasOwnProperty("autoStart"))
+      object.autoStart = message.autoStart;
+    if (
+      message.apCountryList != null &&
+      message.hasOwnProperty("apCountryList")
+    )
+      object.apCountryList = message.apCountryList;
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      object.ssid = message.ssid;
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      object.psd = message.psd;
+    if (message.ip != null && message.hasOwnProperty("ip"))
+      object.ip = message.ip;
+    if (message.apCountry != null && message.hasOwnProperty("apCountry"))
+      object.apCountry = message.apCountry;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetconfig to JSON.
+   * @function toJSON
+   * @memberof ResGetconfig
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetconfig.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetconfig
+   * @function getTypeUrl
+   * @memberof ResGetconfig
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetconfig";
+  };
+
+  return ResGetconfig;
+})();
+
+$root.ResAp = (function () {
+  /**
+   * Properties of a ResAp.
+   * @exports IResAp
+   * @interface IResAp
+   * @property {number|null} [cmd] ResAp cmd
+   * @property {number|null} [code] ResAp code
+   * @property {number|null} [mode] ResAp mode
+   * @property {string|null} [ssid] ResAp ssid
+   * @property {string|null} [psd] ResAp psd
+   */
+
+  /**
+   * Constructs a new ResAp.
+   * @exports ResAp
+   * @classdesc Represents a ResAp.
+   * @implements IResAp
+   * @constructor
+   * @param {IResAp=} [properties] Properties to set
+   */
+  function ResAp(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResAp cmd.
+   * @member {number} cmd
+   * @memberof ResAp
+   * @instance
+   */
+  ResAp.prototype.cmd = 0;
+
+  /**
+   * ResAp code.
+   * @member {number} code
+   * @memberof ResAp
+   * @instance
+   */
+  ResAp.prototype.code = 0;
+
+  /**
+   * ResAp mode.
+   * @member {number} mode
+   * @memberof ResAp
+   * @instance
+   */
+  ResAp.prototype.mode = 0;
+
+  /**
+   * ResAp ssid.
+   * @member {string} ssid
+   * @memberof ResAp
+   * @instance
+   */
+  ResAp.prototype.ssid = "";
+
+  /**
+   * ResAp psd.
+   * @member {string} psd
+   * @memberof ResAp
+   * @instance
+   */
+  ResAp.prototype.psd = "";
+
+  /**
+   * Creates a new ResAp instance using the specified properties.
+   * @function create
+   * @memberof ResAp
+   * @static
+   * @param {IResAp=} [properties] Properties to set
+   * @returns {ResAp} ResAp instance
+   */
+  ResAp.create = function create(properties) {
+    return new ResAp(properties);
+  };
+
+  /**
+   * Encodes the specified ResAp message. Does not implicitly {@link ResAp.verify|verify} messages.
+   * @function encode
+   * @memberof ResAp
+   * @static
+   * @param {IResAp} message ResAp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResAp.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode);
+    if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid);
+    if (message.psd != null && Object.hasOwnProperty.call(message, "psd"))
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResAp message, length delimited. Does not implicitly {@link ResAp.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResAp
+   * @static
+   * @param {IResAp} message ResAp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResAp.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResAp message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResAp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResAp} ResAp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResAp.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResAp();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.mode = reader.int32();
+          break;
+        }
+        case 4: {
+          message.ssid = reader.string();
+          break;
+        }
+        case 5: {
+          message.psd = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResAp message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResAp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResAp} ResAp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResAp.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResAp message.
+   * @function verify
+   * @memberof ResAp
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResAp.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      if (!$util.isString(message.ssid)) return "ssid: string expected";
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      if (!$util.isString(message.psd)) return "psd: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResAp message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResAp
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResAp} ResAp
+   */
+  ResAp.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResAp) return object;
+    var message = new $root.ResAp();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.mode != null) message.mode = object.mode | 0;
+    if (object.ssid != null) message.ssid = String(object.ssid);
+    if (object.psd != null) message.psd = String(object.psd);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResAp message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResAp
+   * @static
+   * @param {ResAp} message ResAp
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResAp.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+      object.mode = 0;
+      object.ssid = "";
+      object.psd = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      object.ssid = message.ssid;
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      object.psd = message.psd;
+    return object;
+  };
+
+  /**
+   * Converts this ResAp to JSON.
+   * @function toJSON
+   * @memberof ResAp
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResAp.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResAp
+   * @function getTypeUrl
+   * @memberof ResAp
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResAp";
+  };
+
+  return ResAp;
+})();
+
+$root.ResSta = (function () {
+  /**
+   * Properties of a ResSta.
+   * @exports IResSta
+   * @interface IResSta
+   * @property {number|null} [cmd] ResSta cmd
+   * @property {number|null} [code] ResSta code
+   * @property {string|null} [ssid] ResSta ssid
+   * @property {string|null} [psd] ResSta psd
+   * @property {string|null} [ip] ResSta ip
+   */
+
+  /**
+   * Constructs a new ResSta.
+   * @exports ResSta
+   * @classdesc Represents a ResSta.
+   * @implements IResSta
+   * @constructor
+   * @param {IResSta=} [properties] Properties to set
+   */
+  function ResSta(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResSta cmd.
+   * @member {number} cmd
+   * @memberof ResSta
+   * @instance
+   */
+  ResSta.prototype.cmd = 0;
+
+  /**
+   * ResSta code.
+   * @member {number} code
+   * @memberof ResSta
+   * @instance
+   */
+  ResSta.prototype.code = 0;
+
+  /**
+   * ResSta ssid.
+   * @member {string} ssid
+   * @memberof ResSta
+   * @instance
+   */
+  ResSta.prototype.ssid = "";
+
+  /**
+   * ResSta psd.
+   * @member {string} psd
+   * @memberof ResSta
+   * @instance
+   */
+  ResSta.prototype.psd = "";
+
+  /**
+   * ResSta ip.
+   * @member {string} ip
+   * @memberof ResSta
+   * @instance
+   */
+  ResSta.prototype.ip = "";
+
+  /**
+   * Creates a new ResSta instance using the specified properties.
+   * @function create
+   * @memberof ResSta
+   * @static
+   * @param {IResSta=} [properties] Properties to set
+   * @returns {ResSta} ResSta instance
+   */
+  ResSta.create = function create(properties) {
+    return new ResSta(properties);
+  };
+
+  /**
+   * Encodes the specified ResSta message. Does not implicitly {@link ResSta.verify|verify} messages.
+   * @function encode
+   * @memberof ResSta
+   * @static
+   * @param {IResSta} message ResSta message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSta.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid"))
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.ssid);
+    if (message.psd != null && Object.hasOwnProperty.call(message, "psd"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.psd);
+    if (message.ip != null && Object.hasOwnProperty.call(message, "ip"))
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ip);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResSta message, length delimited. Does not implicitly {@link ResSta.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResSta
+   * @static
+   * @param {IResSta} message ResSta message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSta.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResSta message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResSta
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResSta} ResSta
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSta.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResSta();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.ssid = reader.string();
+          break;
+        }
+        case 4: {
+          message.psd = reader.string();
+          break;
+        }
+        case 5: {
+          message.ip = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResSta message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResSta
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResSta} ResSta
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSta.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResSta message.
+   * @function verify
+   * @memberof ResSta
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResSta.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      if (!$util.isString(message.ssid)) return "ssid: string expected";
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      if (!$util.isString(message.psd)) return "psd: string expected";
+    if (message.ip != null && message.hasOwnProperty("ip"))
+      if (!$util.isString(message.ip)) return "ip: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResSta message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResSta
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResSta} ResSta
+   */
+  ResSta.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResSta) return object;
+    var message = new $root.ResSta();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.ssid != null) message.ssid = String(object.ssid);
+    if (object.psd != null) message.psd = String(object.psd);
+    if (object.ip != null) message.ip = String(object.ip);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResSta message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResSta
+   * @static
+   * @param {ResSta} message ResSta
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResSta.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+      object.ssid = "";
+      object.psd = "";
+      object.ip = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.ssid != null && message.hasOwnProperty("ssid"))
+      object.ssid = message.ssid;
+    if (message.psd != null && message.hasOwnProperty("psd"))
+      object.psd = message.psd;
+    if (message.ip != null && message.hasOwnProperty("ip"))
+      object.ip = message.ip;
+    return object;
+  };
+
+  /**
+   * Converts this ResSta to JSON.
+   * @function toJSON
+   * @memberof ResSta
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResSta.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResSta
+   * @function getTypeUrl
+   * @memberof ResSta
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResSta";
+  };
+
+  return ResSta;
+})();
+
+$root.ResSetblewifi = (function () {
+  /**
+   * Properties of a ResSetblewifi.
+   * @exports IResSetblewifi
+   * @interface IResSetblewifi
+   * @property {number|null} [cmd] ResSetblewifi cmd
+   * @property {number|null} [code] ResSetblewifi code
+   * @property {number|null} [mode] ResSetblewifi mode
+   * @property {string|null} [value] ResSetblewifi value
+   */
+
+  /**
+   * Constructs a new ResSetblewifi.
+   * @exports ResSetblewifi
+   * @classdesc Represents a ResSetblewifi.
+   * @implements IResSetblewifi
+   * @constructor
+   * @param {IResSetblewifi=} [properties] Properties to set
+   */
+  function ResSetblewifi(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResSetblewifi cmd.
+   * @member {number} cmd
+   * @memberof ResSetblewifi
+   * @instance
+   */
+  ResSetblewifi.prototype.cmd = 0;
+
+  /**
+   * ResSetblewifi code.
+   * @member {number} code
+   * @memberof ResSetblewifi
+   * @instance
+   */
+  ResSetblewifi.prototype.code = 0;
+
+  /**
+   * ResSetblewifi mode.
+   * @member {number} mode
+   * @memberof ResSetblewifi
+   * @instance
+   */
+  ResSetblewifi.prototype.mode = 0;
+
+  /**
+   * ResSetblewifi value.
+   * @member {string} value
+   * @memberof ResSetblewifi
+   * @instance
+   */
+  ResSetblewifi.prototype.value = "";
+
+  /**
+   * Creates a new ResSetblewifi instance using the specified properties.
+   * @function create
+   * @memberof ResSetblewifi
+   * @static
+   * @param {IResSetblewifi=} [properties] Properties to set
+   * @returns {ResSetblewifi} ResSetblewifi instance
+   */
+  ResSetblewifi.create = function create(properties) {
+    return new ResSetblewifi(properties);
+  };
+
+  /**
+   * Encodes the specified ResSetblewifi message. Does not implicitly {@link ResSetblewifi.verify|verify} messages.
+   * @function encode
+   * @memberof ResSetblewifi
+   * @static
+   * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSetblewifi.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode);
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResSetblewifi message, length delimited. Does not implicitly {@link ResSetblewifi.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResSetblewifi
+   * @static
+   * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSetblewifi.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResSetblewifi message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResSetblewifi
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResSetblewifi} ResSetblewifi
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSetblewifi.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResSetblewifi();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.mode = reader.int32();
+          break;
+        }
+        case 4: {
+          message.value = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResSetblewifi message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResSetblewifi
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResSetblewifi} ResSetblewifi
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSetblewifi.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResSetblewifi message.
+   * @function verify
+   * @memberof ResSetblewifi
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResSetblewifi.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isString(message.value)) return "value: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResSetblewifi
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResSetblewifi} ResSetblewifi
+   */
+  ResSetblewifi.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResSetblewifi) return object;
+    var message = new $root.ResSetblewifi();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.mode != null) message.mode = object.mode | 0;
+    if (object.value != null) message.value = String(object.value);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResSetblewifi
+   * @static
+   * @param {ResSetblewifi} message ResSetblewifi
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResSetblewifi.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+      object.mode = 0;
+      object.value = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ResSetblewifi to JSON.
+   * @function toJSON
+   * @memberof ResSetblewifi
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResSetblewifi.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResSetblewifi
+   * @function getTypeUrl
+   * @memberof ResSetblewifi
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResSetblewifi";
+  };
+
+  return ResSetblewifi;
+})();
+
+$root.ResReset = (function () {
+  /**
+   * Properties of a ResReset.
+   * @exports IResReset
+   * @interface IResReset
+   * @property {number|null} [cmd] ResReset cmd
+   * @property {number|null} [code] ResReset code
+   */
+
+  /**
+   * Constructs a new ResReset.
+   * @exports ResReset
+   * @classdesc Represents a ResReset.
+   * @implements IResReset
+   * @constructor
+   * @param {IResReset=} [properties] Properties to set
+   */
+  function ResReset(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResReset cmd.
+   * @member {number} cmd
+   * @memberof ResReset
+   * @instance
+   */
+  ResReset.prototype.cmd = 0;
+
+  /**
+   * ResReset code.
+   * @member {number} code
+   * @memberof ResReset
+   * @instance
+   */
+  ResReset.prototype.code = 0;
+
+  /**
+   * Creates a new ResReset instance using the specified properties.
+   * @function create
+   * @memberof ResReset
+   * @static
+   * @param {IResReset=} [properties] Properties to set
+   * @returns {ResReset} ResReset instance
+   */
+  ResReset.create = function create(properties) {
+    return new ResReset(properties);
+  };
+
+  /**
+   * Encodes the specified ResReset message. Does not implicitly {@link ResReset.verify|verify} messages.
+   * @function encode
+   * @memberof ResReset
+   * @static
+   * @param {IResReset} message ResReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReset.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResReset message, length delimited. Does not implicitly {@link ResReset.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResReset
+   * @static
+   * @param {IResReset} message ResReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReset.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResReset message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResReset} ResReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReset.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResReset();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResReset message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResReset} ResReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReset.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResReset message.
+   * @function verify
+   * @memberof ResReset
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResReset.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResReset message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResReset
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResReset} ResReset
+   */
+  ResReset.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResReset) return object;
+    var message = new $root.ResReset();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResReset message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResReset
+   * @static
+   * @param {ResReset} message ResReset
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResReset.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResReset to JSON.
+   * @function toJSON
+   * @memberof ResReset
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResReset.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResReset
+   * @function getTypeUrl
+   * @memberof ResReset
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResReset";
+  };
+
+  return ResReset;
+})();
+
+$root.ResWifilist = (function () {
+  /**
+   * Properties of a ResWifilist.
+   * @exports IResWifilist
+   * @interface IResWifilist
+   * @property {number|null} [cmd] ResWifilist cmd
+   * @property {number|null} [code] ResWifilist code
+   * @property {Array.<string>|null} [ssid] ResWifilist ssid
+   */
+
+  /**
+   * Constructs a new ResWifilist.
+   * @exports ResWifilist
+   * @classdesc Represents a ResWifilist.
+   * @implements IResWifilist
+   * @constructor
+   * @param {IResWifilist=} [properties] Properties to set
+   */
+  function ResWifilist(properties) {
+    this.ssid = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResWifilist cmd.
+   * @member {number} cmd
+   * @memberof ResWifilist
+   * @instance
+   */
+  ResWifilist.prototype.cmd = 0;
+
+  /**
+   * ResWifilist code.
+   * @member {number} code
+   * @memberof ResWifilist
+   * @instance
+   */
+  ResWifilist.prototype.code = 0;
+
+  /**
+   * ResWifilist ssid.
+   * @member {Array.<string>} ssid
+   * @memberof ResWifilist
+   * @instance
+   */
+  ResWifilist.prototype.ssid = $util.emptyArray;
+
+  /**
+   * Creates a new ResWifilist instance using the specified properties.
+   * @function create
+   * @memberof ResWifilist
+   * @static
+   * @param {IResWifilist=} [properties] Properties to set
+   * @returns {ResWifilist} ResWifilist instance
+   */
+  ResWifilist.create = function create(properties) {
+    return new ResWifilist(properties);
+  };
+
+  /**
+   * Encodes the specified ResWifilist message. Does not implicitly {@link ResWifilist.verify|verify} messages.
+   * @function encode
+   * @memberof ResWifilist
+   * @static
+   * @param {IResWifilist} message ResWifilist message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResWifilist.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (message.ssid != null && message.ssid.length)
+      for (var i = 0; i < message.ssid.length; ++i)
+        writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid[i]);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResWifilist message, length delimited. Does not implicitly {@link ResWifilist.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResWifilist
+   * @static
+   * @param {IResWifilist} message ResWifilist message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResWifilist.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResWifilist message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResWifilist
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResWifilist} ResWifilist
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResWifilist.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResWifilist();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 4: {
+          if (!(message.ssid && message.ssid.length)) message.ssid = [];
+          message.ssid.push(reader.string());
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResWifilist message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResWifilist
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResWifilist} ResWifilist
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResWifilist.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResWifilist message.
+   * @function verify
+   * @memberof ResWifilist
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResWifilist.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.ssid != null && message.hasOwnProperty("ssid")) {
+      if (!Array.isArray(message.ssid)) return "ssid: array expected";
+      for (var i = 0; i < message.ssid.length; ++i)
+        if (!$util.isString(message.ssid[i])) return "ssid: string[] expected";
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ResWifilist message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResWifilist
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResWifilist} ResWifilist
+   */
+  ResWifilist.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResWifilist) return object;
+    var message = new $root.ResWifilist();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.ssid) {
+      if (!Array.isArray(object.ssid))
+        throw TypeError(".ResWifilist.ssid: array expected");
+      message.ssid = [];
+      for (var i = 0; i < object.ssid.length; ++i)
+        message.ssid[i] = String(object.ssid[i]);
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResWifilist message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResWifilist
+   * @static
+   * @param {ResWifilist} message ResWifilist
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResWifilist.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.ssid = [];
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.ssid && message.ssid.length) {
+      object.ssid = [];
+      for (var j = 0; j < message.ssid.length; ++j)
+        object.ssid[j] = message.ssid[j];
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ResWifilist to JSON.
+   * @function toJSON
+   * @memberof ResWifilist
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResWifilist.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResWifilist
+   * @function getTypeUrl
+   * @memberof ResWifilist
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResWifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResWifilist";
+  };
+
+  return ResWifilist;
+})();
+
+$root.ResGetsysteminfo = (function () {
+  /**
+   * Properties of a ResGetsysteminfo.
+   * @exports IResGetsysteminfo
+   * @interface IResGetsysteminfo
+   * @property {number|null} [cmd] ResGetsysteminfo cmd
+   * @property {number|null} [code] ResGetsysteminfo code
+   * @property {number|null} [protocolVersion] ResGetsysteminfo protocolVersion
+   * @property {string|null} [device] ResGetsysteminfo device
+   * @property {string|null} [macAddress] ResGetsysteminfo macAddress
+   * @property {string|null} [dwarfOtaVersion] ResGetsysteminfo dwarfOtaVersion
+   */
+
+  /**
+   * Constructs a new ResGetsysteminfo.
+   * @exports ResGetsysteminfo
+   * @classdesc Represents a ResGetsysteminfo.
+   * @implements IResGetsysteminfo
+   * @constructor
+   * @param {IResGetsysteminfo=} [properties] Properties to set
+   */
+  function ResGetsysteminfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetsysteminfo cmd.
+   * @member {number} cmd
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.cmd = 0;
+
+  /**
+   * ResGetsysteminfo code.
+   * @member {number} code
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.code = 0;
+
+  /**
+   * ResGetsysteminfo protocolVersion.
+   * @member {number} protocolVersion
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.protocolVersion = 0;
+
+  /**
+   * ResGetsysteminfo device.
+   * @member {string} device
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.device = "";
+
+  /**
+   * ResGetsysteminfo macAddress.
+   * @member {string} macAddress
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.macAddress = "";
+
+  /**
+   * ResGetsysteminfo dwarfOtaVersion.
+   * @member {string} dwarfOtaVersion
+   * @memberof ResGetsysteminfo
+   * @instance
+   */
+  ResGetsysteminfo.prototype.dwarfOtaVersion = "";
+
+  /**
+   * Creates a new ResGetsysteminfo instance using the specified properties.
+   * @function create
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {IResGetsysteminfo=} [properties] Properties to set
+   * @returns {ResGetsysteminfo} ResGetsysteminfo instance
+   */
+  ResGetsysteminfo.create = function create(properties) {
+    return new ResGetsysteminfo(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetsysteminfo message. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetsysteminfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (
+      message.protocolVersion != null &&
+      Object.hasOwnProperty.call(message, "protocolVersion")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.protocolVersion);
+    if (message.device != null && Object.hasOwnProperty.call(message, "device"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.device);
+    if (
+      message.macAddress != null &&
+      Object.hasOwnProperty.call(message, "macAddress")
+    )
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.macAddress);
+    if (
+      message.dwarfOtaVersion != null &&
+      Object.hasOwnProperty.call(message, "dwarfOtaVersion")
+    )
+      writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.dwarfOtaVersion);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetsysteminfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetsysteminfo} ResGetsysteminfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetsysteminfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetsysteminfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.protocolVersion = reader.int32();
+          break;
+        }
+        case 4: {
+          message.device = reader.string();
+          break;
+        }
+        case 5: {
+          message.macAddress = reader.string();
+          break;
+        }
+        case 6: {
+          message.dwarfOtaVersion = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetsysteminfo} ResGetsysteminfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetsysteminfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetsysteminfo message.
+   * @function verify
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetsysteminfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (
+      message.protocolVersion != null &&
+      message.hasOwnProperty("protocolVersion")
+    )
+      if (!$util.isInteger(message.protocolVersion))
+        return "protocolVersion: integer expected";
+    if (message.device != null && message.hasOwnProperty("device"))
+      if (!$util.isString(message.device)) return "device: string expected";
+    if (message.macAddress != null && message.hasOwnProperty("macAddress"))
+      if (!$util.isString(message.macAddress))
+        return "macAddress: string expected";
+    if (
+      message.dwarfOtaVersion != null &&
+      message.hasOwnProperty("dwarfOtaVersion")
+    )
+      if (!$util.isString(message.dwarfOtaVersion))
+        return "dwarfOtaVersion: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetsysteminfo} ResGetsysteminfo
+   */
+  ResGetsysteminfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetsysteminfo) return object;
+    var message = new $root.ResGetsysteminfo();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.protocolVersion != null)
+      message.protocolVersion = object.protocolVersion | 0;
+    if (object.device != null) message.device = String(object.device);
+    if (object.macAddress != null)
+      message.macAddress = String(object.macAddress);
+    if (object.dwarfOtaVersion != null)
+      message.dwarfOtaVersion = String(object.dwarfOtaVersion);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {ResGetsysteminfo} message ResGetsysteminfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetsysteminfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+      object.protocolVersion = 0;
+      object.device = "";
+      object.macAddress = "";
+      object.dwarfOtaVersion = "";
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (
+      message.protocolVersion != null &&
+      message.hasOwnProperty("protocolVersion")
+    )
+      object.protocolVersion = message.protocolVersion;
+    if (message.device != null && message.hasOwnProperty("device"))
+      object.device = message.device;
+    if (message.macAddress != null && message.hasOwnProperty("macAddress"))
+      object.macAddress = message.macAddress;
+    if (
+      message.dwarfOtaVersion != null &&
+      message.hasOwnProperty("dwarfOtaVersion")
+    )
+      object.dwarfOtaVersion = message.dwarfOtaVersion;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetsysteminfo to JSON.
+   * @function toJSON
+   * @memberof ResGetsysteminfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetsysteminfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetsysteminfo
+   * @function getTypeUrl
+   * @memberof ResGetsysteminfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetsysteminfo";
+  };
+
+  return ResGetsysteminfo;
+})();
+
+$root.ResReceiveDataError = (function () {
+  /**
+   * Properties of a ResReceiveDataError.
+   * @exports IResReceiveDataError
+   * @interface IResReceiveDataError
+   * @property {number|null} [cmd] ResReceiveDataError cmd
+   * @property {number|null} [code] ResReceiveDataError code
+   */
+
+  /**
+   * Constructs a new ResReceiveDataError.
+   * @exports ResReceiveDataError
+   * @classdesc Represents a ResReceiveDataError.
+   * @implements IResReceiveDataError
+   * @constructor
+   * @param {IResReceiveDataError=} [properties] Properties to set
+   */
+  function ResReceiveDataError(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResReceiveDataError cmd.
+   * @member {number} cmd
+   * @memberof ResReceiveDataError
+   * @instance
+   */
+  ResReceiveDataError.prototype.cmd = 0;
+
+  /**
+   * ResReceiveDataError code.
+   * @member {number} code
+   * @memberof ResReceiveDataError
+   * @instance
+   */
+  ResReceiveDataError.prototype.code = 0;
+
+  /**
+   * Creates a new ResReceiveDataError instance using the specified properties.
+   * @function create
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {IResReceiveDataError=} [properties] Properties to set
+   * @returns {ResReceiveDataError} ResReceiveDataError instance
+   */
+  ResReceiveDataError.create = function create(properties) {
+    return new ResReceiveDataError(properties);
+  };
+
+  /**
+   * Encodes the specified ResReceiveDataError message. Does not implicitly {@link ResReceiveDataError.verify|verify} messages.
+   * @function encode
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReceiveDataError.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly {@link ResReceiveDataError.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReceiveDataError.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResReceiveDataError message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResReceiveDataError} ResReceiveDataError
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReceiveDataError.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResReceiveDataError();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResReceiveDataError} ResReceiveDataError
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReceiveDataError.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResReceiveDataError message.
+   * @function verify
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResReceiveDataError.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResReceiveDataError} ResReceiveDataError
+   */
+  ResReceiveDataError.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResReceiveDataError) return object;
+    var message = new $root.ResReceiveDataError();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {ResReceiveDataError} message ResReceiveDataError
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResReceiveDataError.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResReceiveDataError to JSON.
+   * @function toJSON
+   * @memberof ResReceiveDataError
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResReceiveDataError.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResReceiveDataError
+   * @function getTypeUrl
+   * @memberof ResReceiveDataError
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResReceiveDataError.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResReceiveDataError";
+  };
+
+  return ResReceiveDataError;
+})();
+
+$root.ResCheckFile = (function () {
+  /**
+   * Properties of a ResCheckFile.
+   * @exports IResCheckFile
+   * @interface IResCheckFile
+   * @property {number|null} [cmd] ResCheckFile cmd
+   * @property {number|null} [code] ResCheckFile code
+   */
+
+  /**
+   * Constructs a new ResCheckFile.
+   * @exports ResCheckFile
+   * @classdesc Represents a ResCheckFile.
+   * @implements IResCheckFile
+   * @constructor
+   * @param {IResCheckFile=} [properties] Properties to set
+   */
+  function ResCheckFile(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResCheckFile cmd.
+   * @member {number} cmd
+   * @memberof ResCheckFile
+   * @instance
+   */
+  ResCheckFile.prototype.cmd = 0;
+
+  /**
+   * ResCheckFile code.
+   * @member {number} code
+   * @memberof ResCheckFile
+   * @instance
+   */
+  ResCheckFile.prototype.code = 0;
+
+  /**
+   * Creates a new ResCheckFile instance using the specified properties.
+   * @function create
+   * @memberof ResCheckFile
+   * @static
+   * @param {IResCheckFile=} [properties] Properties to set
+   * @returns {ResCheckFile} ResCheckFile instance
+   */
+  ResCheckFile.create = function create(properties) {
+    return new ResCheckFile(properties);
+  };
+
+  /**
+   * Encodes the specified ResCheckFile message. Does not implicitly {@link ResCheckFile.verify|verify} messages.
+   * @function encode
+   * @memberof ResCheckFile
+   * @static
+   * @param {IResCheckFile} message ResCheckFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCheckFile.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResCheckFile message, length delimited. Does not implicitly {@link ResCheckFile.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResCheckFile
+   * @static
+   * @param {IResCheckFile} message ResCheckFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCheckFile.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResCheckFile message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResCheckFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResCheckFile} ResCheckFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCheckFile.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResCheckFile();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.cmd = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResCheckFile message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResCheckFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResCheckFile} ResCheckFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCheckFile.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResCheckFile message.
+   * @function verify
+   * @memberof ResCheckFile
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResCheckFile.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      if (!$util.isInteger(message.cmd)) return "cmd: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResCheckFile
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResCheckFile} ResCheckFile
+   */
+  ResCheckFile.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResCheckFile) return object;
+    var message = new $root.ResCheckFile();
+    if (object.cmd != null) message.cmd = object.cmd | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResCheckFile message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResCheckFile
+   * @static
+   * @param {ResCheckFile} message ResCheckFile
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResCheckFile.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.cmd = 0;
+      object.code = 0;
+    }
+    if (message.cmd != null && message.hasOwnProperty("cmd"))
+      object.cmd = message.cmd;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResCheckFile to JSON.
+   * @function toJSON
+   * @memberof ResCheckFile
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResCheckFile.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResCheckFile
+   * @function getTypeUrl
+   * @memberof ResCheckFile
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResCheckFile";
+  };
+
+  return ResCheckFile;
+})();
+
+$root.ReqOpenCamera = (function () {
+  /**
+   * Properties of a ReqOpenCamera.
+   * @exports IReqOpenCamera
+   * @interface IReqOpenCamera
+   * @property {boolean|null} [binning] ReqOpenCamera binning
+   * @property {number|null} [rtspEncodeType] ReqOpenCamera rtspEncodeType
+   */
+
+  /**
+   * Constructs a new ReqOpenCamera.
+   * @exports ReqOpenCamera
+   * @classdesc Represents a ReqOpenCamera.
+   * @implements IReqOpenCamera
+   * @constructor
+   * @param {IReqOpenCamera=} [properties] Properties to set
+   */
+  function ReqOpenCamera(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqOpenCamera binning.
+   * @member {boolean} binning
+   * @memberof ReqOpenCamera
+   * @instance
+   */
+  ReqOpenCamera.prototype.binning = false;
+
+  /**
+   * ReqOpenCamera rtspEncodeType.
+   * @member {number} rtspEncodeType
+   * @memberof ReqOpenCamera
+   * @instance
+   */
+  ReqOpenCamera.prototype.rtspEncodeType = 0;
+
+  /**
+   * Creates a new ReqOpenCamera instance using the specified properties.
+   * @function create
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {IReqOpenCamera=} [properties] Properties to set
+   * @returns {ReqOpenCamera} ReqOpenCamera instance
+   */
+  ReqOpenCamera.create = function create(properties) {
+    return new ReqOpenCamera(properties);
+  };
+
+  /**
+   * Encodes the specified ReqOpenCamera message. Does not implicitly {@link ReqOpenCamera.verify|verify} messages.
+   * @function encode
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenCamera.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.binning != null &&
+      Object.hasOwnProperty.call(message, "binning")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.binning);
+    if (
+      message.rtspEncodeType != null &&
+      Object.hasOwnProperty.call(message, "rtspEncodeType")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.rtspEncodeType);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly {@link ReqOpenCamera.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenCamera.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqOpenCamera message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqOpenCamera} ReqOpenCamera
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenCamera.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqOpenCamera();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.binning = reader.bool();
+          break;
+        }
+        case 2: {
+          message.rtspEncodeType = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqOpenCamera} ReqOpenCamera
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenCamera.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqOpenCamera message.
+   * @function verify
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqOpenCamera.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.binning != null && message.hasOwnProperty("binning"))
+      if (typeof message.binning !== "boolean")
+        return "binning: boolean expected";
+    if (
+      message.rtspEncodeType != null &&
+      message.hasOwnProperty("rtspEncodeType")
+    )
+      if (!$util.isInteger(message.rtspEncodeType))
+        return "rtspEncodeType: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqOpenCamera} ReqOpenCamera
+   */
+  ReqOpenCamera.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqOpenCamera) return object;
+    var message = new $root.ReqOpenCamera();
+    if (object.binning != null) message.binning = Boolean(object.binning);
+    if (object.rtspEncodeType != null)
+      message.rtspEncodeType = object.rtspEncodeType | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {ReqOpenCamera} message ReqOpenCamera
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqOpenCamera.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.binning = false;
+      object.rtspEncodeType = 0;
+    }
+    if (message.binning != null && message.hasOwnProperty("binning"))
+      object.binning = message.binning;
+    if (
+      message.rtspEncodeType != null &&
+      message.hasOwnProperty("rtspEncodeType")
+    )
+      object.rtspEncodeType = message.rtspEncodeType;
+    return object;
+  };
+
+  /**
+   * Converts this ReqOpenCamera to JSON.
+   * @function toJSON
+   * @memberof ReqOpenCamera
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqOpenCamera.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqOpenCamera
+   * @function getTypeUrl
+   * @memberof ReqOpenCamera
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqOpenCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqOpenCamera";
+  };
+
+  return ReqOpenCamera;
+})();
+
+$root.ReqCloseCamera = (function () {
+  /**
+   * Properties of a ReqCloseCamera.
+   * @exports IReqCloseCamera
+   * @interface IReqCloseCamera
+   */
+
+  /**
+   * Constructs a new ReqCloseCamera.
+   * @exports ReqCloseCamera
+   * @classdesc Represents a ReqCloseCamera.
+   * @implements IReqCloseCamera
+   * @constructor
+   * @param {IReqCloseCamera=} [properties] Properties to set
+   */
+  function ReqCloseCamera(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqCloseCamera instance using the specified properties.
+   * @function create
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {IReqCloseCamera=} [properties] Properties to set
+   * @returns {ReqCloseCamera} ReqCloseCamera instance
+   */
+  ReqCloseCamera.create = function create(properties) {
+    return new ReqCloseCamera(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCloseCamera message. Does not implicitly {@link ReqCloseCamera.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCloseCamera.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly {@link ReqCloseCamera.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCloseCamera.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCloseCamera message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCloseCamera} ReqCloseCamera
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCloseCamera.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCloseCamera();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCloseCamera} ReqCloseCamera
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCloseCamera.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCloseCamera message.
+   * @function verify
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCloseCamera.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCloseCamera} ReqCloseCamera
+   */
+  ReqCloseCamera.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCloseCamera) return object;
+    return new $root.ReqCloseCamera();
+  };
+
+  /**
+   * Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {ReqCloseCamera} message ReqCloseCamera
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCloseCamera.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqCloseCamera to JSON.
+   * @function toJSON
+   * @memberof ReqCloseCamera
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCloseCamera.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCloseCamera
+   * @function getTypeUrl
+   * @memberof ReqCloseCamera
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCloseCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCloseCamera";
+  };
+
+  return ReqCloseCamera;
+})();
+
+$root.ReqPhoto = (function () {
+  /**
+   * Properties of a ReqPhoto.
+   * @exports IReqPhoto
+   * @interface IReqPhoto
+   */
+
+  /**
+   * Constructs a new ReqPhoto.
+   * @exports ReqPhoto
+   * @classdesc Represents a ReqPhoto.
+   * @implements IReqPhoto
+   * @constructor
+   * @param {IReqPhoto=} [properties] Properties to set
+   */
+  function ReqPhoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqPhoto instance using the specified properties.
+   * @function create
+   * @memberof ReqPhoto
+   * @static
+   * @param {IReqPhoto=} [properties] Properties to set
+   * @returns {ReqPhoto} ReqPhoto instance
+   */
+  ReqPhoto.create = function create(properties) {
+    return new ReqPhoto(properties);
+  };
+
+  /**
+   * Encodes the specified ReqPhoto message. Does not implicitly {@link ReqPhoto.verify|verify} messages.
+   * @function encode
+   * @memberof ReqPhoto
+   * @static
+   * @param {IReqPhoto} message ReqPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPhoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqPhoto message, length delimited. Does not implicitly {@link ReqPhoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqPhoto
+   * @static
+   * @param {IReqPhoto} message ReqPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPhoto.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqPhoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqPhoto} ReqPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPhoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqPhoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqPhoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqPhoto} ReqPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPhoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqPhoto message.
+   * @function verify
+   * @memberof ReqPhoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqPhoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqPhoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqPhoto} ReqPhoto
+   */
+  ReqPhoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqPhoto) return object;
+    return new $root.ReqPhoto();
+  };
+
+  /**
+   * Creates a plain object from a ReqPhoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqPhoto
+   * @static
+   * @param {ReqPhoto} message ReqPhoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqPhoto.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqPhoto to JSON.
+   * @function toJSON
+   * @memberof ReqPhoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqPhoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqPhoto
+   * @function getTypeUrl
+   * @memberof ReqPhoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqPhoto";
+  };
+
+  return ReqPhoto;
+})();
+
+$root.ReqBurstPhoto = (function () {
+  /**
+   * Properties of a ReqBurstPhoto.
+   * @exports IReqBurstPhoto
+   * @interface IReqBurstPhoto
+   * @property {number|null} [count] ReqBurstPhoto count
+   */
+
+  /**
+   * Constructs a new ReqBurstPhoto.
+   * @exports ReqBurstPhoto
+   * @classdesc Represents a ReqBurstPhoto.
+   * @implements IReqBurstPhoto
+   * @constructor
+   * @param {IReqBurstPhoto=} [properties] Properties to set
+   */
+  function ReqBurstPhoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqBurstPhoto count.
+   * @member {number} count
+   * @memberof ReqBurstPhoto
+   * @instance
+   */
+  ReqBurstPhoto.prototype.count = 0;
+
+  /**
+   * Creates a new ReqBurstPhoto instance using the specified properties.
+   * @function create
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {IReqBurstPhoto=} [properties] Properties to set
+   * @returns {ReqBurstPhoto} ReqBurstPhoto instance
+   */
+  ReqBurstPhoto.create = function create(properties) {
+    return new ReqBurstPhoto(properties);
+  };
+
+  /**
+   * Encodes the specified ReqBurstPhoto message. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages.
+   * @function encode
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqBurstPhoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.count != null && Object.hasOwnProperty.call(message, "count"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.count);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqBurstPhoto.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqBurstPhoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqBurstPhoto} ReqBurstPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqBurstPhoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqBurstPhoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.count = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqBurstPhoto} ReqBurstPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqBurstPhoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqBurstPhoto message.
+   * @function verify
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqBurstPhoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.count != null && message.hasOwnProperty("count"))
+      if (!$util.isInteger(message.count)) return "count: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqBurstPhoto} ReqBurstPhoto
+   */
+  ReqBurstPhoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqBurstPhoto) return object;
+    var message = new $root.ReqBurstPhoto();
+    if (object.count != null) message.count = object.count | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {ReqBurstPhoto} message ReqBurstPhoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqBurstPhoto.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.count = 0;
+    if (message.count != null && message.hasOwnProperty("count"))
+      object.count = message.count;
+    return object;
+  };
+
+  /**
+   * Converts this ReqBurstPhoto to JSON.
+   * @function toJSON
+   * @memberof ReqBurstPhoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqBurstPhoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqBurstPhoto
+   * @function getTypeUrl
+   * @memberof ReqBurstPhoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqBurstPhoto";
+  };
+
+  return ReqBurstPhoto;
+})();
+
+$root.ReqStopBurstPhoto = (function () {
+  /**
+   * Properties of a ReqStopBurstPhoto.
+   * @exports IReqStopBurstPhoto
+   * @interface IReqStopBurstPhoto
+   */
+
+  /**
+   * Constructs a new ReqStopBurstPhoto.
+   * @exports ReqStopBurstPhoto
+   * @classdesc Represents a ReqStopBurstPhoto.
+   * @implements IReqStopBurstPhoto
+   * @constructor
+   * @param {IReqStopBurstPhoto=} [properties] Properties to set
+   */
+  function ReqStopBurstPhoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopBurstPhoto instance using the specified properties.
+   * @function create
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {IReqStopBurstPhoto=} [properties] Properties to set
+   * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto instance
+   */
+  ReqStopBurstPhoto.create = function create(properties) {
+    return new ReqStopBurstPhoto(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopBurstPhoto message. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopBurstPhoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopBurstPhoto.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopBurstPhoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopBurstPhoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopBurstPhoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopBurstPhoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopBurstPhoto message.
+   * @function verify
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopBurstPhoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto
+   */
+  ReqStopBurstPhoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopBurstPhoto) return object;
+    return new $root.ReqStopBurstPhoto();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {ReqStopBurstPhoto} message ReqStopBurstPhoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopBurstPhoto.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopBurstPhoto to JSON.
+   * @function toJSON
+   * @memberof ReqStopBurstPhoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopBurstPhoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopBurstPhoto
+   * @function getTypeUrl
+   * @memberof ReqStopBurstPhoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopBurstPhoto";
+  };
+
+  return ReqStopBurstPhoto;
+})();
+
+$root.ReqStartRecord = (function () {
+  /**
+   * Properties of a ReqStartRecord.
+   * @exports IReqStartRecord
+   * @interface IReqStartRecord
+   * @property {number|null} [encodeType] ReqStartRecord encodeType
+   */
+
+  /**
+   * Constructs a new ReqStartRecord.
+   * @exports ReqStartRecord
+   * @classdesc Represents a ReqStartRecord.
+   * @implements IReqStartRecord
+   * @constructor
+   * @param {IReqStartRecord=} [properties] Properties to set
+   */
+  function ReqStartRecord(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartRecord encodeType.
+   * @member {number} encodeType
+   * @memberof ReqStartRecord
+   * @instance
+   */
+  ReqStartRecord.prototype.encodeType = 0;
+
+  /**
+   * Creates a new ReqStartRecord instance using the specified properties.
+   * @function create
+   * @memberof ReqStartRecord
+   * @static
+   * @param {IReqStartRecord=} [properties] Properties to set
+   * @returns {ReqStartRecord} ReqStartRecord instance
+   */
+  ReqStartRecord.create = function create(properties) {
+    return new ReqStartRecord(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartRecord message. Does not implicitly {@link ReqStartRecord.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartRecord
+   * @static
+   * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartRecord.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.encodeType != null &&
+      Object.hasOwnProperty.call(message, "encodeType")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.encodeType);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartRecord message, length delimited. Does not implicitly {@link ReqStartRecord.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartRecord
+   * @static
+   * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartRecord.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartRecord message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartRecord
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartRecord} ReqStartRecord
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartRecord.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartRecord();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.encodeType = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartRecord message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartRecord
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartRecord} ReqStartRecord
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartRecord.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartRecord message.
+   * @function verify
+   * @memberof ReqStartRecord
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartRecord.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.encodeType != null && message.hasOwnProperty("encodeType"))
+      if (!$util.isInteger(message.encodeType))
+        return "encodeType: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartRecord
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartRecord} ReqStartRecord
+   */
+  ReqStartRecord.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartRecord) return object;
+    var message = new $root.ReqStartRecord();
+    if (object.encodeType != null) message.encodeType = object.encodeType | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartRecord
+   * @static
+   * @param {ReqStartRecord} message ReqStartRecord
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartRecord.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.encodeType = 0;
+    if (message.encodeType != null && message.hasOwnProperty("encodeType"))
+      object.encodeType = message.encodeType;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartRecord to JSON.
+   * @function toJSON
+   * @memberof ReqStartRecord
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartRecord.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartRecord
+   * @function getTypeUrl
+   * @memberof ReqStartRecord
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartRecord";
+  };
+
+  return ReqStartRecord;
+})();
+
+$root.ReqStopRecord = (function () {
+  /**
+   * Properties of a ReqStopRecord.
+   * @exports IReqStopRecord
+   * @interface IReqStopRecord
+   */
+
+  /**
+   * Constructs a new ReqStopRecord.
+   * @exports ReqStopRecord
+   * @classdesc Represents a ReqStopRecord.
+   * @implements IReqStopRecord
+   * @constructor
+   * @param {IReqStopRecord=} [properties] Properties to set
+   */
+  function ReqStopRecord(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopRecord instance using the specified properties.
+   * @function create
+   * @memberof ReqStopRecord
+   * @static
+   * @param {IReqStopRecord=} [properties] Properties to set
+   * @returns {ReqStopRecord} ReqStopRecord instance
+   */
+  ReqStopRecord.create = function create(properties) {
+    return new ReqStopRecord(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopRecord message. Does not implicitly {@link ReqStopRecord.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopRecord
+   * @static
+   * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopRecord.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopRecord message, length delimited. Does not implicitly {@link ReqStopRecord.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopRecord
+   * @static
+   * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopRecord.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopRecord message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopRecord
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopRecord} ReqStopRecord
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopRecord.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopRecord();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopRecord message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopRecord
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopRecord} ReqStopRecord
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopRecord.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopRecord message.
+   * @function verify
+   * @memberof ReqStopRecord
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopRecord.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopRecord
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopRecord} ReqStopRecord
+   */
+  ReqStopRecord.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopRecord) return object;
+    return new $root.ReqStopRecord();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopRecord
+   * @static
+   * @param {ReqStopRecord} message ReqStopRecord
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopRecord.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopRecord to JSON.
+   * @function toJSON
+   * @memberof ReqStopRecord
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopRecord.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopRecord
+   * @function getTypeUrl
+   * @memberof ReqStopRecord
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopRecord";
+  };
+
+  return ReqStopRecord;
+})();
+
+$root.ReqSetExpMode = (function () {
+  /**
+   * Properties of a ReqSetExpMode.
+   * @exports IReqSetExpMode
+   * @interface IReqSetExpMode
+   * @property {number|null} [mode] ReqSetExpMode mode
+   */
+
+  /**
+   * Constructs a new ReqSetExpMode.
+   * @exports ReqSetExpMode
+   * @classdesc Represents a ReqSetExpMode.
+   * @implements IReqSetExpMode
+   * @constructor
+   * @param {IReqSetExpMode=} [properties] Properties to set
+   */
+  function ReqSetExpMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetExpMode mode.
+   * @member {number} mode
+   * @memberof ReqSetExpMode
+   * @instance
+   */
+  ReqSetExpMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqSetExpMode instance using the specified properties.
+   * @function create
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {IReqSetExpMode=} [properties] Properties to set
+   * @returns {ReqSetExpMode} ReqSetExpMode instance
+   */
+  ReqSetExpMode.create = function create(properties) {
+    return new ReqSetExpMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetExpMode message. Does not implicitly {@link ReqSetExpMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetExpMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly {@link ReqSetExpMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetExpMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetExpMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetExpMode} ReqSetExpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetExpMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetExpMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetExpMode} ReqSetExpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetExpMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetExpMode message.
+   * @function verify
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetExpMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetExpMode} ReqSetExpMode
+   */
+  ReqSetExpMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetExpMode) return object;
+    var message = new $root.ReqSetExpMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {ReqSetExpMode} message ReqSetExpMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetExpMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetExpMode to JSON.
+   * @function toJSON
+   * @memberof ReqSetExpMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetExpMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetExpMode
+   * @function getTypeUrl
+   * @memberof ReqSetExpMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetExpMode";
+  };
+
+  return ReqSetExpMode;
+})();
+
+$root.ReqGetExpMode = (function () {
+  /**
+   * Properties of a ReqGetExpMode.
+   * @exports IReqGetExpMode
+   * @interface IReqGetExpMode
+   */
+
+  /**
+   * Constructs a new ReqGetExpMode.
+   * @exports ReqGetExpMode
+   * @classdesc Represents a ReqGetExpMode.
+   * @implements IReqGetExpMode
+   * @constructor
+   * @param {IReqGetExpMode=} [properties] Properties to set
+   */
+  function ReqGetExpMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetExpMode instance using the specified properties.
+   * @function create
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {IReqGetExpMode=} [properties] Properties to set
+   * @returns {ReqGetExpMode} ReqGetExpMode instance
+   */
+  ReqGetExpMode.create = function create(properties) {
+    return new ReqGetExpMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetExpMode message. Does not implicitly {@link ReqGetExpMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetExpMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly {@link ReqGetExpMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetExpMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetExpMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetExpMode} ReqGetExpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetExpMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetExpMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetExpMode} ReqGetExpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetExpMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetExpMode message.
+   * @function verify
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetExpMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetExpMode} ReqGetExpMode
+   */
+  ReqGetExpMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetExpMode) return object;
+    return new $root.ReqGetExpMode();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {ReqGetExpMode} message ReqGetExpMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetExpMode.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetExpMode to JSON.
+   * @function toJSON
+   * @memberof ReqGetExpMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetExpMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetExpMode
+   * @function getTypeUrl
+   * @memberof ReqGetExpMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetExpMode";
+  };
+
+  return ReqGetExpMode;
+})();
+
+$root.ReqSetExp = (function () {
+  /**
+   * Properties of a ReqSetExp.
+   * @exports IReqSetExp
+   * @interface IReqSetExp
+   * @property {number|null} [index] ReqSetExp index
+   */
+
+  /**
+   * Constructs a new ReqSetExp.
+   * @exports ReqSetExp
+   * @classdesc Represents a ReqSetExp.
+   * @implements IReqSetExp
+   * @constructor
+   * @param {IReqSetExp=} [properties] Properties to set
+   */
+  function ReqSetExp(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetExp index.
+   * @member {number} index
+   * @memberof ReqSetExp
+   * @instance
+   */
+  ReqSetExp.prototype.index = 0;
+
+  /**
+   * Creates a new ReqSetExp instance using the specified properties.
+   * @function create
+   * @memberof ReqSetExp
+   * @static
+   * @param {IReqSetExp=} [properties] Properties to set
+   * @returns {ReqSetExp} ReqSetExp instance
+   */
+  ReqSetExp.create = function create(properties) {
+    return new ReqSetExp(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetExp message. Does not implicitly {@link ReqSetExp.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetExp
+   * @static
+   * @param {IReqSetExp} message ReqSetExp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetExp.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetExp message, length delimited. Does not implicitly {@link ReqSetExp.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetExp
+   * @static
+   * @param {IReqSetExp} message ReqSetExp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetExp.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetExp message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetExp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetExp} ReqSetExp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetExp.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetExp();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetExp message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetExp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetExp} ReqSetExp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetExp.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetExp message.
+   * @function verify
+   * @memberof ReqSetExp
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetExp.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetExp
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetExp} ReqSetExp
+   */
+  ReqSetExp.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetExp) return object;
+    var message = new $root.ReqSetExp();
+    if (object.index != null) message.index = object.index | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetExp message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetExp
+   * @static
+   * @param {ReqSetExp} message ReqSetExp
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetExp.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.index = 0;
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetExp to JSON.
+   * @function toJSON
+   * @memberof ReqSetExp
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetExp.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetExp
+   * @function getTypeUrl
+   * @memberof ReqSetExp
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetExp";
+  };
+
+  return ReqSetExp;
+})();
+
+$root.ReqGetExp = (function () {
+  /**
+   * Properties of a ReqGetExp.
+   * @exports IReqGetExp
+   * @interface IReqGetExp
+   */
+
+  /**
+   * Constructs a new ReqGetExp.
+   * @exports ReqGetExp
+   * @classdesc Represents a ReqGetExp.
+   * @implements IReqGetExp
+   * @constructor
+   * @param {IReqGetExp=} [properties] Properties to set
+   */
+  function ReqGetExp(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetExp instance using the specified properties.
+   * @function create
+   * @memberof ReqGetExp
+   * @static
+   * @param {IReqGetExp=} [properties] Properties to set
+   * @returns {ReqGetExp} ReqGetExp instance
+   */
+  ReqGetExp.create = function create(properties) {
+    return new ReqGetExp(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetExp message. Does not implicitly {@link ReqGetExp.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetExp
+   * @static
+   * @param {IReqGetExp} message ReqGetExp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetExp.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetExp message, length delimited. Does not implicitly {@link ReqGetExp.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetExp
+   * @static
+   * @param {IReqGetExp} message ReqGetExp message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetExp.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetExp message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetExp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetExp} ReqGetExp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetExp.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetExp();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetExp message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetExp
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetExp} ReqGetExp
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetExp.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetExp message.
+   * @function verify
+   * @memberof ReqGetExp
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetExp.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetExp
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetExp} ReqGetExp
+   */
+  ReqGetExp.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetExp) return object;
+    return new $root.ReqGetExp();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetExp message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetExp
+   * @static
+   * @param {ReqGetExp} message ReqGetExp
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetExp.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetExp to JSON.
+   * @function toJSON
+   * @memberof ReqGetExp
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetExp.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetExp
+   * @function getTypeUrl
+   * @memberof ReqGetExp
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetExp";
+  };
+
+  return ReqGetExp;
+})();
+
+$root.ReqSetGainMode = (function () {
+  /**
+   * Properties of a ReqSetGainMode.
+   * @exports IReqSetGainMode
+   * @interface IReqSetGainMode
+   * @property {number|null} [mode] ReqSetGainMode mode
+   */
+
+  /**
+   * Constructs a new ReqSetGainMode.
+   * @exports ReqSetGainMode
+   * @classdesc Represents a ReqSetGainMode.
+   * @implements IReqSetGainMode
+   * @constructor
+   * @param {IReqSetGainMode=} [properties] Properties to set
+   */
+  function ReqSetGainMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetGainMode mode.
+   * @member {number} mode
+   * @memberof ReqSetGainMode
+   * @instance
+   */
+  ReqSetGainMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqSetGainMode instance using the specified properties.
+   * @function create
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {IReqSetGainMode=} [properties] Properties to set
+   * @returns {ReqSetGainMode} ReqSetGainMode instance
+   */
+  ReqSetGainMode.create = function create(properties) {
+    return new ReqSetGainMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetGainMode message. Does not implicitly {@link ReqSetGainMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetGainMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly {@link ReqSetGainMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetGainMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetGainMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetGainMode} ReqSetGainMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetGainMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetGainMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetGainMode} ReqSetGainMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetGainMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetGainMode message.
+   * @function verify
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetGainMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetGainMode} ReqSetGainMode
+   */
+  ReqSetGainMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetGainMode) return object;
+    var message = new $root.ReqSetGainMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {ReqSetGainMode} message ReqSetGainMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetGainMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetGainMode to JSON.
+   * @function toJSON
+   * @memberof ReqSetGainMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetGainMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetGainMode
+   * @function getTypeUrl
+   * @memberof ReqSetGainMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetGainMode";
+  };
+
+  return ReqSetGainMode;
+})();
+
+$root.ReqGetGainMode = (function () {
+  /**
+   * Properties of a ReqGetGainMode.
+   * @exports IReqGetGainMode
+   * @interface IReqGetGainMode
+   */
+
+  /**
+   * Constructs a new ReqGetGainMode.
+   * @exports ReqGetGainMode
+   * @classdesc Represents a ReqGetGainMode.
+   * @implements IReqGetGainMode
+   * @constructor
+   * @param {IReqGetGainMode=} [properties] Properties to set
+   */
+  function ReqGetGainMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetGainMode instance using the specified properties.
+   * @function create
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {IReqGetGainMode=} [properties] Properties to set
+   * @returns {ReqGetGainMode} ReqGetGainMode instance
+   */
+  ReqGetGainMode.create = function create(properties) {
+    return new ReqGetGainMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetGainMode message. Does not implicitly {@link ReqGetGainMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetGainMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly {@link ReqGetGainMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetGainMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetGainMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetGainMode} ReqGetGainMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetGainMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetGainMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetGainMode} ReqGetGainMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetGainMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetGainMode message.
+   * @function verify
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetGainMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetGainMode} ReqGetGainMode
+   */
+  ReqGetGainMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetGainMode) return object;
+    return new $root.ReqGetGainMode();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {ReqGetGainMode} message ReqGetGainMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetGainMode.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetGainMode to JSON.
+   * @function toJSON
+   * @memberof ReqGetGainMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetGainMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetGainMode
+   * @function getTypeUrl
+   * @memberof ReqGetGainMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetGainMode";
+  };
+
+  return ReqGetGainMode;
+})();
+
+$root.ReqSetGain = (function () {
+  /**
+   * Properties of a ReqSetGain.
+   * @exports IReqSetGain
+   * @interface IReqSetGain
+   * @property {number|null} [index] ReqSetGain index
+   */
+
+  /**
+   * Constructs a new ReqSetGain.
+   * @exports ReqSetGain
+   * @classdesc Represents a ReqSetGain.
+   * @implements IReqSetGain
+   * @constructor
+   * @param {IReqSetGain=} [properties] Properties to set
+   */
+  function ReqSetGain(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetGain index.
+   * @member {number} index
+   * @memberof ReqSetGain
+   * @instance
+   */
+  ReqSetGain.prototype.index = 0;
+
+  /**
+   * Creates a new ReqSetGain instance using the specified properties.
+   * @function create
+   * @memberof ReqSetGain
+   * @static
+   * @param {IReqSetGain=} [properties] Properties to set
+   * @returns {ReqSetGain} ReqSetGain instance
+   */
+  ReqSetGain.create = function create(properties) {
+    return new ReqSetGain(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetGain message. Does not implicitly {@link ReqSetGain.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetGain
+   * @static
+   * @param {IReqSetGain} message ReqSetGain message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetGain.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetGain message, length delimited. Does not implicitly {@link ReqSetGain.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetGain
+   * @static
+   * @param {IReqSetGain} message ReqSetGain message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetGain.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetGain message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetGain
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetGain} ReqSetGain
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetGain.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetGain();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetGain message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetGain
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetGain} ReqSetGain
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetGain.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetGain message.
+   * @function verify
+   * @memberof ReqSetGain
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetGain.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetGain
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetGain} ReqSetGain
+   */
+  ReqSetGain.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetGain) return object;
+    var message = new $root.ReqSetGain();
+    if (object.index != null) message.index = object.index | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetGain message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetGain
+   * @static
+   * @param {ReqSetGain} message ReqSetGain
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetGain.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.index = 0;
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetGain to JSON.
+   * @function toJSON
+   * @memberof ReqSetGain
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetGain.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetGain
+   * @function getTypeUrl
+   * @memberof ReqSetGain
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetGain";
+  };
+
+  return ReqSetGain;
+})();
+
+$root.ReqGetGain = (function () {
+  /**
+   * Properties of a ReqGetGain.
+   * @exports IReqGetGain
+   * @interface IReqGetGain
+   */
+
+  /**
+   * Constructs a new ReqGetGain.
+   * @exports ReqGetGain
+   * @classdesc Represents a ReqGetGain.
+   * @implements IReqGetGain
+   * @constructor
+   * @param {IReqGetGain=} [properties] Properties to set
+   */
+  function ReqGetGain(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetGain instance using the specified properties.
+   * @function create
+   * @memberof ReqGetGain
+   * @static
+   * @param {IReqGetGain=} [properties] Properties to set
+   * @returns {ReqGetGain} ReqGetGain instance
+   */
+  ReqGetGain.create = function create(properties) {
+    return new ReqGetGain(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetGain message. Does not implicitly {@link ReqGetGain.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetGain
+   * @static
+   * @param {IReqGetGain} message ReqGetGain message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetGain.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetGain message, length delimited. Does not implicitly {@link ReqGetGain.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetGain
+   * @static
+   * @param {IReqGetGain} message ReqGetGain message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetGain.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetGain message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetGain
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetGain} ReqGetGain
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetGain.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetGain();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetGain message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetGain
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetGain} ReqGetGain
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetGain.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetGain message.
+   * @function verify
+   * @memberof ReqGetGain
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetGain.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetGain
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetGain} ReqGetGain
+   */
+  ReqGetGain.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetGain) return object;
+    return new $root.ReqGetGain();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetGain message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetGain
+   * @static
+   * @param {ReqGetGain} message ReqGetGain
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetGain.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetGain to JSON.
+   * @function toJSON
+   * @memberof ReqGetGain
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetGain.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetGain
+   * @function getTypeUrl
+   * @memberof ReqGetGain
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetGain";
+  };
+
+  return ReqGetGain;
+})();
+
+$root.ReqSetBrightness = (function () {
+  /**
+   * Properties of a ReqSetBrightness.
+   * @exports IReqSetBrightness
+   * @interface IReqSetBrightness
+   * @property {number|null} [value] ReqSetBrightness value
+   */
+
+  /**
+   * Constructs a new ReqSetBrightness.
+   * @exports ReqSetBrightness
+   * @classdesc Represents a ReqSetBrightness.
+   * @implements IReqSetBrightness
+   * @constructor
+   * @param {IReqSetBrightness=} [properties] Properties to set
+   */
+  function ReqSetBrightness(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetBrightness value.
+   * @member {number} value
+   * @memberof ReqSetBrightness
+   * @instance
+   */
+  ReqSetBrightness.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetBrightness instance using the specified properties.
+   * @function create
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {IReqSetBrightness=} [properties] Properties to set
+   * @returns {ReqSetBrightness} ReqSetBrightness instance
+   */
+  ReqSetBrightness.create = function create(properties) {
+    return new ReqSetBrightness(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetBrightness message. Does not implicitly {@link ReqSetBrightness.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetBrightness.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly {@link ReqSetBrightness.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetBrightness.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetBrightness message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetBrightness} ReqSetBrightness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetBrightness.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetBrightness();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetBrightness} ReqSetBrightness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetBrightness.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetBrightness message.
+   * @function verify
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetBrightness.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetBrightness} ReqSetBrightness
+   */
+  ReqSetBrightness.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetBrightness) return object;
+    var message = new $root.ReqSetBrightness();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {ReqSetBrightness} message ReqSetBrightness
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetBrightness.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetBrightness to JSON.
+   * @function toJSON
+   * @memberof ReqSetBrightness
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetBrightness.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetBrightness
+   * @function getTypeUrl
+   * @memberof ReqSetBrightness
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetBrightness";
+  };
+
+  return ReqSetBrightness;
+})();
+
+$root.ReqGetBrightness = (function () {
+  /**
+   * Properties of a ReqGetBrightness.
+   * @exports IReqGetBrightness
+   * @interface IReqGetBrightness
+   */
+
+  /**
+   * Constructs a new ReqGetBrightness.
+   * @exports ReqGetBrightness
+   * @classdesc Represents a ReqGetBrightness.
+   * @implements IReqGetBrightness
+   * @constructor
+   * @param {IReqGetBrightness=} [properties] Properties to set
+   */
+  function ReqGetBrightness(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetBrightness instance using the specified properties.
+   * @function create
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {IReqGetBrightness=} [properties] Properties to set
+   * @returns {ReqGetBrightness} ReqGetBrightness instance
+   */
+  ReqGetBrightness.create = function create(properties) {
+    return new ReqGetBrightness(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetBrightness message. Does not implicitly {@link ReqGetBrightness.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetBrightness.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly {@link ReqGetBrightness.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetBrightness.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetBrightness message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetBrightness} ReqGetBrightness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetBrightness.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetBrightness();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetBrightness} ReqGetBrightness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetBrightness.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetBrightness message.
+   * @function verify
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetBrightness.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetBrightness} ReqGetBrightness
+   */
+  ReqGetBrightness.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetBrightness) return object;
+    return new $root.ReqGetBrightness();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {ReqGetBrightness} message ReqGetBrightness
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetBrightness.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetBrightness to JSON.
+   * @function toJSON
+   * @memberof ReqGetBrightness
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetBrightness.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetBrightness
+   * @function getTypeUrl
+   * @memberof ReqGetBrightness
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetBrightness";
+  };
+
+  return ReqGetBrightness;
+})();
+
+$root.ReqSetContrast = (function () {
+  /**
+   * Properties of a ReqSetContrast.
+   * @exports IReqSetContrast
+   * @interface IReqSetContrast
+   * @property {number|null} [value] ReqSetContrast value
+   */
+
+  /**
+   * Constructs a new ReqSetContrast.
+   * @exports ReqSetContrast
+   * @classdesc Represents a ReqSetContrast.
+   * @implements IReqSetContrast
+   * @constructor
+   * @param {IReqSetContrast=} [properties] Properties to set
+   */
+  function ReqSetContrast(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetContrast value.
+   * @member {number} value
+   * @memberof ReqSetContrast
+   * @instance
+   */
+  ReqSetContrast.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetContrast instance using the specified properties.
+   * @function create
+   * @memberof ReqSetContrast
+   * @static
+   * @param {IReqSetContrast=} [properties] Properties to set
+   * @returns {ReqSetContrast} ReqSetContrast instance
+   */
+  ReqSetContrast.create = function create(properties) {
+    return new ReqSetContrast(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetContrast message. Does not implicitly {@link ReqSetContrast.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetContrast
+   * @static
+   * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetContrast.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetContrast message, length delimited. Does not implicitly {@link ReqSetContrast.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetContrast
+   * @static
+   * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetContrast.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetContrast message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetContrast
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetContrast} ReqSetContrast
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetContrast.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetContrast();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetContrast message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetContrast
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetContrast} ReqSetContrast
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetContrast.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetContrast message.
+   * @function verify
+   * @memberof ReqSetContrast
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetContrast.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetContrast
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetContrast} ReqSetContrast
+   */
+  ReqSetContrast.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetContrast) return object;
+    var message = new $root.ReqSetContrast();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetContrast
+   * @static
+   * @param {ReqSetContrast} message ReqSetContrast
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetContrast.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetContrast to JSON.
+   * @function toJSON
+   * @memberof ReqSetContrast
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetContrast.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetContrast
+   * @function getTypeUrl
+   * @memberof ReqSetContrast
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetContrast";
+  };
+
+  return ReqSetContrast;
+})();
+
+$root.ReqGetContrast = (function () {
+  /**
+   * Properties of a ReqGetContrast.
+   * @exports IReqGetContrast
+   * @interface IReqGetContrast
+   */
+
+  /**
+   * Constructs a new ReqGetContrast.
+   * @exports ReqGetContrast
+   * @classdesc Represents a ReqGetContrast.
+   * @implements IReqGetContrast
+   * @constructor
+   * @param {IReqGetContrast=} [properties] Properties to set
+   */
+  function ReqGetContrast(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetContrast instance using the specified properties.
+   * @function create
+   * @memberof ReqGetContrast
+   * @static
+   * @param {IReqGetContrast=} [properties] Properties to set
+   * @returns {ReqGetContrast} ReqGetContrast instance
+   */
+  ReqGetContrast.create = function create(properties) {
+    return new ReqGetContrast(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetContrast message. Does not implicitly {@link ReqGetContrast.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetContrast
+   * @static
+   * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetContrast.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetContrast message, length delimited. Does not implicitly {@link ReqGetContrast.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetContrast
+   * @static
+   * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetContrast.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetContrast message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetContrast
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetContrast} ReqGetContrast
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetContrast.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetContrast();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetContrast message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetContrast
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetContrast} ReqGetContrast
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetContrast.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetContrast message.
+   * @function verify
+   * @memberof ReqGetContrast
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetContrast.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetContrast
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetContrast} ReqGetContrast
+   */
+  ReqGetContrast.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetContrast) return object;
+    return new $root.ReqGetContrast();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetContrast
+   * @static
+   * @param {ReqGetContrast} message ReqGetContrast
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetContrast.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetContrast to JSON.
+   * @function toJSON
+   * @memberof ReqGetContrast
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetContrast.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetContrast
+   * @function getTypeUrl
+   * @memberof ReqGetContrast
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetContrast";
+  };
+
+  return ReqGetContrast;
+})();
+
+$root.ReqSetHue = (function () {
+  /**
+   * Properties of a ReqSetHue.
+   * @exports IReqSetHue
+   * @interface IReqSetHue
+   * @property {number|null} [value] ReqSetHue value
+   */
+
+  /**
+   * Constructs a new ReqSetHue.
+   * @exports ReqSetHue
+   * @classdesc Represents a ReqSetHue.
+   * @implements IReqSetHue
+   * @constructor
+   * @param {IReqSetHue=} [properties] Properties to set
+   */
+  function ReqSetHue(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetHue value.
+   * @member {number} value
+   * @memberof ReqSetHue
+   * @instance
+   */
+  ReqSetHue.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetHue instance using the specified properties.
+   * @function create
+   * @memberof ReqSetHue
+   * @static
+   * @param {IReqSetHue=} [properties] Properties to set
+   * @returns {ReqSetHue} ReqSetHue instance
+   */
+  ReqSetHue.create = function create(properties) {
+    return new ReqSetHue(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetHue message. Does not implicitly {@link ReqSetHue.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetHue
+   * @static
+   * @param {IReqSetHue} message ReqSetHue message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetHue.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetHue message, length delimited. Does not implicitly {@link ReqSetHue.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetHue
+   * @static
+   * @param {IReqSetHue} message ReqSetHue message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetHue.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetHue message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetHue
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetHue} ReqSetHue
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetHue.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetHue();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetHue message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetHue
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetHue} ReqSetHue
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetHue.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetHue message.
+   * @function verify
+   * @memberof ReqSetHue
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetHue.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetHue
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetHue} ReqSetHue
+   */
+  ReqSetHue.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetHue) return object;
+    var message = new $root.ReqSetHue();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetHue message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetHue
+   * @static
+   * @param {ReqSetHue} message ReqSetHue
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetHue.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetHue to JSON.
+   * @function toJSON
+   * @memberof ReqSetHue
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetHue.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetHue
+   * @function getTypeUrl
+   * @memberof ReqSetHue
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetHue";
+  };
+
+  return ReqSetHue;
+})();
+
+$root.ReqGetHue = (function () {
+  /**
+   * Properties of a ReqGetHue.
+   * @exports IReqGetHue
+   * @interface IReqGetHue
+   */
+
+  /**
+   * Constructs a new ReqGetHue.
+   * @exports ReqGetHue
+   * @classdesc Represents a ReqGetHue.
+   * @implements IReqGetHue
+   * @constructor
+   * @param {IReqGetHue=} [properties] Properties to set
+   */
+  function ReqGetHue(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetHue instance using the specified properties.
+   * @function create
+   * @memberof ReqGetHue
+   * @static
+   * @param {IReqGetHue=} [properties] Properties to set
+   * @returns {ReqGetHue} ReqGetHue instance
+   */
+  ReqGetHue.create = function create(properties) {
+    return new ReqGetHue(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetHue message. Does not implicitly {@link ReqGetHue.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetHue
+   * @static
+   * @param {IReqGetHue} message ReqGetHue message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetHue.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetHue message, length delimited. Does not implicitly {@link ReqGetHue.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetHue
+   * @static
+   * @param {IReqGetHue} message ReqGetHue message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetHue.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetHue message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetHue
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetHue} ReqGetHue
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetHue.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetHue();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetHue message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetHue
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetHue} ReqGetHue
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetHue.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetHue message.
+   * @function verify
+   * @memberof ReqGetHue
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetHue.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetHue
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetHue} ReqGetHue
+   */
+  ReqGetHue.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetHue) return object;
+    return new $root.ReqGetHue();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetHue message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetHue
+   * @static
+   * @param {ReqGetHue} message ReqGetHue
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetHue.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetHue to JSON.
+   * @function toJSON
+   * @memberof ReqGetHue
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetHue.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetHue
+   * @function getTypeUrl
+   * @memberof ReqGetHue
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetHue";
+  };
+
+  return ReqGetHue;
+})();
+
+$root.ReqSetSaturation = (function () {
+  /**
+   * Properties of a ReqSetSaturation.
+   * @exports IReqSetSaturation
+   * @interface IReqSetSaturation
+   * @property {number|null} [value] ReqSetSaturation value
+   */
+
+  /**
+   * Constructs a new ReqSetSaturation.
+   * @exports ReqSetSaturation
+   * @classdesc Represents a ReqSetSaturation.
+   * @implements IReqSetSaturation
+   * @constructor
+   * @param {IReqSetSaturation=} [properties] Properties to set
+   */
+  function ReqSetSaturation(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetSaturation value.
+   * @member {number} value
+   * @memberof ReqSetSaturation
+   * @instance
+   */
+  ReqSetSaturation.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetSaturation instance using the specified properties.
+   * @function create
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {IReqSetSaturation=} [properties] Properties to set
+   * @returns {ReqSetSaturation} ReqSetSaturation instance
+   */
+  ReqSetSaturation.create = function create(properties) {
+    return new ReqSetSaturation(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetSaturation message. Does not implicitly {@link ReqSetSaturation.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetSaturation.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly {@link ReqSetSaturation.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetSaturation.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetSaturation message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetSaturation} ReqSetSaturation
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetSaturation.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetSaturation();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetSaturation} ReqSetSaturation
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetSaturation.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetSaturation message.
+   * @function verify
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetSaturation.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetSaturation} ReqSetSaturation
+   */
+  ReqSetSaturation.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetSaturation) return object;
+    var message = new $root.ReqSetSaturation();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {ReqSetSaturation} message ReqSetSaturation
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetSaturation.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetSaturation to JSON.
+   * @function toJSON
+   * @memberof ReqSetSaturation
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetSaturation.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetSaturation
+   * @function getTypeUrl
+   * @memberof ReqSetSaturation
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetSaturation";
+  };
+
+  return ReqSetSaturation;
+})();
+
+$root.ReqGetSaturation = (function () {
+  /**
+   * Properties of a ReqGetSaturation.
+   * @exports IReqGetSaturation
+   * @interface IReqGetSaturation
+   */
+
+  /**
+   * Constructs a new ReqGetSaturation.
+   * @exports ReqGetSaturation
+   * @classdesc Represents a ReqGetSaturation.
+   * @implements IReqGetSaturation
+   * @constructor
+   * @param {IReqGetSaturation=} [properties] Properties to set
+   */
+  function ReqGetSaturation(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetSaturation instance using the specified properties.
+   * @function create
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {IReqGetSaturation=} [properties] Properties to set
+   * @returns {ReqGetSaturation} ReqGetSaturation instance
+   */
+  ReqGetSaturation.create = function create(properties) {
+    return new ReqGetSaturation(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetSaturation message. Does not implicitly {@link ReqGetSaturation.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSaturation.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly {@link ReqGetSaturation.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSaturation.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetSaturation message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetSaturation} ReqGetSaturation
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSaturation.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetSaturation();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetSaturation} ReqGetSaturation
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSaturation.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetSaturation message.
+   * @function verify
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetSaturation.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetSaturation} ReqGetSaturation
+   */
+  ReqGetSaturation.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetSaturation) return object;
+    return new $root.ReqGetSaturation();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {ReqGetSaturation} message ReqGetSaturation
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetSaturation.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetSaturation to JSON.
+   * @function toJSON
+   * @memberof ReqGetSaturation
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetSaturation.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetSaturation
+   * @function getTypeUrl
+   * @memberof ReqGetSaturation
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetSaturation";
+  };
+
+  return ReqGetSaturation;
+})();
+
+$root.ReqSetSharpness = (function () {
+  /**
+   * Properties of a ReqSetSharpness.
+   * @exports IReqSetSharpness
+   * @interface IReqSetSharpness
+   * @property {number|null} [value] ReqSetSharpness value
+   */
+
+  /**
+   * Constructs a new ReqSetSharpness.
+   * @exports ReqSetSharpness
+   * @classdesc Represents a ReqSetSharpness.
+   * @implements IReqSetSharpness
+   * @constructor
+   * @param {IReqSetSharpness=} [properties] Properties to set
+   */
+  function ReqSetSharpness(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetSharpness value.
+   * @member {number} value
+   * @memberof ReqSetSharpness
+   * @instance
+   */
+  ReqSetSharpness.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetSharpness instance using the specified properties.
+   * @function create
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {IReqSetSharpness=} [properties] Properties to set
+   * @returns {ReqSetSharpness} ReqSetSharpness instance
+   */
+  ReqSetSharpness.create = function create(properties) {
+    return new ReqSetSharpness(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetSharpness message. Does not implicitly {@link ReqSetSharpness.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetSharpness.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly {@link ReqSetSharpness.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetSharpness.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetSharpness message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetSharpness} ReqSetSharpness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetSharpness.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetSharpness();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetSharpness} ReqSetSharpness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetSharpness.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetSharpness message.
+   * @function verify
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetSharpness.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetSharpness} ReqSetSharpness
+   */
+  ReqSetSharpness.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetSharpness) return object;
+    var message = new $root.ReqSetSharpness();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {ReqSetSharpness} message ReqSetSharpness
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetSharpness.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetSharpness to JSON.
+   * @function toJSON
+   * @memberof ReqSetSharpness
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetSharpness.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetSharpness
+   * @function getTypeUrl
+   * @memberof ReqSetSharpness
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetSharpness";
+  };
+
+  return ReqSetSharpness;
+})();
+
+$root.ReqGetSharpness = (function () {
+  /**
+   * Properties of a ReqGetSharpness.
+   * @exports IReqGetSharpness
+   * @interface IReqGetSharpness
+   */
+
+  /**
+   * Constructs a new ReqGetSharpness.
+   * @exports ReqGetSharpness
+   * @classdesc Represents a ReqGetSharpness.
+   * @implements IReqGetSharpness
+   * @constructor
+   * @param {IReqGetSharpness=} [properties] Properties to set
+   */
+  function ReqGetSharpness(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetSharpness instance using the specified properties.
+   * @function create
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {IReqGetSharpness=} [properties] Properties to set
+   * @returns {ReqGetSharpness} ReqGetSharpness instance
+   */
+  ReqGetSharpness.create = function create(properties) {
+    return new ReqGetSharpness(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetSharpness message. Does not implicitly {@link ReqGetSharpness.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSharpness.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly {@link ReqGetSharpness.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSharpness.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetSharpness message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetSharpness} ReqGetSharpness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSharpness.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetSharpness();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetSharpness} ReqGetSharpness
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSharpness.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetSharpness message.
+   * @function verify
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetSharpness.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetSharpness} ReqGetSharpness
+   */
+  ReqGetSharpness.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetSharpness) return object;
+    return new $root.ReqGetSharpness();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {ReqGetSharpness} message ReqGetSharpness
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetSharpness.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetSharpness to JSON.
+   * @function toJSON
+   * @memberof ReqGetSharpness
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetSharpness.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetSharpness
+   * @function getTypeUrl
+   * @memberof ReqGetSharpness
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetSharpness";
+  };
+
+  return ReqGetSharpness;
+})();
+
+$root.ReqSetWBMode = (function () {
+  /**
+   * Properties of a ReqSetWBMode.
+   * @exports IReqSetWBMode
+   * @interface IReqSetWBMode
+   * @property {number|null} [mode] ReqSetWBMode mode
+   */
+
+  /**
+   * Constructs a new ReqSetWBMode.
+   * @exports ReqSetWBMode
+   * @classdesc Represents a ReqSetWBMode.
+   * @implements IReqSetWBMode
+   * @constructor
+   * @param {IReqSetWBMode=} [properties] Properties to set
+   */
+  function ReqSetWBMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetWBMode mode.
+   * @member {number} mode
+   * @memberof ReqSetWBMode
+   * @instance
+   */
+  ReqSetWBMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqSetWBMode instance using the specified properties.
+   * @function create
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {IReqSetWBMode=} [properties] Properties to set
+   * @returns {ReqSetWBMode} ReqSetWBMode instance
+   */
+  ReqSetWBMode.create = function create(properties) {
+    return new ReqSetWBMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetWBMode message. Does not implicitly {@link ReqSetWBMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly {@link ReqSetWBMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetWBMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetWBMode} ReqSetWBMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetWBMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetWBMode} ReqSetWBMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetWBMode message.
+   * @function verify
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetWBMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetWBMode} ReqSetWBMode
+   */
+  ReqSetWBMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetWBMode) return object;
+    var message = new $root.ReqSetWBMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {ReqSetWBMode} message ReqSetWBMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetWBMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetWBMode to JSON.
+   * @function toJSON
+   * @memberof ReqSetWBMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetWBMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetWBMode
+   * @function getTypeUrl
+   * @memberof ReqSetWBMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetWBMode";
+  };
+
+  return ReqSetWBMode;
+})();
+
+$root.ReqGetWBMode = (function () {
+  /**
+   * Properties of a ReqGetWBMode.
+   * @exports IReqGetWBMode
+   * @interface IReqGetWBMode
+   */
+
+  /**
+   * Constructs a new ReqGetWBMode.
+   * @exports ReqGetWBMode
+   * @classdesc Represents a ReqGetWBMode.
+   * @implements IReqGetWBMode
+   * @constructor
+   * @param {IReqGetWBMode=} [properties] Properties to set
+   */
+  function ReqGetWBMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetWBMode instance using the specified properties.
+   * @function create
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {IReqGetWBMode=} [properties] Properties to set
+   * @returns {ReqGetWBMode} ReqGetWBMode instance
+   */
+  ReqGetWBMode.create = function create(properties) {
+    return new ReqGetWBMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetWBMode message. Does not implicitly {@link ReqGetWBMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly {@link ReqGetWBMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetWBMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetWBMode} ReqGetWBMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetWBMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetWBMode} ReqGetWBMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetWBMode message.
+   * @function verify
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetWBMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetWBMode} ReqGetWBMode
+   */
+  ReqGetWBMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetWBMode) return object;
+    return new $root.ReqGetWBMode();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {ReqGetWBMode} message ReqGetWBMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetWBMode.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetWBMode to JSON.
+   * @function toJSON
+   * @memberof ReqGetWBMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetWBMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetWBMode
+   * @function getTypeUrl
+   * @memberof ReqGetWBMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetWBMode";
+  };
+
+  return ReqGetWBMode;
+})();
+
+$root.ReqSetWBSence = (function () {
+  /**
+   * Properties of a ReqSetWBSence.
+   * @exports IReqSetWBSence
+   * @interface IReqSetWBSence
+   * @property {number|null} [value] ReqSetWBSence value
+   */
+
+  /**
+   * Constructs a new ReqSetWBSence.
+   * @exports ReqSetWBSence
+   * @classdesc Represents a ReqSetWBSence.
+   * @implements IReqSetWBSence
+   * @constructor
+   * @param {IReqSetWBSence=} [properties] Properties to set
+   */
+  function ReqSetWBSence(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetWBSence value.
+   * @member {number} value
+   * @memberof ReqSetWBSence
+   * @instance
+   */
+  ReqSetWBSence.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetWBSence instance using the specified properties.
+   * @function create
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {IReqSetWBSence=} [properties] Properties to set
+   * @returns {ReqSetWBSence} ReqSetWBSence instance
+   */
+  ReqSetWBSence.create = function create(properties) {
+    return new ReqSetWBSence(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetWBSence message. Does not implicitly {@link ReqSetWBSence.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBSence.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly {@link ReqSetWBSence.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBSence.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetWBSence message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetWBSence} ReqSetWBSence
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBSence.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetWBSence();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetWBSence} ReqSetWBSence
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBSence.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetWBSence message.
+   * @function verify
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetWBSence.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetWBSence} ReqSetWBSence
+   */
+  ReqSetWBSence.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetWBSence) return object;
+    var message = new $root.ReqSetWBSence();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {ReqSetWBSence} message ReqSetWBSence
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetWBSence.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetWBSence to JSON.
+   * @function toJSON
+   * @memberof ReqSetWBSence
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetWBSence.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetWBSence
+   * @function getTypeUrl
+   * @memberof ReqSetWBSence
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetWBSence";
+  };
+
+  return ReqSetWBSence;
+})();
+
+$root.ReqGetWBSence = (function () {
+  /**
+   * Properties of a ReqGetWBSence.
+   * @exports IReqGetWBSence
+   * @interface IReqGetWBSence
+   */
+
+  /**
+   * Constructs a new ReqGetWBSence.
+   * @exports ReqGetWBSence
+   * @classdesc Represents a ReqGetWBSence.
+   * @implements IReqGetWBSence
+   * @constructor
+   * @param {IReqGetWBSence=} [properties] Properties to set
+   */
+  function ReqGetWBSence(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetWBSence instance using the specified properties.
+   * @function create
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {IReqGetWBSence=} [properties] Properties to set
+   * @returns {ReqGetWBSence} ReqGetWBSence instance
+   */
+  ReqGetWBSence.create = function create(properties) {
+    return new ReqGetWBSence(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetWBSence message. Does not implicitly {@link ReqGetWBSence.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBSence.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly {@link ReqGetWBSence.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBSence.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetWBSence message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetWBSence} ReqGetWBSence
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBSence.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetWBSence();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetWBSence} ReqGetWBSence
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBSence.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetWBSence message.
+   * @function verify
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetWBSence.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetWBSence} ReqGetWBSence
+   */
+  ReqGetWBSence.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetWBSence) return object;
+    return new $root.ReqGetWBSence();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {ReqGetWBSence} message ReqGetWBSence
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetWBSence.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetWBSence to JSON.
+   * @function toJSON
+   * @memberof ReqGetWBSence
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetWBSence.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetWBSence
+   * @function getTypeUrl
+   * @memberof ReqGetWBSence
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetWBSence";
+  };
+
+  return ReqGetWBSence;
+})();
+
+$root.ReqSetWBCT = (function () {
+  /**
+   * Properties of a ReqSetWBCT.
+   * @exports IReqSetWBCT
+   * @interface IReqSetWBCT
+   * @property {number|null} [index] ReqSetWBCT index
+   */
+
+  /**
+   * Constructs a new ReqSetWBCT.
+   * @exports ReqSetWBCT
+   * @classdesc Represents a ReqSetWBCT.
+   * @implements IReqSetWBCT
+   * @constructor
+   * @param {IReqSetWBCT=} [properties] Properties to set
+   */
+  function ReqSetWBCT(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetWBCT index.
+   * @member {number} index
+   * @memberof ReqSetWBCT
+   * @instance
+   */
+  ReqSetWBCT.prototype.index = 0;
+
+  /**
+   * Creates a new ReqSetWBCT instance using the specified properties.
+   * @function create
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {IReqSetWBCT=} [properties] Properties to set
+   * @returns {ReqSetWBCT} ReqSetWBCT instance
+   */
+  ReqSetWBCT.create = function create(properties) {
+    return new ReqSetWBCT(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetWBCT message. Does not implicitly {@link ReqSetWBCT.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBCT.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly {@link ReqSetWBCT.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetWBCT.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetWBCT message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetWBCT} ReqSetWBCT
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBCT.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetWBCT();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.index = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetWBCT} ReqSetWBCT
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetWBCT.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetWBCT message.
+   * @function verify
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetWBCT.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetWBCT} ReqSetWBCT
+   */
+  ReqSetWBCT.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetWBCT) return object;
+    var message = new $root.ReqSetWBCT();
+    if (object.index != null) message.index = object.index | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {ReqSetWBCT} message ReqSetWBCT
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetWBCT.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.index = 0;
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetWBCT to JSON.
+   * @function toJSON
+   * @memberof ReqSetWBCT
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetWBCT.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetWBCT
+   * @function getTypeUrl
+   * @memberof ReqSetWBCT
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetWBCT";
+  };
+
+  return ReqSetWBCT;
+})();
+
+$root.ReqGetWBCT = (function () {
+  /**
+   * Properties of a ReqGetWBCT.
+   * @exports IReqGetWBCT
+   * @interface IReqGetWBCT
+   */
+
+  /**
+   * Constructs a new ReqGetWBCT.
+   * @exports ReqGetWBCT
+   * @classdesc Represents a ReqGetWBCT.
+   * @implements IReqGetWBCT
+   * @constructor
+   * @param {IReqGetWBCT=} [properties] Properties to set
+   */
+  function ReqGetWBCT(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetWBCT instance using the specified properties.
+   * @function create
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {IReqGetWBCT=} [properties] Properties to set
+   * @returns {ReqGetWBCT} ReqGetWBCT instance
+   */
+  ReqGetWBCT.create = function create(properties) {
+    return new ReqGetWBCT(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetWBCT message. Does not implicitly {@link ReqGetWBCT.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBCT.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly {@link ReqGetWBCT.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetWBCT.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetWBCT message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetWBCT} ReqGetWBCT
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBCT.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetWBCT();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetWBCT} ReqGetWBCT
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetWBCT.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetWBCT message.
+   * @function verify
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetWBCT.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetWBCT} ReqGetWBCT
+   */
+  ReqGetWBCT.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetWBCT) return object;
+    return new $root.ReqGetWBCT();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {ReqGetWBCT} message ReqGetWBCT
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetWBCT.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetWBCT to JSON.
+   * @function toJSON
+   * @memberof ReqGetWBCT
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetWBCT.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetWBCT
+   * @function getTypeUrl
+   * @memberof ReqGetWBCT
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetWBCT";
+  };
+
+  return ReqGetWBCT;
+})();
+
+$root.ReqSetIrCut = (function () {
+  /**
+   * Properties of a ReqSetIrCut.
+   * @exports IReqSetIrCut
+   * @interface IReqSetIrCut
+   * @property {number|null} [value] ReqSetIrCut value
+   */
+
+  /**
+   * Constructs a new ReqSetIrCut.
+   * @exports ReqSetIrCut
+   * @classdesc Represents a ReqSetIrCut.
+   * @implements IReqSetIrCut
+   * @constructor
+   * @param {IReqSetIrCut=} [properties] Properties to set
+   */
+  function ReqSetIrCut(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetIrCut value.
+   * @member {number} value
+   * @memberof ReqSetIrCut
+   * @instance
+   */
+  ReqSetIrCut.prototype.value = 0;
+
+  /**
+   * Creates a new ReqSetIrCut instance using the specified properties.
+   * @function create
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {IReqSetIrCut=} [properties] Properties to set
+   * @returns {ReqSetIrCut} ReqSetIrCut instance
+   */
+  ReqSetIrCut.create = function create(properties) {
+    return new ReqSetIrCut(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetIrCut message. Does not implicitly {@link ReqSetIrCut.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetIrCut.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly {@link ReqSetIrCut.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetIrCut.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetIrCut message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetIrCut} ReqSetIrCut
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetIrCut.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetIrCut();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.value = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetIrCut} ReqSetIrCut
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetIrCut.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetIrCut message.
+   * @function verify
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetIrCut.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (!$util.isInteger(message.value)) return "value: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetIrCut} ReqSetIrCut
+   */
+  ReqSetIrCut.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetIrCut) return object;
+    var message = new $root.ReqSetIrCut();
+    if (object.value != null) message.value = object.value | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {ReqSetIrCut} message ReqSetIrCut
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetIrCut.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.value = 0;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value = message.value;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetIrCut to JSON.
+   * @function toJSON
+   * @memberof ReqSetIrCut
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetIrCut.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetIrCut
+   * @function getTypeUrl
+   * @memberof ReqSetIrCut
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetIrCut.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetIrCut";
+  };
+
+  return ReqSetIrCut;
+})();
+
+$root.ReqGetIrcut = (function () {
+  /**
+   * Properties of a ReqGetIrcut.
+   * @exports IReqGetIrcut
+   * @interface IReqGetIrcut
+   */
+
+  /**
+   * Constructs a new ReqGetIrcut.
+   * @exports ReqGetIrcut
+   * @classdesc Represents a ReqGetIrcut.
+   * @implements IReqGetIrcut
+   * @constructor
+   * @param {IReqGetIrcut=} [properties] Properties to set
+   */
+  function ReqGetIrcut(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetIrcut instance using the specified properties.
+   * @function create
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {IReqGetIrcut=} [properties] Properties to set
+   * @returns {ReqGetIrcut} ReqGetIrcut instance
+   */
+  ReqGetIrcut.create = function create(properties) {
+    return new ReqGetIrcut(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetIrcut message. Does not implicitly {@link ReqGetIrcut.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetIrcut.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly {@link ReqGetIrcut.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetIrcut.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetIrcut message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetIrcut} ReqGetIrcut
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetIrcut.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetIrcut();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetIrcut} ReqGetIrcut
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetIrcut.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetIrcut message.
+   * @function verify
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetIrcut.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetIrcut} ReqGetIrcut
+   */
+  ReqGetIrcut.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetIrcut) return object;
+    return new $root.ReqGetIrcut();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {ReqGetIrcut} message ReqGetIrcut
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetIrcut.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetIrcut to JSON.
+   * @function toJSON
+   * @memberof ReqGetIrcut
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetIrcut.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetIrcut
+   * @function getTypeUrl
+   * @memberof ReqGetIrcut
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetIrcut.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetIrcut";
+  };
+
+  return ReqGetIrcut;
+})();
+
+$root.ReqStartTimeLapse = (function () {
+  /**
+   * Properties of a ReqStartTimeLapse.
+   * @exports IReqStartTimeLapse
+   * @interface IReqStartTimeLapse
+   */
+
+  /**
+   * Constructs a new ReqStartTimeLapse.
+   * @exports ReqStartTimeLapse
+   * @classdesc Represents a ReqStartTimeLapse.
+   * @implements IReqStartTimeLapse
+   * @constructor
+   * @param {IReqStartTimeLapse=} [properties] Properties to set
+   */
+  function ReqStartTimeLapse(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStartTimeLapse instance using the specified properties.
+   * @function create
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {IReqStartTimeLapse=} [properties] Properties to set
+   * @returns {ReqStartTimeLapse} ReqStartTimeLapse instance
+   */
+  ReqStartTimeLapse.create = function create(properties) {
+    return new ReqStartTimeLapse(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartTimeLapse message. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartTimeLapse.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartTimeLapse.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartTimeLapse message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartTimeLapse} ReqStartTimeLapse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartTimeLapse.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartTimeLapse();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartTimeLapse} ReqStartTimeLapse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartTimeLapse.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartTimeLapse message.
+   * @function verify
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartTimeLapse.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartTimeLapse} ReqStartTimeLapse
+   */
+  ReqStartTimeLapse.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartTimeLapse) return object;
+    return new $root.ReqStartTimeLapse();
+  };
+
+  /**
+   * Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {ReqStartTimeLapse} message ReqStartTimeLapse
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartTimeLapse.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStartTimeLapse to JSON.
+   * @function toJSON
+   * @memberof ReqStartTimeLapse
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartTimeLapse.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartTimeLapse
+   * @function getTypeUrl
+   * @memberof ReqStartTimeLapse
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartTimeLapse";
+  };
+
+  return ReqStartTimeLapse;
+})();
+
+$root.ReqStopTimeLapse = (function () {
+  /**
+   * Properties of a ReqStopTimeLapse.
+   * @exports IReqStopTimeLapse
+   * @interface IReqStopTimeLapse
+   */
+
+  /**
+   * Constructs a new ReqStopTimeLapse.
+   * @exports ReqStopTimeLapse
+   * @classdesc Represents a ReqStopTimeLapse.
+   * @implements IReqStopTimeLapse
+   * @constructor
+   * @param {IReqStopTimeLapse=} [properties] Properties to set
+   */
+  function ReqStopTimeLapse(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopTimeLapse instance using the specified properties.
+   * @function create
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {IReqStopTimeLapse=} [properties] Properties to set
+   * @returns {ReqStopTimeLapse} ReqStopTimeLapse instance
+   */
+  ReqStopTimeLapse.create = function create(properties) {
+    return new ReqStopTimeLapse(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopTimeLapse message. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTimeLapse.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTimeLapse.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopTimeLapse message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopTimeLapse} ReqStopTimeLapse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTimeLapse.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopTimeLapse();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopTimeLapse} ReqStopTimeLapse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTimeLapse.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopTimeLapse message.
+   * @function verify
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopTimeLapse.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopTimeLapse} ReqStopTimeLapse
+   */
+  ReqStopTimeLapse.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopTimeLapse) return object;
+    return new $root.ReqStopTimeLapse();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {ReqStopTimeLapse} message ReqStopTimeLapse
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopTimeLapse.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopTimeLapse to JSON.
+   * @function toJSON
+   * @memberof ReqStopTimeLapse
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopTimeLapse.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopTimeLapse
+   * @function getTypeUrl
+   * @memberof ReqStopTimeLapse
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopTimeLapse";
+  };
+
+  return ReqStopTimeLapse;
+})();
+
+$root.ReqSetAllParams = (function () {
+  /**
+   * Properties of a ReqSetAllParams.
+   * @exports IReqSetAllParams
+   * @interface IReqSetAllParams
+   * @property {number|null} [expMode] ReqSetAllParams expMode
+   * @property {number|null} [expIndex] ReqSetAllParams expIndex
+   * @property {number|null} [gainMode] ReqSetAllParams gainMode
+   * @property {number|null} [gainIndex] ReqSetAllParams gainIndex
+   * @property {number|null} [ircutValue] ReqSetAllParams ircutValue
+   * @property {number|null} [wbMode] ReqSetAllParams wbMode
+   * @property {number|null} [wbIndexType] ReqSetAllParams wbIndexType
+   * @property {number|null} [wbIndex] ReqSetAllParams wbIndex
+   * @property {number|null} [brightness] ReqSetAllParams brightness
+   * @property {number|null} [contrast] ReqSetAllParams contrast
+   * @property {number|null} [hue] ReqSetAllParams hue
+   * @property {number|null} [saturation] ReqSetAllParams saturation
+   * @property {number|null} [sharpness] ReqSetAllParams sharpness
+   * @property {number|null} [jpgQuality] ReqSetAllParams jpgQuality
+   */
+
+  /**
+   * Constructs a new ReqSetAllParams.
+   * @exports ReqSetAllParams
+   * @classdesc Represents a ReqSetAllParams.
+   * @implements IReqSetAllParams
+   * @constructor
+   * @param {IReqSetAllParams=} [properties] Properties to set
+   */
+  function ReqSetAllParams(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetAllParams expMode.
+   * @member {number} expMode
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.expMode = 0;
+
+  /**
+   * ReqSetAllParams expIndex.
+   * @member {number} expIndex
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.expIndex = 0;
+
+  /**
+   * ReqSetAllParams gainMode.
+   * @member {number} gainMode
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.gainMode = 0;
+
+  /**
+   * ReqSetAllParams gainIndex.
+   * @member {number} gainIndex
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.gainIndex = 0;
+
+  /**
+   * ReqSetAllParams ircutValue.
+   * @member {number} ircutValue
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.ircutValue = 0;
+
+  /**
+   * ReqSetAllParams wbMode.
+   * @member {number} wbMode
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.wbMode = 0;
+
+  /**
+   * ReqSetAllParams wbIndexType.
+   * @member {number} wbIndexType
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.wbIndexType = 0;
+
+  /**
+   * ReqSetAllParams wbIndex.
+   * @member {number} wbIndex
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.wbIndex = 0;
+
+  /**
+   * ReqSetAllParams brightness.
+   * @member {number} brightness
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.brightness = 0;
+
+  /**
+   * ReqSetAllParams contrast.
+   * @member {number} contrast
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.contrast = 0;
+
+  /**
+   * ReqSetAllParams hue.
+   * @member {number} hue
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.hue = 0;
+
+  /**
+   * ReqSetAllParams saturation.
+   * @member {number} saturation
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.saturation = 0;
+
+  /**
+   * ReqSetAllParams sharpness.
+   * @member {number} sharpness
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.sharpness = 0;
+
+  /**
+   * ReqSetAllParams jpgQuality.
+   * @member {number} jpgQuality
+   * @memberof ReqSetAllParams
+   * @instance
+   */
+  ReqSetAllParams.prototype.jpgQuality = 0;
+
+  /**
+   * Creates a new ReqSetAllParams instance using the specified properties.
+   * @function create
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {IReqSetAllParams=} [properties] Properties to set
+   * @returns {ReqSetAllParams} ReqSetAllParams instance
+   */
+  ReqSetAllParams.create = function create(properties) {
+    return new ReqSetAllParams(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetAllParams message. Does not implicitly {@link ReqSetAllParams.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetAllParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.expMode != null &&
+      Object.hasOwnProperty.call(message, "expMode")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expMode);
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.expIndex);
+    if (
+      message.gainMode != null &&
+      Object.hasOwnProperty.call(message, "gainMode")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.gainMode);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.gainIndex);
+    if (
+      message.ircutValue != null &&
+      Object.hasOwnProperty.call(message, "ircutValue")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.ircutValue);
+    if (message.wbMode != null && Object.hasOwnProperty.call(message, "wbMode"))
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.wbMode);
+    if (
+      message.wbIndexType != null &&
+      Object.hasOwnProperty.call(message, "wbIndexType")
+    )
+      writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.wbIndexType);
+    if (
+      message.wbIndex != null &&
+      Object.hasOwnProperty.call(message, "wbIndex")
+    )
+      writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.wbIndex);
+    if (
+      message.brightness != null &&
+      Object.hasOwnProperty.call(message, "brightness")
+    )
+      writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.brightness);
+    if (
+      message.contrast != null &&
+      Object.hasOwnProperty.call(message, "contrast")
+    )
+      writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.contrast);
+    if (message.hue != null && Object.hasOwnProperty.call(message, "hue"))
+      writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.hue);
+    if (
+      message.saturation != null &&
+      Object.hasOwnProperty.call(message, "saturation")
+    )
+      writer.uint32(/* id 12, wireType 0 =*/ 96).int32(message.saturation);
+    if (
+      message.sharpness != null &&
+      Object.hasOwnProperty.call(message, "sharpness")
+    )
+      writer.uint32(/* id 13, wireType 0 =*/ 104).int32(message.sharpness);
+    if (
+      message.jpgQuality != null &&
+      Object.hasOwnProperty.call(message, "jpgQuality")
+    )
+      writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.jpgQuality);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly {@link ReqSetAllParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetAllParams.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetAllParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetAllParams} ReqSetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetAllParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetAllParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.expMode = reader.int32();
+          break;
+        }
+        case 2: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 3: {
+          message.gainMode = reader.int32();
+          break;
+        }
+        case 4: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 5: {
+          message.ircutValue = reader.int32();
+          break;
+        }
+        case 6: {
+          message.wbMode = reader.int32();
+          break;
+        }
+        case 7: {
+          message.wbIndexType = reader.int32();
+          break;
+        }
+        case 8: {
+          message.wbIndex = reader.int32();
+          break;
+        }
+        case 9: {
+          message.brightness = reader.int32();
+          break;
+        }
+        case 10: {
+          message.contrast = reader.int32();
+          break;
+        }
+        case 11: {
+          message.hue = reader.int32();
+          break;
+        }
+        case 12: {
+          message.saturation = reader.int32();
+          break;
+        }
+        case 13: {
+          message.sharpness = reader.int32();
+          break;
+        }
+        case 14: {
+          message.jpgQuality = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetAllParams} ReqSetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetAllParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetAllParams message.
+   * @function verify
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetAllParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.expMode != null && message.hasOwnProperty("expMode"))
+      if (!$util.isInteger(message.expMode)) return "expMode: integer expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainMode != null && message.hasOwnProperty("gainMode"))
+      if (!$util.isInteger(message.gainMode))
+        return "gainMode: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.ircutValue != null && message.hasOwnProperty("ircutValue"))
+      if (!$util.isInteger(message.ircutValue))
+        return "ircutValue: integer expected";
+    if (message.wbMode != null && message.hasOwnProperty("wbMode"))
+      if (!$util.isInteger(message.wbMode)) return "wbMode: integer expected";
+    if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType"))
+      if (!$util.isInteger(message.wbIndexType))
+        return "wbIndexType: integer expected";
+    if (message.wbIndex != null && message.hasOwnProperty("wbIndex"))
+      if (!$util.isInteger(message.wbIndex)) return "wbIndex: integer expected";
+    if (message.brightness != null && message.hasOwnProperty("brightness"))
+      if (!$util.isInteger(message.brightness))
+        return "brightness: integer expected";
+    if (message.contrast != null && message.hasOwnProperty("contrast"))
+      if (!$util.isInteger(message.contrast))
+        return "contrast: integer expected";
+    if (message.hue != null && message.hasOwnProperty("hue"))
+      if (!$util.isInteger(message.hue)) return "hue: integer expected";
+    if (message.saturation != null && message.hasOwnProperty("saturation"))
+      if (!$util.isInteger(message.saturation))
+        return "saturation: integer expected";
+    if (message.sharpness != null && message.hasOwnProperty("sharpness"))
+      if (!$util.isInteger(message.sharpness))
+        return "sharpness: integer expected";
+    if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality"))
+      if (!$util.isInteger(message.jpgQuality))
+        return "jpgQuality: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetAllParams} ReqSetAllParams
+   */
+  ReqSetAllParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetAllParams) return object;
+    var message = new $root.ReqSetAllParams();
+    if (object.expMode != null) message.expMode = object.expMode | 0;
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainMode != null) message.gainMode = object.gainMode | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.ircutValue != null) message.ircutValue = object.ircutValue | 0;
+    if (object.wbMode != null) message.wbMode = object.wbMode | 0;
+    if (object.wbIndexType != null)
+      message.wbIndexType = object.wbIndexType | 0;
+    if (object.wbIndex != null) message.wbIndex = object.wbIndex | 0;
+    if (object.brightness != null) message.brightness = object.brightness | 0;
+    if (object.contrast != null) message.contrast = object.contrast | 0;
+    if (object.hue != null) message.hue = object.hue | 0;
+    if (object.saturation != null) message.saturation = object.saturation | 0;
+    if (object.sharpness != null) message.sharpness = object.sharpness | 0;
+    if (object.jpgQuality != null) message.jpgQuality = object.jpgQuality | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {ReqSetAllParams} message ReqSetAllParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetAllParams.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.expMode = 0;
+      object.expIndex = 0;
+      object.gainMode = 0;
+      object.gainIndex = 0;
+      object.ircutValue = 0;
+      object.wbMode = 0;
+      object.wbIndexType = 0;
+      object.wbIndex = 0;
+      object.brightness = 0;
+      object.contrast = 0;
+      object.hue = 0;
+      object.saturation = 0;
+      object.sharpness = 0;
+      object.jpgQuality = 0;
+    }
+    if (message.expMode != null && message.hasOwnProperty("expMode"))
+      object.expMode = message.expMode;
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainMode != null && message.hasOwnProperty("gainMode"))
+      object.gainMode = message.gainMode;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.ircutValue != null && message.hasOwnProperty("ircutValue"))
+      object.ircutValue = message.ircutValue;
+    if (message.wbMode != null && message.hasOwnProperty("wbMode"))
+      object.wbMode = message.wbMode;
+    if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType"))
+      object.wbIndexType = message.wbIndexType;
+    if (message.wbIndex != null && message.hasOwnProperty("wbIndex"))
+      object.wbIndex = message.wbIndex;
+    if (message.brightness != null && message.hasOwnProperty("brightness"))
+      object.brightness = message.brightness;
+    if (message.contrast != null && message.hasOwnProperty("contrast"))
+      object.contrast = message.contrast;
+    if (message.hue != null && message.hasOwnProperty("hue"))
+      object.hue = message.hue;
+    if (message.saturation != null && message.hasOwnProperty("saturation"))
+      object.saturation = message.saturation;
+    if (message.sharpness != null && message.hasOwnProperty("sharpness"))
+      object.sharpness = message.sharpness;
+    if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality"))
+      object.jpgQuality = message.jpgQuality;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetAllParams to JSON.
+   * @function toJSON
+   * @memberof ReqSetAllParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetAllParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetAllParams
+   * @function getTypeUrl
+   * @memberof ReqSetAllParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetAllParams";
+  };
+
+  return ReqSetAllParams;
+})();
+
+$root.ReqGetAllParams = (function () {
+  /**
+   * Properties of a ReqGetAllParams.
+   * @exports IReqGetAllParams
+   * @interface IReqGetAllParams
+   */
+
+  /**
+   * Constructs a new ReqGetAllParams.
+   * @exports ReqGetAllParams
+   * @classdesc Represents a ReqGetAllParams.
+   * @implements IReqGetAllParams
+   * @constructor
+   * @param {IReqGetAllParams=} [properties] Properties to set
+   */
+  function ReqGetAllParams(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetAllParams instance using the specified properties.
+   * @function create
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {IReqGetAllParams=} [properties] Properties to set
+   * @returns {ReqGetAllParams} ReqGetAllParams instance
+   */
+  ReqGetAllParams.create = function create(properties) {
+    return new ReqGetAllParams(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetAllParams message. Does not implicitly {@link ReqGetAllParams.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly {@link ReqGetAllParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllParams.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetAllParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetAllParams} ReqGetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetAllParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetAllParams} ReqGetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetAllParams message.
+   * @function verify
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetAllParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetAllParams} ReqGetAllParams
+   */
+  ReqGetAllParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetAllParams) return object;
+    return new $root.ReqGetAllParams();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {ReqGetAllParams} message ReqGetAllParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetAllParams.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetAllParams to JSON.
+   * @function toJSON
+   * @memberof ReqGetAllParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetAllParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetAllParams
+   * @function getTypeUrl
+   * @memberof ReqGetAllParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetAllParams";
+  };
+
+  return ReqGetAllParams;
+})();
+
+$root.ResGetAllParams = (function () {
+  /**
+   * Properties of a ResGetAllParams.
+   * @exports IResGetAllParams
+   * @interface IResGetAllParams
+   * @property {Array.<ICommonParam>|null} [allParams] ResGetAllParams allParams
+   * @property {number|null} [code] ResGetAllParams code
+   */
+
+  /**
+   * Constructs a new ResGetAllParams.
+   * @exports ResGetAllParams
+   * @classdesc Represents a ResGetAllParams.
+   * @implements IResGetAllParams
+   * @constructor
+   * @param {IResGetAllParams=} [properties] Properties to set
+   */
+  function ResGetAllParams(properties) {
+    this.allParams = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetAllParams allParams.
+   * @member {Array.<ICommonParam>} allParams
+   * @memberof ResGetAllParams
+   * @instance
+   */
+  ResGetAllParams.prototype.allParams = $util.emptyArray;
+
+  /**
+   * ResGetAllParams code.
+   * @member {number} code
+   * @memberof ResGetAllParams
+   * @instance
+   */
+  ResGetAllParams.prototype.code = 0;
+
+  /**
+   * Creates a new ResGetAllParams instance using the specified properties.
+   * @function create
+   * @memberof ResGetAllParams
+   * @static
+   * @param {IResGetAllParams=} [properties] Properties to set
+   * @returns {ResGetAllParams} ResGetAllParams instance
+   */
+  ResGetAllParams.create = function create(properties) {
+    return new ResGetAllParams(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetAllParams message. Does not implicitly {@link ResGetAllParams.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetAllParams
+   * @static
+   * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.allParams != null && message.allParams.length)
+      for (var i = 0; i < message.allParams.length; ++i)
+        $root.CommonParam.encode(
+          message.allParams[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetAllParams message, length delimited. Does not implicitly {@link ResGetAllParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetAllParams
+   * @static
+   * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllParams.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetAllParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetAllParams} ResGetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetAllParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.allParams && message.allParams.length))
+            message.allParams = [];
+          message.allParams.push(
+            $root.CommonParam.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetAllParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetAllParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetAllParams} ResGetAllParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetAllParams message.
+   * @function verify
+   * @memberof ResGetAllParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetAllParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.allParams != null && message.hasOwnProperty("allParams")) {
+      if (!Array.isArray(message.allParams)) return "allParams: array expected";
+      for (var i = 0; i < message.allParams.length; ++i) {
+        var error = $root.CommonParam.verify(message.allParams[i]);
+        if (error) return "allParams." + error;
+      }
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetAllParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetAllParams} ResGetAllParams
+   */
+  ResGetAllParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetAllParams) return object;
+    var message = new $root.ResGetAllParams();
+    if (object.allParams) {
+      if (!Array.isArray(object.allParams))
+        throw TypeError(".ResGetAllParams.allParams: array expected");
+      message.allParams = [];
+      for (var i = 0; i < object.allParams.length; ++i) {
+        if (typeof object.allParams[i] !== "object")
+          throw TypeError(".ResGetAllParams.allParams: object expected");
+        message.allParams[i] = $root.CommonParam.fromObject(
+          object.allParams[i]
+        );
+      }
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetAllParams
+   * @static
+   * @param {ResGetAllParams} message ResGetAllParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetAllParams.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.allParams = [];
+    if (options.defaults) object.code = 0;
+    if (message.allParams && message.allParams.length) {
+      object.allParams = [];
+      for (var j = 0; j < message.allParams.length; ++j)
+        object.allParams[j] = $root.CommonParam.toObject(
+          message.allParams[j],
+          options
+        );
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetAllParams to JSON.
+   * @function toJSON
+   * @memberof ResGetAllParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetAllParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetAllParams
+   * @function getTypeUrl
+   * @memberof ResGetAllParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetAllParams";
+  };
+
+  return ResGetAllParams;
+})();
+
+$root.ReqSetFeatureParams = (function () {
+  /**
+   * Properties of a ReqSetFeatureParams.
+   * @exports IReqSetFeatureParams
+   * @interface IReqSetFeatureParams
+   * @property {ICommonParam|null} [param] ReqSetFeatureParams param
+   */
+
+  /**
+   * Constructs a new ReqSetFeatureParams.
+   * @exports ReqSetFeatureParams
+   * @classdesc Represents a ReqSetFeatureParams.
+   * @implements IReqSetFeatureParams
+   * @constructor
+   * @param {IReqSetFeatureParams=} [properties] Properties to set
+   */
+  function ReqSetFeatureParams(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetFeatureParams param.
+   * @member {ICommonParam|null|undefined} param
+   * @memberof ReqSetFeatureParams
+   * @instance
+   */
+  ReqSetFeatureParams.prototype.param = null;
+
+  /**
+   * Creates a new ReqSetFeatureParams instance using the specified properties.
+   * @function create
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {IReqSetFeatureParams=} [properties] Properties to set
+   * @returns {ReqSetFeatureParams} ReqSetFeatureParams instance
+   */
+  ReqSetFeatureParams.create = function create(properties) {
+    return new ReqSetFeatureParams(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetFeatureParams message. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetFeatureParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.param != null && Object.hasOwnProperty.call(message, "param"))
+      $root.CommonParam.encode(
+        message.param,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetFeatureParams.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetFeatureParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetFeatureParams} ReqSetFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetFeatureParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetFeatureParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.param = $root.CommonParam.decode(reader, reader.uint32());
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetFeatureParams} ReqSetFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetFeatureParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetFeatureParams message.
+   * @function verify
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetFeatureParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.param != null && message.hasOwnProperty("param")) {
+      var error = $root.CommonParam.verify(message.param);
+      if (error) return "param." + error;
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetFeatureParams} ReqSetFeatureParams
+   */
+  ReqSetFeatureParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetFeatureParams) return object;
+    var message = new $root.ReqSetFeatureParams();
+    if (object.param != null) {
+      if (typeof object.param !== "object")
+        throw TypeError(".ReqSetFeatureParams.param: object expected");
+      message.param = $root.CommonParam.fromObject(object.param);
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {ReqSetFeatureParams} message ReqSetFeatureParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetFeatureParams.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.param = null;
+    if (message.param != null && message.hasOwnProperty("param"))
+      object.param = $root.CommonParam.toObject(message.param, options);
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetFeatureParams to JSON.
+   * @function toJSON
+   * @memberof ReqSetFeatureParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetFeatureParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetFeatureParams
+   * @function getTypeUrl
+   * @memberof ReqSetFeatureParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetFeatureParams";
+  };
+
+  return ReqSetFeatureParams;
+})();
+
+$root.ReqGetAllFeatureParams = (function () {
+  /**
+   * Properties of a ReqGetAllFeatureParams.
+   * @exports IReqGetAllFeatureParams
+   * @interface IReqGetAllFeatureParams
+   */
+
+  /**
+   * Constructs a new ReqGetAllFeatureParams.
+   * @exports ReqGetAllFeatureParams
+   * @classdesc Represents a ReqGetAllFeatureParams.
+   * @implements IReqGetAllFeatureParams
+   * @constructor
+   * @param {IReqGetAllFeatureParams=} [properties] Properties to set
+   */
+  function ReqGetAllFeatureParams(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetAllFeatureParams instance using the specified properties.
+   * @function create
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {IReqGetAllFeatureParams=} [properties] Properties to set
+   * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams instance
+   */
+  ReqGetAllFeatureParams.create = function create(properties) {
+    return new ReqGetAllFeatureParams(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetAllFeatureParams message. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllFeatureParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllFeatureParams.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllFeatureParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetAllFeatureParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetAllFeatureParams message.
+   * @function verify
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetAllFeatureParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams
+   */
+  ReqGetAllFeatureParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetAllFeatureParams) return object;
+    return new $root.ReqGetAllFeatureParams();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {ReqGetAllFeatureParams} message ReqGetAllFeatureParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetAllFeatureParams.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetAllFeatureParams to JSON.
+   * @function toJSON
+   * @memberof ReqGetAllFeatureParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetAllFeatureParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetAllFeatureParams
+   * @function getTypeUrl
+   * @memberof ReqGetAllFeatureParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetAllFeatureParams";
+  };
+
+  return ReqGetAllFeatureParams;
+})();
+
+$root.ResGetAllFeatureParams = (function () {
+  /**
+   * Properties of a ResGetAllFeatureParams.
+   * @exports IResGetAllFeatureParams
+   * @interface IResGetAllFeatureParams
+   * @property {Array.<ICommonParam>|null} [allFeatureParams] ResGetAllFeatureParams allFeatureParams
+   * @property {number|null} [code] ResGetAllFeatureParams code
+   */
+
+  /**
+   * Constructs a new ResGetAllFeatureParams.
+   * @exports ResGetAllFeatureParams
+   * @classdesc Represents a ResGetAllFeatureParams.
+   * @implements IResGetAllFeatureParams
+   * @constructor
+   * @param {IResGetAllFeatureParams=} [properties] Properties to set
+   */
+  function ResGetAllFeatureParams(properties) {
+    this.allFeatureParams = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetAllFeatureParams allFeatureParams.
+   * @member {Array.<ICommonParam>} allFeatureParams
+   * @memberof ResGetAllFeatureParams
+   * @instance
+   */
+  ResGetAllFeatureParams.prototype.allFeatureParams = $util.emptyArray;
+
+  /**
+   * ResGetAllFeatureParams code.
+   * @member {number} code
+   * @memberof ResGetAllFeatureParams
+   * @instance
+   */
+  ResGetAllFeatureParams.prototype.code = 0;
+
+  /**
+   * Creates a new ResGetAllFeatureParams instance using the specified properties.
+   * @function create
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {IResGetAllFeatureParams=} [properties] Properties to set
+   * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams instance
+   */
+  ResGetAllFeatureParams.create = function create(properties) {
+    return new ResGetAllFeatureParams(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetAllFeatureParams message. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllFeatureParams.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.allFeatureParams != null && message.allFeatureParams.length)
+      for (var i = 0; i < message.allFeatureParams.length; ++i)
+        $root.CommonParam.encode(
+          message.allFeatureParams[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllFeatureParams.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetAllFeatureParams message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllFeatureParams.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetAllFeatureParams();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.allFeatureParams && message.allFeatureParams.length))
+            message.allFeatureParams = [];
+          message.allFeatureParams.push(
+            $root.CommonParam.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetAllFeatureParams message.
+   * @function verify
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetAllFeatureParams.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.allFeatureParams != null &&
+      message.hasOwnProperty("allFeatureParams")
+    ) {
+      if (!Array.isArray(message.allFeatureParams))
+        return "allFeatureParams: array expected";
+      for (var i = 0; i < message.allFeatureParams.length; ++i) {
+        var error = $root.CommonParam.verify(message.allFeatureParams[i]);
+        if (error) return "allFeatureParams." + error;
+      }
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams
+   */
+  ResGetAllFeatureParams.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetAllFeatureParams) return object;
+    var message = new $root.ResGetAllFeatureParams();
+    if (object.allFeatureParams) {
+      if (!Array.isArray(object.allFeatureParams))
+        throw TypeError(
+          ".ResGetAllFeatureParams.allFeatureParams: array expected"
+        );
+      message.allFeatureParams = [];
+      for (var i = 0; i < object.allFeatureParams.length; ++i) {
+        if (typeof object.allFeatureParams[i] !== "object")
+          throw TypeError(
+            ".ResGetAllFeatureParams.allFeatureParams: object expected"
+          );
+        message.allFeatureParams[i] = $root.CommonParam.fromObject(
+          object.allFeatureParams[i]
+        );
+      }
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {ResGetAllFeatureParams} message ResGetAllFeatureParams
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetAllFeatureParams.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.allFeatureParams = [];
+    if (options.defaults) object.code = 0;
+    if (message.allFeatureParams && message.allFeatureParams.length) {
+      object.allFeatureParams = [];
+      for (var j = 0; j < message.allFeatureParams.length; ++j)
+        object.allFeatureParams[j] = $root.CommonParam.toObject(
+          message.allFeatureParams[j],
+          options
+        );
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetAllFeatureParams to JSON.
+   * @function toJSON
+   * @memberof ResGetAllFeatureParams
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetAllFeatureParams.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetAllFeatureParams
+   * @function getTypeUrl
+   * @memberof ResGetAllFeatureParams
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetAllFeatureParams";
+  };
+
+  return ResGetAllFeatureParams;
+})();
+
+$root.ReqGetSystemWorkingState = (function () {
+  /**
+   * Properties of a ReqGetSystemWorkingState.
+   * @exports IReqGetSystemWorkingState
+   * @interface IReqGetSystemWorkingState
+   */
+
+  /**
+   * Constructs a new ReqGetSystemWorkingState.
+   * @exports ReqGetSystemWorkingState
+   * @classdesc Represents a ReqGetSystemWorkingState.
+   * @implements IReqGetSystemWorkingState
+   * @constructor
+   * @param {IReqGetSystemWorkingState=} [properties] Properties to set
+   */
+  function ReqGetSystemWorkingState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetSystemWorkingState instance using the specified properties.
+   * @function create
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {IReqGetSystemWorkingState=} [properties] Properties to set
+   * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState instance
+   */
+  ReqGetSystemWorkingState.create = function create(properties) {
+    return new ReqGetSystemWorkingState(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetSystemWorkingState message. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSystemWorkingState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetSystemWorkingState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSystemWorkingState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetSystemWorkingState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetSystemWorkingState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetSystemWorkingState message.
+   * @function verify
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetSystemWorkingState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState
+   */
+  ReqGetSystemWorkingState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetSystemWorkingState) return object;
+    return new $root.ReqGetSystemWorkingState();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {ReqGetSystemWorkingState} message ReqGetSystemWorkingState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetSystemWorkingState.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetSystemWorkingState to JSON.
+   * @function toJSON
+   * @memberof ReqGetSystemWorkingState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetSystemWorkingState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetSystemWorkingState
+   * @function getTypeUrl
+   * @memberof ReqGetSystemWorkingState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetSystemWorkingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetSystemWorkingState";
+  };
+
+  return ReqGetSystemWorkingState;
+})();
+
+$root.ReqSetJpgQuality = (function () {
+  /**
+   * Properties of a ReqSetJpgQuality.
+   * @exports IReqSetJpgQuality
+   * @interface IReqSetJpgQuality
+   * @property {number|null} [quality] ReqSetJpgQuality quality
+   */
+
+  /**
+   * Constructs a new ReqSetJpgQuality.
+   * @exports ReqSetJpgQuality
+   * @classdesc Represents a ReqSetJpgQuality.
+   * @implements IReqSetJpgQuality
+   * @constructor
+   * @param {IReqSetJpgQuality=} [properties] Properties to set
+   */
+  function ReqSetJpgQuality(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetJpgQuality quality.
+   * @member {number} quality
+   * @memberof ReqSetJpgQuality
+   * @instance
+   */
+  ReqSetJpgQuality.prototype.quality = 0;
+
+  /**
+   * Creates a new ReqSetJpgQuality instance using the specified properties.
+   * @function create
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {IReqSetJpgQuality=} [properties] Properties to set
+   * @returns {ReqSetJpgQuality} ReqSetJpgQuality instance
+   */
+  ReqSetJpgQuality.create = function create(properties) {
+    return new ReqSetJpgQuality(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetJpgQuality message. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetJpgQuality.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.quality != null &&
+      Object.hasOwnProperty.call(message, "quality")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.quality);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetJpgQuality message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetJpgQuality} ReqSetJpgQuality
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetJpgQuality.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetJpgQuality();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.quality = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetJpgQuality} ReqSetJpgQuality
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetJpgQuality.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetJpgQuality message.
+   * @function verify
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetJpgQuality.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.quality != null && message.hasOwnProperty("quality"))
+      if (!$util.isInteger(message.quality)) return "quality: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetJpgQuality} ReqSetJpgQuality
+   */
+  ReqSetJpgQuality.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetJpgQuality) return object;
+    var message = new $root.ReqSetJpgQuality();
+    if (object.quality != null) message.quality = object.quality | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {ReqSetJpgQuality} message ReqSetJpgQuality
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetJpgQuality.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.quality = 0;
+    if (message.quality != null && message.hasOwnProperty("quality"))
+      object.quality = message.quality;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetJpgQuality to JSON.
+   * @function toJSON
+   * @memberof ReqSetJpgQuality
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetJpgQuality.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetJpgQuality
+   * @function getTypeUrl
+   * @memberof ReqSetJpgQuality
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetJpgQuality";
+  };
+
+  return ReqSetJpgQuality;
+})();
+
+$root.ReqGetJpgQuality = (function () {
+  /**
+   * Properties of a ReqGetJpgQuality.
+   * @exports IReqGetJpgQuality
+   * @interface IReqGetJpgQuality
+   */
+
+  /**
+   * Constructs a new ReqGetJpgQuality.
+   * @exports ReqGetJpgQuality
+   * @classdesc Represents a ReqGetJpgQuality.
+   * @implements IReqGetJpgQuality
+   * @constructor
+   * @param {IReqGetJpgQuality=} [properties] Properties to set
+   */
+  function ReqGetJpgQuality(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetJpgQuality instance using the specified properties.
+   * @function create
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {IReqGetJpgQuality=} [properties] Properties to set
+   * @returns {ReqGetJpgQuality} ReqGetJpgQuality instance
+   */
+  ReqGetJpgQuality.create = function create(properties) {
+    return new ReqGetJpgQuality(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetJpgQuality message. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetJpgQuality.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetJpgQuality message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetJpgQuality} ReqGetJpgQuality
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetJpgQuality.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetJpgQuality();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetJpgQuality} ReqGetJpgQuality
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetJpgQuality.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetJpgQuality message.
+   * @function verify
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetJpgQuality.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetJpgQuality} ReqGetJpgQuality
+   */
+  ReqGetJpgQuality.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetJpgQuality) return object;
+    return new $root.ReqGetJpgQuality();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {ReqGetJpgQuality} message ReqGetJpgQuality
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetJpgQuality.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetJpgQuality to JSON.
+   * @function toJSON
+   * @memberof ReqGetJpgQuality
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetJpgQuality.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetJpgQuality
+   * @function getTypeUrl
+   * @memberof ReqGetJpgQuality
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetJpgQuality";
+  };
+
+  return ReqGetJpgQuality;
+})();
+
+$root.ReqPhotoRaw = (function () {
+  /**
+   * Properties of a ReqPhotoRaw.
+   * @exports IReqPhotoRaw
+   * @interface IReqPhotoRaw
+   */
+
+  /**
+   * Constructs a new ReqPhotoRaw.
+   * @exports ReqPhotoRaw
+   * @classdesc Represents a ReqPhotoRaw.
+   * @implements IReqPhotoRaw
+   * @constructor
+   * @param {IReqPhotoRaw=} [properties] Properties to set
+   */
+  function ReqPhotoRaw(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqPhotoRaw instance using the specified properties.
+   * @function create
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {IReqPhotoRaw=} [properties] Properties to set
+   * @returns {ReqPhotoRaw} ReqPhotoRaw instance
+   */
+  ReqPhotoRaw.create = function create(properties) {
+    return new ReqPhotoRaw(properties);
+  };
+
+  /**
+   * Encodes the specified ReqPhotoRaw message. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages.
+   * @function encode
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPhotoRaw.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPhotoRaw.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqPhotoRaw message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqPhotoRaw} ReqPhotoRaw
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPhotoRaw.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqPhotoRaw();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqPhotoRaw} ReqPhotoRaw
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPhotoRaw.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqPhotoRaw message.
+   * @function verify
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqPhotoRaw.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqPhotoRaw} ReqPhotoRaw
+   */
+  ReqPhotoRaw.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqPhotoRaw) return object;
+    return new $root.ReqPhotoRaw();
+  };
+
+  /**
+   * Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {ReqPhotoRaw} message ReqPhotoRaw
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqPhotoRaw.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqPhotoRaw to JSON.
+   * @function toJSON
+   * @memberof ReqPhotoRaw
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqPhotoRaw.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqPhotoRaw
+   * @function getTypeUrl
+   * @memberof ReqPhotoRaw
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqPhotoRaw.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqPhotoRaw";
+  };
+
+  return ReqPhotoRaw;
+})();
+
+$root.ReqSetRtspBitRateType = (function () {
+  /**
+   * Properties of a ReqSetRtspBitRateType.
+   * @exports IReqSetRtspBitRateType
+   * @interface IReqSetRtspBitRateType
+   * @property {number|null} [bitrateType] ReqSetRtspBitRateType bitrateType
+   */
+
+  /**
+   * Constructs a new ReqSetRtspBitRateType.
+   * @exports ReqSetRtspBitRateType
+   * @classdesc Represents a ReqSetRtspBitRateType.
+   * @implements IReqSetRtspBitRateType
+   * @constructor
+   * @param {IReqSetRtspBitRateType=} [properties] Properties to set
+   */
+  function ReqSetRtspBitRateType(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetRtspBitRateType bitrateType.
+   * @member {number} bitrateType
+   * @memberof ReqSetRtspBitRateType
+   * @instance
+   */
+  ReqSetRtspBitRateType.prototype.bitrateType = 0;
+
+  /**
+   * Creates a new ReqSetRtspBitRateType instance using the specified properties.
+   * @function create
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {IReqSetRtspBitRateType=} [properties] Properties to set
+   * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType instance
+   */
+  ReqSetRtspBitRateType.create = function create(properties) {
+    return new ReqSetRtspBitRateType(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetRtspBitRateType message. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetRtspBitRateType.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.bitrateType != null &&
+      Object.hasOwnProperty.call(message, "bitrateType")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.bitrateType);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetRtspBitRateType.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetRtspBitRateType.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetRtspBitRateType();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.bitrateType = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetRtspBitRateType.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetRtspBitRateType message.
+   * @function verify
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetRtspBitRateType.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.bitrateType != null && message.hasOwnProperty("bitrateType"))
+      if (!$util.isInteger(message.bitrateType))
+        return "bitrateType: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType
+   */
+  ReqSetRtspBitRateType.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetRtspBitRateType) return object;
+    var message = new $root.ReqSetRtspBitRateType();
+    if (object.bitrateType != null)
+      message.bitrateType = object.bitrateType | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {ReqSetRtspBitRateType} message ReqSetRtspBitRateType
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetRtspBitRateType.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.bitrateType = 0;
+    if (message.bitrateType != null && message.hasOwnProperty("bitrateType"))
+      object.bitrateType = message.bitrateType;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetRtspBitRateType to JSON.
+   * @function toJSON
+   * @memberof ReqSetRtspBitRateType
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetRtspBitRateType.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetRtspBitRateType
+   * @function getTypeUrl
+   * @memberof ReqSetRtspBitRateType
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetRtspBitRateType.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetRtspBitRateType";
+  };
+
+  return ReqSetRtspBitRateType;
+})();
+
+$root.ReqDisableAllIspProcessing = (function () {
+  /**
+   * Properties of a ReqDisableAllIspProcessing.
+   * @exports IReqDisableAllIspProcessing
+   * @interface IReqDisableAllIspProcessing
+   */
+
+  /**
+   * Constructs a new ReqDisableAllIspProcessing.
+   * @exports ReqDisableAllIspProcessing
+   * @classdesc Represents a ReqDisableAllIspProcessing.
+   * @implements IReqDisableAllIspProcessing
+   * @constructor
+   * @param {IReqDisableAllIspProcessing=} [properties] Properties to set
+   */
+  function ReqDisableAllIspProcessing(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqDisableAllIspProcessing instance using the specified properties.
+   * @function create
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {IReqDisableAllIspProcessing=} [properties] Properties to set
+   * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing instance
+   */
+  ReqDisableAllIspProcessing.create = function create(properties) {
+    return new ReqDisableAllIspProcessing(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDisableAllIspProcessing.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDisableAllIspProcessing.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDisableAllIspProcessing.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDisableAllIspProcessing();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDisableAllIspProcessing.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDisableAllIspProcessing message.
+   * @function verify
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDisableAllIspProcessing.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing
+   */
+  ReqDisableAllIspProcessing.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDisableAllIspProcessing) return object;
+    return new $root.ReqDisableAllIspProcessing();
+  };
+
+  /**
+   * Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {ReqDisableAllIspProcessing} message ReqDisableAllIspProcessing
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDisableAllIspProcessing.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqDisableAllIspProcessing to JSON.
+   * @function toJSON
+   * @memberof ReqDisableAllIspProcessing
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDisableAllIspProcessing.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDisableAllIspProcessing
+   * @function getTypeUrl
+   * @memberof ReqDisableAllIspProcessing
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDisableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDisableAllIspProcessing";
+  };
+
+  return ReqDisableAllIspProcessing;
+})();
+
+$root.ReqEnableAllIspProcessing = (function () {
+  /**
+   * Properties of a ReqEnableAllIspProcessing.
+   * @exports IReqEnableAllIspProcessing
+   * @interface IReqEnableAllIspProcessing
+   */
+
+  /**
+   * Constructs a new ReqEnableAllIspProcessing.
+   * @exports ReqEnableAllIspProcessing
+   * @classdesc Represents a ReqEnableAllIspProcessing.
+   * @implements IReqEnableAllIspProcessing
+   * @constructor
+   * @param {IReqEnableAllIspProcessing=} [properties] Properties to set
+   */
+  function ReqEnableAllIspProcessing(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqEnableAllIspProcessing instance using the specified properties.
+   * @function create
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {IReqEnableAllIspProcessing=} [properties] Properties to set
+   * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing instance
+   */
+  ReqEnableAllIspProcessing.create = function create(properties) {
+    return new ReqEnableAllIspProcessing(properties);
+  };
+
+  /**
+   * Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages.
+   * @function encode
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqEnableAllIspProcessing.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqEnableAllIspProcessing.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqEnableAllIspProcessing.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqEnableAllIspProcessing();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqEnableAllIspProcessing.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqEnableAllIspProcessing message.
+   * @function verify
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqEnableAllIspProcessing.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing
+   */
+  ReqEnableAllIspProcessing.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqEnableAllIspProcessing) return object;
+    return new $root.ReqEnableAllIspProcessing();
+  };
+
+  /**
+   * Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {ReqEnableAllIspProcessing} message ReqEnableAllIspProcessing
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqEnableAllIspProcessing.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqEnableAllIspProcessing to JSON.
+   * @function toJSON
+   * @memberof ReqEnableAllIspProcessing
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqEnableAllIspProcessing.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqEnableAllIspProcessing
+   * @function getTypeUrl
+   * @memberof ReqEnableAllIspProcessing
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqEnableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqEnableAllIspProcessing";
+  };
+
+  return ReqEnableAllIspProcessing;
+})();
+
+$root.ReqManualSingleStepFocus = (function () {
+  /**
+   * Properties of a ReqManualSingleStepFocus.
+   * @exports IReqManualSingleStepFocus
+   * @interface IReqManualSingleStepFocus
+   * @property {number|null} [direction] ReqManualSingleStepFocus direction
+   */
+
+  /**
+   * Constructs a new ReqManualSingleStepFocus.
+   * @exports ReqManualSingleStepFocus
+   * @classdesc Represents a ReqManualSingleStepFocus.
+   * @implements IReqManualSingleStepFocus
+   * @constructor
+   * @param {IReqManualSingleStepFocus=} [properties] Properties to set
+   */
+  function ReqManualSingleStepFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqManualSingleStepFocus direction.
+   * @member {number} direction
+   * @memberof ReqManualSingleStepFocus
+   * @instance
+   */
+  ReqManualSingleStepFocus.prototype.direction = 0;
+
+  /**
+   * Creates a new ReqManualSingleStepFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {IReqManualSingleStepFocus=} [properties] Properties to set
+   * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus instance
+   */
+  ReqManualSingleStepFocus.create = function create(properties) {
+    return new ReqManualSingleStepFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqManualSingleStepFocus message. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqManualSingleStepFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqManualSingleStepFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqManualSingleStepFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqManualSingleStepFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.direction = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqManualSingleStepFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqManualSingleStepFocus message.
+   * @function verify
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqManualSingleStepFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (!$util.isInteger(message.direction))
+        return "direction: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus
+   */
+  ReqManualSingleStepFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqManualSingleStepFocus) return object;
+    var message = new $root.ReqManualSingleStepFocus();
+    if (object.direction != null) message.direction = object.direction >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {ReqManualSingleStepFocus} message ReqManualSingleStepFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqManualSingleStepFocus.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.direction = 0;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    return object;
+  };
+
+  /**
+   * Converts this ReqManualSingleStepFocus to JSON.
+   * @function toJSON
+   * @memberof ReqManualSingleStepFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqManualSingleStepFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqManualSingleStepFocus
+   * @function getTypeUrl
+   * @memberof ReqManualSingleStepFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqManualSingleStepFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqManualSingleStepFocus";
+  };
+
+  return ReqManualSingleStepFocus;
+})();
+
+$root.ReqManualContinuFocus = (function () {
+  /**
+   * Properties of a ReqManualContinuFocus.
+   * @exports IReqManualContinuFocus
+   * @interface IReqManualContinuFocus
+   * @property {number|null} [direction] ReqManualContinuFocus direction
+   */
+
+  /**
+   * Constructs a new ReqManualContinuFocus.
+   * @exports ReqManualContinuFocus
+   * @classdesc Represents a ReqManualContinuFocus.
+   * @implements IReqManualContinuFocus
+   * @constructor
+   * @param {IReqManualContinuFocus=} [properties] Properties to set
+   */
+  function ReqManualContinuFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqManualContinuFocus direction.
+   * @member {number} direction
+   * @memberof ReqManualContinuFocus
+   * @instance
+   */
+  ReqManualContinuFocus.prototype.direction = 0;
+
+  /**
+   * Creates a new ReqManualContinuFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {IReqManualContinuFocus=} [properties] Properties to set
+   * @returns {ReqManualContinuFocus} ReqManualContinuFocus instance
+   */
+  ReqManualContinuFocus.create = function create(properties) {
+    return new ReqManualContinuFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqManualContinuFocus message. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqManualContinuFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqManualContinuFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqManualContinuFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqManualContinuFocus} ReqManualContinuFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqManualContinuFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqManualContinuFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.direction = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqManualContinuFocus} ReqManualContinuFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqManualContinuFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqManualContinuFocus message.
+   * @function verify
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqManualContinuFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (!$util.isInteger(message.direction))
+        return "direction: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqManualContinuFocus} ReqManualContinuFocus
+   */
+  ReqManualContinuFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqManualContinuFocus) return object;
+    var message = new $root.ReqManualContinuFocus();
+    if (object.direction != null) message.direction = object.direction >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {ReqManualContinuFocus} message ReqManualContinuFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqManualContinuFocus.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.direction = 0;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    return object;
+  };
+
+  /**
+   * Converts this ReqManualContinuFocus to JSON.
+   * @function toJSON
+   * @memberof ReqManualContinuFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqManualContinuFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqManualContinuFocus
+   * @function getTypeUrl
+   * @memberof ReqManualContinuFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqManualContinuFocus";
+  };
+
+  return ReqManualContinuFocus;
+})();
+
+$root.ReqStopManualContinuFocus = (function () {
+  /**
+   * Properties of a ReqStopManualContinuFocus.
+   * @exports IReqStopManualContinuFocus
+   * @interface IReqStopManualContinuFocus
+   */
+
+  /**
+   * Constructs a new ReqStopManualContinuFocus.
+   * @exports ReqStopManualContinuFocus
+   * @classdesc Represents a ReqStopManualContinuFocus.
+   * @implements IReqStopManualContinuFocus
+   * @constructor
+   * @param {IReqStopManualContinuFocus=} [properties] Properties to set
+   */
+  function ReqStopManualContinuFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopManualContinuFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {IReqStopManualContinuFocus=} [properties] Properties to set
+   * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus instance
+   */
+  ReqStopManualContinuFocus.create = function create(properties) {
+    return new ReqStopManualContinuFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopManualContinuFocus message. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopManualContinuFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopManualContinuFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopManualContinuFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopManualContinuFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopManualContinuFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopManualContinuFocus message.
+   * @function verify
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopManualContinuFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus
+   */
+  ReqStopManualContinuFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopManualContinuFocus) return object;
+    return new $root.ReqStopManualContinuFocus();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {ReqStopManualContinuFocus} message ReqStopManualContinuFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopManualContinuFocus.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopManualContinuFocus to JSON.
+   * @function toJSON
+   * @memberof ReqStopManualContinuFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopManualContinuFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopManualContinuFocus
+   * @function getTypeUrl
+   * @memberof ReqStopManualContinuFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopManualContinuFocus";
+  };
+
+  return ReqStopManualContinuFocus;
+})();
+
+$root.ReqNormalAutoFocus = (function () {
+  /**
+   * Properties of a ReqNormalAutoFocus.
+   * @exports IReqNormalAutoFocus
+   * @interface IReqNormalAutoFocus
+   * @property {number|null} [mode] ReqNormalAutoFocus mode
+   * @property {number|null} [centerX] ReqNormalAutoFocus centerX
+   * @property {number|null} [centerY] ReqNormalAutoFocus centerY
+   */
+
+  /**
+   * Constructs a new ReqNormalAutoFocus.
+   * @exports ReqNormalAutoFocus
+   * @classdesc Represents a ReqNormalAutoFocus.
+   * @implements IReqNormalAutoFocus
+   * @constructor
+   * @param {IReqNormalAutoFocus=} [properties] Properties to set
+   */
+  function ReqNormalAutoFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqNormalAutoFocus mode.
+   * @member {number} mode
+   * @memberof ReqNormalAutoFocus
+   * @instance
+   */
+  ReqNormalAutoFocus.prototype.mode = 0;
+
+  /**
+   * ReqNormalAutoFocus centerX.
+   * @member {number} centerX
+   * @memberof ReqNormalAutoFocus
+   * @instance
+   */
+  ReqNormalAutoFocus.prototype.centerX = 0;
+
+  /**
+   * ReqNormalAutoFocus centerY.
+   * @member {number} centerY
+   * @memberof ReqNormalAutoFocus
+   * @instance
+   */
+  ReqNormalAutoFocus.prototype.centerY = 0;
+
+  /**
+   * Creates a new ReqNormalAutoFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {IReqNormalAutoFocus=} [properties] Properties to set
+   * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus instance
+   */
+  ReqNormalAutoFocus.create = function create(properties) {
+    return new ReqNormalAutoFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqNormalAutoFocus message. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqNormalAutoFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode);
+    if (
+      message.centerX != null &&
+      Object.hasOwnProperty.call(message, "centerX")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.centerX);
+    if (
+      message.centerY != null &&
+      Object.hasOwnProperty.call(message, "centerY")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.centerY);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqNormalAutoFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqNormalAutoFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqNormalAutoFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqNormalAutoFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.centerX = reader.uint32();
+          break;
+        }
+        case 3: {
+          message.centerY = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqNormalAutoFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqNormalAutoFocus message.
+   * @function verify
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqNormalAutoFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    if (message.centerX != null && message.hasOwnProperty("centerX"))
+      if (!$util.isInteger(message.centerX)) return "centerX: integer expected";
+    if (message.centerY != null && message.hasOwnProperty("centerY"))
+      if (!$util.isInteger(message.centerY)) return "centerY: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus
+   */
+  ReqNormalAutoFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqNormalAutoFocus) return object;
+    var message = new $root.ReqNormalAutoFocus();
+    if (object.mode != null) message.mode = object.mode >>> 0;
+    if (object.centerX != null) message.centerX = object.centerX >>> 0;
+    if (object.centerY != null) message.centerY = object.centerY >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {ReqNormalAutoFocus} message ReqNormalAutoFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqNormalAutoFocus.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.mode = 0;
+      object.centerX = 0;
+      object.centerY = 0;
+    }
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    if (message.centerX != null && message.hasOwnProperty("centerX"))
+      object.centerX = message.centerX;
+    if (message.centerY != null && message.hasOwnProperty("centerY"))
+      object.centerY = message.centerY;
+    return object;
+  };
+
+  /**
+   * Converts this ReqNormalAutoFocus to JSON.
+   * @function toJSON
+   * @memberof ReqNormalAutoFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqNormalAutoFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqNormalAutoFocus
+   * @function getTypeUrl
+   * @memberof ReqNormalAutoFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqNormalAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqNormalAutoFocus";
+  };
+
+  return ReqNormalAutoFocus;
+})();
+
+$root.ReqAstroAutoFocus = (function () {
+  /**
+   * Properties of a ReqAstroAutoFocus.
+   * @exports IReqAstroAutoFocus
+   * @interface IReqAstroAutoFocus
+   * @property {number|null} [mode] ReqAstroAutoFocus mode
+   */
+
+  /**
+   * Constructs a new ReqAstroAutoFocus.
+   * @exports ReqAstroAutoFocus
+   * @classdesc Represents a ReqAstroAutoFocus.
+   * @implements IReqAstroAutoFocus
+   * @constructor
+   * @param {IReqAstroAutoFocus=} [properties] Properties to set
+   */
+  function ReqAstroAutoFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqAstroAutoFocus mode.
+   * @member {number} mode
+   * @memberof ReqAstroAutoFocus
+   * @instance
+   */
+  ReqAstroAutoFocus.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqAstroAutoFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {IReqAstroAutoFocus=} [properties] Properties to set
+   * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus instance
+   */
+  ReqAstroAutoFocus.create = function create(properties) {
+    return new ReqAstroAutoFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqAstroAutoFocus message. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqAstroAutoFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqAstroAutoFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqAstroAutoFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqAstroAutoFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqAstroAutoFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqAstroAutoFocus message.
+   * @function verify
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqAstroAutoFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus
+   */
+  ReqAstroAutoFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqAstroAutoFocus) return object;
+    var message = new $root.ReqAstroAutoFocus();
+    if (object.mode != null) message.mode = object.mode >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {ReqAstroAutoFocus} message ReqAstroAutoFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqAstroAutoFocus.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqAstroAutoFocus to JSON.
+   * @function toJSON
+   * @memberof ReqAstroAutoFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqAstroAutoFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqAstroAutoFocus
+   * @function getTypeUrl
+   * @memberof ReqAstroAutoFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqAstroAutoFocus";
+  };
+
+  return ReqAstroAutoFocus;
+})();
+
+$root.ReqStopAstroAutoFocus = (function () {
+  /**
+   * Properties of a ReqStopAstroAutoFocus.
+   * @exports IReqStopAstroAutoFocus
+   * @interface IReqStopAstroAutoFocus
+   */
+
+  /**
+   * Constructs a new ReqStopAstroAutoFocus.
+   * @exports ReqStopAstroAutoFocus
+   * @classdesc Represents a ReqStopAstroAutoFocus.
+   * @implements IReqStopAstroAutoFocus
+   * @constructor
+   * @param {IReqStopAstroAutoFocus=} [properties] Properties to set
+   */
+  function ReqStopAstroAutoFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopAstroAutoFocus instance using the specified properties.
+   * @function create
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {IReqStopAstroAutoFocus=} [properties] Properties to set
+   * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus instance
+   */
+  ReqStopAstroAutoFocus.create = function create(properties) {
+    return new ReqStopAstroAutoFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopAstroAutoFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopAstroAutoFocus.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopAstroAutoFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopAstroAutoFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopAstroAutoFocus message.
+   * @function verify
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopAstroAutoFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus
+   */
+  ReqStopAstroAutoFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopAstroAutoFocus) return object;
+    return new $root.ReqStopAstroAutoFocus();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {ReqStopAstroAutoFocus} message ReqStopAstroAutoFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopAstroAutoFocus.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopAstroAutoFocus to JSON.
+   * @function toJSON
+   * @memberof ReqStopAstroAutoFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopAstroAutoFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopAstroAutoFocus
+   * @function getTypeUrl
+   * @memberof ReqStopAstroAutoFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopAstroAutoFocus";
+  };
+
+  return ReqStopAstroAutoFocus;
+})();
+
+$root.ReqMotorServiceJoystick = (function () {
+  /**
+   * Properties of a ReqMotorServiceJoystick.
+   * @exports IReqMotorServiceJoystick
+   * @interface IReqMotorServiceJoystick
+   * @property {number|null} [vectorAngle] ReqMotorServiceJoystick vectorAngle
+   * @property {number|null} [vectorLength] ReqMotorServiceJoystick vectorLength
+   * @property {number|null} [speed] ReqMotorServiceJoystick speed
+   */
+
+  /**
+   * Constructs a new ReqMotorServiceJoystick.
+   * @exports ReqMotorServiceJoystick
+   * @classdesc Represents a ReqMotorServiceJoystick.
+   * @implements IReqMotorServiceJoystick
+   * @constructor
+   * @param {IReqMotorServiceJoystick=} [properties] Properties to set
+   */
+  function ReqMotorServiceJoystick(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorServiceJoystick vectorAngle.
+   * @member {number} vectorAngle
+   * @memberof ReqMotorServiceJoystick
+   * @instance
+   */
+  ReqMotorServiceJoystick.prototype.vectorAngle = 0;
+
+  /**
+   * ReqMotorServiceJoystick vectorLength.
+   * @member {number} vectorLength
+   * @memberof ReqMotorServiceJoystick
+   * @instance
+   */
+  ReqMotorServiceJoystick.prototype.vectorLength = 0;
+
+  /**
+   * ReqMotorServiceJoystick speed.
+   * @member {number} speed
+   * @memberof ReqMotorServiceJoystick
+   * @instance
+   */
+  ReqMotorServiceJoystick.prototype.speed = 0;
+
+  /**
+   * Creates a new ReqMotorServiceJoystick instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {IReqMotorServiceJoystick=} [properties] Properties to set
+   * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick instance
+   */
+  ReqMotorServiceJoystick.create = function create(properties) {
+    return new ReqMotorServiceJoystick(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystick message. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystick.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.vectorAngle != null &&
+      Object.hasOwnProperty.call(message, "vectorAngle")
+    )
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle);
+    if (
+      message.vectorLength != null &&
+      Object.hasOwnProperty.call(message, "vectorLength")
+    )
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength);
+    if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystick.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystick.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorServiceJoystick();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.vectorAngle = reader.double();
+          break;
+        }
+        case 2: {
+          message.vectorLength = reader.double();
+          break;
+        }
+        case 3: {
+          message.speed = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystick.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorServiceJoystick message.
+   * @function verify
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorServiceJoystick.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle"))
+      if (typeof message.vectorAngle !== "number")
+        return "vectorAngle: number expected";
+    if (message.vectorLength != null && message.hasOwnProperty("vectorLength"))
+      if (typeof message.vectorLength !== "number")
+        return "vectorLength: number expected";
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      if (typeof message.speed !== "number") return "speed: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick
+   */
+  ReqMotorServiceJoystick.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorServiceJoystick) return object;
+    var message = new $root.ReqMotorServiceJoystick();
+    if (object.vectorAngle != null)
+      message.vectorAngle = Number(object.vectorAngle);
+    if (object.vectorLength != null)
+      message.vectorLength = Number(object.vectorLength);
+    if (object.speed != null) message.speed = Number(object.speed);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {ReqMotorServiceJoystick} message ReqMotorServiceJoystick
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorServiceJoystick.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.vectorAngle = 0;
+      object.vectorLength = 0;
+      object.speed = 0;
+    }
+    if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle"))
+      object.vectorAngle =
+        options.json && !isFinite(message.vectorAngle)
+          ? String(message.vectorAngle)
+          : message.vectorAngle;
+    if (message.vectorLength != null && message.hasOwnProperty("vectorLength"))
+      object.vectorLength =
+        options.json && !isFinite(message.vectorLength)
+          ? String(message.vectorLength)
+          : message.vectorLength;
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      object.speed =
+        options.json && !isFinite(message.speed)
+          ? String(message.speed)
+          : message.speed;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorServiceJoystick to JSON.
+   * @function toJSON
+   * @memberof ReqMotorServiceJoystick
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorServiceJoystick.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorServiceJoystick
+   * @function getTypeUrl
+   * @memberof ReqMotorServiceJoystick
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorServiceJoystick.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorServiceJoystick";
+  };
+
+  return ReqMotorServiceJoystick;
+})();
+
+$root.ReqMotorServiceJoystickFixedAngle = (function () {
+  /**
+   * Properties of a ReqMotorServiceJoystickFixedAngle.
+   * @exports IReqMotorServiceJoystickFixedAngle
+   * @interface IReqMotorServiceJoystickFixedAngle
+   * @property {number|null} [vectorAngle] ReqMotorServiceJoystickFixedAngle vectorAngle
+   * @property {number|null} [vectorLength] ReqMotorServiceJoystickFixedAngle vectorLength
+   * @property {number|null} [speed] ReqMotorServiceJoystickFixedAngle speed
+   */
+
+  /**
+   * Constructs a new ReqMotorServiceJoystickFixedAngle.
+   * @exports ReqMotorServiceJoystickFixedAngle
+   * @classdesc Represents a ReqMotorServiceJoystickFixedAngle.
+   * @implements IReqMotorServiceJoystickFixedAngle
+   * @constructor
+   * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set
+   */
+  function ReqMotorServiceJoystickFixedAngle(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorServiceJoystickFixedAngle vectorAngle.
+   * @member {number} vectorAngle
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @instance
+   */
+  ReqMotorServiceJoystickFixedAngle.prototype.vectorAngle = 0;
+
+  /**
+   * ReqMotorServiceJoystickFixedAngle vectorLength.
+   * @member {number} vectorLength
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @instance
+   */
+  ReqMotorServiceJoystickFixedAngle.prototype.vectorLength = 0;
+
+  /**
+   * ReqMotorServiceJoystickFixedAngle speed.
+   * @member {number} speed
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @instance
+   */
+  ReqMotorServiceJoystickFixedAngle.prototype.speed = 0;
+
+  /**
+   * Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set
+   * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle instance
+   */
+  ReqMotorServiceJoystickFixedAngle.create = function create(properties) {
+    return new ReqMotorServiceJoystickFixedAngle(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystickFixedAngle.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.vectorAngle != null &&
+      Object.hasOwnProperty.call(message, "vectorAngle")
+    )
+      writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle);
+    if (
+      message.vectorLength != null &&
+      Object.hasOwnProperty.call(message, "vectorLength")
+    )
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength);
+    if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystickFixedAngle.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystickFixedAngle.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorServiceJoystickFixedAngle();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.vectorAngle = reader.double();
+          break;
+        }
+        case 2: {
+          message.vectorLength = reader.double();
+          break;
+        }
+        case 3: {
+          message.speed = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystickFixedAngle.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorServiceJoystickFixedAngle message.
+   * @function verify
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorServiceJoystickFixedAngle.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle"))
+      if (typeof message.vectorAngle !== "number")
+        return "vectorAngle: number expected";
+    if (message.vectorLength != null && message.hasOwnProperty("vectorLength"))
+      if (typeof message.vectorLength !== "number")
+        return "vectorLength: number expected";
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      if (typeof message.speed !== "number") return "speed: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle
+   */
+  ReqMotorServiceJoystickFixedAngle.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorServiceJoystickFixedAngle)
+      return object;
+    var message = new $root.ReqMotorServiceJoystickFixedAngle();
+    if (object.vectorAngle != null)
+      message.vectorAngle = Number(object.vectorAngle);
+    if (object.vectorLength != null)
+      message.vectorLength = Number(object.vectorLength);
+    if (object.speed != null) message.speed = Number(object.speed);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {ReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorServiceJoystickFixedAngle.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.vectorAngle = 0;
+      object.vectorLength = 0;
+      object.speed = 0;
+    }
+    if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle"))
+      object.vectorAngle =
+        options.json && !isFinite(message.vectorAngle)
+          ? String(message.vectorAngle)
+          : message.vectorAngle;
+    if (message.vectorLength != null && message.hasOwnProperty("vectorLength"))
+      object.vectorLength =
+        options.json && !isFinite(message.vectorLength)
+          ? String(message.vectorLength)
+          : message.vectorLength;
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      object.speed =
+        options.json && !isFinite(message.speed)
+          ? String(message.speed)
+          : message.speed;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorServiceJoystickFixedAngle to JSON.
+   * @function toJSON
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorServiceJoystickFixedAngle.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorServiceJoystickFixedAngle
+   * @function getTypeUrl
+   * @memberof ReqMotorServiceJoystickFixedAngle
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorServiceJoystickFixedAngle.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorServiceJoystickFixedAngle";
+  };
+
+  return ReqMotorServiceJoystickFixedAngle;
+})();
+
+$root.ReqMotorServiceJoystickStop = (function () {
+  /**
+   * Properties of a ReqMotorServiceJoystickStop.
+   * @exports IReqMotorServiceJoystickStop
+   * @interface IReqMotorServiceJoystickStop
+   */
+
+  /**
+   * Constructs a new ReqMotorServiceJoystickStop.
+   * @exports ReqMotorServiceJoystickStop
+   * @classdesc Represents a ReqMotorServiceJoystickStop.
+   * @implements IReqMotorServiceJoystickStop
+   * @constructor
+   * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set
+   */
+  function ReqMotorServiceJoystickStop(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqMotorServiceJoystickStop instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set
+   * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop instance
+   */
+  ReqMotorServiceJoystickStop.create = function create(properties) {
+    return new ReqMotorServiceJoystickStop(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystickStop.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorServiceJoystickStop.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystickStop.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorServiceJoystickStop();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorServiceJoystickStop.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorServiceJoystickStop message.
+   * @function verify
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorServiceJoystickStop.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop
+   */
+  ReqMotorServiceJoystickStop.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorServiceJoystickStop) return object;
+    return new $root.ReqMotorServiceJoystickStop();
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {ReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorServiceJoystickStop.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqMotorServiceJoystickStop to JSON.
+   * @function toJSON
+   * @memberof ReqMotorServiceJoystickStop
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorServiceJoystickStop.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorServiceJoystickStop
+   * @function getTypeUrl
+   * @memberof ReqMotorServiceJoystickStop
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorServiceJoystickStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorServiceJoystickStop";
+  };
+
+  return ReqMotorServiceJoystickStop;
+})();
+
+$root.ReqMotorRun = (function () {
+  /**
+   * Properties of a ReqMotorRun.
+   * @exports IReqMotorRun
+   * @interface IReqMotorRun
+   * @property {number|null} [id] ReqMotorRun id
+   * @property {number|null} [speed] ReqMotorRun speed
+   * @property {boolean|null} [direction] ReqMotorRun direction
+   * @property {number|null} [speedRamping] ReqMotorRun speedRamping
+   * @property {number|null} [resolutionLevel] ReqMotorRun resolutionLevel
+   */
+
+  /**
+   * Constructs a new ReqMotorRun.
+   * @exports ReqMotorRun
+   * @classdesc Represents a ReqMotorRun.
+   * @implements IReqMotorRun
+   * @constructor
+   * @param {IReqMotorRun=} [properties] Properties to set
+   */
+  function ReqMotorRun(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorRun id.
+   * @member {number} id
+   * @memberof ReqMotorRun
+   * @instance
+   */
+  ReqMotorRun.prototype.id = 0;
+
+  /**
+   * ReqMotorRun speed.
+   * @member {number} speed
+   * @memberof ReqMotorRun
+   * @instance
+   */
+  ReqMotorRun.prototype.speed = 0;
+
+  /**
+   * ReqMotorRun direction.
+   * @member {boolean} direction
+   * @memberof ReqMotorRun
+   * @instance
+   */
+  ReqMotorRun.prototype.direction = false;
+
+  /**
+   * ReqMotorRun speedRamping.
+   * @member {number} speedRamping
+   * @memberof ReqMotorRun
+   * @instance
+   */
+  ReqMotorRun.prototype.speedRamping = 0;
+
+  /**
+   * ReqMotorRun resolutionLevel.
+   * @member {number} resolutionLevel
+   * @memberof ReqMotorRun
+   * @instance
+   */
+  ReqMotorRun.prototype.resolutionLevel = 0;
+
+  /**
+   * Creates a new ReqMotorRun instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorRun
+   * @static
+   * @param {IReqMotorRun=} [properties] Properties to set
+   * @returns {ReqMotorRun} ReqMotorRun instance
+   */
+  ReqMotorRun.create = function create(properties) {
+    return new ReqMotorRun(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorRun message. Does not implicitly {@link ReqMotorRun.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorRun
+   * @static
+   * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRun.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed);
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction);
+    if (
+      message.speedRamping != null &&
+      Object.hasOwnProperty.call(message, "speedRamping")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping);
+    if (
+      message.resolutionLevel != null &&
+      Object.hasOwnProperty.call(message, "resolutionLevel")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorRun message, length delimited. Does not implicitly {@link ReqMotorRun.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorRun
+   * @static
+   * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRun.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorRun message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorRun
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorRun} ReqMotorRun
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRun.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorRun();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.speed = reader.double();
+          break;
+        }
+        case 3: {
+          message.direction = reader.bool();
+          break;
+        }
+        case 4: {
+          message.speedRamping = reader.int32();
+          break;
+        }
+        case 5: {
+          message.resolutionLevel = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorRun message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorRun
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorRun} ReqMotorRun
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRun.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorRun message.
+   * @function verify
+   * @memberof ReqMotorRun
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorRun.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      if (typeof message.speed !== "number") return "speed: number expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (typeof message.direction !== "boolean")
+        return "direction: boolean expected";
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      if (!$util.isInteger(message.speedRamping))
+        return "speedRamping: integer expected";
+    if (
+      message.resolutionLevel != null &&
+      message.hasOwnProperty("resolutionLevel")
+    )
+      if (!$util.isInteger(message.resolutionLevel))
+        return "resolutionLevel: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorRun
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorRun} ReqMotorRun
+   */
+  ReqMotorRun.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorRun) return object;
+    var message = new $root.ReqMotorRun();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.speed != null) message.speed = Number(object.speed);
+    if (object.direction != null) message.direction = Boolean(object.direction);
+    if (object.speedRamping != null)
+      message.speedRamping = object.speedRamping | 0;
+    if (object.resolutionLevel != null)
+      message.resolutionLevel = object.resolutionLevel | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorRun
+   * @static
+   * @param {ReqMotorRun} message ReqMotorRun
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorRun.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.speed = 0;
+      object.direction = false;
+      object.speedRamping = 0;
+      object.resolutionLevel = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      object.speed =
+        options.json && !isFinite(message.speed)
+          ? String(message.speed)
+          : message.speed;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      object.speedRamping = message.speedRamping;
+    if (
+      message.resolutionLevel != null &&
+      message.hasOwnProperty("resolutionLevel")
+    )
+      object.resolutionLevel = message.resolutionLevel;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorRun to JSON.
+   * @function toJSON
+   * @memberof ReqMotorRun
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorRun.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorRun
+   * @function getTypeUrl
+   * @memberof ReqMotorRun
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorRun";
+  };
+
+  return ReqMotorRun;
+})();
+
+$root.ReqMotorRunInPulse = (function () {
+  /**
+   * Properties of a ReqMotorRunInPulse.
+   * @exports IReqMotorRunInPulse
+   * @interface IReqMotorRunInPulse
+   * @property {number|null} [id] ReqMotorRunInPulse id
+   * @property {number|null} [frequency] ReqMotorRunInPulse frequency
+   * @property {boolean|null} [direction] ReqMotorRunInPulse direction
+   * @property {number|null} [speedRamping] ReqMotorRunInPulse speedRamping
+   * @property {number|null} [resolution] ReqMotorRunInPulse resolution
+   * @property {number|null} [pulse] ReqMotorRunInPulse pulse
+   * @property {boolean|null} [mode] ReqMotorRunInPulse mode
+   */
+
+  /**
+   * Constructs a new ReqMotorRunInPulse.
+   * @exports ReqMotorRunInPulse
+   * @classdesc Represents a ReqMotorRunInPulse.
+   * @implements IReqMotorRunInPulse
+   * @constructor
+   * @param {IReqMotorRunInPulse=} [properties] Properties to set
+   */
+  function ReqMotorRunInPulse(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorRunInPulse id.
+   * @member {number} id
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.id = 0;
+
+  /**
+   * ReqMotorRunInPulse frequency.
+   * @member {number} frequency
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.frequency = 0;
+
+  /**
+   * ReqMotorRunInPulse direction.
+   * @member {boolean} direction
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.direction = false;
+
+  /**
+   * ReqMotorRunInPulse speedRamping.
+   * @member {number} speedRamping
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.speedRamping = 0;
+
+  /**
+   * ReqMotorRunInPulse resolution.
+   * @member {number} resolution
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.resolution = 0;
+
+  /**
+   * ReqMotorRunInPulse pulse.
+   * @member {number} pulse
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.pulse = 0;
+
+  /**
+   * ReqMotorRunInPulse mode.
+   * @member {boolean} mode
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   */
+  ReqMotorRunInPulse.prototype.mode = false;
+
+  /**
+   * Creates a new ReqMotorRunInPulse instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {IReqMotorRunInPulse=} [properties] Properties to set
+   * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse instance
+   */
+  ReqMotorRunInPulse.create = function create(properties) {
+    return new ReqMotorRunInPulse(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorRunInPulse message. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRunInPulse.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (
+      message.frequency != null &&
+      Object.hasOwnProperty.call(message, "frequency")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.frequency);
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction);
+    if (
+      message.speedRamping != null &&
+      Object.hasOwnProperty.call(message, "speedRamping")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping);
+    if (
+      message.resolution != null &&
+      Object.hasOwnProperty.call(message, "resolution")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolution);
+    if (message.pulse != null && Object.hasOwnProperty.call(message, "pulse"))
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.pulse);
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 7, wireType 0 =*/ 56).bool(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRunInPulse.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorRunInPulse message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRunInPulse.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorRunInPulse();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.frequency = reader.int32();
+          break;
+        }
+        case 3: {
+          message.direction = reader.bool();
+          break;
+        }
+        case 4: {
+          message.speedRamping = reader.int32();
+          break;
+        }
+        case 5: {
+          message.resolution = reader.int32();
+          break;
+        }
+        case 6: {
+          message.pulse = reader.int32();
+          break;
+        }
+        case 7: {
+          message.mode = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRunInPulse.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorRunInPulse message.
+   * @function verify
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorRunInPulse.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.frequency != null && message.hasOwnProperty("frequency"))
+      if (!$util.isInteger(message.frequency))
+        return "frequency: integer expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (typeof message.direction !== "boolean")
+        return "direction: boolean expected";
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      if (!$util.isInteger(message.speedRamping))
+        return "speedRamping: integer expected";
+    if (message.resolution != null && message.hasOwnProperty("resolution"))
+      if (!$util.isInteger(message.resolution))
+        return "resolution: integer expected";
+    if (message.pulse != null && message.hasOwnProperty("pulse"))
+      if (!$util.isInteger(message.pulse)) return "pulse: integer expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (typeof message.mode !== "boolean") return "mode: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse
+   */
+  ReqMotorRunInPulse.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorRunInPulse) return object;
+    var message = new $root.ReqMotorRunInPulse();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.frequency != null) message.frequency = object.frequency | 0;
+    if (object.direction != null) message.direction = Boolean(object.direction);
+    if (object.speedRamping != null)
+      message.speedRamping = object.speedRamping | 0;
+    if (object.resolution != null) message.resolution = object.resolution | 0;
+    if (object.pulse != null) message.pulse = object.pulse | 0;
+    if (object.mode != null) message.mode = Boolean(object.mode);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {ReqMotorRunInPulse} message ReqMotorRunInPulse
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorRunInPulse.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.frequency = 0;
+      object.direction = false;
+      object.speedRamping = 0;
+      object.resolution = 0;
+      object.pulse = 0;
+      object.mode = false;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.frequency != null && message.hasOwnProperty("frequency"))
+      object.frequency = message.frequency;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      object.speedRamping = message.speedRamping;
+    if (message.resolution != null && message.hasOwnProperty("resolution"))
+      object.resolution = message.resolution;
+    if (message.pulse != null && message.hasOwnProperty("pulse"))
+      object.pulse = message.pulse;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorRunInPulse to JSON.
+   * @function toJSON
+   * @memberof ReqMotorRunInPulse
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorRunInPulse.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorRunInPulse
+   * @function getTypeUrl
+   * @memberof ReqMotorRunInPulse
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorRunInPulse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorRunInPulse";
+  };
+
+  return ReqMotorRunInPulse;
+})();
+
+$root.ReqMotorRunTo = (function () {
+  /**
+   * Properties of a ReqMotorRunTo.
+   * @exports IReqMotorRunTo
+   * @interface IReqMotorRunTo
+   * @property {number|null} [id] ReqMotorRunTo id
+   * @property {number|null} [endPosition] ReqMotorRunTo endPosition
+   * @property {number|null} [speed] ReqMotorRunTo speed
+   * @property {number|null} [speedRamping] ReqMotorRunTo speedRamping
+   * @property {number|null} [resolutionLevel] ReqMotorRunTo resolutionLevel
+   */
+
+  /**
+   * Constructs a new ReqMotorRunTo.
+   * @exports ReqMotorRunTo
+   * @classdesc Represents a ReqMotorRunTo.
+   * @implements IReqMotorRunTo
+   * @constructor
+   * @param {IReqMotorRunTo=} [properties] Properties to set
+   */
+  function ReqMotorRunTo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorRunTo id.
+   * @member {number} id
+   * @memberof ReqMotorRunTo
+   * @instance
+   */
+  ReqMotorRunTo.prototype.id = 0;
+
+  /**
+   * ReqMotorRunTo endPosition.
+   * @member {number} endPosition
+   * @memberof ReqMotorRunTo
+   * @instance
+   */
+  ReqMotorRunTo.prototype.endPosition = 0;
+
+  /**
+   * ReqMotorRunTo speed.
+   * @member {number} speed
+   * @memberof ReqMotorRunTo
+   * @instance
+   */
+  ReqMotorRunTo.prototype.speed = 0;
+
+  /**
+   * ReqMotorRunTo speedRamping.
+   * @member {number} speedRamping
+   * @memberof ReqMotorRunTo
+   * @instance
+   */
+  ReqMotorRunTo.prototype.speedRamping = 0;
+
+  /**
+   * ReqMotorRunTo resolutionLevel.
+   * @member {number} resolutionLevel
+   * @memberof ReqMotorRunTo
+   * @instance
+   */
+  ReqMotorRunTo.prototype.resolutionLevel = 0;
+
+  /**
+   * Creates a new ReqMotorRunTo instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {IReqMotorRunTo=} [properties] Properties to set
+   * @returns {ReqMotorRunTo} ReqMotorRunTo instance
+   */
+  ReqMotorRunTo.create = function create(properties) {
+    return new ReqMotorRunTo(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorRunTo message. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRunTo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (
+      message.endPosition != null &&
+      Object.hasOwnProperty.call(message, "endPosition")
+    )
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.endPosition);
+    if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed);
+    if (
+      message.speedRamping != null &&
+      Object.hasOwnProperty.call(message, "speedRamping")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping);
+    if (
+      message.resolutionLevel != null &&
+      Object.hasOwnProperty.call(message, "resolutionLevel")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorRunTo.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorRunTo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorRunTo} ReqMotorRunTo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRunTo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorRunTo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.endPosition = reader.double();
+          break;
+        }
+        case 3: {
+          message.speed = reader.double();
+          break;
+        }
+        case 4: {
+          message.speedRamping = reader.int32();
+          break;
+        }
+        case 5: {
+          message.resolutionLevel = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorRunTo} ReqMotorRunTo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorRunTo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorRunTo message.
+   * @function verify
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorRunTo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.endPosition != null && message.hasOwnProperty("endPosition"))
+      if (typeof message.endPosition !== "number")
+        return "endPosition: number expected";
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      if (typeof message.speed !== "number") return "speed: number expected";
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      if (!$util.isInteger(message.speedRamping))
+        return "speedRamping: integer expected";
+    if (
+      message.resolutionLevel != null &&
+      message.hasOwnProperty("resolutionLevel")
+    )
+      if (!$util.isInteger(message.resolutionLevel))
+        return "resolutionLevel: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorRunTo} ReqMotorRunTo
+   */
+  ReqMotorRunTo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorRunTo) return object;
+    var message = new $root.ReqMotorRunTo();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.endPosition != null)
+      message.endPosition = Number(object.endPosition);
+    if (object.speed != null) message.speed = Number(object.speed);
+    if (object.speedRamping != null)
+      message.speedRamping = object.speedRamping | 0;
+    if (object.resolutionLevel != null)
+      message.resolutionLevel = object.resolutionLevel | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {ReqMotorRunTo} message ReqMotorRunTo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorRunTo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.endPosition = 0;
+      object.speed = 0;
+      object.speedRamping = 0;
+      object.resolutionLevel = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.endPosition != null && message.hasOwnProperty("endPosition"))
+      object.endPosition =
+        options.json && !isFinite(message.endPosition)
+          ? String(message.endPosition)
+          : message.endPosition;
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      object.speed =
+        options.json && !isFinite(message.speed)
+          ? String(message.speed)
+          : message.speed;
+    if (message.speedRamping != null && message.hasOwnProperty("speedRamping"))
+      object.speedRamping = message.speedRamping;
+    if (
+      message.resolutionLevel != null &&
+      message.hasOwnProperty("resolutionLevel")
+    )
+      object.resolutionLevel = message.resolutionLevel;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorRunTo to JSON.
+   * @function toJSON
+   * @memberof ReqMotorRunTo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorRunTo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorRunTo
+   * @function getTypeUrl
+   * @memberof ReqMotorRunTo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorRunTo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorRunTo";
+  };
+
+  return ReqMotorRunTo;
+})();
+
+$root.ReqMotorGetPosition = (function () {
+  /**
+   * Properties of a ReqMotorGetPosition.
+   * @exports IReqMotorGetPosition
+   * @interface IReqMotorGetPosition
+   * @property {number|null} [id] ReqMotorGetPosition id
+   */
+
+  /**
+   * Constructs a new ReqMotorGetPosition.
+   * @exports ReqMotorGetPosition
+   * @classdesc Represents a ReqMotorGetPosition.
+   * @implements IReqMotorGetPosition
+   * @constructor
+   * @param {IReqMotorGetPosition=} [properties] Properties to set
+   */
+  function ReqMotorGetPosition(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorGetPosition id.
+   * @member {number} id
+   * @memberof ReqMotorGetPosition
+   * @instance
+   */
+  ReqMotorGetPosition.prototype.id = 0;
+
+  /**
+   * Creates a new ReqMotorGetPosition instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {IReqMotorGetPosition=} [properties] Properties to set
+   * @returns {ReqMotorGetPosition} ReqMotorGetPosition instance
+   */
+  ReqMotorGetPosition.create = function create(properties) {
+    return new ReqMotorGetPosition(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorGetPosition message. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorGetPosition.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorGetPosition.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorGetPosition message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorGetPosition} ReqMotorGetPosition
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorGetPosition.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorGetPosition();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorGetPosition} ReqMotorGetPosition
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorGetPosition.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorGetPosition message.
+   * @function verify
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorGetPosition.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorGetPosition} ReqMotorGetPosition
+   */
+  ReqMotorGetPosition.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorGetPosition) return object;
+    var message = new $root.ReqMotorGetPosition();
+    if (object.id != null) message.id = object.id | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {ReqMotorGetPosition} message ReqMotorGetPosition
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorGetPosition.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.id = 0;
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorGetPosition to JSON.
+   * @function toJSON
+   * @memberof ReqMotorGetPosition
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorGetPosition.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorGetPosition
+   * @function getTypeUrl
+   * @memberof ReqMotorGetPosition
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorGetPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorGetPosition";
+  };
+
+  return ReqMotorGetPosition;
+})();
+
+$root.ReqMotorStop = (function () {
+  /**
+   * Properties of a ReqMotorStop.
+   * @exports IReqMotorStop
+   * @interface IReqMotorStop
+   * @property {number|null} [id] ReqMotorStop id
+   */
+
+  /**
+   * Constructs a new ReqMotorStop.
+   * @exports ReqMotorStop
+   * @classdesc Represents a ReqMotorStop.
+   * @implements IReqMotorStop
+   * @constructor
+   * @param {IReqMotorStop=} [properties] Properties to set
+   */
+  function ReqMotorStop(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorStop id.
+   * @member {number} id
+   * @memberof ReqMotorStop
+   * @instance
+   */
+  ReqMotorStop.prototype.id = 0;
+
+  /**
+   * Creates a new ReqMotorStop instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorStop
+   * @static
+   * @param {IReqMotorStop=} [properties] Properties to set
+   * @returns {ReqMotorStop} ReqMotorStop instance
+   */
+  ReqMotorStop.create = function create(properties) {
+    return new ReqMotorStop(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorStop message. Does not implicitly {@link ReqMotorStop.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorStop
+   * @static
+   * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorStop.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorStop message, length delimited. Does not implicitly {@link ReqMotorStop.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorStop
+   * @static
+   * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorStop.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorStop message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorStop
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorStop} ReqMotorStop
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorStop.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorStop();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorStop message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorStop
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorStop} ReqMotorStop
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorStop.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorStop message.
+   * @function verify
+   * @memberof ReqMotorStop
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorStop.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorStop
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorStop} ReqMotorStop
+   */
+  ReqMotorStop.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorStop) return object;
+    var message = new $root.ReqMotorStop();
+    if (object.id != null) message.id = object.id | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorStop
+   * @static
+   * @param {ReqMotorStop} message ReqMotorStop
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorStop.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.id = 0;
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorStop to JSON.
+   * @function toJSON
+   * @memberof ReqMotorStop
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorStop.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorStop
+   * @function getTypeUrl
+   * @memberof ReqMotorStop
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorStop";
+  };
+
+  return ReqMotorStop;
+})();
+
+$root.ReqMotorReset = (function () {
+  /**
+   * Properties of a ReqMotorReset.
+   * @exports IReqMotorReset
+   * @interface IReqMotorReset
+   * @property {number|null} [id] ReqMotorReset id
+   * @property {boolean|null} [direction] ReqMotorReset direction
+   */
+
+  /**
+   * Constructs a new ReqMotorReset.
+   * @exports ReqMotorReset
+   * @classdesc Represents a ReqMotorReset.
+   * @implements IReqMotorReset
+   * @constructor
+   * @param {IReqMotorReset=} [properties] Properties to set
+   */
+  function ReqMotorReset(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorReset id.
+   * @member {number} id
+   * @memberof ReqMotorReset
+   * @instance
+   */
+  ReqMotorReset.prototype.id = 0;
+
+  /**
+   * ReqMotorReset direction.
+   * @member {boolean} direction
+   * @memberof ReqMotorReset
+   * @instance
+   */
+  ReqMotorReset.prototype.direction = false;
+
+  /**
+   * Creates a new ReqMotorReset instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorReset
+   * @static
+   * @param {IReqMotorReset=} [properties] Properties to set
+   * @returns {ReqMotorReset} ReqMotorReset instance
+   */
+  ReqMotorReset.create = function create(properties) {
+    return new ReqMotorReset(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorReset message. Does not implicitly {@link ReqMotorReset.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorReset
+   * @static
+   * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorReset.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorReset message, length delimited. Does not implicitly {@link ReqMotorReset.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorReset
+   * @static
+   * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorReset.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorReset message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorReset} ReqMotorReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorReset.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorReset();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.direction = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorReset message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorReset
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorReset} ReqMotorReset
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorReset.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorReset message.
+   * @function verify
+   * @memberof ReqMotorReset
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorReset.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (typeof message.direction !== "boolean")
+        return "direction: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorReset
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorReset} ReqMotorReset
+   */
+  ReqMotorReset.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorReset) return object;
+    var message = new $root.ReqMotorReset();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.direction != null) message.direction = Boolean(object.direction);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorReset
+   * @static
+   * @param {ReqMotorReset} message ReqMotorReset
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorReset.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.direction = false;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorReset to JSON.
+   * @function toJSON
+   * @memberof ReqMotorReset
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorReset.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorReset
+   * @function getTypeUrl
+   * @memberof ReqMotorReset
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorReset";
+  };
+
+  return ReqMotorReset;
+})();
+
+$root.ReqMotorChangeSpeed = (function () {
+  /**
+   * Properties of a ReqMotorChangeSpeed.
+   * @exports IReqMotorChangeSpeed
+   * @interface IReqMotorChangeSpeed
+   * @property {number|null} [id] ReqMotorChangeSpeed id
+   * @property {number|null} [speed] ReqMotorChangeSpeed speed
+   */
+
+  /**
+   * Constructs a new ReqMotorChangeSpeed.
+   * @exports ReqMotorChangeSpeed
+   * @classdesc Represents a ReqMotorChangeSpeed.
+   * @implements IReqMotorChangeSpeed
+   * @constructor
+   * @param {IReqMotorChangeSpeed=} [properties] Properties to set
+   */
+  function ReqMotorChangeSpeed(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorChangeSpeed id.
+   * @member {number} id
+   * @memberof ReqMotorChangeSpeed
+   * @instance
+   */
+  ReqMotorChangeSpeed.prototype.id = 0;
+
+  /**
+   * ReqMotorChangeSpeed speed.
+   * @member {number} speed
+   * @memberof ReqMotorChangeSpeed
+   * @instance
+   */
+  ReqMotorChangeSpeed.prototype.speed = 0;
+
+  /**
+   * Creates a new ReqMotorChangeSpeed instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {IReqMotorChangeSpeed=} [properties] Properties to set
+   * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed instance
+   */
+  ReqMotorChangeSpeed.create = function create(properties) {
+    return new ReqMotorChangeSpeed(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorChangeSpeed message. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorChangeSpeed.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (message.speed != null && Object.hasOwnProperty.call(message, "speed"))
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorChangeSpeed.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorChangeSpeed.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorChangeSpeed();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.speed = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorChangeSpeed.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorChangeSpeed message.
+   * @function verify
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorChangeSpeed.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      if (typeof message.speed !== "number") return "speed: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed
+   */
+  ReqMotorChangeSpeed.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorChangeSpeed) return object;
+    var message = new $root.ReqMotorChangeSpeed();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.speed != null) message.speed = Number(object.speed);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {ReqMotorChangeSpeed} message ReqMotorChangeSpeed
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorChangeSpeed.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.speed = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.speed != null && message.hasOwnProperty("speed"))
+      object.speed =
+        options.json && !isFinite(message.speed)
+          ? String(message.speed)
+          : message.speed;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorChangeSpeed to JSON.
+   * @function toJSON
+   * @memberof ReqMotorChangeSpeed
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorChangeSpeed.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorChangeSpeed
+   * @function getTypeUrl
+   * @memberof ReqMotorChangeSpeed
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorChangeSpeed.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorChangeSpeed";
+  };
+
+  return ReqMotorChangeSpeed;
+})();
+
+$root.ReqMotorChangeDirection = (function () {
+  /**
+   * Properties of a ReqMotorChangeDirection.
+   * @exports IReqMotorChangeDirection
+   * @interface IReqMotorChangeDirection
+   * @property {number|null} [id] ReqMotorChangeDirection id
+   * @property {boolean|null} [direction] ReqMotorChangeDirection direction
+   */
+
+  /**
+   * Constructs a new ReqMotorChangeDirection.
+   * @exports ReqMotorChangeDirection
+   * @classdesc Represents a ReqMotorChangeDirection.
+   * @implements IReqMotorChangeDirection
+   * @constructor
+   * @param {IReqMotorChangeDirection=} [properties] Properties to set
+   */
+  function ReqMotorChangeDirection(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMotorChangeDirection id.
+   * @member {number} id
+   * @memberof ReqMotorChangeDirection
+   * @instance
+   */
+  ReqMotorChangeDirection.prototype.id = 0;
+
+  /**
+   * ReqMotorChangeDirection direction.
+   * @member {boolean} direction
+   * @memberof ReqMotorChangeDirection
+   * @instance
+   */
+  ReqMotorChangeDirection.prototype.direction = false;
+
+  /**
+   * Creates a new ReqMotorChangeDirection instance using the specified properties.
+   * @function create
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {IReqMotorChangeDirection=} [properties] Properties to set
+   * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection instance
+   */
+  ReqMotorChangeDirection.create = function create(properties) {
+    return new ReqMotorChangeDirection(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMotorChangeDirection message. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorChangeDirection.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (
+      message.direction != null &&
+      Object.hasOwnProperty.call(message, "direction")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMotorChangeDirection.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMotorChangeDirection message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorChangeDirection.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMotorChangeDirection();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.direction = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMotorChangeDirection.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMotorChangeDirection message.
+   * @function verify
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMotorChangeDirection.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      if (typeof message.direction !== "boolean")
+        return "direction: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection
+   */
+  ReqMotorChangeDirection.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMotorChangeDirection) return object;
+    var message = new $root.ReqMotorChangeDirection();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.direction != null) message.direction = Boolean(object.direction);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {ReqMotorChangeDirection} message ReqMotorChangeDirection
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMotorChangeDirection.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.direction = false;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.direction != null && message.hasOwnProperty("direction"))
+      object.direction = message.direction;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMotorChangeDirection to JSON.
+   * @function toJSON
+   * @memberof ReqMotorChangeDirection
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMotorChangeDirection.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMotorChangeDirection
+   * @function getTypeUrl
+   * @memberof ReqMotorChangeDirection
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMotorChangeDirection.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMotorChangeDirection";
+  };
+
+  return ReqMotorChangeDirection;
+})();
+
+$root.ResMotor = (function () {
+  /**
+   * Properties of a ResMotor.
+   * @exports IResMotor
+   * @interface IResMotor
+   * @property {number|null} [id] ResMotor id
+   * @property {number|null} [code] ResMotor code
+   */
+
+  /**
+   * Constructs a new ResMotor.
+   * @exports ResMotor
+   * @classdesc Represents a ResMotor.
+   * @implements IResMotor
+   * @constructor
+   * @param {IResMotor=} [properties] Properties to set
+   */
+  function ResMotor(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResMotor id.
+   * @member {number} id
+   * @memberof ResMotor
+   * @instance
+   */
+  ResMotor.prototype.id = 0;
+
+  /**
+   * ResMotor code.
+   * @member {number} code
+   * @memberof ResMotor
+   * @instance
+   */
+  ResMotor.prototype.code = 0;
+
+  /**
+   * Creates a new ResMotor instance using the specified properties.
+   * @function create
+   * @memberof ResMotor
+   * @static
+   * @param {IResMotor=} [properties] Properties to set
+   * @returns {ResMotor} ResMotor instance
+   */
+  ResMotor.create = function create(properties) {
+    return new ResMotor(properties);
+  };
+
+  /**
+   * Encodes the specified ResMotor message. Does not implicitly {@link ResMotor.verify|verify} messages.
+   * @function encode
+   * @memberof ResMotor
+   * @static
+   * @param {IResMotor} message ResMotor message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResMotor.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResMotor message, length delimited. Does not implicitly {@link ResMotor.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResMotor
+   * @static
+   * @param {IResMotor} message ResMotor message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResMotor.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResMotor message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResMotor
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResMotor} ResMotor
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResMotor.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResMotor();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResMotor message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResMotor
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResMotor} ResMotor
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResMotor.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResMotor message.
+   * @function verify
+   * @memberof ResMotor
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResMotor.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResMotor message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResMotor
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResMotor} ResMotor
+   */
+  ResMotor.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResMotor) return object;
+    var message = new $root.ResMotor();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResMotor message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResMotor
+   * @static
+   * @param {ResMotor} message ResMotor
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResMotor.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.code = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResMotor to JSON.
+   * @function toJSON
+   * @memberof ResMotor
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResMotor.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResMotor
+   * @function getTypeUrl
+   * @memberof ResMotor
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResMotor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResMotor";
+  };
+
+  return ResMotor;
+})();
+
+$root.ResMotorPosition = (function () {
+  /**
+   * Properties of a ResMotorPosition.
+   * @exports IResMotorPosition
+   * @interface IResMotorPosition
+   * @property {number|null} [id] ResMotorPosition id
+   * @property {number|null} [code] ResMotorPosition code
+   * @property {number|null} [position] ResMotorPosition position
+   */
+
+  /**
+   * Constructs a new ResMotorPosition.
+   * @exports ResMotorPosition
+   * @classdesc Represents a ResMotorPosition.
+   * @implements IResMotorPosition
+   * @constructor
+   * @param {IResMotorPosition=} [properties] Properties to set
+   */
+  function ResMotorPosition(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResMotorPosition id.
+   * @member {number} id
+   * @memberof ResMotorPosition
+   * @instance
+   */
+  ResMotorPosition.prototype.id = 0;
+
+  /**
+   * ResMotorPosition code.
+   * @member {number} code
+   * @memberof ResMotorPosition
+   * @instance
+   */
+  ResMotorPosition.prototype.code = 0;
+
+  /**
+   * ResMotorPosition position.
+   * @member {number} position
+   * @memberof ResMotorPosition
+   * @instance
+   */
+  ResMotorPosition.prototype.position = 0;
+
+  /**
+   * Creates a new ResMotorPosition instance using the specified properties.
+   * @function create
+   * @memberof ResMotorPosition
+   * @static
+   * @param {IResMotorPosition=} [properties] Properties to set
+   * @returns {ResMotorPosition} ResMotorPosition instance
+   */
+  ResMotorPosition.create = function create(properties) {
+    return new ResMotorPosition(properties);
+  };
+
+  /**
+   * Encodes the specified ResMotorPosition message. Does not implicitly {@link ResMotorPosition.verify|verify} messages.
+   * @function encode
+   * @memberof ResMotorPosition
+   * @static
+   * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResMotorPosition.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    if (
+      message.position != null &&
+      Object.hasOwnProperty.call(message, "position")
+    )
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.position);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResMotorPosition message, length delimited. Does not implicitly {@link ResMotorPosition.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResMotorPosition
+   * @static
+   * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResMotorPosition.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResMotorPosition message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResMotorPosition
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResMotorPosition} ResMotorPosition
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResMotorPosition.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResMotorPosition();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        case 3: {
+          message.position = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResMotorPosition message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResMotorPosition
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResMotorPosition} ResMotorPosition
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResMotorPosition.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResMotorPosition message.
+   * @function verify
+   * @memberof ResMotorPosition
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResMotorPosition.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.position != null && message.hasOwnProperty("position"))
+      if (typeof message.position !== "number")
+        return "position: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResMotorPosition
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResMotorPosition} ResMotorPosition
+   */
+  ResMotorPosition.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResMotorPosition) return object;
+    var message = new $root.ResMotorPosition();
+    if (object.id != null) message.id = object.id | 0;
+    if (object.code != null) message.code = object.code | 0;
+    if (object.position != null) message.position = Number(object.position);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResMotorPosition
+   * @static
+   * @param {ResMotorPosition} message ResMotorPosition
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResMotorPosition.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = 0;
+      object.code = 0;
+      object.position = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.position != null && message.hasOwnProperty("position"))
+      object.position =
+        options.json && !isFinite(message.position)
+          ? String(message.position)
+          : message.position;
+    return object;
+  };
+
+  /**
+   * Converts this ResMotorPosition to JSON.
+   * @function toJSON
+   * @memberof ResMotorPosition
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResMotorPosition.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResMotorPosition
+   * @function getTypeUrl
+   * @memberof ResMotorPosition
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResMotorPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResMotorPosition";
+  };
+
+  return ResMotorPosition;
+})();
+
+$root.ReqDualCameraLinkage = (function () {
+  /**
+   * Properties of a ReqDualCameraLinkage.
+   * @exports IReqDualCameraLinkage
+   * @interface IReqDualCameraLinkage
+   * @property {number|null} [x] ReqDualCameraLinkage x
+   * @property {number|null} [y] ReqDualCameraLinkage y
+   */
+
+  /**
+   * Constructs a new ReqDualCameraLinkage.
+   * @exports ReqDualCameraLinkage
+   * @classdesc Represents a ReqDualCameraLinkage.
+   * @implements IReqDualCameraLinkage
+   * @constructor
+   * @param {IReqDualCameraLinkage=} [properties] Properties to set
+   */
+  function ReqDualCameraLinkage(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDualCameraLinkage x.
+   * @member {number} x
+   * @memberof ReqDualCameraLinkage
+   * @instance
+   */
+  ReqDualCameraLinkage.prototype.x = 0;
+
+  /**
+   * ReqDualCameraLinkage y.
+   * @member {number} y
+   * @memberof ReqDualCameraLinkage
+   * @instance
+   */
+  ReqDualCameraLinkage.prototype.y = 0;
+
+  /**
+   * Creates a new ReqDualCameraLinkage instance using the specified properties.
+   * @function create
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {IReqDualCameraLinkage=} [properties] Properties to set
+   * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage instance
+   */
+  ReqDualCameraLinkage.create = function create(properties) {
+    return new ReqDualCameraLinkage(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDualCameraLinkage message. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDualCameraLinkage.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.x != null && Object.hasOwnProperty.call(message, "x"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x);
+    if (message.y != null && Object.hasOwnProperty.call(message, "y"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDualCameraLinkage.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDualCameraLinkage message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDualCameraLinkage.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDualCameraLinkage();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.x = reader.int32();
+          break;
+        }
+        case 2: {
+          message.y = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDualCameraLinkage.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDualCameraLinkage message.
+   * @function verify
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDualCameraLinkage.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.x != null && message.hasOwnProperty("x"))
+      if (!$util.isInteger(message.x)) return "x: integer expected";
+    if (message.y != null && message.hasOwnProperty("y"))
+      if (!$util.isInteger(message.y)) return "y: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage
+   */
+  ReqDualCameraLinkage.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDualCameraLinkage) return object;
+    var message = new $root.ReqDualCameraLinkage();
+    if (object.x != null) message.x = object.x | 0;
+    if (object.y != null) message.y = object.y | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {ReqDualCameraLinkage} message ReqDualCameraLinkage
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDualCameraLinkage.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.x = 0;
+      object.y = 0;
+    }
+    if (message.x != null && message.hasOwnProperty("x")) object.x = message.x;
+    if (message.y != null && message.hasOwnProperty("y")) object.y = message.y;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDualCameraLinkage to JSON.
+   * @function toJSON
+   * @memberof ReqDualCameraLinkage
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDualCameraLinkage.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDualCameraLinkage
+   * @function getTypeUrl
+   * @memberof ReqDualCameraLinkage
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDualCameraLinkage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDualCameraLinkage";
+  };
+
+  return ReqDualCameraLinkage;
+})();
+
+/**
+ * State enum.
+ * @exports State
+ * @enum {number}
+ * @property {number} STATE_IDLE=0 STATE_IDLE value
+ * @property {number} STATE_RUNNING=1 STATE_RUNNING value
+ * @property {number} STATE_STOPPING=2 STATE_STOPPING value
+ * @property {number} STATE_STOPPED=3 STATE_STOPPED value
+ * @property {number} STATE_SUCCESS=4 STATE_SUCCESS value
+ * @property {number} STATE_FAILED=5 STATE_FAILED value
+ * @property {number} STATE_ASTRO_PLATE_SOLVING=6 STATE_ASTRO_PLATE_SOLVING value
+ */
+$root.State = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "STATE_IDLE")] = 0;
+  values[(valuesById[1] = "STATE_RUNNING")] = 1;
+  values[(valuesById[2] = "STATE_STOPPING")] = 2;
+  values[(valuesById[3] = "STATE_STOPPED")] = 3;
+  values[(valuesById[4] = "STATE_SUCCESS")] = 4;
+  values[(valuesById[5] = "STATE_FAILED")] = 5;
+  values[(valuesById[6] = "STATE_ASTRO_PLATE_SOLVING")] = 6;
+  return values;
+})();
+
+/**
+ * OperationState enum.
+ * @exports OperationState
+ * @enum {number}
+ * @property {number} OPERATION_STATE_IDLE=0 OPERATION_STATE_IDLE value
+ * @property {number} OPERATION_STATE_RUNNING=1 OPERATION_STATE_RUNNING value
+ * @property {number} OPERATION_STATE_STOPPING=2 OPERATION_STATE_STOPPING value
+ * @property {number} OPERATION_STATE_STOPPED=3 OPERATION_STATE_STOPPED value
+ */
+$root.OperationState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "OPERATION_STATE_IDLE")] = 0;
+  values[(valuesById[1] = "OPERATION_STATE_RUNNING")] = 1;
+  values[(valuesById[2] = "OPERATION_STATE_STOPPING")] = 2;
+  values[(valuesById[3] = "OPERATION_STATE_STOPPED")] = 3;
+  return values;
+})();
+
+/**
+ * AstroState enum.
+ * @exports AstroState
+ * @enum {number}
+ * @property {number} ASTRO_STATE_IDLE=0 ASTRO_STATE_IDLE value
+ * @property {number} ASTRO_STATE_RUNNING=1 ASTRO_STATE_RUNNING value
+ * @property {number} ASTRO_STATE_STOPPING=2 ASTRO_STATE_STOPPING value
+ * @property {number} ASTRO_STATE_STOPPED=3 ASTRO_STATE_STOPPED value
+ * @property {number} ASTRO_STATE_PLATE_SOLVING=4 ASTRO_STATE_PLATE_SOLVING value
+ */
+$root.AstroState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "ASTRO_STATE_IDLE")] = 0;
+  values[(valuesById[1] = "ASTRO_STATE_RUNNING")] = 1;
+  values[(valuesById[2] = "ASTRO_STATE_STOPPING")] = 2;
+  values[(valuesById[3] = "ASTRO_STATE_STOPPED")] = 3;
+  values[(valuesById[4] = "ASTRO_STATE_PLATE_SOLVING")] = 4;
+  return values;
+})();
+
+/**
+ * SentryModeState enum.
+ * @exports SentryModeState
+ * @enum {number}
+ * @property {number} SENTRY_MODE_STATE_IDLE=0 SENTRY_MODE_STATE_IDLE value
+ * @property {number} SENTRY_MODE_STATE_INIT=1 SENTRY_MODE_STATE_INIT value
+ * @property {number} SENTRY_MODE_STATE_DETECT=2 SENTRY_MODE_STATE_DETECT value
+ * @property {number} SENTRY_MODE_STATE_TRACK=3 SENTRY_MODE_STATE_TRACK value
+ * @property {number} SENTRY_MODE_STATE_TRACK_FINISH=4 SENTRY_MODE_STATE_TRACK_FINISH value
+ * @property {number} SENTRY_MODE_STATE_STOPPING=5 SENTRY_MODE_STATE_STOPPING value
+ */
+$root.SentryModeState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SENTRY_MODE_STATE_IDLE")] = 0;
+  values[(valuesById[1] = "SENTRY_MODE_STATE_INIT")] = 1;
+  values[(valuesById[2] = "SENTRY_MODE_STATE_DETECT")] = 2;
+  values[(valuesById[3] = "SENTRY_MODE_STATE_TRACK")] = 3;
+  values[(valuesById[4] = "SENTRY_MODE_STATE_TRACK_FINISH")] = 4;
+  values[(valuesById[5] = "SENTRY_MODE_STATE_STOPPING")] = 5;
+  return values;
+})();
+
+$root.ResNotifyPictureMatching = (function () {
+  /**
+   * Properties of a ResNotifyPictureMatching.
+   * @exports IResNotifyPictureMatching
+   * @interface IResNotifyPictureMatching
+   * @property {number|null} [x] ResNotifyPictureMatching x
+   * @property {number|null} [y] ResNotifyPictureMatching y
+   * @property {number|null} [width] ResNotifyPictureMatching width
+   * @property {number|null} [height] ResNotifyPictureMatching height
+   * @property {number|null} [value] ResNotifyPictureMatching value
+   * @property {number|null} [code] ResNotifyPictureMatching code
+   */
+
+  /**
+   * Constructs a new ResNotifyPictureMatching.
+   * @exports ResNotifyPictureMatching
+   * @classdesc Represents a ResNotifyPictureMatching.
+   * @implements IResNotifyPictureMatching
+   * @constructor
+   * @param {IResNotifyPictureMatching=} [properties] Properties to set
+   */
+  function ResNotifyPictureMatching(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPictureMatching x.
+   * @member {number} x
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.x = 0;
+
+  /**
+   * ResNotifyPictureMatching y.
+   * @member {number} y
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.y = 0;
+
+  /**
+   * ResNotifyPictureMatching width.
+   * @member {number} width
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.width = 0;
+
+  /**
+   * ResNotifyPictureMatching height.
+   * @member {number} height
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.height = 0;
+
+  /**
+   * ResNotifyPictureMatching value.
+   * @member {number} value
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.value = 0;
+
+  /**
+   * ResNotifyPictureMatching code.
+   * @member {number} code
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   */
+  ResNotifyPictureMatching.prototype.code = 0;
+
+  /**
+   * Creates a new ResNotifyPictureMatching instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {IResNotifyPictureMatching=} [properties] Properties to set
+   * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching instance
+   */
+  ResNotifyPictureMatching.create = function create(properties) {
+    return new ResNotifyPictureMatching(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPictureMatching message. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPictureMatching.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.x != null && Object.hasOwnProperty.call(message, "x"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.x);
+    if (message.y != null && Object.hasOwnProperty.call(message, "y"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.y);
+    if (message.width != null && Object.hasOwnProperty.call(message, "width"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.width);
+    if (message.height != null && Object.hasOwnProperty.call(message, "height"))
+      writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.height);
+    if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+      writer.uint32(/* id 5, wireType 1 =*/ 41).double(message.value);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPictureMatching.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyPictureMatching message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPictureMatching.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPictureMatching();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.x = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.y = reader.uint32();
+          break;
+        }
+        case 3: {
+          message.width = reader.uint32();
+          break;
+        }
+        case 4: {
+          message.height = reader.uint32();
+          break;
+        }
+        case 5: {
+          message.value = reader.double();
+          break;
+        }
+        case 6: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPictureMatching.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyPictureMatching message.
+   * @function verify
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPictureMatching.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.x != null && message.hasOwnProperty("x"))
+      if (!$util.isInteger(message.x)) return "x: integer expected";
+    if (message.y != null && message.hasOwnProperty("y"))
+      if (!$util.isInteger(message.y)) return "y: integer expected";
+    if (message.width != null && message.hasOwnProperty("width"))
+      if (!$util.isInteger(message.width)) return "width: integer expected";
+    if (message.height != null && message.hasOwnProperty("height"))
+      if (!$util.isInteger(message.height)) return "height: integer expected";
+    if (message.value != null && message.hasOwnProperty("value"))
+      if (typeof message.value !== "number") return "value: number expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching
+   */
+  ResNotifyPictureMatching.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyPictureMatching) return object;
+    var message = new $root.ResNotifyPictureMatching();
+    if (object.x != null) message.x = object.x >>> 0;
+    if (object.y != null) message.y = object.y >>> 0;
+    if (object.width != null) message.width = object.width >>> 0;
+    if (object.height != null) message.height = object.height >>> 0;
+    if (object.value != null) message.value = Number(object.value);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {ResNotifyPictureMatching} message ResNotifyPictureMatching
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPictureMatching.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.x = 0;
+      object.y = 0;
+      object.width = 0;
+      object.height = 0;
+      object.value = 0;
+      object.code = 0;
+    }
+    if (message.x != null && message.hasOwnProperty("x")) object.x = message.x;
+    if (message.y != null && message.hasOwnProperty("y")) object.y = message.y;
+    if (message.width != null && message.hasOwnProperty("width"))
+      object.width = message.width;
+    if (message.height != null && message.hasOwnProperty("height"))
+      object.height = message.height;
+    if (message.value != null && message.hasOwnProperty("value"))
+      object.value =
+        options.json && !isFinite(message.value)
+          ? String(message.value)
+          : message.value;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPictureMatching to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPictureMatching
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPictureMatching.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPictureMatching
+   * @function getTypeUrl
+   * @memberof ResNotifyPictureMatching
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPictureMatching.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPictureMatching";
+  };
+
+  return ResNotifyPictureMatching;
+})();
+
+$root.ResNotifySDcardInfo = (function () {
+  /**
+   * Properties of a ResNotifySDcardInfo.
+   * @exports IResNotifySDcardInfo
+   * @interface IResNotifySDcardInfo
+   * @property {number|null} [availableSize] ResNotifySDcardInfo availableSize
+   * @property {number|null} [totalSize] ResNotifySDcardInfo totalSize
+   * @property {number|null} [code] ResNotifySDcardInfo code
+   */
+
+  /**
+   * Constructs a new ResNotifySDcardInfo.
+   * @exports ResNotifySDcardInfo
+   * @classdesc Represents a ResNotifySDcardInfo.
+   * @implements IResNotifySDcardInfo
+   * @constructor
+   * @param {IResNotifySDcardInfo=} [properties] Properties to set
+   */
+  function ResNotifySDcardInfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifySDcardInfo availableSize.
+   * @member {number} availableSize
+   * @memberof ResNotifySDcardInfo
+   * @instance
+   */
+  ResNotifySDcardInfo.prototype.availableSize = 0;
+
+  /**
+   * ResNotifySDcardInfo totalSize.
+   * @member {number} totalSize
+   * @memberof ResNotifySDcardInfo
+   * @instance
+   */
+  ResNotifySDcardInfo.prototype.totalSize = 0;
+
+  /**
+   * ResNotifySDcardInfo code.
+   * @member {number} code
+   * @memberof ResNotifySDcardInfo
+   * @instance
+   */
+  ResNotifySDcardInfo.prototype.code = 0;
+
+  /**
+   * Creates a new ResNotifySDcardInfo instance using the specified properties.
+   * @function create
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {IResNotifySDcardInfo=} [properties] Properties to set
+   * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo instance
+   */
+  ResNotifySDcardInfo.create = function create(properties) {
+    return new ResNotifySDcardInfo(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifySDcardInfo message. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifySDcardInfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.availableSize != null &&
+      Object.hasOwnProperty.call(message, "availableSize")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.availableSize);
+    if (
+      message.totalSize != null &&
+      Object.hasOwnProperty.call(message, "totalSize")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.totalSize);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifySDcardInfo.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifySDcardInfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifySDcardInfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifySDcardInfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.availableSize = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.totalSize = reader.uint32();
+          break;
+        }
+        case 3: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifySDcardInfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifySDcardInfo message.
+   * @function verify
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifySDcardInfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.availableSize != null &&
+      message.hasOwnProperty("availableSize")
+    )
+      if (!$util.isInteger(message.availableSize))
+        return "availableSize: integer expected";
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      if (!$util.isInteger(message.totalSize))
+        return "totalSize: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo
+   */
+  ResNotifySDcardInfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifySDcardInfo) return object;
+    var message = new $root.ResNotifySDcardInfo();
+    if (object.availableSize != null)
+      message.availableSize = object.availableSize >>> 0;
+    if (object.totalSize != null) message.totalSize = object.totalSize >>> 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {ResNotifySDcardInfo} message ResNotifySDcardInfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifySDcardInfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.availableSize = 0;
+      object.totalSize = 0;
+      object.code = 0;
+    }
+    if (
+      message.availableSize != null &&
+      message.hasOwnProperty("availableSize")
+    )
+      object.availableSize = message.availableSize;
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      object.totalSize = message.totalSize;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifySDcardInfo to JSON.
+   * @function toJSON
+   * @memberof ResNotifySDcardInfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifySDcardInfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifySDcardInfo
+   * @function getTypeUrl
+   * @memberof ResNotifySDcardInfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifySDcardInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifySDcardInfo";
+  };
+
+  return ResNotifySDcardInfo;
+})();
+
+$root.ResNotifyTemperature = (function () {
+  /**
+   * Properties of a ResNotifyTemperature.
+   * @exports IResNotifyTemperature
+   * @interface IResNotifyTemperature
+   * @property {number|null} [code] ResNotifyTemperature code
+   * @property {number|null} [temperature] ResNotifyTemperature temperature
+   */
+
+  /**
+   * Constructs a new ResNotifyTemperature.
+   * @exports ResNotifyTemperature
+   * @classdesc Represents a ResNotifyTemperature.
+   * @implements IResNotifyTemperature
+   * @constructor
+   * @param {IResNotifyTemperature=} [properties] Properties to set
+   */
+  function ResNotifyTemperature(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyTemperature code.
+   * @member {number} code
+   * @memberof ResNotifyTemperature
+   * @instance
+   */
+  ResNotifyTemperature.prototype.code = 0;
+
+  /**
+   * ResNotifyTemperature temperature.
+   * @member {number} temperature
+   * @memberof ResNotifyTemperature
+   * @instance
+   */
+  ResNotifyTemperature.prototype.temperature = 0;
+
+  /**
+   * Creates a new ResNotifyTemperature instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {IResNotifyTemperature=} [properties] Properties to set
+   * @returns {ResNotifyTemperature} ResNotifyTemperature instance
+   */
+  ResNotifyTemperature.create = function create(properties) {
+    return new ResNotifyTemperature(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyTemperature message. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTemperature.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (
+      message.temperature != null &&
+      Object.hasOwnProperty.call(message, "temperature")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.temperature);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTemperature.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyTemperature message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyTemperature} ResNotifyTemperature
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTemperature.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyTemperature();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          message.temperature = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyTemperature} ResNotifyTemperature
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTemperature.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyTemperature message.
+   * @function verify
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyTemperature.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      if (!$util.isInteger(message.temperature))
+        return "temperature: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyTemperature} ResNotifyTemperature
+   */
+  ResNotifyTemperature.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyTemperature) return object;
+    var message = new $root.ResNotifyTemperature();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.temperature != null)
+      message.temperature = object.temperature | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {ResNotifyTemperature} message ResNotifyTemperature
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyTemperature.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.code = 0;
+      object.temperature = 0;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.temperature != null && message.hasOwnProperty("temperature"))
+      object.temperature = message.temperature;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyTemperature to JSON.
+   * @function toJSON
+   * @memberof ResNotifyTemperature
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyTemperature.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyTemperature
+   * @function getTypeUrl
+   * @memberof ResNotifyTemperature
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyTemperature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyTemperature";
+  };
+
+  return ResNotifyTemperature;
+})();
+
+$root.ResNotifyRecordTime = (function () {
+  /**
+   * Properties of a ResNotifyRecordTime.
+   * @exports IResNotifyRecordTime
+   * @interface IResNotifyRecordTime
+   * @property {number|null} [recordTime] ResNotifyRecordTime recordTime
+   */
+
+  /**
+   * Constructs a new ResNotifyRecordTime.
+   * @exports ResNotifyRecordTime
+   * @classdesc Represents a ResNotifyRecordTime.
+   * @implements IResNotifyRecordTime
+   * @constructor
+   * @param {IResNotifyRecordTime=} [properties] Properties to set
+   */
+  function ResNotifyRecordTime(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyRecordTime recordTime.
+   * @member {number} recordTime
+   * @memberof ResNotifyRecordTime
+   * @instance
+   */
+  ResNotifyRecordTime.prototype.recordTime = 0;
+
+  /**
+   * Creates a new ResNotifyRecordTime instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {IResNotifyRecordTime=} [properties] Properties to set
+   * @returns {ResNotifyRecordTime} ResNotifyRecordTime instance
+   */
+  ResNotifyRecordTime.create = function create(properties) {
+    return new ResNotifyRecordTime(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyRecordTime message. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyRecordTime.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.recordTime != null &&
+      Object.hasOwnProperty.call(message, "recordTime")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.recordTime);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyRecordTime.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyRecordTime message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyRecordTime} ResNotifyRecordTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyRecordTime.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyRecordTime();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.recordTime = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyRecordTime} ResNotifyRecordTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyRecordTime.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyRecordTime message.
+   * @function verify
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyRecordTime.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.recordTime != null && message.hasOwnProperty("recordTime"))
+      if (!$util.isInteger(message.recordTime))
+        return "recordTime: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyRecordTime} ResNotifyRecordTime
+   */
+  ResNotifyRecordTime.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyRecordTime) return object;
+    var message = new $root.ResNotifyRecordTime();
+    if (object.recordTime != null) message.recordTime = object.recordTime | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {ResNotifyRecordTime} message ResNotifyRecordTime
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyRecordTime.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.recordTime = 0;
+    if (message.recordTime != null && message.hasOwnProperty("recordTime"))
+      object.recordTime = message.recordTime;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyRecordTime to JSON.
+   * @function toJSON
+   * @memberof ResNotifyRecordTime
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyRecordTime.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyRecordTime
+   * @function getTypeUrl
+   * @memberof ResNotifyRecordTime
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyRecordTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyRecordTime";
+  };
+
+  return ResNotifyRecordTime;
+})();
+
+$root.ResNotifyTimeLapseOutTime = (function () {
+  /**
+   * Properties of a ResNotifyTimeLapseOutTime.
+   * @exports IResNotifyTimeLapseOutTime
+   * @interface IResNotifyTimeLapseOutTime
+   * @property {number|null} [interval] ResNotifyTimeLapseOutTime interval
+   * @property {number|null} [outTime] ResNotifyTimeLapseOutTime outTime
+   * @property {number|null} [totalTime] ResNotifyTimeLapseOutTime totalTime
+   */
+
+  /**
+   * Constructs a new ResNotifyTimeLapseOutTime.
+   * @exports ResNotifyTimeLapseOutTime
+   * @classdesc Represents a ResNotifyTimeLapseOutTime.
+   * @implements IResNotifyTimeLapseOutTime
+   * @constructor
+   * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set
+   */
+  function ResNotifyTimeLapseOutTime(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyTimeLapseOutTime interval.
+   * @member {number} interval
+   * @memberof ResNotifyTimeLapseOutTime
+   * @instance
+   */
+  ResNotifyTimeLapseOutTime.prototype.interval = 0;
+
+  /**
+   * ResNotifyTimeLapseOutTime outTime.
+   * @member {number} outTime
+   * @memberof ResNotifyTimeLapseOutTime
+   * @instance
+   */
+  ResNotifyTimeLapseOutTime.prototype.outTime = 0;
+
+  /**
+   * ResNotifyTimeLapseOutTime totalTime.
+   * @member {number} totalTime
+   * @memberof ResNotifyTimeLapseOutTime
+   * @instance
+   */
+  ResNotifyTimeLapseOutTime.prototype.totalTime = 0;
+
+  /**
+   * Creates a new ResNotifyTimeLapseOutTime instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set
+   * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime instance
+   */
+  ResNotifyTimeLapseOutTime.create = function create(properties) {
+    return new ResNotifyTimeLapseOutTime(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTimeLapseOutTime.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.interval != null &&
+      Object.hasOwnProperty.call(message, "interval")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.interval);
+    if (
+      message.outTime != null &&
+      Object.hasOwnProperty.call(message, "outTime")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.outTime);
+    if (
+      message.totalTime != null &&
+      Object.hasOwnProperty.call(message, "totalTime")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.totalTime);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTimeLapseOutTime.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTimeLapseOutTime.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyTimeLapseOutTime();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.interval = reader.int32();
+          break;
+        }
+        case 2: {
+          message.outTime = reader.int32();
+          break;
+        }
+        case 3: {
+          message.totalTime = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTimeLapseOutTime.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyTimeLapseOutTime message.
+   * @function verify
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyTimeLapseOutTime.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.interval != null && message.hasOwnProperty("interval"))
+      if (!$util.isInteger(message.interval))
+        return "interval: integer expected";
+    if (message.outTime != null && message.hasOwnProperty("outTime"))
+      if (!$util.isInteger(message.outTime)) return "outTime: integer expected";
+    if (message.totalTime != null && message.hasOwnProperty("totalTime"))
+      if (!$util.isInteger(message.totalTime))
+        return "totalTime: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime
+   */
+  ResNotifyTimeLapseOutTime.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyTimeLapseOutTime) return object;
+    var message = new $root.ResNotifyTimeLapseOutTime();
+    if (object.interval != null) message.interval = object.interval | 0;
+    if (object.outTime != null) message.outTime = object.outTime | 0;
+    if (object.totalTime != null) message.totalTime = object.totalTime | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {ResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyTimeLapseOutTime.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.interval = 0;
+      object.outTime = 0;
+      object.totalTime = 0;
+    }
+    if (message.interval != null && message.hasOwnProperty("interval"))
+      object.interval = message.interval;
+    if (message.outTime != null && message.hasOwnProperty("outTime"))
+      object.outTime = message.outTime;
+    if (message.totalTime != null && message.hasOwnProperty("totalTime"))
+      object.totalTime = message.totalTime;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyTimeLapseOutTime to JSON.
+   * @function toJSON
+   * @memberof ResNotifyTimeLapseOutTime
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyTimeLapseOutTime.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyTimeLapseOutTime
+   * @function getTypeUrl
+   * @memberof ResNotifyTimeLapseOutTime
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyTimeLapseOutTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyTimeLapseOutTime";
+  };
+
+  return ResNotifyTimeLapseOutTime;
+})();
+
+$root.ResNotifyOperationState = (function () {
+  /**
+   * Properties of a ResNotifyOperationState.
+   * @exports IResNotifyOperationState
+   * @interface IResNotifyOperationState
+   * @property {OperationState|null} [state] ResNotifyOperationState state
+   */
+
+  /**
+   * Constructs a new ResNotifyOperationState.
+   * @exports ResNotifyOperationState
+   * @classdesc Represents a ResNotifyOperationState.
+   * @implements IResNotifyOperationState
+   * @constructor
+   * @param {IResNotifyOperationState=} [properties] Properties to set
+   */
+  function ResNotifyOperationState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyOperationState state.
+   * @member {OperationState} state
+   * @memberof ResNotifyOperationState
+   * @instance
+   */
+  ResNotifyOperationState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyOperationState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {IResNotifyOperationState=} [properties] Properties to set
+   * @returns {ResNotifyOperationState} ResNotifyOperationState instance
+   */
+  ResNotifyOperationState.create = function create(properties) {
+    return new ResNotifyOperationState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyOperationState message. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyOperationState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyOperationState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyOperationState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyOperationState} ResNotifyOperationState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyOperationState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyOperationState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyOperationState} ResNotifyOperationState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyOperationState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyOperationState message.
+   * @function verify
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyOperationState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyOperationState} ResNotifyOperationState
+   */
+  ResNotifyOperationState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyOperationState) return object;
+    var message = new $root.ResNotifyOperationState();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {ResNotifyOperationState} message ResNotifyOperationState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyOperationState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults)
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyOperationState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyOperationState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyOperationState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyOperationState
+   * @function getTypeUrl
+   * @memberof ResNotifyOperationState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyOperationState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyOperationState";
+  };
+
+  return ResNotifyOperationState;
+})();
+
+$root.ResNotifyStateAstroCalibration = (function () {
+  /**
+   * Properties of a ResNotifyStateAstroCalibration.
+   * @exports IResNotifyStateAstroCalibration
+   * @interface IResNotifyStateAstroCalibration
+   * @property {AstroState|null} [state] ResNotifyStateAstroCalibration state
+   * @property {number|null} [plateSolvingTimes] ResNotifyStateAstroCalibration plateSolvingTimes
+   */
+
+  /**
+   * Constructs a new ResNotifyStateAstroCalibration.
+   * @exports ResNotifyStateAstroCalibration
+   * @classdesc Represents a ResNotifyStateAstroCalibration.
+   * @implements IResNotifyStateAstroCalibration
+   * @constructor
+   * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set
+   */
+  function ResNotifyStateAstroCalibration(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStateAstroCalibration state.
+   * @member {AstroState} state
+   * @memberof ResNotifyStateAstroCalibration
+   * @instance
+   */
+  ResNotifyStateAstroCalibration.prototype.state = 0;
+
+  /**
+   * ResNotifyStateAstroCalibration plateSolvingTimes.
+   * @member {number} plateSolvingTimes
+   * @memberof ResNotifyStateAstroCalibration
+   * @instance
+   */
+  ResNotifyStateAstroCalibration.prototype.plateSolvingTimes = 0;
+
+  /**
+   * Creates a new ResNotifyStateAstroCalibration instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set
+   * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration instance
+   */
+  ResNotifyStateAstroCalibration.create = function create(properties) {
+    return new ResNotifyStateAstroCalibration(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroCalibration.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    if (
+      message.plateSolvingTimes != null &&
+      Object.hasOwnProperty.call(message, "plateSolvingTimes")
+    )
+      writer
+        .uint32(/* id 2, wireType 0 =*/ 16)
+        .int32(message.plateSolvingTimes);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroCalibration.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroCalibration.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStateAstroCalibration();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        case 2: {
+          message.plateSolvingTimes = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroCalibration.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStateAstroCalibration message.
+   * @function verify
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStateAstroCalibration.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+        case 4:
+          break;
+      }
+    if (
+      message.plateSolvingTimes != null &&
+      message.hasOwnProperty("plateSolvingTimes")
+    )
+      if (!$util.isInteger(message.plateSolvingTimes))
+        return "plateSolvingTimes: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration
+   */
+  ResNotifyStateAstroCalibration.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStateAstroCalibration) return object;
+    var message = new $root.ResNotifyStateAstroCalibration();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "ASTRO_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "ASTRO_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "ASTRO_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "ASTRO_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+      case "ASTRO_STATE_PLATE_SOLVING":
+      case 4:
+        message.state = 4;
+        break;
+    }
+    if (object.plateSolvingTimes != null)
+      message.plateSolvingTimes = object.plateSolvingTimes | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {ResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStateAstroCalibration.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0;
+      object.plateSolvingTimes = 0;
+    }
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.AstroState[message.state] === undefined
+            ? message.state
+            : $root.AstroState[message.state]
+          : message.state;
+    if (
+      message.plateSolvingTimes != null &&
+      message.hasOwnProperty("plateSolvingTimes")
+    )
+      object.plateSolvingTimes = message.plateSolvingTimes;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStateAstroCalibration to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStateAstroCalibration
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStateAstroCalibration.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStateAstroCalibration
+   * @function getTypeUrl
+   * @memberof ResNotifyStateAstroCalibration
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStateAstroCalibration.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStateAstroCalibration";
+  };
+
+  return ResNotifyStateAstroCalibration;
+})();
+
+$root.ResNotifyStateAstroGoto = (function () {
+  /**
+   * Properties of a ResNotifyStateAstroGoto.
+   * @exports IResNotifyStateAstroGoto
+   * @interface IResNotifyStateAstroGoto
+   * @property {AstroState|null} [state] ResNotifyStateAstroGoto state
+   */
+
+  /**
+   * Constructs a new ResNotifyStateAstroGoto.
+   * @exports ResNotifyStateAstroGoto
+   * @classdesc Represents a ResNotifyStateAstroGoto.
+   * @implements IResNotifyStateAstroGoto
+   * @constructor
+   * @param {IResNotifyStateAstroGoto=} [properties] Properties to set
+   */
+  function ResNotifyStateAstroGoto(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStateAstroGoto state.
+   * @member {AstroState} state
+   * @memberof ResNotifyStateAstroGoto
+   * @instance
+   */
+  ResNotifyStateAstroGoto.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyStateAstroGoto instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {IResNotifyStateAstroGoto=} [properties] Properties to set
+   * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto instance
+   */
+  ResNotifyStateAstroGoto.create = function create(properties) {
+    return new ResNotifyStateAstroGoto(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroGoto.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroGoto.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroGoto.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStateAstroGoto();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroGoto.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStateAstroGoto message.
+   * @function verify
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStateAstroGoto.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+        case 4:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto
+   */
+  ResNotifyStateAstroGoto.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStateAstroGoto) return object;
+    var message = new $root.ResNotifyStateAstroGoto();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "ASTRO_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "ASTRO_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "ASTRO_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "ASTRO_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+      case "ASTRO_STATE_PLATE_SOLVING":
+      case 4:
+        message.state = 4;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {ResNotifyStateAstroGoto} message ResNotifyStateAstroGoto
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStateAstroGoto.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults)
+      object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.AstroState[message.state] === undefined
+            ? message.state
+            : $root.AstroState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStateAstroGoto to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStateAstroGoto
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStateAstroGoto.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStateAstroGoto
+   * @function getTypeUrl
+   * @memberof ResNotifyStateAstroGoto
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStateAstroGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStateAstroGoto";
+  };
+
+  return ResNotifyStateAstroGoto;
+})();
+
+$root.ResNotifyStateAstroTracking = (function () {
+  /**
+   * Properties of a ResNotifyStateAstroTracking.
+   * @exports IResNotifyStateAstroTracking
+   * @interface IResNotifyStateAstroTracking
+   * @property {OperationState|null} [state] ResNotifyStateAstroTracking state
+   * @property {string|null} [targetName] ResNotifyStateAstroTracking targetName
+   */
+
+  /**
+   * Constructs a new ResNotifyStateAstroTracking.
+   * @exports ResNotifyStateAstroTracking
+   * @classdesc Represents a ResNotifyStateAstroTracking.
+   * @implements IResNotifyStateAstroTracking
+   * @constructor
+   * @param {IResNotifyStateAstroTracking=} [properties] Properties to set
+   */
+  function ResNotifyStateAstroTracking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStateAstroTracking state.
+   * @member {OperationState} state
+   * @memberof ResNotifyStateAstroTracking
+   * @instance
+   */
+  ResNotifyStateAstroTracking.prototype.state = 0;
+
+  /**
+   * ResNotifyStateAstroTracking targetName.
+   * @member {string} targetName
+   * @memberof ResNotifyStateAstroTracking
+   * @instance
+   */
+  ResNotifyStateAstroTracking.prototype.targetName = "";
+
+  /**
+   * Creates a new ResNotifyStateAstroTracking instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {IResNotifyStateAstroTracking=} [properties] Properties to set
+   * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking instance
+   */
+  ResNotifyStateAstroTracking.create = function create(properties) {
+    return new ResNotifyStateAstroTracking(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroTracking.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroTracking.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroTracking.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStateAstroTracking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        case 2: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroTracking.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStateAstroTracking message.
+   * @function verify
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStateAstroTracking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking
+   */
+  ResNotifyStateAstroTracking.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStateAstroTracking) return object;
+    var message = new $root.ResNotifyStateAstroTracking();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {ResNotifyStateAstroTracking} message ResNotifyStateAstroTracking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStateAstroTracking.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+      object.targetName = "";
+    }
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStateAstroTracking to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStateAstroTracking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStateAstroTracking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStateAstroTracking
+   * @function getTypeUrl
+   * @memberof ResNotifyStateAstroTracking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStateAstroTracking.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStateAstroTracking";
+  };
+
+  return ResNotifyStateAstroTracking;
+})();
+
+$root.ResNotifyProgressCaptureRawDark = (function () {
+  /**
+   * Properties of a ResNotifyProgressCaptureRawDark.
+   * @exports IResNotifyProgressCaptureRawDark
+   * @interface IResNotifyProgressCaptureRawDark
+   * @property {number|null} [progress] ResNotifyProgressCaptureRawDark progress
+   * @property {number|null} [remainingTime] ResNotifyProgressCaptureRawDark remainingTime
+   */
+
+  /**
+   * Constructs a new ResNotifyProgressCaptureRawDark.
+   * @exports ResNotifyProgressCaptureRawDark
+   * @classdesc Represents a ResNotifyProgressCaptureRawDark.
+   * @implements IResNotifyProgressCaptureRawDark
+   * @constructor
+   * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set
+   */
+  function ResNotifyProgressCaptureRawDark(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyProgressCaptureRawDark progress.
+   * @member {number} progress
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @instance
+   */
+  ResNotifyProgressCaptureRawDark.prototype.progress = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawDark remainingTime.
+   * @member {number} remainingTime
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @instance
+   */
+  ResNotifyProgressCaptureRawDark.prototype.remainingTime = 0;
+
+  /**
+   * Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set
+   * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark instance
+   */
+  ResNotifyProgressCaptureRawDark.create = function create(properties) {
+    return new ResNotifyProgressCaptureRawDark(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyProgressCaptureRawDark.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.progress != null &&
+      Object.hasOwnProperty.call(message, "progress")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress);
+    if (
+      message.remainingTime != null &&
+      Object.hasOwnProperty.call(message, "remainingTime")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.remainingTime);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyProgressCaptureRawDark.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyProgressCaptureRawDark.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyProgressCaptureRawDark();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.progress = reader.int32();
+          break;
+        }
+        case 2: {
+          message.remainingTime = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyProgressCaptureRawDark.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyProgressCaptureRawDark message.
+   * @function verify
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyProgressCaptureRawDark.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.progress != null && message.hasOwnProperty("progress"))
+      if (!$util.isInteger(message.progress))
+        return "progress: integer expected";
+    if (
+      message.remainingTime != null &&
+      message.hasOwnProperty("remainingTime")
+    )
+      if (!$util.isInteger(message.remainingTime))
+        return "remainingTime: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark
+   */
+  ResNotifyProgressCaptureRawDark.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyProgressCaptureRawDark) return object;
+    var message = new $root.ResNotifyProgressCaptureRawDark();
+    if (object.progress != null) message.progress = object.progress | 0;
+    if (object.remainingTime != null)
+      message.remainingTime = object.remainingTime | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {ResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyProgressCaptureRawDark.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.progress = 0;
+      object.remainingTime = 0;
+    }
+    if (message.progress != null && message.hasOwnProperty("progress"))
+      object.progress = message.progress;
+    if (
+      message.remainingTime != null &&
+      message.hasOwnProperty("remainingTime")
+    )
+      object.remainingTime = message.remainingTime;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyProgressCaptureRawDark to JSON.
+   * @function toJSON
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyProgressCaptureRawDark.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyProgressCaptureRawDark
+   * @function getTypeUrl
+   * @memberof ResNotifyProgressCaptureRawDark
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyProgressCaptureRawDark.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyProgressCaptureRawDark";
+  };
+
+  return ResNotifyProgressCaptureRawDark;
+})();
+
+$root.ResNotifyProgressCaptureRawLiveStacking = (function () {
+  /**
+   * Properties of a ResNotifyProgressCaptureRawLiveStacking.
+   * @exports IResNotifyProgressCaptureRawLiveStacking
+   * @interface IResNotifyProgressCaptureRawLiveStacking
+   * @property {number|null} [totalCount] ResNotifyProgressCaptureRawLiveStacking totalCount
+   * @property {number|null} [updateCountType] ResNotifyProgressCaptureRawLiveStacking updateCountType
+   * @property {number|null} [currentCount] ResNotifyProgressCaptureRawLiveStacking currentCount
+   * @property {number|null} [stackedCount] ResNotifyProgressCaptureRawLiveStacking stackedCount
+   * @property {number|null} [expIndex] ResNotifyProgressCaptureRawLiveStacking expIndex
+   * @property {number|null} [gainIndex] ResNotifyProgressCaptureRawLiveStacking gainIndex
+   * @property {string|null} [targetName] ResNotifyProgressCaptureRawLiveStacking targetName
+   */
+
+  /**
+   * Constructs a new ResNotifyProgressCaptureRawLiveStacking.
+   * @exports ResNotifyProgressCaptureRawLiveStacking
+   * @classdesc Represents a ResNotifyProgressCaptureRawLiveStacking.
+   * @implements IResNotifyProgressCaptureRawLiveStacking
+   * @constructor
+   * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set
+   */
+  function ResNotifyProgressCaptureRawLiveStacking(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking totalCount.
+   * @member {number} totalCount
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.totalCount = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking updateCountType.
+   * @member {number} updateCountType
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.updateCountType = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking currentCount.
+   * @member {number} currentCount
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.currentCount = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking stackedCount.
+   * @member {number} stackedCount
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.stackedCount = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking expIndex.
+   * @member {number} expIndex
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.expIndex = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking gainIndex.
+   * @member {number} gainIndex
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.gainIndex = 0;
+
+  /**
+   * ResNotifyProgressCaptureRawLiveStacking targetName.
+   * @member {string} targetName
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.targetName = "";
+
+  /**
+   * Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set
+   * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking instance
+   */
+  ResNotifyProgressCaptureRawLiveStacking.create = function create(properties) {
+    return new ResNotifyProgressCaptureRawLiveStacking(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyProgressCaptureRawLiveStacking.encode = function encode(
+    message,
+    writer
+  ) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.totalCount != null &&
+      Object.hasOwnProperty.call(message, "totalCount")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount);
+    if (
+      message.updateCountType != null &&
+      Object.hasOwnProperty.call(message, "updateCountType")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.updateCountType);
+    if (
+      message.currentCount != null &&
+      Object.hasOwnProperty.call(message, "currentCount")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.currentCount);
+    if (
+      message.stackedCount != null &&
+      Object.hasOwnProperty.call(message, "stackedCount")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.stackedCount);
+    if (
+      message.expIndex != null &&
+      Object.hasOwnProperty.call(message, "expIndex")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.expIndex);
+    if (
+      message.gainIndex != null &&
+      Object.hasOwnProperty.call(message, "gainIndex")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.gainIndex);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.targetName);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyProgressCaptureRawLiveStacking.encodeDelimited =
+    function encodeDelimited(message, writer) {
+      return this.encode(message, writer).ldelim();
+    };
+
+  /**
+   * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyProgressCaptureRawLiveStacking.decode = function decode(
+    reader,
+    length
+  ) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyProgressCaptureRawLiveStacking();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.totalCount = reader.int32();
+          break;
+        }
+        case 2: {
+          message.updateCountType = reader.int32();
+          break;
+        }
+        case 3: {
+          message.currentCount = reader.int32();
+          break;
+        }
+        case 4: {
+          message.stackedCount = reader.int32();
+          break;
+        }
+        case 5: {
+          message.expIndex = reader.int32();
+          break;
+        }
+        case 6: {
+          message.gainIndex = reader.int32();
+          break;
+        }
+        case 7: {
+          message.targetName = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyProgressCaptureRawLiveStacking.decodeDelimited =
+    function decodeDelimited(reader) {
+      if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+      return this.decode(reader, reader.uint32());
+    };
+
+  /**
+   * Verifies a ResNotifyProgressCaptureRawLiveStacking message.
+   * @function verify
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyProgressCaptureRawLiveStacking.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      if (!$util.isInteger(message.totalCount))
+        return "totalCount: integer expected";
+    if (
+      message.updateCountType != null &&
+      message.hasOwnProperty("updateCountType")
+    )
+      if (!$util.isInteger(message.updateCountType))
+        return "updateCountType: integer expected";
+    if (message.currentCount != null && message.hasOwnProperty("currentCount"))
+      if (!$util.isInteger(message.currentCount))
+        return "currentCount: integer expected";
+    if (message.stackedCount != null && message.hasOwnProperty("stackedCount"))
+      if (!$util.isInteger(message.stackedCount))
+        return "stackedCount: integer expected";
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      if (!$util.isInteger(message.expIndex))
+        return "expIndex: integer expected";
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      if (!$util.isInteger(message.gainIndex))
+        return "gainIndex: integer expected";
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking
+   */
+  ResNotifyProgressCaptureRawLiveStacking.fromObject = function fromObject(
+    object
+  ) {
+    if (object instanceof $root.ResNotifyProgressCaptureRawLiveStacking)
+      return object;
+    var message = new $root.ResNotifyProgressCaptureRawLiveStacking();
+    if (object.totalCount != null) message.totalCount = object.totalCount | 0;
+    if (object.updateCountType != null)
+      message.updateCountType = object.updateCountType | 0;
+    if (object.currentCount != null)
+      message.currentCount = object.currentCount | 0;
+    if (object.stackedCount != null)
+      message.stackedCount = object.stackedCount | 0;
+    if (object.expIndex != null) message.expIndex = object.expIndex | 0;
+    if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0;
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {ResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyProgressCaptureRawLiveStacking.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.totalCount = 0;
+      object.updateCountType = 0;
+      object.currentCount = 0;
+      object.stackedCount = 0;
+      object.expIndex = 0;
+      object.gainIndex = 0;
+      object.targetName = "";
+    }
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      object.totalCount = message.totalCount;
+    if (
+      message.updateCountType != null &&
+      message.hasOwnProperty("updateCountType")
+    )
+      object.updateCountType = message.updateCountType;
+    if (message.currentCount != null && message.hasOwnProperty("currentCount"))
+      object.currentCount = message.currentCount;
+    if (message.stackedCount != null && message.hasOwnProperty("stackedCount"))
+      object.stackedCount = message.stackedCount;
+    if (message.expIndex != null && message.hasOwnProperty("expIndex"))
+      object.expIndex = message.expIndex;
+    if (message.gainIndex != null && message.hasOwnProperty("gainIndex"))
+      object.gainIndex = message.gainIndex;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyProgressCaptureRawLiveStacking to JSON.
+   * @function toJSON
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyProgressCaptureRawLiveStacking.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyProgressCaptureRawLiveStacking
+   * @function getTypeUrl
+   * @memberof ResNotifyProgressCaptureRawLiveStacking
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyProgressCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyProgressCaptureRawLiveStacking";
+  };
+
+  return ResNotifyProgressCaptureRawLiveStacking;
+})();
+
+$root.ResNotifyParam = (function () {
+  /**
+   * Properties of a ResNotifyParam.
+   * @exports IResNotifyParam
+   * @interface IResNotifyParam
+   * @property {Array.<ICommonParam>|null} [param] ResNotifyParam param
+   */
+
+  /**
+   * Constructs a new ResNotifyParam.
+   * @exports ResNotifyParam
+   * @classdesc Represents a ResNotifyParam.
+   * @implements IResNotifyParam
+   * @constructor
+   * @param {IResNotifyParam=} [properties] Properties to set
+   */
+  function ResNotifyParam(properties) {
+    this.param = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyParam param.
+   * @member {Array.<ICommonParam>} param
+   * @memberof ResNotifyParam
+   * @instance
+   */
+  ResNotifyParam.prototype.param = $util.emptyArray;
+
+  /**
+   * Creates a new ResNotifyParam instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyParam
+   * @static
+   * @param {IResNotifyParam=} [properties] Properties to set
+   * @returns {ResNotifyParam} ResNotifyParam instance
+   */
+  ResNotifyParam.create = function create(properties) {
+    return new ResNotifyParam(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyParam message. Does not implicitly {@link ResNotifyParam.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyParam
+   * @static
+   * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyParam.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.param != null && message.param.length)
+      for (var i = 0; i < message.param.length; ++i)
+        $root.CommonParam.encode(
+          message.param[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyParam message, length delimited. Does not implicitly {@link ResNotifyParam.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyParam
+   * @static
+   * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyParam.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyParam message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyParam} ResNotifyParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyParam.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyParam();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.param && message.param.length)) message.param = [];
+          message.param.push($root.CommonParam.decode(reader, reader.uint32()));
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyParam message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyParam
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyParam} ResNotifyParam
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyParam.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyParam message.
+   * @function verify
+   * @memberof ResNotifyParam
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyParam.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.param != null && message.hasOwnProperty("param")) {
+      if (!Array.isArray(message.param)) return "param: array expected";
+      for (var i = 0; i < message.param.length; ++i) {
+        var error = $root.CommonParam.verify(message.param[i]);
+        if (error) return "param." + error;
+      }
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyParam
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyParam} ResNotifyParam
+   */
+  ResNotifyParam.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyParam) return object;
+    var message = new $root.ResNotifyParam();
+    if (object.param) {
+      if (!Array.isArray(object.param))
+        throw TypeError(".ResNotifyParam.param: array expected");
+      message.param = [];
+      for (var i = 0; i < object.param.length; ++i) {
+        if (typeof object.param[i] !== "object")
+          throw TypeError(".ResNotifyParam.param: object expected");
+        message.param[i] = $root.CommonParam.fromObject(object.param[i]);
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyParam
+   * @static
+   * @param {ResNotifyParam} message ResNotifyParam
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyParam.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.param = [];
+    if (message.param && message.param.length) {
+      object.param = [];
+      for (var j = 0; j < message.param.length; ++j)
+        object.param[j] = $root.CommonParam.toObject(message.param[j], options);
+    }
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyParam to JSON.
+   * @function toJSON
+   * @memberof ResNotifyParam
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyParam.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyParam
+   * @function getTypeUrl
+   * @memberof ResNotifyParam
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyParam";
+  };
+
+  return ResNotifyParam;
+})();
+
+$root.ResNotifyCamFunctionState = (function () {
+  /**
+   * Properties of a ResNotifyCamFunctionState.
+   * @exports IResNotifyCamFunctionState
+   * @interface IResNotifyCamFunctionState
+   * @property {OperationState|null} [state] ResNotifyCamFunctionState state
+   * @property {number|null} [functionId] ResNotifyCamFunctionState functionId
+   */
+
+  /**
+   * Constructs a new ResNotifyCamFunctionState.
+   * @exports ResNotifyCamFunctionState
+   * @classdesc Represents a ResNotifyCamFunctionState.
+   * @implements IResNotifyCamFunctionState
+   * @constructor
+   * @param {IResNotifyCamFunctionState=} [properties] Properties to set
+   */
+  function ResNotifyCamFunctionState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyCamFunctionState state.
+   * @member {OperationState} state
+   * @memberof ResNotifyCamFunctionState
+   * @instance
+   */
+  ResNotifyCamFunctionState.prototype.state = 0;
+
+  /**
+   * ResNotifyCamFunctionState functionId.
+   * @member {number} functionId
+   * @memberof ResNotifyCamFunctionState
+   * @instance
+   */
+  ResNotifyCamFunctionState.prototype.functionId = 0;
+
+  /**
+   * Creates a new ResNotifyCamFunctionState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {IResNotifyCamFunctionState=} [properties] Properties to set
+   * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState instance
+   */
+  ResNotifyCamFunctionState.create = function create(properties) {
+    return new ResNotifyCamFunctionState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyCamFunctionState message. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyCamFunctionState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    if (
+      message.functionId != null &&
+      Object.hasOwnProperty.call(message, "functionId")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.functionId);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyCamFunctionState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyCamFunctionState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyCamFunctionState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        case 2: {
+          message.functionId = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyCamFunctionState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyCamFunctionState message.
+   * @function verify
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyCamFunctionState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    if (message.functionId != null && message.hasOwnProperty("functionId"))
+      if (!$util.isInteger(message.functionId))
+        return "functionId: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState
+   */
+  ResNotifyCamFunctionState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyCamFunctionState) return object;
+    var message = new $root.ResNotifyCamFunctionState();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    if (object.functionId != null) message.functionId = object.functionId >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {ResNotifyCamFunctionState} message ResNotifyCamFunctionState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyCamFunctionState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+      object.functionId = 0;
+    }
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    if (message.functionId != null && message.hasOwnProperty("functionId"))
+      object.functionId = message.functionId;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyCamFunctionState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyCamFunctionState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyCamFunctionState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyCamFunctionState
+   * @function getTypeUrl
+   * @memberof ResNotifyCamFunctionState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyCamFunctionState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyCamFunctionState";
+  };
+
+  return ResNotifyCamFunctionState;
+})();
+
+$root.ResNotifyBurstProgress = (function () {
+  /**
+   * Properties of a ResNotifyBurstProgress.
+   * @exports IResNotifyBurstProgress
+   * @interface IResNotifyBurstProgress
+   * @property {number|null} [totalCount] ResNotifyBurstProgress totalCount
+   * @property {number|null} [completedCount] ResNotifyBurstProgress completedCount
+   */
+
+  /**
+   * Constructs a new ResNotifyBurstProgress.
+   * @exports ResNotifyBurstProgress
+   * @classdesc Represents a ResNotifyBurstProgress.
+   * @implements IResNotifyBurstProgress
+   * @constructor
+   * @param {IResNotifyBurstProgress=} [properties] Properties to set
+   */
+  function ResNotifyBurstProgress(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyBurstProgress totalCount.
+   * @member {number} totalCount
+   * @memberof ResNotifyBurstProgress
+   * @instance
+   */
+  ResNotifyBurstProgress.prototype.totalCount = 0;
+
+  /**
+   * ResNotifyBurstProgress completedCount.
+   * @member {number} completedCount
+   * @memberof ResNotifyBurstProgress
+   * @instance
+   */
+  ResNotifyBurstProgress.prototype.completedCount = 0;
+
+  /**
+   * Creates a new ResNotifyBurstProgress instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {IResNotifyBurstProgress=} [properties] Properties to set
+   * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress instance
+   */
+  ResNotifyBurstProgress.create = function create(properties) {
+    return new ResNotifyBurstProgress(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyBurstProgress message. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyBurstProgress.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.totalCount != null &&
+      Object.hasOwnProperty.call(message, "totalCount")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.totalCount);
+    if (
+      message.completedCount != null &&
+      Object.hasOwnProperty.call(message, "completedCount")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.completedCount);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyBurstProgress.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyBurstProgress message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyBurstProgress.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyBurstProgress();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.totalCount = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.completedCount = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyBurstProgress.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyBurstProgress message.
+   * @function verify
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyBurstProgress.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      if (!$util.isInteger(message.totalCount))
+        return "totalCount: integer expected";
+    if (
+      message.completedCount != null &&
+      message.hasOwnProperty("completedCount")
+    )
+      if (!$util.isInteger(message.completedCount))
+        return "completedCount: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress
+   */
+  ResNotifyBurstProgress.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyBurstProgress) return object;
+    var message = new $root.ResNotifyBurstProgress();
+    if (object.totalCount != null) message.totalCount = object.totalCount >>> 0;
+    if (object.completedCount != null)
+      message.completedCount = object.completedCount >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {ResNotifyBurstProgress} message ResNotifyBurstProgress
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyBurstProgress.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.totalCount = 0;
+      object.completedCount = 0;
+    }
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      object.totalCount = message.totalCount;
+    if (
+      message.completedCount != null &&
+      message.hasOwnProperty("completedCount")
+    )
+      object.completedCount = message.completedCount;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyBurstProgress to JSON.
+   * @function toJSON
+   * @memberof ResNotifyBurstProgress
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyBurstProgress.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyBurstProgress
+   * @function getTypeUrl
+   * @memberof ResNotifyBurstProgress
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyBurstProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyBurstProgress";
+  };
+
+  return ResNotifyBurstProgress;
+})();
+
+$root.ResNotifyPanoramaProgress = (function () {
+  /**
+   * Properties of a ResNotifyPanoramaProgress.
+   * @exports IResNotifyPanoramaProgress
+   * @interface IResNotifyPanoramaProgress
+   * @property {number|null} [totalCount] ResNotifyPanoramaProgress totalCount
+   * @property {number|null} [completedCount] ResNotifyPanoramaProgress completedCount
+   */
+
+  /**
+   * Constructs a new ResNotifyPanoramaProgress.
+   * @exports ResNotifyPanoramaProgress
+   * @classdesc Represents a ResNotifyPanoramaProgress.
+   * @implements IResNotifyPanoramaProgress
+   * @constructor
+   * @param {IResNotifyPanoramaProgress=} [properties] Properties to set
+   */
+  function ResNotifyPanoramaProgress(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPanoramaProgress totalCount.
+   * @member {number} totalCount
+   * @memberof ResNotifyPanoramaProgress
+   * @instance
+   */
+  ResNotifyPanoramaProgress.prototype.totalCount = 0;
+
+  /**
+   * ResNotifyPanoramaProgress completedCount.
+   * @member {number} completedCount
+   * @memberof ResNotifyPanoramaProgress
+   * @instance
+   */
+  ResNotifyPanoramaProgress.prototype.completedCount = 0;
+
+  /**
+   * Creates a new ResNotifyPanoramaProgress instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {IResNotifyPanoramaProgress=} [properties] Properties to set
+   * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress instance
+   */
+  ResNotifyPanoramaProgress.create = function create(properties) {
+    return new ResNotifyPanoramaProgress(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaProgress.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.totalCount != null &&
+      Object.hasOwnProperty.call(message, "totalCount")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount);
+    if (
+      message.completedCount != null &&
+      Object.hasOwnProperty.call(message, "completedCount")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.completedCount);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaProgress.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaProgress.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPanoramaProgress();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.totalCount = reader.int32();
+          break;
+        }
+        case 2: {
+          message.completedCount = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaProgress.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyPanoramaProgress message.
+   * @function verify
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPanoramaProgress.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      if (!$util.isInteger(message.totalCount))
+        return "totalCount: integer expected";
+    if (
+      message.completedCount != null &&
+      message.hasOwnProperty("completedCount")
+    )
+      if (!$util.isInteger(message.completedCount))
+        return "completedCount: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress
+   */
+  ResNotifyPanoramaProgress.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyPanoramaProgress) return object;
+    var message = new $root.ResNotifyPanoramaProgress();
+    if (object.totalCount != null) message.totalCount = object.totalCount | 0;
+    if (object.completedCount != null)
+      message.completedCount = object.completedCount | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {ResNotifyPanoramaProgress} message ResNotifyPanoramaProgress
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPanoramaProgress.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.totalCount = 0;
+      object.completedCount = 0;
+    }
+    if (message.totalCount != null && message.hasOwnProperty("totalCount"))
+      object.totalCount = message.totalCount;
+    if (
+      message.completedCount != null &&
+      message.hasOwnProperty("completedCount")
+    )
+      object.completedCount = message.completedCount;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPanoramaProgress to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPanoramaProgress
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPanoramaProgress.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPanoramaProgress
+   * @function getTypeUrl
+   * @memberof ResNotifyPanoramaProgress
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPanoramaProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPanoramaProgress";
+  };
+
+  return ResNotifyPanoramaProgress;
+})();
+
+$root.ResNotifyRgbState = (function () {
+  /**
+   * Properties of a ResNotifyRgbState.
+   * @exports IResNotifyRgbState
+   * @interface IResNotifyRgbState
+   * @property {number|null} [state] ResNotifyRgbState state
+   */
+
+  /**
+   * Constructs a new ResNotifyRgbState.
+   * @exports ResNotifyRgbState
+   * @classdesc Represents a ResNotifyRgbState.
+   * @implements IResNotifyRgbState
+   * @constructor
+   * @param {IResNotifyRgbState=} [properties] Properties to set
+   */
+  function ResNotifyRgbState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyRgbState state.
+   * @member {number} state
+   * @memberof ResNotifyRgbState
+   * @instance
+   */
+  ResNotifyRgbState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyRgbState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {IResNotifyRgbState=} [properties] Properties to set
+   * @returns {ResNotifyRgbState} ResNotifyRgbState instance
+   */
+  ResNotifyRgbState.create = function create(properties) {
+    return new ResNotifyRgbState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyRgbState message. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyRgbState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyRgbState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyRgbState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyRgbState} ResNotifyRgbState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyRgbState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyRgbState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyRgbState} ResNotifyRgbState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyRgbState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyRgbState message.
+   * @function verify
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyRgbState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      if (!$util.isInteger(message.state)) return "state: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyRgbState} ResNotifyRgbState
+   */
+  ResNotifyRgbState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyRgbState) return object;
+    var message = new $root.ResNotifyRgbState();
+    if (object.state != null) message.state = object.state | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {ResNotifyRgbState} message ResNotifyRgbState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyRgbState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.state = 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state = message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyRgbState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyRgbState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyRgbState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyRgbState
+   * @function getTypeUrl
+   * @memberof ResNotifyRgbState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyRgbState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyRgbState";
+  };
+
+  return ResNotifyRgbState;
+})();
+
+$root.ResNotifyPowerIndState = (function () {
+  /**
+   * Properties of a ResNotifyPowerIndState.
+   * @exports IResNotifyPowerIndState
+   * @interface IResNotifyPowerIndState
+   * @property {number|null} [state] ResNotifyPowerIndState state
+   */
+
+  /**
+   * Constructs a new ResNotifyPowerIndState.
+   * @exports ResNotifyPowerIndState
+   * @classdesc Represents a ResNotifyPowerIndState.
+   * @implements IResNotifyPowerIndState
+   * @constructor
+   * @param {IResNotifyPowerIndState=} [properties] Properties to set
+   */
+  function ResNotifyPowerIndState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPowerIndState state.
+   * @member {number} state
+   * @memberof ResNotifyPowerIndState
+   * @instance
+   */
+  ResNotifyPowerIndState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyPowerIndState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {IResNotifyPowerIndState=} [properties] Properties to set
+   * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState instance
+   */
+  ResNotifyPowerIndState.create = function create(properties) {
+    return new ResNotifyPowerIndState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPowerIndState message. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPowerIndState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPowerIndState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyPowerIndState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPowerIndState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPowerIndState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPowerIndState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyPowerIndState message.
+   * @function verify
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPowerIndState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      if (!$util.isInteger(message.state)) return "state: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState
+   */
+  ResNotifyPowerIndState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyPowerIndState) return object;
+    var message = new $root.ResNotifyPowerIndState();
+    if (object.state != null) message.state = object.state | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {ResNotifyPowerIndState} message ResNotifyPowerIndState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPowerIndState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.state = 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state = message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPowerIndState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPowerIndState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPowerIndState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPowerIndState
+   * @function getTypeUrl
+   * @memberof ResNotifyPowerIndState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPowerIndState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPowerIndState";
+  };
+
+  return ResNotifyPowerIndState;
+})();
+
+$root.ResNotifyHostSlaveMode = (function () {
+  /**
+   * Properties of a ResNotifyHostSlaveMode.
+   * @exports IResNotifyHostSlaveMode
+   * @interface IResNotifyHostSlaveMode
+   * @property {number|null} [mode] ResNotifyHostSlaveMode mode
+   * @property {boolean|null} [lock] ResNotifyHostSlaveMode lock
+   */
+
+  /**
+   * Constructs a new ResNotifyHostSlaveMode.
+   * @exports ResNotifyHostSlaveMode
+   * @classdesc Represents a ResNotifyHostSlaveMode.
+   * @implements IResNotifyHostSlaveMode
+   * @constructor
+   * @param {IResNotifyHostSlaveMode=} [properties] Properties to set
+   */
+  function ResNotifyHostSlaveMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyHostSlaveMode mode.
+   * @member {number} mode
+   * @memberof ResNotifyHostSlaveMode
+   * @instance
+   */
+  ResNotifyHostSlaveMode.prototype.mode = 0;
+
+  /**
+   * ResNotifyHostSlaveMode lock.
+   * @member {boolean} lock
+   * @memberof ResNotifyHostSlaveMode
+   * @instance
+   */
+  ResNotifyHostSlaveMode.prototype.lock = false;
+
+  /**
+   * Creates a new ResNotifyHostSlaveMode instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {IResNotifyHostSlaveMode=} [properties] Properties to set
+   * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode instance
+   */
+  ResNotifyHostSlaveMode.create = function create(properties) {
+    return new ResNotifyHostSlaveMode(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyHostSlaveMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    if (message.lock != null && Object.hasOwnProperty.call(message, "lock"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.lock);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyHostSlaveMode.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyHostSlaveMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyHostSlaveMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        case 2: {
+          message.lock = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyHostSlaveMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyHostSlaveMode message.
+   * @function verify
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyHostSlaveMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      if (typeof message.lock !== "boolean") return "lock: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode
+   */
+  ResNotifyHostSlaveMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyHostSlaveMode) return object;
+    var message = new $root.ResNotifyHostSlaveMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    if (object.lock != null) message.lock = Boolean(object.lock);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {ResNotifyHostSlaveMode} message ResNotifyHostSlaveMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyHostSlaveMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.mode = 0;
+      object.lock = false;
+    }
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      object.lock = message.lock;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyHostSlaveMode to JSON.
+   * @function toJSON
+   * @memberof ResNotifyHostSlaveMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyHostSlaveMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyHostSlaveMode
+   * @function getTypeUrl
+   * @memberof ResNotifyHostSlaveMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyHostSlaveMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyHostSlaveMode";
+  };
+
+  return ResNotifyHostSlaveMode;
+})();
+
+$root.ResNotifyMTPState = (function () {
+  /**
+   * Properties of a ResNotifyMTPState.
+   * @exports IResNotifyMTPState
+   * @interface IResNotifyMTPState
+   * @property {number|null} [mode] ResNotifyMTPState mode
+   */
+
+  /**
+   * Constructs a new ResNotifyMTPState.
+   * @exports ResNotifyMTPState
+   * @classdesc Represents a ResNotifyMTPState.
+   * @implements IResNotifyMTPState
+   * @constructor
+   * @param {IResNotifyMTPState=} [properties] Properties to set
+   */
+  function ResNotifyMTPState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyMTPState mode.
+   * @member {number} mode
+   * @memberof ResNotifyMTPState
+   * @instance
+   */
+  ResNotifyMTPState.prototype.mode = 0;
+
+  /**
+   * Creates a new ResNotifyMTPState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {IResNotifyMTPState=} [properties] Properties to set
+   * @returns {ResNotifyMTPState} ResNotifyMTPState instance
+   */
+  ResNotifyMTPState.create = function create(properties) {
+    return new ResNotifyMTPState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyMTPState message. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyMTPState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyMTPState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyMTPState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyMTPState} ResNotifyMTPState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyMTPState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyMTPState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyMTPState} ResNotifyMTPState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyMTPState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyMTPState message.
+   * @function verify
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyMTPState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyMTPState} ResNotifyMTPState
+   */
+  ResNotifyMTPState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyMTPState) return object;
+    var message = new $root.ResNotifyMTPState();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {ResNotifyMTPState} message ResNotifyMTPState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyMTPState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyMTPState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyMTPState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyMTPState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyMTPState
+   * @function getTypeUrl
+   * @memberof ResNotifyMTPState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyMTPState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyMTPState";
+  };
+
+  return ResNotifyMTPState;
+})();
+
+$root.ResNotifyTrackResult = (function () {
+  /**
+   * Properties of a ResNotifyTrackResult.
+   * @exports IResNotifyTrackResult
+   * @interface IResNotifyTrackResult
+   * @property {number|null} [x] ResNotifyTrackResult x
+   * @property {number|null} [y] ResNotifyTrackResult y
+   * @property {number|null} [w] ResNotifyTrackResult w
+   * @property {number|null} [h] ResNotifyTrackResult h
+   */
+
+  /**
+   * Constructs a new ResNotifyTrackResult.
+   * @exports ResNotifyTrackResult
+   * @classdesc Represents a ResNotifyTrackResult.
+   * @implements IResNotifyTrackResult
+   * @constructor
+   * @param {IResNotifyTrackResult=} [properties] Properties to set
+   */
+  function ResNotifyTrackResult(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyTrackResult x.
+   * @member {number} x
+   * @memberof ResNotifyTrackResult
+   * @instance
+   */
+  ResNotifyTrackResult.prototype.x = 0;
+
+  /**
+   * ResNotifyTrackResult y.
+   * @member {number} y
+   * @memberof ResNotifyTrackResult
+   * @instance
+   */
+  ResNotifyTrackResult.prototype.y = 0;
+
+  /**
+   * ResNotifyTrackResult w.
+   * @member {number} w
+   * @memberof ResNotifyTrackResult
+   * @instance
+   */
+  ResNotifyTrackResult.prototype.w = 0;
+
+  /**
+   * ResNotifyTrackResult h.
+   * @member {number} h
+   * @memberof ResNotifyTrackResult
+   * @instance
+   */
+  ResNotifyTrackResult.prototype.h = 0;
+
+  /**
+   * Creates a new ResNotifyTrackResult instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {IResNotifyTrackResult=} [properties] Properties to set
+   * @returns {ResNotifyTrackResult} ResNotifyTrackResult instance
+   */
+  ResNotifyTrackResult.create = function create(properties) {
+    return new ResNotifyTrackResult(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyTrackResult message. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTrackResult.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.x != null && Object.hasOwnProperty.call(message, "x"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x);
+    if (message.y != null && Object.hasOwnProperty.call(message, "y"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y);
+    if (message.w != null && Object.hasOwnProperty.call(message, "w"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w);
+    if (message.h != null && Object.hasOwnProperty.call(message, "h"))
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyTrackResult.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyTrackResult message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyTrackResult} ResNotifyTrackResult
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTrackResult.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyTrackResult();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.x = reader.int32();
+          break;
+        }
+        case 2: {
+          message.y = reader.int32();
+          break;
+        }
+        case 3: {
+          message.w = reader.int32();
+          break;
+        }
+        case 4: {
+          message.h = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyTrackResult} ResNotifyTrackResult
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyTrackResult.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyTrackResult message.
+   * @function verify
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyTrackResult.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.x != null && message.hasOwnProperty("x"))
+      if (!$util.isInteger(message.x)) return "x: integer expected";
+    if (message.y != null && message.hasOwnProperty("y"))
+      if (!$util.isInteger(message.y)) return "y: integer expected";
+    if (message.w != null && message.hasOwnProperty("w"))
+      if (!$util.isInteger(message.w)) return "w: integer expected";
+    if (message.h != null && message.hasOwnProperty("h"))
+      if (!$util.isInteger(message.h)) return "h: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyTrackResult} ResNotifyTrackResult
+   */
+  ResNotifyTrackResult.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyTrackResult) return object;
+    var message = new $root.ResNotifyTrackResult();
+    if (object.x != null) message.x = object.x | 0;
+    if (object.y != null) message.y = object.y | 0;
+    if (object.w != null) message.w = object.w | 0;
+    if (object.h != null) message.h = object.h | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {ResNotifyTrackResult} message ResNotifyTrackResult
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyTrackResult.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.x = 0;
+      object.y = 0;
+      object.w = 0;
+      object.h = 0;
+    }
+    if (message.x != null && message.hasOwnProperty("x")) object.x = message.x;
+    if (message.y != null && message.hasOwnProperty("y")) object.y = message.y;
+    if (message.w != null && message.hasOwnProperty("w")) object.w = message.w;
+    if (message.h != null && message.hasOwnProperty("h")) object.h = message.h;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyTrackResult to JSON.
+   * @function toJSON
+   * @memberof ResNotifyTrackResult
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyTrackResult.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyTrackResult
+   * @function getTypeUrl
+   * @memberof ResNotifyTrackResult
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyTrackResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyTrackResult";
+  };
+
+  return ResNotifyTrackResult;
+})();
+
+$root.ResNotifyCPUMode = (function () {
+  /**
+   * Properties of a ResNotifyCPUMode.
+   * @exports IResNotifyCPUMode
+   * @interface IResNotifyCPUMode
+   * @property {number|null} [mode] ResNotifyCPUMode mode
+   */
+
+  /**
+   * Constructs a new ResNotifyCPUMode.
+   * @exports ResNotifyCPUMode
+   * @classdesc Represents a ResNotifyCPUMode.
+   * @implements IResNotifyCPUMode
+   * @constructor
+   * @param {IResNotifyCPUMode=} [properties] Properties to set
+   */
+  function ResNotifyCPUMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyCPUMode mode.
+   * @member {number} mode
+   * @memberof ResNotifyCPUMode
+   * @instance
+   */
+  ResNotifyCPUMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ResNotifyCPUMode instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {IResNotifyCPUMode=} [properties] Properties to set
+   * @returns {ResNotifyCPUMode} ResNotifyCPUMode instance
+   */
+  ResNotifyCPUMode.create = function create(properties) {
+    return new ResNotifyCPUMode(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyCPUMode message. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyCPUMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyCPUMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyCPUMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyCPUMode} ResNotifyCPUMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyCPUMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyCPUMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyCPUMode} ResNotifyCPUMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyCPUMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyCPUMode message.
+   * @function verify
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyCPUMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyCPUMode} ResNotifyCPUMode
+   */
+  ResNotifyCPUMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyCPUMode) return object;
+    var message = new $root.ResNotifyCPUMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {ResNotifyCPUMode} message ResNotifyCPUMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyCPUMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyCPUMode to JSON.
+   * @function toJSON
+   * @memberof ResNotifyCPUMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyCPUMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyCPUMode
+   * @function getTypeUrl
+   * @memberof ResNotifyCPUMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyCPUMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyCPUMode";
+  };
+
+  return ResNotifyCPUMode;
+})();
+
+$root.ResNotifyStateAstroTrackingSpecial = (function () {
+  /**
+   * Properties of a ResNotifyStateAstroTrackingSpecial.
+   * @exports IResNotifyStateAstroTrackingSpecial
+   * @interface IResNotifyStateAstroTrackingSpecial
+   * @property {OperationState|null} [state] ResNotifyStateAstroTrackingSpecial state
+   * @property {string|null} [targetName] ResNotifyStateAstroTrackingSpecial targetName
+   * @property {number|null} [index] ResNotifyStateAstroTrackingSpecial index
+   */
+
+  /**
+   * Constructs a new ResNotifyStateAstroTrackingSpecial.
+   * @exports ResNotifyStateAstroTrackingSpecial
+   * @classdesc Represents a ResNotifyStateAstroTrackingSpecial.
+   * @implements IResNotifyStateAstroTrackingSpecial
+   * @constructor
+   * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set
+   */
+  function ResNotifyStateAstroTrackingSpecial(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStateAstroTrackingSpecial state.
+   * @member {OperationState} state
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @instance
+   */
+  ResNotifyStateAstroTrackingSpecial.prototype.state = 0;
+
+  /**
+   * ResNotifyStateAstroTrackingSpecial targetName.
+   * @member {string} targetName
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @instance
+   */
+  ResNotifyStateAstroTrackingSpecial.prototype.targetName = "";
+
+  /**
+   * ResNotifyStateAstroTrackingSpecial index.
+   * @member {number} index
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @instance
+   */
+  ResNotifyStateAstroTrackingSpecial.prototype.index = 0;
+
+  /**
+   * Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set
+   * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial instance
+   */
+  ResNotifyStateAstroTrackingSpecial.create = function create(properties) {
+    return new ResNotifyStateAstroTrackingSpecial(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroTrackingSpecial.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    if (
+      message.targetName != null &&
+      Object.hasOwnProperty.call(message, "targetName")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName);
+    if (message.index != null && Object.hasOwnProperty.call(message, "index"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.index);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateAstroTrackingSpecial.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroTrackingSpecial.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStateAstroTrackingSpecial();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        case 2: {
+          message.targetName = reader.string();
+          break;
+        }
+        case 3: {
+          message.index = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateAstroTrackingSpecial.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStateAstroTrackingSpecial message.
+   * @function verify
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStateAstroTrackingSpecial.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      if (!$util.isString(message.targetName))
+        return "targetName: string expected";
+    if (message.index != null && message.hasOwnProperty("index"))
+      if (!$util.isInteger(message.index)) return "index: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial
+   */
+  ResNotifyStateAstroTrackingSpecial.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStateAstroTrackingSpecial)
+      return object;
+    var message = new $root.ResNotifyStateAstroTrackingSpecial();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    if (object.targetName != null)
+      message.targetName = String(object.targetName);
+    if (object.index != null) message.index = object.index | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {ResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStateAstroTrackingSpecial.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+      object.targetName = "";
+      object.index = 0;
+    }
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    if (message.targetName != null && message.hasOwnProperty("targetName"))
+      object.targetName = message.targetName;
+    if (message.index != null && message.hasOwnProperty("index"))
+      object.index = message.index;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStateAstroTrackingSpecial to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStateAstroTrackingSpecial.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStateAstroTrackingSpecial
+   * @function getTypeUrl
+   * @memberof ResNotifyStateAstroTrackingSpecial
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStateAstroTrackingSpecial.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStateAstroTrackingSpecial";
+  };
+
+  return ResNotifyStateAstroTrackingSpecial;
+})();
+
+$root.ResNotifyPowerOff = (function () {
+  /**
+   * Properties of a ResNotifyPowerOff.
+   * @exports IResNotifyPowerOff
+   * @interface IResNotifyPowerOff
+   */
+
+  /**
+   * Constructs a new ResNotifyPowerOff.
+   * @exports ResNotifyPowerOff
+   * @classdesc Represents a ResNotifyPowerOff.
+   * @implements IResNotifyPowerOff
+   * @constructor
+   * @param {IResNotifyPowerOff=} [properties] Properties to set
+   */
+  function ResNotifyPowerOff(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ResNotifyPowerOff instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {IResNotifyPowerOff=} [properties] Properties to set
+   * @returns {ResNotifyPowerOff} ResNotifyPowerOff instance
+   */
+  ResNotifyPowerOff.create = function create(properties) {
+    return new ResNotifyPowerOff(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPowerOff message. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPowerOff.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPowerOff.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyPowerOff message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPowerOff} ResNotifyPowerOff
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPowerOff.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPowerOff();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPowerOff} ResNotifyPowerOff
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPowerOff.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyPowerOff message.
+   * @function verify
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPowerOff.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPowerOff} ResNotifyPowerOff
+   */
+  ResNotifyPowerOff.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyPowerOff) return object;
+    return new $root.ResNotifyPowerOff();
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {ResNotifyPowerOff} message ResNotifyPowerOff
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPowerOff.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ResNotifyPowerOff to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPowerOff
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPowerOff.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPowerOff
+   * @function getTypeUrl
+   * @memberof ResNotifyPowerOff
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPowerOff.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPowerOff";
+  };
+
+  return ResNotifyPowerOff;
+})();
+
+$root.ResNotifyAlbumUpdate = (function () {
+  /**
+   * Properties of a ResNotifyAlbumUpdate.
+   * @exports IResNotifyAlbumUpdate
+   * @interface IResNotifyAlbumUpdate
+   * @property {number|null} [mediaType] ResNotifyAlbumUpdate mediaType
+   */
+
+  /**
+   * Constructs a new ResNotifyAlbumUpdate.
+   * @exports ResNotifyAlbumUpdate
+   * @classdesc Represents a ResNotifyAlbumUpdate.
+   * @implements IResNotifyAlbumUpdate
+   * @constructor
+   * @param {IResNotifyAlbumUpdate=} [properties] Properties to set
+   */
+  function ResNotifyAlbumUpdate(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyAlbumUpdate mediaType.
+   * @member {number} mediaType
+   * @memberof ResNotifyAlbumUpdate
+   * @instance
+   */
+  ResNotifyAlbumUpdate.prototype.mediaType = 0;
+
+  /**
+   * Creates a new ResNotifyAlbumUpdate instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {IResNotifyAlbumUpdate=} [properties] Properties to set
+   * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate instance
+   */
+  ResNotifyAlbumUpdate.create = function create(properties) {
+    return new ResNotifyAlbumUpdate(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyAlbumUpdate.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.mediaType != null &&
+      Object.hasOwnProperty.call(message, "mediaType")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mediaType);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyAlbumUpdate.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyAlbumUpdate.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyAlbumUpdate();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mediaType = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyAlbumUpdate.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyAlbumUpdate message.
+   * @function verify
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyAlbumUpdate.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mediaType != null && message.hasOwnProperty("mediaType"))
+      if (!$util.isInteger(message.mediaType))
+        return "mediaType: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate
+   */
+  ResNotifyAlbumUpdate.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyAlbumUpdate) return object;
+    var message = new $root.ResNotifyAlbumUpdate();
+    if (object.mediaType != null) message.mediaType = object.mediaType | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {ResNotifyAlbumUpdate} message ResNotifyAlbumUpdate
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyAlbumUpdate.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mediaType = 0;
+    if (message.mediaType != null && message.hasOwnProperty("mediaType"))
+      object.mediaType = message.mediaType;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyAlbumUpdate to JSON.
+   * @function toJSON
+   * @memberof ResNotifyAlbumUpdate
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyAlbumUpdate.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyAlbumUpdate
+   * @function getTypeUrl
+   * @memberof ResNotifyAlbumUpdate
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyAlbumUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyAlbumUpdate";
+  };
+
+  return ResNotifyAlbumUpdate;
+})();
+
+$root.ResNotifyStateSentryMode = (function () {
+  /**
+   * Properties of a ResNotifyStateSentryMode.
+   * @exports IResNotifyStateSentryMode
+   * @interface IResNotifyStateSentryMode
+   * @property {SentryModeState|null} [state] ResNotifyStateSentryMode state
+   */
+
+  /**
+   * Constructs a new ResNotifyStateSentryMode.
+   * @exports ResNotifyStateSentryMode
+   * @classdesc Represents a ResNotifyStateSentryMode.
+   * @implements IResNotifyStateSentryMode
+   * @constructor
+   * @param {IResNotifyStateSentryMode=} [properties] Properties to set
+   */
+  function ResNotifyStateSentryMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStateSentryMode state.
+   * @member {SentryModeState} state
+   * @memberof ResNotifyStateSentryMode
+   * @instance
+   */
+  ResNotifyStateSentryMode.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyStateSentryMode instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {IResNotifyStateSentryMode=} [properties] Properties to set
+   * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode instance
+   */
+  ResNotifyStateSentryMode.create = function create(properties) {
+    return new ResNotifyStateSentryMode(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateSentryMode message. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateSentryMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStateSentryMode.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateSentryMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStateSentryMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStateSentryMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStateSentryMode message.
+   * @function verify
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStateSentryMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+        case 4:
+        case 5:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode
+   */
+  ResNotifyStateSentryMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStateSentryMode) return object;
+    var message = new $root.ResNotifyStateSentryMode();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "SENTRY_MODE_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "SENTRY_MODE_STATE_INIT":
+      case 1:
+        message.state = 1;
+        break;
+      case "SENTRY_MODE_STATE_DETECT":
+      case 2:
+        message.state = 2;
+        break;
+      case "SENTRY_MODE_STATE_TRACK":
+      case 3:
+        message.state = 3;
+        break;
+      case "SENTRY_MODE_STATE_TRACK_FINISH":
+      case 4:
+        message.state = 4;
+        break;
+      case "SENTRY_MODE_STATE_STOPPING":
+      case 5:
+        message.state = 5;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {ResNotifyStateSentryMode} message ResNotifyStateSentryMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStateSentryMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults)
+      object.state = options.enums === String ? "SENTRY_MODE_STATE_IDLE" : 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.SentryModeState[message.state] === undefined
+            ? message.state
+            : $root.SentryModeState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStateSentryMode to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStateSentryMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStateSentryMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStateSentryMode
+   * @function getTypeUrl
+   * @memberof ResNotifyStateSentryMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStateSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStateSentryMode";
+  };
+
+  return ResNotifyStateSentryMode;
+})();
+
+$root.ResNotifyOneClickGotoState = (function () {
+  /**
+   * Properties of a ResNotifyOneClickGotoState.
+   * @exports IResNotifyOneClickGotoState
+   * @interface IResNotifyOneClickGotoState
+   * @property {OperationState|null} [state] ResNotifyOneClickGotoState state
+   */
+
+  /**
+   * Constructs a new ResNotifyOneClickGotoState.
+   * @exports ResNotifyOneClickGotoState
+   * @classdesc Represents a ResNotifyOneClickGotoState.
+   * @implements IResNotifyOneClickGotoState
+   * @constructor
+   * @param {IResNotifyOneClickGotoState=} [properties] Properties to set
+   */
+  function ResNotifyOneClickGotoState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyOneClickGotoState state.
+   * @member {OperationState} state
+   * @memberof ResNotifyOneClickGotoState
+   * @instance
+   */
+  ResNotifyOneClickGotoState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyOneClickGotoState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {IResNotifyOneClickGotoState=} [properties] Properties to set
+   * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState instance
+   */
+  ResNotifyOneClickGotoState.create = function create(properties) {
+    return new ResNotifyOneClickGotoState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyOneClickGotoState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyOneClickGotoState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyOneClickGotoState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyOneClickGotoState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyOneClickGotoState.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyOneClickGotoState message.
+   * @function verify
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyOneClickGotoState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState
+   */
+  ResNotifyOneClickGotoState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyOneClickGotoState) return object;
+    var message = new $root.ResNotifyOneClickGotoState();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {ResNotifyOneClickGotoState} message ResNotifyOneClickGotoState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyOneClickGotoState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults)
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyOneClickGotoState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyOneClickGotoState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyOneClickGotoState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyOneClickGotoState
+   * @function getTypeUrl
+   * @memberof ResNotifyOneClickGotoState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyOneClickGotoState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyOneClickGotoState";
+  };
+
+  return ResNotifyOneClickGotoState;
+})();
+
+$root.ResNotifyStreamType = (function () {
+  /**
+   * Properties of a ResNotifyStreamType.
+   * @exports IResNotifyStreamType
+   * @interface IResNotifyStreamType
+   * @property {number|null} [streamType] ResNotifyStreamType streamType
+   * @property {number|null} [camId] ResNotifyStreamType camId
+   */
+
+  /**
+   * Constructs a new ResNotifyStreamType.
+   * @exports ResNotifyStreamType
+   * @classdesc Represents a ResNotifyStreamType.
+   * @implements IResNotifyStreamType
+   * @constructor
+   * @param {IResNotifyStreamType=} [properties] Properties to set
+   */
+  function ResNotifyStreamType(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyStreamType streamType.
+   * @member {number} streamType
+   * @memberof ResNotifyStreamType
+   * @instance
+   */
+  ResNotifyStreamType.prototype.streamType = 0;
+
+  /**
+   * ResNotifyStreamType camId.
+   * @member {number} camId
+   * @memberof ResNotifyStreamType
+   * @instance
+   */
+  ResNotifyStreamType.prototype.camId = 0;
+
+  /**
+   * Creates a new ResNotifyStreamType instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {IResNotifyStreamType=} [properties] Properties to set
+   * @returns {ResNotifyStreamType} ResNotifyStreamType instance
+   */
+  ResNotifyStreamType.create = function create(properties) {
+    return new ResNotifyStreamType(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyStreamType message. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStreamType.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.streamType != null &&
+      Object.hasOwnProperty.call(message, "streamType")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.streamType);
+    if (message.camId != null && Object.hasOwnProperty.call(message, "camId"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.camId);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyStreamType.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyStreamType message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyStreamType} ResNotifyStreamType
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStreamType.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyStreamType();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.streamType = reader.int32();
+          break;
+        }
+        case 2: {
+          message.camId = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyStreamType} ResNotifyStreamType
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyStreamType.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyStreamType message.
+   * @function verify
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyStreamType.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.streamType != null && message.hasOwnProperty("streamType"))
+      if (!$util.isInteger(message.streamType))
+        return "streamType: integer expected";
+    if (message.camId != null && message.hasOwnProperty("camId"))
+      if (!$util.isInteger(message.camId)) return "camId: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyStreamType} ResNotifyStreamType
+   */
+  ResNotifyStreamType.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyStreamType) return object;
+    var message = new $root.ResNotifyStreamType();
+    if (object.streamType != null) message.streamType = object.streamType | 0;
+    if (object.camId != null) message.camId = object.camId | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {ResNotifyStreamType} message ResNotifyStreamType
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyStreamType.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.streamType = 0;
+      object.camId = 0;
+    }
+    if (message.streamType != null && message.hasOwnProperty("streamType"))
+      object.streamType = message.streamType;
+    if (message.camId != null && message.hasOwnProperty("camId"))
+      object.camId = message.camId;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyStreamType to JSON.
+   * @function toJSON
+   * @memberof ResNotifyStreamType
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyStreamType.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyStreamType
+   * @function getTypeUrl
+   * @memberof ResNotifyStreamType
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyStreamType.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyStreamType";
+  };
+
+  return ResNotifyStreamType;
+})();
+
+$root.ResNotifyEqSolvingState = (function () {
+  /**
+   * Properties of a ResNotifyEqSolvingState.
+   * @exports IResNotifyEqSolvingState
+   * @interface IResNotifyEqSolvingState
+   * @property {ResNotifyEqSolvingState.Action|null} [step] ResNotifyEqSolvingState step
+   * @property {OperationState|null} [state] ResNotifyEqSolvingState state
+   */
+
+  /**
+   * Constructs a new ResNotifyEqSolvingState.
+   * @exports ResNotifyEqSolvingState
+   * @classdesc Represents a ResNotifyEqSolvingState.
+   * @implements IResNotifyEqSolvingState
+   * @constructor
+   * @param {IResNotifyEqSolvingState=} [properties] Properties to set
+   */
+  function ResNotifyEqSolvingState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyEqSolvingState step.
+   * @member {ResNotifyEqSolvingState.Action} step
+   * @memberof ResNotifyEqSolvingState
+   * @instance
+   */
+  ResNotifyEqSolvingState.prototype.step = 0;
+
+  /**
+   * ResNotifyEqSolvingState state.
+   * @member {OperationState} state
+   * @memberof ResNotifyEqSolvingState
+   * @instance
+   */
+  ResNotifyEqSolvingState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyEqSolvingState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {IResNotifyEqSolvingState=} [properties] Properties to set
+   * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState instance
+   */
+  ResNotifyEqSolvingState.create = function create(properties) {
+    return new ResNotifyEqSolvingState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyEqSolvingState message. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyEqSolvingState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.step != null && Object.hasOwnProperty.call(message, "step"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyEqSolvingState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyEqSolvingState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyEqSolvingState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.step = reader.int32();
+          break;
+        }
+        case 2: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyEqSolvingState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyEqSolvingState message.
+   * @function verify
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyEqSolvingState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.step != null && message.hasOwnProperty("step"))
+      switch (message.step) {
+        default:
+          return "step: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+          break;
+      }
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState
+   */
+  ResNotifyEqSolvingState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyEqSolvingState) return object;
+    var message = new $root.ResNotifyEqSolvingState();
+    switch (object.step) {
+      default:
+        if (typeof object.step === "number") {
+          message.step = object.step;
+          break;
+        }
+        break;
+      case "UNSPECIFIED":
+      case 0:
+        message.step = 0;
+        break;
+      case "FOCUS":
+      case 1:
+        message.step = 1;
+        break;
+      case "SOLVING":
+      case 2:
+        message.step = 2;
+        break;
+    }
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {ResNotifyEqSolvingState} message ResNotifyEqSolvingState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyEqSolvingState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.step = options.enums === String ? "UNSPECIFIED" : 0;
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+    }
+    if (message.step != null && message.hasOwnProperty("step"))
+      object.step =
+        options.enums === String
+          ? $root.ResNotifyEqSolvingState.Action[message.step] === undefined
+            ? message.step
+            : $root.ResNotifyEqSolvingState.Action[message.step]
+          : message.step;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyEqSolvingState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyEqSolvingState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyEqSolvingState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyEqSolvingState
+   * @function getTypeUrl
+   * @memberof ResNotifyEqSolvingState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyEqSolvingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyEqSolvingState";
+  };
+
+  /**
+   * Action enum.
+   * @name ResNotifyEqSolvingState.Action
+   * @enum {number}
+   * @property {number} UNSPECIFIED=0 UNSPECIFIED value
+   * @property {number} FOCUS=1 FOCUS value
+   * @property {number} SOLVING=2 SOLVING value
+   */
+  ResNotifyEqSolvingState.Action = (function () {
+    var valuesById = {},
+      values = Object.create(valuesById);
+    values[(valuesById[0] = "UNSPECIFIED")] = 0;
+    values[(valuesById[1] = "FOCUS")] = 1;
+    values[(valuesById[2] = "SOLVING")] = 2;
+    return values;
+  })();
+
+  return ResNotifyEqSolvingState;
+})();
+
+$root.ResNotifyLongExpPhotoProgress = (function () {
+  /**
+   * Properties of a ResNotifyLongExpPhotoProgress.
+   * @exports IResNotifyLongExpPhotoProgress
+   * @interface IResNotifyLongExpPhotoProgress
+   * @property {number|null} [functionId] ResNotifyLongExpPhotoProgress functionId
+   * @property {number|null} [totalTime] ResNotifyLongExpPhotoProgress totalTime
+   * @property {number|null} [exposuredTime] ResNotifyLongExpPhotoProgress exposuredTime
+   */
+
+  /**
+   * Constructs a new ResNotifyLongExpPhotoProgress.
+   * @exports ResNotifyLongExpPhotoProgress
+   * @classdesc Represents a ResNotifyLongExpPhotoProgress.
+   * @implements IResNotifyLongExpPhotoProgress
+   * @constructor
+   * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set
+   */
+  function ResNotifyLongExpPhotoProgress(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyLongExpPhotoProgress functionId.
+   * @member {number} functionId
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @instance
+   */
+  ResNotifyLongExpPhotoProgress.prototype.functionId = 0;
+
+  /**
+   * ResNotifyLongExpPhotoProgress totalTime.
+   * @member {number} totalTime
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @instance
+   */
+  ResNotifyLongExpPhotoProgress.prototype.totalTime = 0;
+
+  /**
+   * ResNotifyLongExpPhotoProgress exposuredTime.
+   * @member {number} exposuredTime
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @instance
+   */
+  ResNotifyLongExpPhotoProgress.prototype.exposuredTime = 0;
+
+  /**
+   * Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set
+   * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress instance
+   */
+  ResNotifyLongExpPhotoProgress.create = function create(properties) {
+    return new ResNotifyLongExpPhotoProgress(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyLongExpPhotoProgress.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.functionId != null &&
+      Object.hasOwnProperty.call(message, "functionId")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.functionId);
+    if (
+      message.totalTime != null &&
+      Object.hasOwnProperty.call(message, "totalTime")
+    )
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.totalTime);
+    if (
+      message.exposuredTime != null &&
+      Object.hasOwnProperty.call(message, "exposuredTime")
+    )
+      writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.exposuredTime);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyLongExpPhotoProgress.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyLongExpPhotoProgress.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyLongExpPhotoProgress();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.functionId = reader.uint32();
+          break;
+        }
+        case 2: {
+          message.totalTime = reader.double();
+          break;
+        }
+        case 3: {
+          message.exposuredTime = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyLongExpPhotoProgress.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyLongExpPhotoProgress message.
+   * @function verify
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyLongExpPhotoProgress.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.functionId != null && message.hasOwnProperty("functionId"))
+      if (!$util.isInteger(message.functionId))
+        return "functionId: integer expected";
+    if (message.totalTime != null && message.hasOwnProperty("totalTime"))
+      if (typeof message.totalTime !== "number")
+        return "totalTime: number expected";
+    if (
+      message.exposuredTime != null &&
+      message.hasOwnProperty("exposuredTime")
+    )
+      if (typeof message.exposuredTime !== "number")
+        return "exposuredTime: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress
+   */
+  ResNotifyLongExpPhotoProgress.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyLongExpPhotoProgress) return object;
+    var message = new $root.ResNotifyLongExpPhotoProgress();
+    if (object.functionId != null) message.functionId = object.functionId >>> 0;
+    if (object.totalTime != null) message.totalTime = Number(object.totalTime);
+    if (object.exposuredTime != null)
+      message.exposuredTime = Number(object.exposuredTime);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {ResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyLongExpPhotoProgress.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.functionId = 0;
+      object.totalTime = 0;
+      object.exposuredTime = 0;
+    }
+    if (message.functionId != null && message.hasOwnProperty("functionId"))
+      object.functionId = message.functionId;
+    if (message.totalTime != null && message.hasOwnProperty("totalTime"))
+      object.totalTime =
+        options.json && !isFinite(message.totalTime)
+          ? String(message.totalTime)
+          : message.totalTime;
+    if (
+      message.exposuredTime != null &&
+      message.hasOwnProperty("exposuredTime")
+    )
+      object.exposuredTime =
+        options.json && !isFinite(message.exposuredTime)
+          ? String(message.exposuredTime)
+          : message.exposuredTime;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyLongExpPhotoProgress to JSON.
+   * @function toJSON
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyLongExpPhotoProgress.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyLongExpPhotoProgress
+   * @function getTypeUrl
+   * @memberof ResNotifyLongExpPhotoProgress
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyLongExpPhotoProgress.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyLongExpPhotoProgress";
+  };
+
+  return ResNotifyLongExpPhotoProgress;
+})();
+
+$root.ResNotifyShootingScheduleResultAndState = (function () {
+  /**
+   * Properties of a ResNotifyShootingScheduleResultAndState.
+   * @exports IResNotifyShootingScheduleResultAndState
+   * @interface IResNotifyShootingScheduleResultAndState
+   * @property {string|null} [scheduleId] ResNotifyShootingScheduleResultAndState scheduleId
+   * @property {number|null} [result] ResNotifyShootingScheduleResultAndState result
+   * @property {number|null} [state] ResNotifyShootingScheduleResultAndState state
+   */
+
+  /**
+   * Constructs a new ResNotifyShootingScheduleResultAndState.
+   * @exports ResNotifyShootingScheduleResultAndState
+   * @classdesc Represents a ResNotifyShootingScheduleResultAndState.
+   * @implements IResNotifyShootingScheduleResultAndState
+   * @constructor
+   * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set
+   */
+  function ResNotifyShootingScheduleResultAndState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyShootingScheduleResultAndState scheduleId.
+   * @member {string} scheduleId
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @instance
+   */
+  ResNotifyShootingScheduleResultAndState.prototype.scheduleId = "";
+
+  /**
+   * ResNotifyShootingScheduleResultAndState result.
+   * @member {number} result
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @instance
+   */
+  ResNotifyShootingScheduleResultAndState.prototype.result = 0;
+
+  /**
+   * ResNotifyShootingScheduleResultAndState state.
+   * @member {number} state
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @instance
+   */
+  ResNotifyShootingScheduleResultAndState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set
+   * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState instance
+   */
+  ResNotifyShootingScheduleResultAndState.create = function create(properties) {
+    return new ResNotifyShootingScheduleResultAndState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyShootingScheduleResultAndState.encode = function encode(
+    message,
+    writer
+  ) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.scheduleId != null &&
+      Object.hasOwnProperty.call(message, "scheduleId")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId);
+    if (message.result != null && Object.hasOwnProperty.call(message, "result"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.result);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyShootingScheduleResultAndState.encodeDelimited =
+    function encodeDelimited(message, writer) {
+      return this.encode(message, writer).ldelim();
+    };
+
+  /**
+   * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyShootingScheduleResultAndState.decode = function decode(
+    reader,
+    length
+  ) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyShootingScheduleResultAndState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.scheduleId = reader.string();
+          break;
+        }
+        case 2: {
+          message.result = reader.int32();
+          break;
+        }
+        case 3: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyShootingScheduleResultAndState.decodeDelimited =
+    function decodeDelimited(reader) {
+      if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+      return this.decode(reader, reader.uint32());
+    };
+
+  /**
+   * Verifies a ResNotifyShootingScheduleResultAndState message.
+   * @function verify
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyShootingScheduleResultAndState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      if (!$util.isString(message.scheduleId))
+        return "scheduleId: string expected";
+    if (message.result != null && message.hasOwnProperty("result"))
+      if (!$util.isInteger(message.result)) return "result: integer expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      if (!$util.isInteger(message.state)) return "state: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState
+   */
+  ResNotifyShootingScheduleResultAndState.fromObject = function fromObject(
+    object
+  ) {
+    if (object instanceof $root.ResNotifyShootingScheduleResultAndState)
+      return object;
+    var message = new $root.ResNotifyShootingScheduleResultAndState();
+    if (object.scheduleId != null)
+      message.scheduleId = String(object.scheduleId);
+    if (object.result != null) message.result = object.result | 0;
+    if (object.state != null) message.state = object.state | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {ResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyShootingScheduleResultAndState.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.scheduleId = "";
+      object.result = 0;
+      object.state = 0;
+    }
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      object.scheduleId = message.scheduleId;
+    if (message.result != null && message.hasOwnProperty("result"))
+      object.result = message.result;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state = message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyShootingScheduleResultAndState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyShootingScheduleResultAndState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyShootingScheduleResultAndState
+   * @function getTypeUrl
+   * @memberof ResNotifyShootingScheduleResultAndState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyShootingScheduleResultAndState.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyShootingScheduleResultAndState";
+  };
+
+  return ResNotifyShootingScheduleResultAndState;
+})();
+
+$root.ResNotifyShootingTaskState = (function () {
+  /**
+   * Properties of a ResNotifyShootingTaskState.
+   * @exports IResNotifyShootingTaskState
+   * @interface IResNotifyShootingTaskState
+   * @property {string|null} [scheduleTaskId] ResNotifyShootingTaskState scheduleTaskId
+   * @property {number|null} [state] ResNotifyShootingTaskState state
+   * @property {number|null} [code] ResNotifyShootingTaskState code
+   */
+
+  /**
+   * Constructs a new ResNotifyShootingTaskState.
+   * @exports ResNotifyShootingTaskState
+   * @classdesc Represents a ResNotifyShootingTaskState.
+   * @implements IResNotifyShootingTaskState
+   * @constructor
+   * @param {IResNotifyShootingTaskState=} [properties] Properties to set
+   */
+  function ResNotifyShootingTaskState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyShootingTaskState scheduleTaskId.
+   * @member {string} scheduleTaskId
+   * @memberof ResNotifyShootingTaskState
+   * @instance
+   */
+  ResNotifyShootingTaskState.prototype.scheduleTaskId = "";
+
+  /**
+   * ResNotifyShootingTaskState state.
+   * @member {number} state
+   * @memberof ResNotifyShootingTaskState
+   * @instance
+   */
+  ResNotifyShootingTaskState.prototype.state = 0;
+
+  /**
+   * ResNotifyShootingTaskState code.
+   * @member {number} code
+   * @memberof ResNotifyShootingTaskState
+   * @instance
+   */
+  ResNotifyShootingTaskState.prototype.code = 0;
+
+  /**
+   * Creates a new ResNotifyShootingTaskState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {IResNotifyShootingTaskState=} [properties] Properties to set
+   * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState instance
+   */
+  ResNotifyShootingTaskState.create = function create(properties) {
+    return new ResNotifyShootingTaskState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyShootingTaskState message. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyShootingTaskState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.scheduleTaskId != null &&
+      Object.hasOwnProperty.call(message, "scheduleTaskId")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleTaskId);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyShootingTaskState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyShootingTaskState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyShootingTaskState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.scheduleTaskId = reader.string();
+          break;
+        }
+        case 2: {
+          message.state = reader.int32();
+          break;
+        }
+        case 3: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyShootingTaskState.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyShootingTaskState message.
+   * @function verify
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyShootingTaskState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.scheduleTaskId != null &&
+      message.hasOwnProperty("scheduleTaskId")
+    )
+      if (!$util.isString(message.scheduleTaskId))
+        return "scheduleTaskId: string expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      if (!$util.isInteger(message.state)) return "state: integer expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState
+   */
+  ResNotifyShootingTaskState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyShootingTaskState) return object;
+    var message = new $root.ResNotifyShootingTaskState();
+    if (object.scheduleTaskId != null)
+      message.scheduleTaskId = String(object.scheduleTaskId);
+    if (object.state != null) message.state = object.state | 0;
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {ResNotifyShootingTaskState} message ResNotifyShootingTaskState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyShootingTaskState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.scheduleTaskId = "";
+      object.state = 0;
+      object.code = 0;
+    }
+    if (
+      message.scheduleTaskId != null &&
+      message.hasOwnProperty("scheduleTaskId")
+    )
+      object.scheduleTaskId = message.scheduleTaskId;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state = message.state;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyShootingTaskState to JSON.
+   * @function toJSON
+   * @memberof ResNotifyShootingTaskState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyShootingTaskState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyShootingTaskState
+   * @function getTypeUrl
+   * @memberof ResNotifyShootingTaskState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyShootingTaskState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyShootingTaskState";
+  };
+
+  return ResNotifyShootingTaskState;
+})();
+
+$root.ResNotifySkySeacherState = (function () {
+  /**
+   * Properties of a ResNotifySkySeacherState.
+   * @exports IResNotifySkySeacherState
+   * @interface IResNotifySkySeacherState
+   * @property {OperationState|null} [state] ResNotifySkySeacherState state
+   */
+
+  /**
+   * Constructs a new ResNotifySkySeacherState.
+   * @exports ResNotifySkySeacherState
+   * @classdesc Represents a ResNotifySkySeacherState.
+   * @implements IResNotifySkySeacherState
+   * @constructor
+   * @param {IResNotifySkySeacherState=} [properties] Properties to set
+   */
+  function ResNotifySkySeacherState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifySkySeacherState state.
+   * @member {OperationState} state
+   * @memberof ResNotifySkySeacherState
+   * @instance
+   */
+  ResNotifySkySeacherState.prototype.state = 0;
+
+  /**
+   * Creates a new ResNotifySkySeacherState instance using the specified properties.
+   * @function create
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {IResNotifySkySeacherState=} [properties] Properties to set
+   * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState instance
+   */
+  ResNotifySkySeacherState.create = function create(properties) {
+    return new ResNotifySkySeacherState(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifySkySeacherState message. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifySkySeacherState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifySkySeacherState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifySkySeacherState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifySkySeacherState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifySkySeacherState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.state = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifySkySeacherState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifySkySeacherState message.
+   * @function verify
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifySkySeacherState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState
+   */
+  ResNotifySkySeacherState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifySkySeacherState) return object;
+    var message = new $root.ResNotifySkySeacherState();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "OPERATION_STATE_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "OPERATION_STATE_RUNNING":
+      case 1:
+        message.state = 1;
+        break;
+      case "OPERATION_STATE_STOPPING":
+      case 2:
+        message.state = 2;
+        break;
+      case "OPERATION_STATE_STOPPED":
+      case 3:
+        message.state = 3;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {ResNotifySkySeacherState} message ResNotifySkySeacherState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifySkySeacherState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults)
+      object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.OperationState[message.state] === undefined
+            ? message.state
+            : $root.OperationState[message.state]
+          : message.state;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifySkySeacherState to JSON.
+   * @function toJSON
+   * @memberof ResNotifySkySeacherState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifySkySeacherState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifySkySeacherState
+   * @function getTypeUrl
+   * @memberof ResNotifySkySeacherState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifySkySeacherState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifySkySeacherState";
+  };
+
+  return ResNotifySkySeacherState;
+})();
+
+$root.ResNotifyFocus = (function () {
+  /**
+   * Properties of a ResNotifyFocus.
+   * @exports IResNotifyFocus
+   * @interface IResNotifyFocus
+   * @property {number|null} [focus] ResNotifyFocus focus
+   */
+
+  /**
+   * Constructs a new ResNotifyFocus.
+   * @exports ResNotifyFocus
+   * @classdesc Represents a ResNotifyFocus.
+   * @implements IResNotifyFocus
+   * @constructor
+   * @param {IResNotifyFocus=} [properties] Properties to set
+   */
+  function ResNotifyFocus(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyFocus focus.
+   * @member {number} focus
+   * @memberof ResNotifyFocus
+   * @instance
+   */
+  ResNotifyFocus.prototype.focus = 0;
+
+  /**
+   * Creates a new ResNotifyFocus instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {IResNotifyFocus=} [properties] Properties to set
+   * @returns {ResNotifyFocus} ResNotifyFocus instance
+   */
+  ResNotifyFocus.create = function create(properties) {
+    return new ResNotifyFocus(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyFocus message. Does not implicitly {@link ResNotifyFocus.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyFocus.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.focus != null && Object.hasOwnProperty.call(message, "focus"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.focus);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly {@link ResNotifyFocus.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyFocus.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyFocus message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyFocus} ResNotifyFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyFocus.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyFocus();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.focus = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyFocus} ResNotifyFocus
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyFocus.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyFocus message.
+   * @function verify
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyFocus.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.focus != null && message.hasOwnProperty("focus"))
+      if (!$util.isInteger(message.focus)) return "focus: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyFocus} ResNotifyFocus
+   */
+  ResNotifyFocus.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyFocus) return object;
+    var message = new $root.ResNotifyFocus();
+    if (object.focus != null) message.focus = object.focus | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {ResNotifyFocus} message ResNotifyFocus
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyFocus.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.focus = 0;
+    if (message.focus != null && message.hasOwnProperty("focus"))
+      object.focus = message.focus;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyFocus to JSON.
+   * @function toJSON
+   * @memberof ResNotifyFocus
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyFocus.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyFocus
+   * @function getTypeUrl
+   * @memberof ResNotifyFocus
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyFocus";
+  };
+
+  return ResNotifyFocus;
+})();
+
+$root.ReqStartPanoramaByGrid = (function () {
+  /**
+   * Properties of a ReqStartPanoramaByGrid.
+   * @exports IReqStartPanoramaByGrid
+   * @interface IReqStartPanoramaByGrid
+   */
+
+  /**
+   * Constructs a new ReqStartPanoramaByGrid.
+   * @exports ReqStartPanoramaByGrid
+   * @classdesc Represents a ReqStartPanoramaByGrid.
+   * @implements IReqStartPanoramaByGrid
+   * @constructor
+   * @param {IReqStartPanoramaByGrid=} [properties] Properties to set
+   */
+  function ReqStartPanoramaByGrid(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStartPanoramaByGrid instance using the specified properties.
+   * @function create
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {IReqStartPanoramaByGrid=} [properties] Properties to set
+   * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid instance
+   */
+  ReqStartPanoramaByGrid.create = function create(properties) {
+    return new ReqStartPanoramaByGrid(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaByGrid.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaByGrid.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaByGrid.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartPanoramaByGrid();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaByGrid.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartPanoramaByGrid message.
+   * @function verify
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartPanoramaByGrid.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid
+   */
+  ReqStartPanoramaByGrid.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartPanoramaByGrid) return object;
+    return new $root.ReqStartPanoramaByGrid();
+  };
+
+  /**
+   * Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {ReqStartPanoramaByGrid} message ReqStartPanoramaByGrid
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartPanoramaByGrid.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStartPanoramaByGrid to JSON.
+   * @function toJSON
+   * @memberof ReqStartPanoramaByGrid
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartPanoramaByGrid.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartPanoramaByGrid
+   * @function getTypeUrl
+   * @memberof ReqStartPanoramaByGrid
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartPanoramaByGrid.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartPanoramaByGrid";
+  };
+
+  return ReqStartPanoramaByGrid;
+})();
+
+$root.ReqStartPanoramaByEulerRange = (function () {
+  /**
+   * Properties of a ReqStartPanoramaByEulerRange.
+   * @exports IReqStartPanoramaByEulerRange
+   * @interface IReqStartPanoramaByEulerRange
+   * @property {number|null} [yawRange] ReqStartPanoramaByEulerRange yawRange
+   * @property {number|null} [pitchRange] ReqStartPanoramaByEulerRange pitchRange
+   */
+
+  /**
+   * Constructs a new ReqStartPanoramaByEulerRange.
+   * @exports ReqStartPanoramaByEulerRange
+   * @classdesc Represents a ReqStartPanoramaByEulerRange.
+   * @implements IReqStartPanoramaByEulerRange
+   * @constructor
+   * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set
+   */
+  function ReqStartPanoramaByEulerRange(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartPanoramaByEulerRange yawRange.
+   * @member {number} yawRange
+   * @memberof ReqStartPanoramaByEulerRange
+   * @instance
+   */
+  ReqStartPanoramaByEulerRange.prototype.yawRange = 0;
+
+  /**
+   * ReqStartPanoramaByEulerRange pitchRange.
+   * @member {number} pitchRange
+   * @memberof ReqStartPanoramaByEulerRange
+   * @instance
+   */
+  ReqStartPanoramaByEulerRange.prototype.pitchRange = 0;
+
+  /**
+   * Creates a new ReqStartPanoramaByEulerRange instance using the specified properties.
+   * @function create
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set
+   * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange instance
+   */
+  ReqStartPanoramaByEulerRange.create = function create(properties) {
+    return new ReqStartPanoramaByEulerRange(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaByEulerRange.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.yawRange != null &&
+      Object.hasOwnProperty.call(message, "yawRange")
+    )
+      writer.uint32(/* id 1, wireType 5 =*/ 13).float(message.yawRange);
+    if (
+      message.pitchRange != null &&
+      Object.hasOwnProperty.call(message, "pitchRange")
+    )
+      writer.uint32(/* id 2, wireType 5 =*/ 21).float(message.pitchRange);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaByEulerRange.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaByEulerRange.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartPanoramaByEulerRange();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.yawRange = reader.float();
+          break;
+        }
+        case 2: {
+          message.pitchRange = reader.float();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaByEulerRange.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartPanoramaByEulerRange message.
+   * @function verify
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartPanoramaByEulerRange.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.yawRange != null && message.hasOwnProperty("yawRange"))
+      if (typeof message.yawRange !== "number")
+        return "yawRange: number expected";
+    if (message.pitchRange != null && message.hasOwnProperty("pitchRange"))
+      if (typeof message.pitchRange !== "number")
+        return "pitchRange: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange
+   */
+  ReqStartPanoramaByEulerRange.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartPanoramaByEulerRange) return object;
+    var message = new $root.ReqStartPanoramaByEulerRange();
+    if (object.yawRange != null) message.yawRange = Number(object.yawRange);
+    if (object.pitchRange != null)
+      message.pitchRange = Number(object.pitchRange);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {ReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartPanoramaByEulerRange.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.yawRange = 0;
+      object.pitchRange = 0;
+    }
+    if (message.yawRange != null && message.hasOwnProperty("yawRange"))
+      object.yawRange =
+        options.json && !isFinite(message.yawRange)
+          ? String(message.yawRange)
+          : message.yawRange;
+    if (message.pitchRange != null && message.hasOwnProperty("pitchRange"))
+      object.pitchRange =
+        options.json && !isFinite(message.pitchRange)
+          ? String(message.pitchRange)
+          : message.pitchRange;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartPanoramaByEulerRange to JSON.
+   * @function toJSON
+   * @memberof ReqStartPanoramaByEulerRange
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartPanoramaByEulerRange.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartPanoramaByEulerRange
+   * @function getTypeUrl
+   * @memberof ReqStartPanoramaByEulerRange
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartPanoramaByEulerRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartPanoramaByEulerRange";
+  };
+
+  return ReqStartPanoramaByEulerRange;
+})();
+
+$root.ReqStartPanoramaStitchUpload = (function () {
+  /**
+   * Properties of a ReqStartPanoramaStitchUpload.
+   * @exports IReqStartPanoramaStitchUpload
+   * @interface IReqStartPanoramaStitchUpload
+   * @property {string|null} [userId] ReqStartPanoramaStitchUpload userId
+   * @property {string|null} [busiNo] ReqStartPanoramaStitchUpload busiNo
+   * @property {number|null} [appPlatform] ReqStartPanoramaStitchUpload appPlatform
+   * @property {string|null} [panoramaName] ReqStartPanoramaStitchUpload panoramaName
+   * @property {string|null} [ak] ReqStartPanoramaStitchUpload ak
+   * @property {string|null} [sk] ReqStartPanoramaStitchUpload sk
+   * @property {string|null} [token] ReqStartPanoramaStitchUpload token
+   */
+
+  /**
+   * Constructs a new ReqStartPanoramaStitchUpload.
+   * @exports ReqStartPanoramaStitchUpload
+   * @classdesc Represents a ReqStartPanoramaStitchUpload.
+   * @implements IReqStartPanoramaStitchUpload
+   * @constructor
+   * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set
+   */
+  function ReqStartPanoramaStitchUpload(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartPanoramaStitchUpload userId.
+   * @member {string} userId
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.userId = "";
+
+  /**
+   * ReqStartPanoramaStitchUpload busiNo.
+   * @member {string} busiNo
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.busiNo = "";
+
+  /**
+   * ReqStartPanoramaStitchUpload appPlatform.
+   * @member {number} appPlatform
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.appPlatform = 0;
+
+  /**
+   * ReqStartPanoramaStitchUpload panoramaName.
+   * @member {string} panoramaName
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.panoramaName = "";
+
+  /**
+   * ReqStartPanoramaStitchUpload ak.
+   * @member {string} ak
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.ak = "";
+
+  /**
+   * ReqStartPanoramaStitchUpload sk.
+   * @member {string} sk
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.sk = "";
+
+  /**
+   * ReqStartPanoramaStitchUpload token.
+   * @member {string} token
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   */
+  ReqStartPanoramaStitchUpload.prototype.token = "";
+
+  /**
+   * Creates a new ReqStartPanoramaStitchUpload instance using the specified properties.
+   * @function create
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set
+   * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload instance
+   */
+  ReqStartPanoramaStitchUpload.create = function create(properties) {
+    return new ReqStartPanoramaStitchUpload(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaStitchUpload.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId);
+    if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo);
+    if (
+      message.appPlatform != null &&
+      Object.hasOwnProperty.call(message, "appPlatform")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.appPlatform);
+    if (
+      message.panoramaName != null &&
+      Object.hasOwnProperty.call(message, "panoramaName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName);
+    if (message.ak != null && Object.hasOwnProperty.call(message, "ak"))
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ak);
+    if (message.sk != null && Object.hasOwnProperty.call(message, "sk"))
+      writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.sk);
+    if (message.token != null && Object.hasOwnProperty.call(message, "token"))
+      writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.token);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartPanoramaStitchUpload.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaStitchUpload.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartPanoramaStitchUpload();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.userId = reader.string();
+          break;
+        }
+        case 2: {
+          message.busiNo = reader.string();
+          break;
+        }
+        case 3: {
+          message.appPlatform = reader.int32();
+          break;
+        }
+        case 4: {
+          message.panoramaName = reader.string();
+          break;
+        }
+        case 5: {
+          message.ak = reader.string();
+          break;
+        }
+        case 6: {
+          message.sk = reader.string();
+          break;
+        }
+        case 7: {
+          message.token = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartPanoramaStitchUpload.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartPanoramaStitchUpload message.
+   * @function verify
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartPanoramaStitchUpload.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      if (!$util.isString(message.userId)) return "userId: string expected";
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      if (!$util.isString(message.busiNo)) return "busiNo: string expected";
+    if (message.appPlatform != null && message.hasOwnProperty("appPlatform"))
+      if (!$util.isInteger(message.appPlatform))
+        return "appPlatform: integer expected";
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      if (!$util.isString(message.panoramaName))
+        return "panoramaName: string expected";
+    if (message.ak != null && message.hasOwnProperty("ak"))
+      if (!$util.isString(message.ak)) return "ak: string expected";
+    if (message.sk != null && message.hasOwnProperty("sk"))
+      if (!$util.isString(message.sk)) return "sk: string expected";
+    if (message.token != null && message.hasOwnProperty("token"))
+      if (!$util.isString(message.token)) return "token: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload
+   */
+  ReqStartPanoramaStitchUpload.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartPanoramaStitchUpload) return object;
+    var message = new $root.ReqStartPanoramaStitchUpload();
+    if (object.userId != null) message.userId = String(object.userId);
+    if (object.busiNo != null) message.busiNo = String(object.busiNo);
+    if (object.appPlatform != null)
+      message.appPlatform = object.appPlatform | 0;
+    if (object.panoramaName != null)
+      message.panoramaName = String(object.panoramaName);
+    if (object.ak != null) message.ak = String(object.ak);
+    if (object.sk != null) message.sk = String(object.sk);
+    if (object.token != null) message.token = String(object.token);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {ReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartPanoramaStitchUpload.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.userId = "";
+      object.busiNo = "";
+      object.appPlatform = 0;
+      object.panoramaName = "";
+      object.ak = "";
+      object.sk = "";
+      object.token = "";
+    }
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      object.userId = message.userId;
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      object.busiNo = message.busiNo;
+    if (message.appPlatform != null && message.hasOwnProperty("appPlatform"))
+      object.appPlatform = message.appPlatform;
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      object.panoramaName = message.panoramaName;
+    if (message.ak != null && message.hasOwnProperty("ak"))
+      object.ak = message.ak;
+    if (message.sk != null && message.hasOwnProperty("sk"))
+      object.sk = message.sk;
+    if (message.token != null && message.hasOwnProperty("token"))
+      object.token = message.token;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartPanoramaStitchUpload to JSON.
+   * @function toJSON
+   * @memberof ReqStartPanoramaStitchUpload
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartPanoramaStitchUpload.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartPanoramaStitchUpload
+   * @function getTypeUrl
+   * @memberof ReqStartPanoramaStitchUpload
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartPanoramaStitchUpload";
+  };
+
+  return ReqStartPanoramaStitchUpload;
+})();
+
+$root.ReqStopPanorama = (function () {
+  /**
+   * Properties of a ReqStopPanorama.
+   * @exports IReqStopPanorama
+   * @interface IReqStopPanorama
+   */
+
+  /**
+   * Constructs a new ReqStopPanorama.
+   * @exports ReqStopPanorama
+   * @classdesc Represents a ReqStopPanorama.
+   * @implements IReqStopPanorama
+   * @constructor
+   * @param {IReqStopPanorama=} [properties] Properties to set
+   */
+  function ReqStopPanorama(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopPanorama instance using the specified properties.
+   * @function create
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {IReqStopPanorama=} [properties] Properties to set
+   * @returns {ReqStopPanorama} ReqStopPanorama instance
+   */
+  ReqStopPanorama.create = function create(properties) {
+    return new ReqStopPanorama(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopPanorama message. Does not implicitly {@link ReqStopPanorama.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopPanorama.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly {@link ReqStopPanorama.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopPanorama.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopPanorama message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopPanorama} ReqStopPanorama
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopPanorama.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopPanorama();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopPanorama} ReqStopPanorama
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopPanorama.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopPanorama message.
+   * @function verify
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopPanorama.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopPanorama} ReqStopPanorama
+   */
+  ReqStopPanorama.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopPanorama) return object;
+    return new $root.ReqStopPanorama();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {ReqStopPanorama} message ReqStopPanorama
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopPanorama.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopPanorama to JSON.
+   * @function toJSON
+   * @memberof ReqStopPanorama
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopPanorama.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopPanorama
+   * @function getTypeUrl
+   * @memberof ReqStopPanorama
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopPanorama.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopPanorama";
+  };
+
+  return ReqStopPanorama;
+})();
+
+$root.ReqStopPanoramaStitchUpload = (function () {
+  /**
+   * Properties of a ReqStopPanoramaStitchUpload.
+   * @exports IReqStopPanoramaStitchUpload
+   * @interface IReqStopPanoramaStitchUpload
+   */
+
+  /**
+   * Constructs a new ReqStopPanoramaStitchUpload.
+   * @exports ReqStopPanoramaStitchUpload
+   * @classdesc Represents a ReqStopPanoramaStitchUpload.
+   * @implements IReqStopPanoramaStitchUpload
+   * @constructor
+   * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set
+   */
+  function ReqStopPanoramaStitchUpload(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopPanoramaStitchUpload instance using the specified properties.
+   * @function create
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set
+   * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload instance
+   */
+  ReqStopPanoramaStitchUpload.create = function create(properties) {
+    return new ReqStopPanoramaStitchUpload(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopPanoramaStitchUpload.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopPanoramaStitchUpload.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopPanoramaStitchUpload.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopPanoramaStitchUpload();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopPanoramaStitchUpload.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopPanoramaStitchUpload message.
+   * @function verify
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopPanoramaStitchUpload.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload
+   */
+  ReqStopPanoramaStitchUpload.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopPanoramaStitchUpload) return object;
+    return new $root.ReqStopPanoramaStitchUpload();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {ReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopPanoramaStitchUpload.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopPanoramaStitchUpload to JSON.
+   * @function toJSON
+   * @memberof ReqStopPanoramaStitchUpload
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopPanoramaStitchUpload.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopPanoramaStitchUpload
+   * @function getTypeUrl
+   * @memberof ReqStopPanoramaStitchUpload
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopPanoramaStitchUpload";
+  };
+
+  return ReqStopPanoramaStitchUpload;
+})();
+
+$root.ResNotifyPanoramaStitchUploadComplete = (function () {
+  /**
+   * Properties of a ResNotifyPanoramaStitchUploadComplete.
+   * @exports IResNotifyPanoramaStitchUploadComplete
+   * @interface IResNotifyPanoramaStitchUploadComplete
+   * @property {string|null} [userId] ResNotifyPanoramaStitchUploadComplete userId
+   * @property {string|null} [busiNo] ResNotifyPanoramaStitchUploadComplete busiNo
+   * @property {string|null} [panoramaName] ResNotifyPanoramaStitchUploadComplete panoramaName
+   * @property {string|null} [mac] ResNotifyPanoramaStitchUploadComplete mac
+   * @property {boolean|null} [uploadRes] ResNotifyPanoramaStitchUploadComplete uploadRes
+   */
+
+  /**
+   * Constructs a new ResNotifyPanoramaStitchUploadComplete.
+   * @exports ResNotifyPanoramaStitchUploadComplete
+   * @classdesc Represents a ResNotifyPanoramaStitchUploadComplete.
+   * @implements IResNotifyPanoramaStitchUploadComplete
+   * @constructor
+   * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set
+   */
+  function ResNotifyPanoramaStitchUploadComplete(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPanoramaStitchUploadComplete userId.
+   * @member {string} userId
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.userId = "";
+
+  /**
+   * ResNotifyPanoramaStitchUploadComplete busiNo.
+   * @member {string} busiNo
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.busiNo = "";
+
+  /**
+   * ResNotifyPanoramaStitchUploadComplete panoramaName.
+   * @member {string} panoramaName
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.panoramaName = "";
+
+  /**
+   * ResNotifyPanoramaStitchUploadComplete mac.
+   * @member {string} mac
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.mac = "";
+
+  /**
+   * ResNotifyPanoramaStitchUploadComplete uploadRes.
+   * @member {boolean} uploadRes
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.uploadRes = false;
+
+  /**
+   * Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set
+   * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete instance
+   */
+  ResNotifyPanoramaStitchUploadComplete.create = function create(properties) {
+    return new ResNotifyPanoramaStitchUploadComplete(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaStitchUploadComplete.encode = function encode(
+    message,
+    writer
+  ) {
+    if (!writer) writer = $Writer.create();
+    if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId);
+    if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo);
+    if (
+      message.panoramaName != null &&
+      Object.hasOwnProperty.call(message, "panoramaName")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName);
+    if (message.mac != null && Object.hasOwnProperty.call(message, "mac"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac);
+    if (
+      message.uploadRes != null &&
+      Object.hasOwnProperty.call(message, "uploadRes")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).bool(message.uploadRes);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaStitchUploadComplete.encodeDelimited =
+    function encodeDelimited(message, writer) {
+      return this.encode(message, writer).ldelim();
+    };
+
+  /**
+   * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaStitchUploadComplete.decode = function decode(
+    reader,
+    length
+  ) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPanoramaStitchUploadComplete();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.userId = reader.string();
+          break;
+        }
+        case 2: {
+          message.busiNo = reader.string();
+          break;
+        }
+        case 3: {
+          message.panoramaName = reader.string();
+          break;
+        }
+        case 4: {
+          message.mac = reader.string();
+          break;
+        }
+        case 5: {
+          message.uploadRes = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaStitchUploadComplete.decodeDelimited =
+    function decodeDelimited(reader) {
+      if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+      return this.decode(reader, reader.uint32());
+    };
+
+  /**
+   * Verifies a ResNotifyPanoramaStitchUploadComplete message.
+   * @function verify
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPanoramaStitchUploadComplete.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      if (!$util.isString(message.userId)) return "userId: string expected";
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      if (!$util.isString(message.busiNo)) return "busiNo: string expected";
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      if (!$util.isString(message.panoramaName))
+        return "panoramaName: string expected";
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      if (!$util.isString(message.mac)) return "mac: string expected";
+    if (message.uploadRes != null && message.hasOwnProperty("uploadRes"))
+      if (typeof message.uploadRes !== "boolean")
+        return "uploadRes: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete
+   */
+  ResNotifyPanoramaStitchUploadComplete.fromObject = function fromObject(
+    object
+  ) {
+    if (object instanceof $root.ResNotifyPanoramaStitchUploadComplete)
+      return object;
+    var message = new $root.ResNotifyPanoramaStitchUploadComplete();
+    if (object.userId != null) message.userId = String(object.userId);
+    if (object.busiNo != null) message.busiNo = String(object.busiNo);
+    if (object.panoramaName != null)
+      message.panoramaName = String(object.panoramaName);
+    if (object.mac != null) message.mac = String(object.mac);
+    if (object.uploadRes != null) message.uploadRes = Boolean(object.uploadRes);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {ResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPanoramaStitchUploadComplete.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.userId = "";
+      object.busiNo = "";
+      object.panoramaName = "";
+      object.mac = "";
+      object.uploadRes = false;
+    }
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      object.userId = message.userId;
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      object.busiNo = message.busiNo;
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      object.panoramaName = message.panoramaName;
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      object.mac = message.mac;
+    if (message.uploadRes != null && message.hasOwnProperty("uploadRes"))
+      object.uploadRes = message.uploadRes;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPanoramaStitchUploadComplete to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPanoramaStitchUploadComplete.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPanoramaStitchUploadComplete
+   * @function getTypeUrl
+   * @memberof ResNotifyPanoramaStitchUploadComplete
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPanoramaStitchUploadComplete.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPanoramaStitchUploadComplete";
+  };
+
+  return ResNotifyPanoramaStitchUploadComplete;
+})();
+
+$root.ResNotifyPanoramaCompressionProgress = (function () {
+  /**
+   * Properties of a ResNotifyPanoramaCompressionProgress.
+   * @exports IResNotifyPanoramaCompressionProgress
+   * @interface IResNotifyPanoramaCompressionProgress
+   * @property {string|null} [userId] ResNotifyPanoramaCompressionProgress userId
+   * @property {string|null} [busiNo] ResNotifyPanoramaCompressionProgress busiNo
+   * @property {string|null} [panoramaName] ResNotifyPanoramaCompressionProgress panoramaName
+   * @property {string|null} [mac] ResNotifyPanoramaCompressionProgress mac
+   * @property {number|null} [totalFilesNum] ResNotifyPanoramaCompressionProgress totalFilesNum
+   * @property {number|null} [compressedFilesNum] ResNotifyPanoramaCompressionProgress compressedFilesNum
+   */
+
+  /**
+   * Constructs a new ResNotifyPanoramaCompressionProgress.
+   * @exports ResNotifyPanoramaCompressionProgress
+   * @classdesc Represents a ResNotifyPanoramaCompressionProgress.
+   * @implements IResNotifyPanoramaCompressionProgress
+   * @constructor
+   * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set
+   */
+  function ResNotifyPanoramaCompressionProgress(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPanoramaCompressionProgress userId.
+   * @member {string} userId
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.userId = "";
+
+  /**
+   * ResNotifyPanoramaCompressionProgress busiNo.
+   * @member {string} busiNo
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.busiNo = "";
+
+  /**
+   * ResNotifyPanoramaCompressionProgress panoramaName.
+   * @member {string} panoramaName
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.panoramaName = "";
+
+  /**
+   * ResNotifyPanoramaCompressionProgress mac.
+   * @member {string} mac
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.mac = "";
+
+  /**
+   * ResNotifyPanoramaCompressionProgress totalFilesNum.
+   * @member {number} totalFilesNum
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.totalFilesNum = 0;
+
+  /**
+   * ResNotifyPanoramaCompressionProgress compressedFilesNum.
+   * @member {number} compressedFilesNum
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.compressedFilesNum = 0;
+
+  /**
+   * Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set
+   * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress instance
+   */
+  ResNotifyPanoramaCompressionProgress.create = function create(properties) {
+    return new ResNotifyPanoramaCompressionProgress(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaCompressionProgress.encode = function encode(
+    message,
+    writer
+  ) {
+    if (!writer) writer = $Writer.create();
+    if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId);
+    if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo);
+    if (
+      message.panoramaName != null &&
+      Object.hasOwnProperty.call(message, "panoramaName")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName);
+    if (message.mac != null && Object.hasOwnProperty.call(message, "mac"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac);
+    if (
+      message.totalFilesNum != null &&
+      Object.hasOwnProperty.call(message, "totalFilesNum")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.totalFilesNum);
+    if (
+      message.compressedFilesNum != null &&
+      Object.hasOwnProperty.call(message, "compressedFilesNum")
+    )
+      writer
+        .uint32(/* id 6, wireType 0 =*/ 48)
+        .uint32(message.compressedFilesNum);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaCompressionProgress.encodeDelimited =
+    function encodeDelimited(message, writer) {
+      return this.encode(message, writer).ldelim();
+    };
+
+  /**
+   * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaCompressionProgress.decode = function decode(
+    reader,
+    length
+  ) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPanoramaCompressionProgress();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.userId = reader.string();
+          break;
+        }
+        case 2: {
+          message.busiNo = reader.string();
+          break;
+        }
+        case 3: {
+          message.panoramaName = reader.string();
+          break;
+        }
+        case 4: {
+          message.mac = reader.string();
+          break;
+        }
+        case 5: {
+          message.totalFilesNum = reader.uint32();
+          break;
+        }
+        case 6: {
+          message.compressedFilesNum = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaCompressionProgress.decodeDelimited =
+    function decodeDelimited(reader) {
+      if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+      return this.decode(reader, reader.uint32());
+    };
+
+  /**
+   * Verifies a ResNotifyPanoramaCompressionProgress message.
+   * @function verify
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPanoramaCompressionProgress.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      if (!$util.isString(message.userId)) return "userId: string expected";
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      if (!$util.isString(message.busiNo)) return "busiNo: string expected";
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      if (!$util.isString(message.panoramaName))
+        return "panoramaName: string expected";
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      if (!$util.isString(message.mac)) return "mac: string expected";
+    if (
+      message.totalFilesNum != null &&
+      message.hasOwnProperty("totalFilesNum")
+    )
+      if (!$util.isInteger(message.totalFilesNum))
+        return "totalFilesNum: integer expected";
+    if (
+      message.compressedFilesNum != null &&
+      message.hasOwnProperty("compressedFilesNum")
+    )
+      if (!$util.isInteger(message.compressedFilesNum))
+        return "compressedFilesNum: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress
+   */
+  ResNotifyPanoramaCompressionProgress.fromObject = function fromObject(
+    object
+  ) {
+    if (object instanceof $root.ResNotifyPanoramaCompressionProgress)
+      return object;
+    var message = new $root.ResNotifyPanoramaCompressionProgress();
+    if (object.userId != null) message.userId = String(object.userId);
+    if (object.busiNo != null) message.busiNo = String(object.busiNo);
+    if (object.panoramaName != null)
+      message.panoramaName = String(object.panoramaName);
+    if (object.mac != null) message.mac = String(object.mac);
+    if (object.totalFilesNum != null)
+      message.totalFilesNum = object.totalFilesNum >>> 0;
+    if (object.compressedFilesNum != null)
+      message.compressedFilesNum = object.compressedFilesNum >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {ResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPanoramaCompressionProgress.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.userId = "";
+      object.busiNo = "";
+      object.panoramaName = "";
+      object.mac = "";
+      object.totalFilesNum = 0;
+      object.compressedFilesNum = 0;
+    }
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      object.userId = message.userId;
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      object.busiNo = message.busiNo;
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      object.panoramaName = message.panoramaName;
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      object.mac = message.mac;
+    if (
+      message.totalFilesNum != null &&
+      message.hasOwnProperty("totalFilesNum")
+    )
+      object.totalFilesNum = message.totalFilesNum;
+    if (
+      message.compressedFilesNum != null &&
+      message.hasOwnProperty("compressedFilesNum")
+    )
+      object.compressedFilesNum = message.compressedFilesNum;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPanoramaCompressionProgress to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPanoramaCompressionProgress.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPanoramaCompressionProgress
+   * @function getTypeUrl
+   * @memberof ResNotifyPanoramaCompressionProgress
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPanoramaCompressionProgress.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPanoramaCompressionProgress";
+  };
+
+  return ResNotifyPanoramaCompressionProgress;
+})();
+
+$root.ResNotifyPanoramaUploadProgress = (function () {
+  /**
+   * Properties of a ResNotifyPanoramaUploadProgress.
+   * @exports IResNotifyPanoramaUploadProgress
+   * @interface IResNotifyPanoramaUploadProgress
+   * @property {string|null} [userId] ResNotifyPanoramaUploadProgress userId
+   * @property {string|null} [busiNo] ResNotifyPanoramaUploadProgress busiNo
+   * @property {string|null} [panoramaName] ResNotifyPanoramaUploadProgress panoramaName
+   * @property {string|null} [mac] ResNotifyPanoramaUploadProgress mac
+   * @property {number|Long|null} [totalSize] ResNotifyPanoramaUploadProgress totalSize
+   * @property {number|Long|null} [uploadedSize] ResNotifyPanoramaUploadProgress uploadedSize
+   */
+
+  /**
+   * Constructs a new ResNotifyPanoramaUploadProgress.
+   * @exports ResNotifyPanoramaUploadProgress
+   * @classdesc Represents a ResNotifyPanoramaUploadProgress.
+   * @implements IResNotifyPanoramaUploadProgress
+   * @constructor
+   * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set
+   */
+  function ResNotifyPanoramaUploadProgress(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResNotifyPanoramaUploadProgress userId.
+   * @member {string} userId
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.userId = "";
+
+  /**
+   * ResNotifyPanoramaUploadProgress busiNo.
+   * @member {string} busiNo
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.busiNo = "";
+
+  /**
+   * ResNotifyPanoramaUploadProgress panoramaName.
+   * @member {string} panoramaName
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.panoramaName = "";
+
+  /**
+   * ResNotifyPanoramaUploadProgress mac.
+   * @member {string} mac
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.mac = "";
+
+  /**
+   * ResNotifyPanoramaUploadProgress totalSize.
+   * @member {number|Long} totalSize
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.totalSize = $util.Long
+    ? $util.Long.fromBits(0, 0, true)
+    : 0;
+
+  /**
+   * ResNotifyPanoramaUploadProgress uploadedSize.
+   * @member {number|Long} uploadedSize
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   */
+  ResNotifyPanoramaUploadProgress.prototype.uploadedSize = $util.Long
+    ? $util.Long.fromBits(0, 0, true)
+    : 0;
+
+  /**
+   * Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties.
+   * @function create
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set
+   * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress instance
+   */
+  ResNotifyPanoramaUploadProgress.create = function create(properties) {
+    return new ResNotifyPanoramaUploadProgress(properties);
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages.
+   * @function encode
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaUploadProgress.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId);
+    if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo);
+    if (
+      message.panoramaName != null &&
+      Object.hasOwnProperty.call(message, "panoramaName")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName);
+    if (message.mac != null && Object.hasOwnProperty.call(message, "mac"))
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac);
+    if (
+      message.totalSize != null &&
+      Object.hasOwnProperty.call(message, "totalSize")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).uint64(message.totalSize);
+    if (
+      message.uploadedSize != null &&
+      Object.hasOwnProperty.call(message, "uploadedSize")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).uint64(message.uploadedSize);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResNotifyPanoramaUploadProgress.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaUploadProgress.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResNotifyPanoramaUploadProgress();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.userId = reader.string();
+          break;
+        }
+        case 2: {
+          message.busiNo = reader.string();
+          break;
+        }
+        case 3: {
+          message.panoramaName = reader.string();
+          break;
+        }
+        case 4: {
+          message.mac = reader.string();
+          break;
+        }
+        case 5: {
+          message.totalSize = reader.uint64();
+          break;
+        }
+        case 6: {
+          message.uploadedSize = reader.uint64();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResNotifyPanoramaUploadProgress.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResNotifyPanoramaUploadProgress message.
+   * @function verify
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResNotifyPanoramaUploadProgress.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      if (!$util.isString(message.userId)) return "userId: string expected";
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      if (!$util.isString(message.busiNo)) return "busiNo: string expected";
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      if (!$util.isString(message.panoramaName))
+        return "panoramaName: string expected";
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      if (!$util.isString(message.mac)) return "mac: string expected";
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      if (
+        !$util.isInteger(message.totalSize) &&
+        !(
+          message.totalSize &&
+          $util.isInteger(message.totalSize.low) &&
+          $util.isInteger(message.totalSize.high)
+        )
+      )
+        return "totalSize: integer|Long expected";
+    if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize"))
+      if (
+        !$util.isInteger(message.uploadedSize) &&
+        !(
+          message.uploadedSize &&
+          $util.isInteger(message.uploadedSize.low) &&
+          $util.isInteger(message.uploadedSize.high)
+        )
+      )
+        return "uploadedSize: integer|Long expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress
+   */
+  ResNotifyPanoramaUploadProgress.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResNotifyPanoramaUploadProgress) return object;
+    var message = new $root.ResNotifyPanoramaUploadProgress();
+    if (object.userId != null) message.userId = String(object.userId);
+    if (object.busiNo != null) message.busiNo = String(object.busiNo);
+    if (object.panoramaName != null)
+      message.panoramaName = String(object.panoramaName);
+    if (object.mac != null) message.mac = String(object.mac);
+    if (object.totalSize != null)
+      if ($util.Long)
+        (message.totalSize = $util.Long.fromValue(
+          object.totalSize
+        )).unsigned = true;
+      else if (typeof object.totalSize === "string")
+        message.totalSize = parseInt(object.totalSize, 10);
+      else if (typeof object.totalSize === "number")
+        message.totalSize = object.totalSize;
+      else if (typeof object.totalSize === "object")
+        message.totalSize = new $util.LongBits(
+          object.totalSize.low >>> 0,
+          object.totalSize.high >>> 0
+        ).toNumber(true);
+    if (object.uploadedSize != null)
+      if ($util.Long)
+        (message.uploadedSize = $util.Long.fromValue(
+          object.uploadedSize
+        )).unsigned = true;
+      else if (typeof object.uploadedSize === "string")
+        message.uploadedSize = parseInt(object.uploadedSize, 10);
+      else if (typeof object.uploadedSize === "number")
+        message.uploadedSize = object.uploadedSize;
+      else if (typeof object.uploadedSize === "object")
+        message.uploadedSize = new $util.LongBits(
+          object.uploadedSize.low >>> 0,
+          object.uploadedSize.high >>> 0
+        ).toNumber(true);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {ResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResNotifyPanoramaUploadProgress.toObject = function toObject(
+    message,
+    options
+  ) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.userId = "";
+      object.busiNo = "";
+      object.panoramaName = "";
+      object.mac = "";
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, true);
+        object.totalSize =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.totalSize = options.longs === String ? "0" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, true);
+        object.uploadedSize =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.uploadedSize = options.longs === String ? "0" : 0;
+    }
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      object.userId = message.userId;
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      object.busiNo = message.busiNo;
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      object.panoramaName = message.panoramaName;
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      object.mac = message.mac;
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      if (typeof message.totalSize === "number")
+        object.totalSize =
+          options.longs === String
+            ? String(message.totalSize)
+            : message.totalSize;
+      else
+        object.totalSize =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.totalSize)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.totalSize.low >>> 0,
+                message.totalSize.high >>> 0
+              ).toNumber(true)
+            : message.totalSize;
+    if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize"))
+      if (typeof message.uploadedSize === "number")
+        object.uploadedSize =
+          options.longs === String
+            ? String(message.uploadedSize)
+            : message.uploadedSize;
+      else
+        object.uploadedSize =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.uploadedSize)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.uploadedSize.low >>> 0,
+                message.uploadedSize.high >>> 0
+              ).toNumber(true)
+            : message.uploadedSize;
+    return object;
+  };
+
+  /**
+   * Converts this ResNotifyPanoramaUploadProgress to JSON.
+   * @function toJSON
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResNotifyPanoramaUploadProgress.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResNotifyPanoramaUploadProgress
+   * @function getTypeUrl
+   * @memberof ResNotifyPanoramaUploadProgress
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResNotifyPanoramaUploadProgress.getTypeUrl = function getTypeUrl(
+    typeUrlPrefix
+  ) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResNotifyPanoramaUploadProgress";
+  };
+
+  return ResNotifyPanoramaUploadProgress;
+})();
+
+$root.ResGetStitchUploadState = (function () {
+  /**
+   * Properties of a ResGetStitchUploadState.
+   * @exports IResGetStitchUploadState
+   * @interface IResGetStitchUploadState
+   * @property {number|null} [code] ResGetStitchUploadState code
+   * @property {string|null} [userId] ResGetStitchUploadState userId
+   * @property {string|null} [busiNo] ResGetStitchUploadState busiNo
+   * @property {string|null} [panoramaName] ResGetStitchUploadState panoramaName
+   * @property {string|null} [mac] ResGetStitchUploadState mac
+   * @property {number|null} [totalFilesNum] ResGetStitchUploadState totalFilesNum
+   * @property {number|null} [compressedFilesNum] ResGetStitchUploadState compressedFilesNum
+   * @property {number|Long|null} [totalSize] ResGetStitchUploadState totalSize
+   * @property {number|Long|null} [uploadedSize] ResGetStitchUploadState uploadedSize
+   * @property {number|null} [step] ResGetStitchUploadState step
+   */
+
+  /**
+   * Constructs a new ResGetStitchUploadState.
+   * @exports ResGetStitchUploadState
+   * @classdesc Represents a ResGetStitchUploadState.
+   * @implements IResGetStitchUploadState
+   * @constructor
+   * @param {IResGetStitchUploadState=} [properties] Properties to set
+   */
+  function ResGetStitchUploadState(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetStitchUploadState code.
+   * @member {number} code
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.code = 0;
+
+  /**
+   * ResGetStitchUploadState userId.
+   * @member {string} userId
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.userId = "";
+
+  /**
+   * ResGetStitchUploadState busiNo.
+   * @member {string} busiNo
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.busiNo = "";
+
+  /**
+   * ResGetStitchUploadState panoramaName.
+   * @member {string} panoramaName
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.panoramaName = "";
+
+  /**
+   * ResGetStitchUploadState mac.
+   * @member {string} mac
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.mac = "";
+
+  /**
+   * ResGetStitchUploadState totalFilesNum.
+   * @member {number} totalFilesNum
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.totalFilesNum = 0;
+
+  /**
+   * ResGetStitchUploadState compressedFilesNum.
+   * @member {number} compressedFilesNum
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.compressedFilesNum = 0;
+
+  /**
+   * ResGetStitchUploadState totalSize.
+   * @member {number|Long} totalSize
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.totalSize = $util.Long
+    ? $util.Long.fromBits(0, 0, true)
+    : 0;
+
+  /**
+   * ResGetStitchUploadState uploadedSize.
+   * @member {number|Long} uploadedSize
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.uploadedSize = $util.Long
+    ? $util.Long.fromBits(0, 0, true)
+    : 0;
+
+  /**
+   * ResGetStitchUploadState step.
+   * @member {number} step
+   * @memberof ResGetStitchUploadState
+   * @instance
+   */
+  ResGetStitchUploadState.prototype.step = 0;
+
+  /**
+   * Creates a new ResGetStitchUploadState instance using the specified properties.
+   * @function create
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {IResGetStitchUploadState=} [properties] Properties to set
+   * @returns {ResGetStitchUploadState} ResGetStitchUploadState instance
+   */
+  ResGetStitchUploadState.create = function create(properties) {
+    return new ResGetStitchUploadState(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetStitchUploadState message. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetStitchUploadState.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.userId);
+    if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo"))
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.busiNo);
+    if (
+      message.panoramaName != null &&
+      Object.hasOwnProperty.call(message, "panoramaName")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName);
+    if (message.mac != null && Object.hasOwnProperty.call(message, "mac"))
+      writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.mac);
+    if (
+      message.totalFilesNum != null &&
+      Object.hasOwnProperty.call(message, "totalFilesNum")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.totalFilesNum);
+    if (
+      message.compressedFilesNum != null &&
+      Object.hasOwnProperty.call(message, "compressedFilesNum")
+    )
+      writer
+        .uint32(/* id 7, wireType 0 =*/ 56)
+        .uint32(message.compressedFilesNum);
+    if (
+      message.totalSize != null &&
+      Object.hasOwnProperty.call(message, "totalSize")
+    )
+      writer.uint32(/* id 8, wireType 0 =*/ 64).uint64(message.totalSize);
+    if (
+      message.uploadedSize != null &&
+      Object.hasOwnProperty.call(message, "uploadedSize")
+    )
+      writer.uint32(/* id 9, wireType 0 =*/ 72).uint64(message.uploadedSize);
+    if (message.step != null && Object.hasOwnProperty.call(message, "step"))
+      writer.uint32(/* id 10, wireType 0 =*/ 80).uint32(message.step);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetStitchUploadState.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetStitchUploadState message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetStitchUploadState} ResGetStitchUploadState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetStitchUploadState.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetStitchUploadState();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          message.userId = reader.string();
+          break;
+        }
+        case 3: {
+          message.busiNo = reader.string();
+          break;
+        }
+        case 4: {
+          message.panoramaName = reader.string();
+          break;
+        }
+        case 5: {
+          message.mac = reader.string();
+          break;
+        }
+        case 6: {
+          message.totalFilesNum = reader.uint32();
+          break;
+        }
+        case 7: {
+          message.compressedFilesNum = reader.uint32();
+          break;
+        }
+        case 8: {
+          message.totalSize = reader.uint64();
+          break;
+        }
+        case 9: {
+          message.uploadedSize = reader.uint64();
+          break;
+        }
+        case 10: {
+          message.step = reader.uint32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetStitchUploadState} ResGetStitchUploadState
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetStitchUploadState.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetStitchUploadState message.
+   * @function verify
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetStitchUploadState.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      if (!$util.isString(message.userId)) return "userId: string expected";
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      if (!$util.isString(message.busiNo)) return "busiNo: string expected";
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      if (!$util.isString(message.panoramaName))
+        return "panoramaName: string expected";
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      if (!$util.isString(message.mac)) return "mac: string expected";
+    if (
+      message.totalFilesNum != null &&
+      message.hasOwnProperty("totalFilesNum")
+    )
+      if (!$util.isInteger(message.totalFilesNum))
+        return "totalFilesNum: integer expected";
+    if (
+      message.compressedFilesNum != null &&
+      message.hasOwnProperty("compressedFilesNum")
+    )
+      if (!$util.isInteger(message.compressedFilesNum))
+        return "compressedFilesNum: integer expected";
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      if (
+        !$util.isInteger(message.totalSize) &&
+        !(
+          message.totalSize &&
+          $util.isInteger(message.totalSize.low) &&
+          $util.isInteger(message.totalSize.high)
+        )
+      )
+        return "totalSize: integer|Long expected";
+    if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize"))
+      if (
+        !$util.isInteger(message.uploadedSize) &&
+        !(
+          message.uploadedSize &&
+          $util.isInteger(message.uploadedSize.low) &&
+          $util.isInteger(message.uploadedSize.high)
+        )
+      )
+        return "uploadedSize: integer|Long expected";
+    if (message.step != null && message.hasOwnProperty("step"))
+      if (!$util.isInteger(message.step)) return "step: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetStitchUploadState} ResGetStitchUploadState
+   */
+  ResGetStitchUploadState.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetStitchUploadState) return object;
+    var message = new $root.ResGetStitchUploadState();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.userId != null) message.userId = String(object.userId);
+    if (object.busiNo != null) message.busiNo = String(object.busiNo);
+    if (object.panoramaName != null)
+      message.panoramaName = String(object.panoramaName);
+    if (object.mac != null) message.mac = String(object.mac);
+    if (object.totalFilesNum != null)
+      message.totalFilesNum = object.totalFilesNum >>> 0;
+    if (object.compressedFilesNum != null)
+      message.compressedFilesNum = object.compressedFilesNum >>> 0;
+    if (object.totalSize != null)
+      if ($util.Long)
+        (message.totalSize = $util.Long.fromValue(
+          object.totalSize
+        )).unsigned = true;
+      else if (typeof object.totalSize === "string")
+        message.totalSize = parseInt(object.totalSize, 10);
+      else if (typeof object.totalSize === "number")
+        message.totalSize = object.totalSize;
+      else if (typeof object.totalSize === "object")
+        message.totalSize = new $util.LongBits(
+          object.totalSize.low >>> 0,
+          object.totalSize.high >>> 0
+        ).toNumber(true);
+    if (object.uploadedSize != null)
+      if ($util.Long)
+        (message.uploadedSize = $util.Long.fromValue(
+          object.uploadedSize
+        )).unsigned = true;
+      else if (typeof object.uploadedSize === "string")
+        message.uploadedSize = parseInt(object.uploadedSize, 10);
+      else if (typeof object.uploadedSize === "number")
+        message.uploadedSize = object.uploadedSize;
+      else if (typeof object.uploadedSize === "object")
+        message.uploadedSize = new $util.LongBits(
+          object.uploadedSize.low >>> 0,
+          object.uploadedSize.high >>> 0
+        ).toNumber(true);
+    if (object.step != null) message.step = object.step >>> 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {ResGetStitchUploadState} message ResGetStitchUploadState
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetStitchUploadState.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.code = 0;
+      object.userId = "";
+      object.busiNo = "";
+      object.panoramaName = "";
+      object.mac = "";
+      object.totalFilesNum = 0;
+      object.compressedFilesNum = 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, true);
+        object.totalSize =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.totalSize = options.longs === String ? "0" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, true);
+        object.uploadedSize =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.uploadedSize = options.longs === String ? "0" : 0;
+      object.step = 0;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.userId != null && message.hasOwnProperty("userId"))
+      object.userId = message.userId;
+    if (message.busiNo != null && message.hasOwnProperty("busiNo"))
+      object.busiNo = message.busiNo;
+    if (message.panoramaName != null && message.hasOwnProperty("panoramaName"))
+      object.panoramaName = message.panoramaName;
+    if (message.mac != null && message.hasOwnProperty("mac"))
+      object.mac = message.mac;
+    if (
+      message.totalFilesNum != null &&
+      message.hasOwnProperty("totalFilesNum")
+    )
+      object.totalFilesNum = message.totalFilesNum;
+    if (
+      message.compressedFilesNum != null &&
+      message.hasOwnProperty("compressedFilesNum")
+    )
+      object.compressedFilesNum = message.compressedFilesNum;
+    if (message.totalSize != null && message.hasOwnProperty("totalSize"))
+      if (typeof message.totalSize === "number")
+        object.totalSize =
+          options.longs === String
+            ? String(message.totalSize)
+            : message.totalSize;
+      else
+        object.totalSize =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.totalSize)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.totalSize.low >>> 0,
+                message.totalSize.high >>> 0
+              ).toNumber(true)
+            : message.totalSize;
+    if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize"))
+      if (typeof message.uploadedSize === "number")
+        object.uploadedSize =
+          options.longs === String
+            ? String(message.uploadedSize)
+            : message.uploadedSize;
+      else
+        object.uploadedSize =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.uploadedSize)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.uploadedSize.low >>> 0,
+                message.uploadedSize.high >>> 0
+              ).toNumber(true)
+            : message.uploadedSize;
+    if (message.step != null && message.hasOwnProperty("step"))
+      object.step = message.step;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetStitchUploadState to JSON.
+   * @function toJSON
+   * @memberof ResGetStitchUploadState
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetStitchUploadState.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetStitchUploadState
+   * @function getTypeUrl
+   * @memberof ResGetStitchUploadState
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetStitchUploadState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetStitchUploadState";
+  };
+
+  return ResGetStitchUploadState;
+})();
+
+/**
+ * ModuleId enum.
+ * @exports ModuleId
+ * @enum {number}
+ * @property {number} MODULE_NONE=0 MODULE_NONE value
+ * @property {number} MODULE_CAMERA_TELE=1 MODULE_CAMERA_TELE value
+ * @property {number} MODULE_CAMERA_WIDE=2 MODULE_CAMERA_WIDE value
+ * @property {number} MODULE_ASTRO=3 MODULE_ASTRO value
+ * @property {number} MODULE_SYSTEM=4 MODULE_SYSTEM value
+ * @property {number} MODULE_RGB_POWER=5 MODULE_RGB_POWER value
+ * @property {number} MODULE_MOTOR=6 MODULE_MOTOR value
+ * @property {number} MODULE_TRACK=7 MODULE_TRACK value
+ * @property {number} MODULE_FOCUS=8 MODULE_FOCUS value
+ * @property {number} MODULE_NOTIFY=9 MODULE_NOTIFY value
+ * @property {number} MODULE_PANORAMA=10 MODULE_PANORAMA value
+ * @property {number} MODULE_SHOOTING_SCHEDULE=13 MODULE_SHOOTING_SCHEDULE value
+ */
+$root.ModuleId = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "MODULE_NONE")] = 0;
+  values[(valuesById[1] = "MODULE_CAMERA_TELE")] = 1;
+  values[(valuesById[2] = "MODULE_CAMERA_WIDE")] = 2;
+  values[(valuesById[3] = "MODULE_ASTRO")] = 3;
+  values[(valuesById[4] = "MODULE_SYSTEM")] = 4;
+  values[(valuesById[5] = "MODULE_RGB_POWER")] = 5;
+  values[(valuesById[6] = "MODULE_MOTOR")] = 6;
+  values[(valuesById[7] = "MODULE_TRACK")] = 7;
+  values[(valuesById[8] = "MODULE_FOCUS")] = 8;
+  values[(valuesById[9] = "MODULE_NOTIFY")] = 9;
+  values[(valuesById[10] = "MODULE_PANORAMA")] = 10;
+  values[(valuesById[13] = "MODULE_SHOOTING_SCHEDULE")] = 13;
+  return values;
+})();
+
+/**
+ * MessageTypeId enum.
+ * @exports MessageTypeId
+ * @enum {number}
+ * @property {number} TYPE_REQUEST=0 TYPE_REQUEST value
+ * @property {number} TYPE_REQUEST_RESPONSE=1 TYPE_REQUEST_RESPONSE value
+ * @property {number} TYPE_NOTIFICATION=2 TYPE_NOTIFICATION value
+ * @property {number} TYPE_NOTIFICATION_RESPONSE=3 TYPE_NOTIFICATION_RESPONSE value
+ */
+$root.MessageTypeId = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "TYPE_REQUEST")] = 0;
+  values[(valuesById[1] = "TYPE_REQUEST_RESPONSE")] = 1;
+  values[(valuesById[2] = "TYPE_NOTIFICATION")] = 2;
+  values[(valuesById[3] = "TYPE_NOTIFICATION_RESPONSE")] = 3;
+  return values;
+})();
+
+/**
+ * DwarfCMD enum.
+ * @exports DwarfCMD
+ * @enum {number}
+ * @property {number} NO_CMD=0 NO_CMD value
+ * @property {number} CMD_CAMERA_TELE_OPEN_CAMERA=10000 CMD_CAMERA_TELE_OPEN_CAMERA value
+ * @property {number} CMD_CAMERA_TELE_CLOSE_CAMERA=10001 CMD_CAMERA_TELE_CLOSE_CAMERA value
+ * @property {number} CMD_CAMERA_TELE_PHOTOGRAPH=10002 CMD_CAMERA_TELE_PHOTOGRAPH value
+ * @property {number} CMD_CAMERA_TELE_BURST=10003 CMD_CAMERA_TELE_BURST value
+ * @property {number} CMD_CAMERA_TELE_STOP_BURST=10004 CMD_CAMERA_TELE_STOP_BURST value
+ * @property {number} CMD_CAMERA_TELE_START_RECORD=10005 CMD_CAMERA_TELE_START_RECORD value
+ * @property {number} CMD_CAMERA_TELE_STOP_RECORD=10006 CMD_CAMERA_TELE_STOP_RECORD value
+ * @property {number} CMD_CAMERA_TELE_SET_EXP_MODE=10007 CMD_CAMERA_TELE_SET_EXP_MODE value
+ * @property {number} CMD_CAMERA_TELE_GET_EXP_MODE=10008 CMD_CAMERA_TELE_GET_EXP_MODE value
+ * @property {number} CMD_CAMERA_TELE_SET_EXP=10009 CMD_CAMERA_TELE_SET_EXP value
+ * @property {number} CMD_CAMERA_TELE_GET_EXP=10010 CMD_CAMERA_TELE_GET_EXP value
+ * @property {number} CMD_CAMERA_TELE_SET_GAIN_MODE=10011 CMD_CAMERA_TELE_SET_GAIN_MODE value
+ * @property {number} CMD_CAMERA_TELE_GET_GAIN_MODE=10012 CMD_CAMERA_TELE_GET_GAIN_MODE value
+ * @property {number} CMD_CAMERA_TELE_SET_GAIN=10013 CMD_CAMERA_TELE_SET_GAIN value
+ * @property {number} CMD_CAMERA_TELE_GET_GAIN=10014 CMD_CAMERA_TELE_GET_GAIN value
+ * @property {number} CMD_CAMERA_TELE_SET_BRIGHTNESS=10015 CMD_CAMERA_TELE_SET_BRIGHTNESS value
+ * @property {number} CMD_CAMERA_TELE_GET_BRIGHTNESS=10016 CMD_CAMERA_TELE_GET_BRIGHTNESS value
+ * @property {number} CMD_CAMERA_TELE_SET_CONTRAST=10017 CMD_CAMERA_TELE_SET_CONTRAST value
+ * @property {number} CMD_CAMERA_TELE_GET_CONTRAST=10018 CMD_CAMERA_TELE_GET_CONTRAST value
+ * @property {number} CMD_CAMERA_TELE_SET_SATURATION=10019 CMD_CAMERA_TELE_SET_SATURATION value
+ * @property {number} CMD_CAMERA_TELE_GET_SATURATION=10020 CMD_CAMERA_TELE_GET_SATURATION value
+ * @property {number} CMD_CAMERA_TELE_SET_HUE=10021 CMD_CAMERA_TELE_SET_HUE value
+ * @property {number} CMD_CAMERA_TELE_GET_HUE=10022 CMD_CAMERA_TELE_GET_HUE value
+ * @property {number} CMD_CAMERA_TELE_SET_SHARPNESS=10023 CMD_CAMERA_TELE_SET_SHARPNESS value
+ * @property {number} CMD_CAMERA_TELE_GET_SHARPNESS=10024 CMD_CAMERA_TELE_GET_SHARPNESS value
+ * @property {number} CMD_CAMERA_TELE_SET_WB_MODE=10025 CMD_CAMERA_TELE_SET_WB_MODE value
+ * @property {number} CMD_CAMERA_TELE_GET_WB_MODE=10026 CMD_CAMERA_TELE_GET_WB_MODE value
+ * @property {number} CMD_CAMERA_TELE_SET_WB_SCENE=10027 CMD_CAMERA_TELE_SET_WB_SCENE value
+ * @property {number} CMD_CAMERA_TELE_GET_WB_SCENE=10028 CMD_CAMERA_TELE_GET_WB_SCENE value
+ * @property {number} CMD_CAMERA_TELE_SET_WB_CT=10029 CMD_CAMERA_TELE_SET_WB_CT value
+ * @property {number} CMD_CAMERA_TELE_GET_WB_CT=10030 CMD_CAMERA_TELE_GET_WB_CT value
+ * @property {number} CMD_CAMERA_TELE_SET_IRCUT=10031 CMD_CAMERA_TELE_SET_IRCUT value
+ * @property {number} CMD_CAMERA_TELE_GET_IRCUT=10032 CMD_CAMERA_TELE_GET_IRCUT value
+ * @property {number} CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO=10033 CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO value
+ * @property {number} CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO=10034 CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO value
+ * @property {number} CMD_CAMERA_TELE_SET_ALL_PARAMS=10035 CMD_CAMERA_TELE_SET_ALL_PARAMS value
+ * @property {number} CMD_CAMERA_TELE_GET_ALL_PARAMS=10036 CMD_CAMERA_TELE_GET_ALL_PARAMS value
+ * @property {number} CMD_CAMERA_TELE_SET_FEATURE_PARAM=10037 CMD_CAMERA_TELE_SET_FEATURE_PARAM value
+ * @property {number} CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS=10038 CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS value
+ * @property {number} CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE=10039 CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE value
+ * @property {number} CMD_CAMERA_TELE_SET_JPG_QUALITY=10040 CMD_CAMERA_TELE_SET_JPG_QUALITY value
+ * @property {number} CMD_CAMERA_TELE_PHOTO_RAW=10041 CMD_CAMERA_TELE_PHOTO_RAW value
+ * @property {number} CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE=10042 CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE value
+ * @property {number} CMD_ASTRO_START_CALIBRATION=11000 CMD_ASTRO_START_CALIBRATION value
+ * @property {number} CMD_ASTRO_STOP_CALIBRATION=11001 CMD_ASTRO_STOP_CALIBRATION value
+ * @property {number} CMD_ASTRO_START_GOTO_DSO=11002 CMD_ASTRO_START_GOTO_DSO value
+ * @property {number} CMD_ASTRO_START_GOTO_SOLAR_SYSTEM=11003 CMD_ASTRO_START_GOTO_SOLAR_SYSTEM value
+ * @property {number} CMD_ASTRO_STOP_GOTO=11004 CMD_ASTRO_STOP_GOTO value
+ * @property {number} CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING=11005 CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING=11006 CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK=11007 CMD_ASTRO_START_CAPTURE_RAW_DARK value
+ * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK=11008 CMD_ASTRO_STOP_CAPTURE_RAW_DARK value
+ * @property {number} CMD_ASTRO_CHECK_GOT_DARK=11009 CMD_ASTRO_CHECK_GOT_DARK value
+ * @property {number} CMD_ASTRO_GO_LIVE=11010 CMD_ASTRO_GO_LIVE value
+ * @property {number} CMD_ASTRO_START_TRACK_SPECIAL_TARGET=11011 CMD_ASTRO_START_TRACK_SPECIAL_TARGET value
+ * @property {number} CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET=11012 CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET value
+ * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_DSO=11013 CMD_ASTRO_START_ONE_CLICK_GOTO_DSO value
+ * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM=11014 CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM value
+ * @property {number} CMD_ASTRO_STOP_ONE_CLICK_GOTO=11015 CMD_ASTRO_STOP_ONE_CLICK_GOTO value
+ * @property {number} CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING=11016 CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING value
+ * @property {number} CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING=11017 CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING value
+ * @property {number} CMD_ASTRO_START_EQ_SOLVING=11018 CMD_ASTRO_START_EQ_SOLVING value
+ * @property {number} CMD_ASTRO_STOP_EQ_SOLVING=11019 CMD_ASTRO_STOP_EQ_SOLVING value
+ * @property {number} CMD_ASTRO_WIDE_GO_LIVE=11020 CMD_ASTRO_WIDE_GO_LIVE value
+ * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM=11021 CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM value
+ * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM=11022 CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM value
+ * @property {number} CMD_ASTRO_GET_DARK_FRAME_LIST=11023 CMD_ASTRO_GET_DARK_FRAME_LIST value
+ * @property {number} CMD_ASTRO_DEL_DARK_FRAME_LIST=11024 CMD_ASTRO_DEL_DARK_FRAME_LIST value
+ * @property {number} CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11025 CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value
+ * @property {number} CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11026 CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value
+ * @property {number} CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST=11027 CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST value
+ * @property {number} CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST=11028 CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST value
+ * @property {number} CMD_CAMERA_WIDE_OPEN_CAMERA=12000 CMD_CAMERA_WIDE_OPEN_CAMERA value
+ * @property {number} CMD_CAMERA_WIDE_CLOSE_CAMERA=12001 CMD_CAMERA_WIDE_CLOSE_CAMERA value
+ * @property {number} CMD_CAMERA_WIDE_SET_EXP_MODE=12002 CMD_CAMERA_WIDE_SET_EXP_MODE value
+ * @property {number} CMD_CAMERA_WIDE_GET_EXP_MODE=12003 CMD_CAMERA_WIDE_GET_EXP_MODE value
+ * @property {number} CMD_CAMERA_WIDE_SET_EXP=12004 CMD_CAMERA_WIDE_SET_EXP value
+ * @property {number} CMD_CAMERA_WIDE_GET_EXP=12005 CMD_CAMERA_WIDE_GET_EXP value
+ * @property {number} CMD_CAMERA_WIDE_SET_GAIN=12006 CMD_CAMERA_WIDE_SET_GAIN value
+ * @property {number} CMD_CAMERA_WIDE_GET_GAIN=12007 CMD_CAMERA_WIDE_GET_GAIN value
+ * @property {number} CMD_CAMERA_WIDE_SET_BRIGHTNESS=12008 CMD_CAMERA_WIDE_SET_BRIGHTNESS value
+ * @property {number} CMD_CAMERA_WIDE_GET_BRIGHTNESS=12009 CMD_CAMERA_WIDE_GET_BRIGHTNESS value
+ * @property {number} CMD_CAMERA_WIDE_SET_CONTRAST=12010 CMD_CAMERA_WIDE_SET_CONTRAST value
+ * @property {number} CMD_CAMERA_WIDE_GET_CONTRAST=12011 CMD_CAMERA_WIDE_GET_CONTRAST value
+ * @property {number} CMD_CAMERA_WIDE_SET_SATURATION=12012 CMD_CAMERA_WIDE_SET_SATURATION value
+ * @property {number} CMD_CAMERA_WIDE_GET_SATURATION=12013 CMD_CAMERA_WIDE_GET_SATURATION value
+ * @property {number} CMD_CAMERA_WIDE_SET_HUE=12014 CMD_CAMERA_WIDE_SET_HUE value
+ * @property {number} CMD_CAMERA_WIDE_GET_HUE=12015 CMD_CAMERA_WIDE_GET_HUE value
+ * @property {number} CMD_CAMERA_WIDE_SET_SHARPNESS=12016 CMD_CAMERA_WIDE_SET_SHARPNESS value
+ * @property {number} CMD_CAMERA_WIDE_GET_SHARPNESS=12017 CMD_CAMERA_WIDE_GET_SHARPNESS value
+ * @property {number} CMD_CAMERA_WIDE_SET_WB_MODE=12018 CMD_CAMERA_WIDE_SET_WB_MODE value
+ * @property {number} CMD_CAMERA_WIDE_GET_WB_MODE=12019 CMD_CAMERA_WIDE_GET_WB_MODE value
+ * @property {number} CMD_CAMERA_WIDE_SET_WB_CT=12020 CMD_CAMERA_WIDE_SET_WB_CT value
+ * @property {number} CMD_CAMERA_WIDE_GET_WB_CT=12021 CMD_CAMERA_WIDE_GET_WB_CT value
+ * @property {number} CMD_CAMERA_WIDE_PHOTOGRAPH=12022 CMD_CAMERA_WIDE_PHOTOGRAPH value
+ * @property {number} CMD_CAMERA_WIDE_BURST=12023 CMD_CAMERA_WIDE_BURST value
+ * @property {number} CMD_CAMERA_WIDE_STOP_BURST=12024 CMD_CAMERA_WIDE_STOP_BURST value
+ * @property {number} CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO=12025 CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO value
+ * @property {number} CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO=12026 CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO value
+ * @property {number} CMD_CAMERA_WIDE_GET_ALL_PARAMS=12027 CMD_CAMERA_WIDE_GET_ALL_PARAMS value
+ * @property {number} CMD_CAMERA_WIDE_SET_ALL_PARAMS=12028 CMD_CAMERA_WIDE_SET_ALL_PARAMS value
+ * @property {number} CMD_CAMERA_WIDE_START_RECORD=12030 CMD_CAMERA_WIDE_START_RECORD value
+ * @property {number} CMD_CAMERA_WIDE_STOP_RECORD=12031 CMD_CAMERA_WIDE_STOP_RECORD value
+ * @property {number} CMD_SYSTEM_SET_TIME=13000 CMD_SYSTEM_SET_TIME value
+ * @property {number} CMD_SYSTEM_SET_TIME_ZONE=13001 CMD_SYSTEM_SET_TIME_ZONE value
+ * @property {number} CMD_SYSTEM_SET_MTP_MODE=13002 CMD_SYSTEM_SET_MTP_MODE value
+ * @property {number} CMD_SYSTEM_SET_CPU_MODE=13003 CMD_SYSTEM_SET_CPU_MODE value
+ * @property {number} CMD_SYSTEM_SET_MASTERLOCK=13004 CMD_SYSTEM_SET_MASTERLOCK value
+ * @property {number} CMD_RGB_POWER_OPEN_RGB=13500 CMD_RGB_POWER_OPEN_RGB value
+ * @property {number} CMD_RGB_POWER_CLOSE_RGB=13501 CMD_RGB_POWER_CLOSE_RGB value
+ * @property {number} CMD_RGB_POWER_POWER_DOWN=13502 CMD_RGB_POWER_POWER_DOWN value
+ * @property {number} CMD_RGB_POWER_POWERIND_ON=13503 CMD_RGB_POWER_POWERIND_ON value
+ * @property {number} CMD_RGB_POWER_POWERIND_OFF=13504 CMD_RGB_POWER_POWERIND_OFF value
+ * @property {number} CMD_RGB_POWER_REBOOT=13505 CMD_RGB_POWER_REBOOT value
+ * @property {number} CMD_STEP_MOTOR_RUN=14000 CMD_STEP_MOTOR_RUN value
+ * @property {number} CMD_STEP_MOTOR_RUN_TO=14001 CMD_STEP_MOTOR_RUN_TO value
+ * @property {number} CMD_STEP_MOTOR_STOP=14002 CMD_STEP_MOTOR_STOP value
+ * @property {number} CMD_STEP_MOTOR_RESET=14003 CMD_STEP_MOTOR_RESET value
+ * @property {number} CMD_STEP_MOTOR_CHANGE_SPEED=14004 CMD_STEP_MOTOR_CHANGE_SPEED value
+ * @property {number} CMD_STEP_MOTOR_CHANGE_DIRECTION=14005 CMD_STEP_MOTOR_CHANGE_DIRECTION value
+ * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK=14006 CMD_STEP_MOTOR_SERVICE_JOYSTICK value
+ * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE=14007 CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE value
+ * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP=14008 CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP value
+ * @property {number} CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE=14009 CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE value
+ * @property {number} CMD_STEP_MOTOR_RUN_IN_PULSE=14010 CMD_STEP_MOTOR_RUN_IN_PULSE value
+ * @property {number} CMD_STEP_MOTOR_GET_POSITION=14011 CMD_STEP_MOTOR_GET_POSITION value
+ * @property {number} CMD_TRACK_START_TRACK=14800 CMD_TRACK_START_TRACK value
+ * @property {number} CMD_TRACK_STOP_TRACK=14801 CMD_TRACK_STOP_TRACK value
+ * @property {number} CMD_SENTRY_MODE_START=14802 CMD_SENTRY_MODE_START value
+ * @property {number} CMD_SENTRY_MODE_STOP=14803 CMD_SENTRY_MODE_STOP value
+ * @property {number} CMD_MOT_START=14804 CMD_MOT_START value
+ * @property {number} CMD_MOT_TRACK_ONE=14805 CMD_MOT_TRACK_ONE value
+ * @property {number} CMD_UFOTRACK_MODE_START=14806 CMD_UFOTRACK_MODE_START value
+ * @property {number} CMD_UFOTRACK_MODE_STOP=14807 CMD_UFOTRACK_MODE_STOP value
+ * @property {number} CMD_MOT_WIDE_TRACK_ONE=14808 CMD_MOT_WIDE_TRACK_ONE value
+ * @property {number} CMD_WIDE_TELE_TRACK_SWITCH=14809 CMD_WIDE_TELE_TRACK_SWITCH value
+ * @property {number} CMD_UFO_HAND_AOTO_MODE=14810 CMD_UFO_HAND_AOTO_MODE value
+ * @property {number} CMD_FOCUS_AUTO_FOCUS=15000 CMD_FOCUS_AUTO_FOCUS value
+ * @property {number} CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS=15001 CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS value
+ * @property {number} CMD_FOCUS_START_MANUAL_CONTINU_FOCUS=15002 CMD_FOCUS_START_MANUAL_CONTINU_FOCUS value
+ * @property {number} CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS=15003 CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS value
+ * @property {number} CMD_FOCUS_START_ASTRO_AUTO_FOCUS=15004 CMD_FOCUS_START_ASTRO_AUTO_FOCUS value
+ * @property {number} CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS=15005 CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS value
+ * @property {number} CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING=15200 CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING value
+ * @property {number} CMD_NOTIFY_ELE=15201 CMD_NOTIFY_ELE value
+ * @property {number} CMD_NOTIFY_CHARGE=15202 CMD_NOTIFY_CHARGE value
+ * @property {number} CMD_NOTIFY_SDCARD_INFO=15203 CMD_NOTIFY_SDCARD_INFO value
+ * @property {number} CMD_NOTIFY_TELE_RECORD_TIME=15204 CMD_NOTIFY_TELE_RECORD_TIME value
+ * @property {number} CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME=15205 CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME value
+ * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_DARK=15206 CMD_NOTIFY_STATE_CAPTURE_RAW_DARK value
+ * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK=15207 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK value
+ * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING=15208 CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING=15209 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_NOTIFY_STATE_ASTRO_CALIBRATION=15210 CMD_NOTIFY_STATE_ASTRO_CALIBRATION value
+ * @property {number} CMD_NOTIFY_STATE_ASTRO_GOTO=15211 CMD_NOTIFY_STATE_ASTRO_GOTO value
+ * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING=15212 CMD_NOTIFY_STATE_ASTRO_TRACKING value
+ * @property {number} CMD_NOTIFY_TELE_SET_PARAM=15213 CMD_NOTIFY_TELE_SET_PARAM value
+ * @property {number} CMD_NOTIFY_WIDE_SET_PARAM=15214 CMD_NOTIFY_WIDE_SET_PARAM value
+ * @property {number} CMD_NOTIFY_TELE_FUNCTION_STATE=15215 CMD_NOTIFY_TELE_FUNCTION_STATE value
+ * @property {number} CMD_NOTIFY_WIDE_FUNCTION_STATE=15216 CMD_NOTIFY_WIDE_FUNCTION_STATE value
+ * @property {number} CMD_NOTIFY_SET_FEATURE_PARAM=15217 CMD_NOTIFY_SET_FEATURE_PARAM value
+ * @property {number} CMD_NOTIFY_TELE_BURST_PROGRESS=15218 CMD_NOTIFY_TELE_BURST_PROGRESS value
+ * @property {number} CMD_NOTIFY_PANORAMA_PROGRESS=15219 CMD_NOTIFY_PANORAMA_PROGRESS value
+ * @property {number} CMD_NOTIFY_WIDE_BURST_PROGRESS=15220 CMD_NOTIFY_WIDE_BURST_PROGRESS value
+ * @property {number} CMD_NOTIFY_RGB_STATE=15221 CMD_NOTIFY_RGB_STATE value
+ * @property {number} CMD_NOTIFY_POWER_IND_STATE=15222 CMD_NOTIFY_POWER_IND_STATE value
+ * @property {number} CMD_NOTIFY_WS_HOST_SLAVE_MODE=15223 CMD_NOTIFY_WS_HOST_SLAVE_MODE value
+ * @property {number} CMD_NOTIFY_MTP_STATE=15224 CMD_NOTIFY_MTP_STATE value
+ * @property {number} CMD_NOTIFY_TRACK_RESULT=15225 CMD_NOTIFY_TRACK_RESULT value
+ * @property {number} CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME=15226 CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME value
+ * @property {number} CMD_NOTIFY_CPU_MODE=15227 CMD_NOTIFY_CPU_MODE value
+ * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL=15228 CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL value
+ * @property {number} CMD_NOTIFY_POWER_OFF=15229 CMD_NOTIFY_POWER_OFF value
+ * @property {number} CMD_NOTIFY_ALBUM_UPDATE=15230 CMD_NOTIFY_ALBUM_UPDATE value
+ * @property {number} CMD_NOTIFY_SENTRY_MODE_STATE=15231 CMD_NOTIFY_SENTRY_MODE_STATE value
+ * @property {number} CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT=15232 CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT value
+ * @property {number} CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO=15233 CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO value
+ * @property {number} CMD_NOTIFY_STREAM_TYPE=15234 CMD_NOTIFY_STREAM_TYPE value
+ * @property {number} CMD_NOTIFY_WIDE_RECORD_TIME=15235 CMD_NOTIFY_WIDE_RECORD_TIME value
+ * @property {number} CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING=15236 CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING=15237 CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING value
+ * @property {number} CMD_NOTIFY_MULTI_TRACK_RESULT=15238 CMD_NOTIFY_MULTI_TRACK_RESULT value
+ * @property {number} CMD_NOTIFY_EQ_SOLVING_STATE=15239 CMD_NOTIFY_EQ_SOLVING_STATE value
+ * @property {number} CMD_NOTIFY_UFO_MODE_STATE=15240 CMD_NOTIFY_UFO_MODE_STATE value
+ * @property {number} CMD_NOTIFY_TELE_LONG_EXP_PROGRESS=15241 CMD_NOTIFY_TELE_LONG_EXP_PROGRESS value
+ * @property {number} CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS=15242 CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS value
+ * @property {number} CMD_NOTIFY_TEMPERATURE=15243 CMD_NOTIFY_TEMPERATURE value
+ * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS=15244 CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS value
+ * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS=15245 CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS value
+ * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE=15246 CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE value
+ * @property {number} CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK=15247 CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK value
+ * @property {number} CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE=15248 CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE value
+ * @property {number} CMD_NOTIFY_SHOOTING_TASK_STATE=15249 CMD_NOTIFY_SHOOTING_TASK_STATE value
+ * @property {number} CMD_NOTIFY_SKY_SEACHER_STATE=15250 CMD_NOTIFY_SKY_SEACHER_STATE value
+ * @property {number} CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT=15251 CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT value
+ * @property {number} CMD_NOTIFY_WIDE_TRACK_RESULT=15252 CMD_NOTIFY_WIDE_TRACK_RESULT value
+ * @property {number} CMD_NOTIFY_FOCUS=15257 CMD_NOTIFY_FOCUS value
+ * @property {number} CMD_PANORAMA_START_GRID=15500 CMD_PANORAMA_START_GRID value
+ * @property {number} CMD_PANORAMA_STOP=15501 CMD_PANORAMA_STOP value
+ * @property {number} CMD_PANORAMA_START_EULER_RANGE=15502 CMD_PANORAMA_START_EULER_RANGE value
+ */
+$root.DwarfCMD = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "NO_CMD")] = 0;
+  values[(valuesById[10000] = "CMD_CAMERA_TELE_OPEN_CAMERA")] = 10000;
+  values[(valuesById[10001] = "CMD_CAMERA_TELE_CLOSE_CAMERA")] = 10001;
+  values[(valuesById[10002] = "CMD_CAMERA_TELE_PHOTOGRAPH")] = 10002;
+  values[(valuesById[10003] = "CMD_CAMERA_TELE_BURST")] = 10003;
+  values[(valuesById[10004] = "CMD_CAMERA_TELE_STOP_BURST")] = 10004;
+  values[(valuesById[10005] = "CMD_CAMERA_TELE_START_RECORD")] = 10005;
+  values[(valuesById[10006] = "CMD_CAMERA_TELE_STOP_RECORD")] = 10006;
+  values[(valuesById[10007] = "CMD_CAMERA_TELE_SET_EXP_MODE")] = 10007;
+  values[(valuesById[10008] = "CMD_CAMERA_TELE_GET_EXP_MODE")] = 10008;
+  values[(valuesById[10009] = "CMD_CAMERA_TELE_SET_EXP")] = 10009;
+  values[(valuesById[10010] = "CMD_CAMERA_TELE_GET_EXP")] = 10010;
+  values[(valuesById[10011] = "CMD_CAMERA_TELE_SET_GAIN_MODE")] = 10011;
+  values[(valuesById[10012] = "CMD_CAMERA_TELE_GET_GAIN_MODE")] = 10012;
+  values[(valuesById[10013] = "CMD_CAMERA_TELE_SET_GAIN")] = 10013;
+  values[(valuesById[10014] = "CMD_CAMERA_TELE_GET_GAIN")] = 10014;
+  values[(valuesById[10015] = "CMD_CAMERA_TELE_SET_BRIGHTNESS")] = 10015;
+  values[(valuesById[10016] = "CMD_CAMERA_TELE_GET_BRIGHTNESS")] = 10016;
+  values[(valuesById[10017] = "CMD_CAMERA_TELE_SET_CONTRAST")] = 10017;
+  values[(valuesById[10018] = "CMD_CAMERA_TELE_GET_CONTRAST")] = 10018;
+  values[(valuesById[10019] = "CMD_CAMERA_TELE_SET_SATURATION")] = 10019;
+  values[(valuesById[10020] = "CMD_CAMERA_TELE_GET_SATURATION")] = 10020;
+  values[(valuesById[10021] = "CMD_CAMERA_TELE_SET_HUE")] = 10021;
+  values[(valuesById[10022] = "CMD_CAMERA_TELE_GET_HUE")] = 10022;
+  values[(valuesById[10023] = "CMD_CAMERA_TELE_SET_SHARPNESS")] = 10023;
+  values[(valuesById[10024] = "CMD_CAMERA_TELE_GET_SHARPNESS")] = 10024;
+  values[(valuesById[10025] = "CMD_CAMERA_TELE_SET_WB_MODE")] = 10025;
+  values[(valuesById[10026] = "CMD_CAMERA_TELE_GET_WB_MODE")] = 10026;
+  values[(valuesById[10027] = "CMD_CAMERA_TELE_SET_WB_SCENE")] = 10027;
+  values[(valuesById[10028] = "CMD_CAMERA_TELE_GET_WB_SCENE")] = 10028;
+  values[(valuesById[10029] = "CMD_CAMERA_TELE_SET_WB_CT")] = 10029;
+  values[(valuesById[10030] = "CMD_CAMERA_TELE_GET_WB_CT")] = 10030;
+  values[(valuesById[10031] = "CMD_CAMERA_TELE_SET_IRCUT")] = 10031;
+  values[(valuesById[10032] = "CMD_CAMERA_TELE_GET_IRCUT")] = 10032;
+  values[(valuesById[10033] = "CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO")] = 10033;
+  values[(valuesById[10034] = "CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO")] = 10034;
+  values[(valuesById[10035] = "CMD_CAMERA_TELE_SET_ALL_PARAMS")] = 10035;
+  values[(valuesById[10036] = "CMD_CAMERA_TELE_GET_ALL_PARAMS")] = 10036;
+  values[(valuesById[10037] = "CMD_CAMERA_TELE_SET_FEATURE_PARAM")] = 10037;
+  values[
+    (valuesById[10038] = "CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS")
+  ] = 10038;
+  values[
+    (valuesById[10039] = "CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE")
+  ] = 10039;
+  values[(valuesById[10040] = "CMD_CAMERA_TELE_SET_JPG_QUALITY")] = 10040;
+  values[(valuesById[10041] = "CMD_CAMERA_TELE_PHOTO_RAW")] = 10041;
+  values[(valuesById[10042] = "CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE")] = 10042;
+  values[(valuesById[11000] = "CMD_ASTRO_START_CALIBRATION")] = 11000;
+  values[(valuesById[11001] = "CMD_ASTRO_STOP_CALIBRATION")] = 11001;
+  values[(valuesById[11002] = "CMD_ASTRO_START_GOTO_DSO")] = 11002;
+  values[(valuesById[11003] = "CMD_ASTRO_START_GOTO_SOLAR_SYSTEM")] = 11003;
+  values[(valuesById[11004] = "CMD_ASTRO_STOP_GOTO")] = 11004;
+  values[
+    (valuesById[11005] = "CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING")
+  ] = 11005;
+  values[
+    (valuesById[11006] = "CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING")
+  ] = 11006;
+  values[(valuesById[11007] = "CMD_ASTRO_START_CAPTURE_RAW_DARK")] = 11007;
+  values[(valuesById[11008] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK")] = 11008;
+  values[(valuesById[11009] = "CMD_ASTRO_CHECK_GOT_DARK")] = 11009;
+  values[(valuesById[11010] = "CMD_ASTRO_GO_LIVE")] = 11010;
+  values[(valuesById[11011] = "CMD_ASTRO_START_TRACK_SPECIAL_TARGET")] = 11011;
+  values[(valuesById[11012] = "CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET")] = 11012;
+  values[(valuesById[11013] = "CMD_ASTRO_START_ONE_CLICK_GOTO_DSO")] = 11013;
+  values[
+    (valuesById[11014] = "CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM")
+  ] = 11014;
+  values[(valuesById[11015] = "CMD_ASTRO_STOP_ONE_CLICK_GOTO")] = 11015;
+  values[
+    (valuesById[11016] = "CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING")
+  ] = 11016;
+  values[
+    (valuesById[11017] = "CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING")
+  ] = 11017;
+  values[(valuesById[11018] = "CMD_ASTRO_START_EQ_SOLVING")] = 11018;
+  values[(valuesById[11019] = "CMD_ASTRO_STOP_EQ_SOLVING")] = 11019;
+  values[(valuesById[11020] = "CMD_ASTRO_WIDE_GO_LIVE")] = 11020;
+  values[
+    (valuesById[11021] = "CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM")
+  ] = 11021;
+  values[
+    (valuesById[11022] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM")
+  ] = 11022;
+  values[(valuesById[11023] = "CMD_ASTRO_GET_DARK_FRAME_LIST")] = 11023;
+  values[(valuesById[11024] = "CMD_ASTRO_DEL_DARK_FRAME_LIST")] = 11024;
+  values[
+    (valuesById[11025] = "CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM")
+  ] = 11025;
+  values[
+    (valuesById[11026] = "CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM")
+  ] = 11026;
+  values[(valuesById[11027] = "CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST")] = 11027;
+  values[(valuesById[11028] = "CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST")] = 11028;
+  values[(valuesById[12000] = "CMD_CAMERA_WIDE_OPEN_CAMERA")] = 12000;
+  values[(valuesById[12001] = "CMD_CAMERA_WIDE_CLOSE_CAMERA")] = 12001;
+  values[(valuesById[12002] = "CMD_CAMERA_WIDE_SET_EXP_MODE")] = 12002;
+  values[(valuesById[12003] = "CMD_CAMERA_WIDE_GET_EXP_MODE")] = 12003;
+  values[(valuesById[12004] = "CMD_CAMERA_WIDE_SET_EXP")] = 12004;
+  values[(valuesById[12005] = "CMD_CAMERA_WIDE_GET_EXP")] = 12005;
+  values[(valuesById[12006] = "CMD_CAMERA_WIDE_SET_GAIN")] = 12006;
+  values[(valuesById[12007] = "CMD_CAMERA_WIDE_GET_GAIN")] = 12007;
+  values[(valuesById[12008] = "CMD_CAMERA_WIDE_SET_BRIGHTNESS")] = 12008;
+  values[(valuesById[12009] = "CMD_CAMERA_WIDE_GET_BRIGHTNESS")] = 12009;
+  values[(valuesById[12010] = "CMD_CAMERA_WIDE_SET_CONTRAST")] = 12010;
+  values[(valuesById[12011] = "CMD_CAMERA_WIDE_GET_CONTRAST")] = 12011;
+  values[(valuesById[12012] = "CMD_CAMERA_WIDE_SET_SATURATION")] = 12012;
+  values[(valuesById[12013] = "CMD_CAMERA_WIDE_GET_SATURATION")] = 12013;
+  values[(valuesById[12014] = "CMD_CAMERA_WIDE_SET_HUE")] = 12014;
+  values[(valuesById[12015] = "CMD_CAMERA_WIDE_GET_HUE")] = 12015;
+  values[(valuesById[12016] = "CMD_CAMERA_WIDE_SET_SHARPNESS")] = 12016;
+  values[(valuesById[12017] = "CMD_CAMERA_WIDE_GET_SHARPNESS")] = 12017;
+  values[(valuesById[12018] = "CMD_CAMERA_WIDE_SET_WB_MODE")] = 12018;
+  values[(valuesById[12019] = "CMD_CAMERA_WIDE_GET_WB_MODE")] = 12019;
+  values[(valuesById[12020] = "CMD_CAMERA_WIDE_SET_WB_CT")] = 12020;
+  values[(valuesById[12021] = "CMD_CAMERA_WIDE_GET_WB_CT")] = 12021;
+  values[(valuesById[12022] = "CMD_CAMERA_WIDE_PHOTOGRAPH")] = 12022;
+  values[(valuesById[12023] = "CMD_CAMERA_WIDE_BURST")] = 12023;
+  values[(valuesById[12024] = "CMD_CAMERA_WIDE_STOP_BURST")] = 12024;
+  values[(valuesById[12025] = "CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO")] = 12025;
+  values[(valuesById[12026] = "CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO")] = 12026;
+  values[(valuesById[12027] = "CMD_CAMERA_WIDE_GET_ALL_PARAMS")] = 12027;
+  values[(valuesById[12028] = "CMD_CAMERA_WIDE_SET_ALL_PARAMS")] = 12028;
+  values[(valuesById[12030] = "CMD_CAMERA_WIDE_START_RECORD")] = 12030;
+  values[(valuesById[12031] = "CMD_CAMERA_WIDE_STOP_RECORD")] = 12031;
+  values[(valuesById[13000] = "CMD_SYSTEM_SET_TIME")] = 13000;
+  values[(valuesById[13001] = "CMD_SYSTEM_SET_TIME_ZONE")] = 13001;
+  values[(valuesById[13002] = "CMD_SYSTEM_SET_MTP_MODE")] = 13002;
+  values[(valuesById[13003] = "CMD_SYSTEM_SET_CPU_MODE")] = 13003;
+  values[(valuesById[13004] = "CMD_SYSTEM_SET_MASTERLOCK")] = 13004;
+  values[(valuesById[13500] = "CMD_RGB_POWER_OPEN_RGB")] = 13500;
+  values[(valuesById[13501] = "CMD_RGB_POWER_CLOSE_RGB")] = 13501;
+  values[(valuesById[13502] = "CMD_RGB_POWER_POWER_DOWN")] = 13502;
+  values[(valuesById[13503] = "CMD_RGB_POWER_POWERIND_ON")] = 13503;
+  values[(valuesById[13504] = "CMD_RGB_POWER_POWERIND_OFF")] = 13504;
+  values[(valuesById[13505] = "CMD_RGB_POWER_REBOOT")] = 13505;
+  values[(valuesById[14000] = "CMD_STEP_MOTOR_RUN")] = 14000;
+  values[(valuesById[14001] = "CMD_STEP_MOTOR_RUN_TO")] = 14001;
+  values[(valuesById[14002] = "CMD_STEP_MOTOR_STOP")] = 14002;
+  values[(valuesById[14003] = "CMD_STEP_MOTOR_RESET")] = 14003;
+  values[(valuesById[14004] = "CMD_STEP_MOTOR_CHANGE_SPEED")] = 14004;
+  values[(valuesById[14005] = "CMD_STEP_MOTOR_CHANGE_DIRECTION")] = 14005;
+  values[(valuesById[14006] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK")] = 14006;
+  values[
+    (valuesById[14007] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE")
+  ] = 14007;
+  values[(valuesById[14008] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP")] = 14008;
+  values[
+    (valuesById[14009] = "CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE")
+  ] = 14009;
+  values[(valuesById[14010] = "CMD_STEP_MOTOR_RUN_IN_PULSE")] = 14010;
+  values[(valuesById[14011] = "CMD_STEP_MOTOR_GET_POSITION")] = 14011;
+  values[(valuesById[14800] = "CMD_TRACK_START_TRACK")] = 14800;
+  values[(valuesById[14801] = "CMD_TRACK_STOP_TRACK")] = 14801;
+  values[(valuesById[14802] = "CMD_SENTRY_MODE_START")] = 14802;
+  values[(valuesById[14803] = "CMD_SENTRY_MODE_STOP")] = 14803;
+  values[(valuesById[14804] = "CMD_MOT_START")] = 14804;
+  values[(valuesById[14805] = "CMD_MOT_TRACK_ONE")] = 14805;
+  values[(valuesById[14806] = "CMD_UFOTRACK_MODE_START")] = 14806;
+  values[(valuesById[14807] = "CMD_UFOTRACK_MODE_STOP")] = 14807;
+  values[(valuesById[14808] = "CMD_MOT_WIDE_TRACK_ONE")] = 14808;
+  values[(valuesById[14809] = "CMD_WIDE_TELE_TRACK_SWITCH")] = 14809;
+  values[(valuesById[14810] = "CMD_UFO_HAND_AOTO_MODE")] = 14810;
+  values[(valuesById[15000] = "CMD_FOCUS_AUTO_FOCUS")] = 15000;
+  values[(valuesById[15001] = "CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS")] = 15001;
+  values[(valuesById[15002] = "CMD_FOCUS_START_MANUAL_CONTINU_FOCUS")] = 15002;
+  values[(valuesById[15003] = "CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS")] = 15003;
+  values[(valuesById[15004] = "CMD_FOCUS_START_ASTRO_AUTO_FOCUS")] = 15004;
+  values[(valuesById[15005] = "CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS")] = 15005;
+  values[(valuesById[15200] = "CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING")] = 15200;
+  values[(valuesById[15201] = "CMD_NOTIFY_ELE")] = 15201;
+  values[(valuesById[15202] = "CMD_NOTIFY_CHARGE")] = 15202;
+  values[(valuesById[15203] = "CMD_NOTIFY_SDCARD_INFO")] = 15203;
+  values[(valuesById[15204] = "CMD_NOTIFY_TELE_RECORD_TIME")] = 15204;
+  values[(valuesById[15205] = "CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME")] = 15205;
+  values[(valuesById[15206] = "CMD_NOTIFY_STATE_CAPTURE_RAW_DARK")] = 15206;
+  values[(valuesById[15207] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK")] = 15207;
+  values[
+    (valuesById[15208] = "CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING")
+  ] = 15208;
+  values[
+    (valuesById[15209] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING")
+  ] = 15209;
+  values[(valuesById[15210] = "CMD_NOTIFY_STATE_ASTRO_CALIBRATION")] = 15210;
+  values[(valuesById[15211] = "CMD_NOTIFY_STATE_ASTRO_GOTO")] = 15211;
+  values[(valuesById[15212] = "CMD_NOTIFY_STATE_ASTRO_TRACKING")] = 15212;
+  values[(valuesById[15213] = "CMD_NOTIFY_TELE_SET_PARAM")] = 15213;
+  values[(valuesById[15214] = "CMD_NOTIFY_WIDE_SET_PARAM")] = 15214;
+  values[(valuesById[15215] = "CMD_NOTIFY_TELE_FUNCTION_STATE")] = 15215;
+  values[(valuesById[15216] = "CMD_NOTIFY_WIDE_FUNCTION_STATE")] = 15216;
+  values[(valuesById[15217] = "CMD_NOTIFY_SET_FEATURE_PARAM")] = 15217;
+  values[(valuesById[15218] = "CMD_NOTIFY_TELE_BURST_PROGRESS")] = 15218;
+  values[(valuesById[15219] = "CMD_NOTIFY_PANORAMA_PROGRESS")] = 15219;
+  values[(valuesById[15220] = "CMD_NOTIFY_WIDE_BURST_PROGRESS")] = 15220;
+  values[(valuesById[15221] = "CMD_NOTIFY_RGB_STATE")] = 15221;
+  values[(valuesById[15222] = "CMD_NOTIFY_POWER_IND_STATE")] = 15222;
+  values[(valuesById[15223] = "CMD_NOTIFY_WS_HOST_SLAVE_MODE")] = 15223;
+  values[(valuesById[15224] = "CMD_NOTIFY_MTP_STATE")] = 15224;
+  values[(valuesById[15225] = "CMD_NOTIFY_TRACK_RESULT")] = 15225;
+  values[(valuesById[15226] = "CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME")] = 15226;
+  values[(valuesById[15227] = "CMD_NOTIFY_CPU_MODE")] = 15227;
+  values[
+    (valuesById[15228] = "CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL")
+  ] = 15228;
+  values[(valuesById[15229] = "CMD_NOTIFY_POWER_OFF")] = 15229;
+  values[(valuesById[15230] = "CMD_NOTIFY_ALBUM_UPDATE")] = 15230;
+  values[(valuesById[15231] = "CMD_NOTIFY_SENTRY_MODE_STATE")] = 15231;
+  values[(valuesById[15232] = "CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT")] = 15232;
+  values[(valuesById[15233] = "CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO")] = 15233;
+  values[(valuesById[15234] = "CMD_NOTIFY_STREAM_TYPE")] = 15234;
+  values[(valuesById[15235] = "CMD_NOTIFY_WIDE_RECORD_TIME")] = 15235;
+  values[
+    (valuesById[15236] = "CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING")
+  ] = 15236;
+  values[
+    (valuesById[15237] = "CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING")
+  ] = 15237;
+  values[(valuesById[15238] = "CMD_NOTIFY_MULTI_TRACK_RESULT")] = 15238;
+  values[(valuesById[15239] = "CMD_NOTIFY_EQ_SOLVING_STATE")] = 15239;
+  values[(valuesById[15240] = "CMD_NOTIFY_UFO_MODE_STATE")] = 15240;
+  values[(valuesById[15241] = "CMD_NOTIFY_TELE_LONG_EXP_PROGRESS")] = 15241;
+  values[(valuesById[15242] = "CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS")] = 15242;
+  values[(valuesById[15243] = "CMD_NOTIFY_TEMPERATURE")] = 15243;
+  values[
+    (valuesById[15244] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS")
+  ] = 15244;
+  values[
+    (valuesById[15245] = "CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS")
+  ] = 15245;
+  values[(valuesById[15246] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE")] = 15246;
+  values[
+    (valuesById[15247] = "CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK")
+  ] = 15247;
+  values[
+    (valuesById[15248] = "CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE")
+  ] = 15248;
+  values[(valuesById[15249] = "CMD_NOTIFY_SHOOTING_TASK_STATE")] = 15249;
+  values[(valuesById[15250] = "CMD_NOTIFY_SKY_SEACHER_STATE")] = 15250;
+  values[(valuesById[15251] = "CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT")] = 15251;
+  values[(valuesById[15252] = "CMD_NOTIFY_WIDE_TRACK_RESULT")] = 15252;
+  values[(valuesById[15257] = "CMD_NOTIFY_FOCUS")] = 15257;
+  values[(valuesById[15500] = "CMD_PANORAMA_START_GRID")] = 15500;
+  values[(valuesById[15501] = "CMD_PANORAMA_STOP")] = 15501;
+  values[(valuesById[15502] = "CMD_PANORAMA_START_EULER_RANGE")] = 15502;
+  return values;
+})();
+
+/**
+ * DwarfErrorCode enum.
+ * @exports DwarfErrorCode
+ * @enum {number}
+ * @property {number} OK=0 OK value
+ * @property {number} WS_PARSE_PROTOBUF_ERROR=-1 WS_PARSE_PROTOBUF_ERROR value
+ * @property {number} WS_SDCARD_NOT_EXIST=-2 WS_SDCARD_NOT_EXIST value
+ * @property {number} WS_INVALID_PARAM=-3 WS_INVALID_PARAM value
+ * @property {number} WS_SDCARD_WRITE_ERROR=-4 WS_SDCARD_WRITE_ERROR value
+ * @property {number} CODE_CAMERA_TELE_OPENED=-10500 CODE_CAMERA_TELE_OPENED value
+ * @property {number} CODE_CAMERA_TELE_CLOSED=-10501 CODE_CAMERA_TELE_CLOSED value
+ * @property {number} CODE_CAMERA_TELE_ISP_SET_FAILED=-10502 CODE_CAMERA_TELE_ISP_SET_FAILED value
+ * @property {number} CODE_CAMERA_TELE_OPEN_FAILED=-10504 CODE_CAMERA_TELE_OPEN_FAILED value
+ * @property {number} CODE_CAMERA_TELE_RECORDING=-10506 CODE_CAMERA_TELE_RECORDING value
+ * @property {number} CODE_CAMERA_TELE_WORKING_BUSY_STACK=-10507 CODE_CAMERA_TELE_WORKING_BUSY_STACK value
+ * @property {number} CODE_CAMERA_TELE_CAPTURE_RAW_FAILED=-10510 CODE_CAMERA_TELE_CAPTURE_RAW_FAILED value
+ * @property {number} CODE_CAMERA_TELE_WORKING_BUSY=-10511 CODE_CAMERA_TELE_WORKING_BUSY value
+ * @property {number} CODE_ASTRO_PLATE_SOLVING_FAILED=-11500 CODE_ASTRO_PLATE_SOLVING_FAILED value
+ * @property {number} CODE_ASTRO_FUNCTION_BUSY=-11501 CODE_ASTRO_FUNCTION_BUSY value
+ * @property {number} CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE=-11502 CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE value
+ * @property {number} CODE_ASTRO_DARK_NOT_FOUND=-11503 CODE_ASTRO_DARK_NOT_FOUND value
+ * @property {number} CODE_ASTRO_CALIBRATION_FAILED=-11504 CODE_ASTRO_CALIBRATION_FAILED value
+ * @property {number} CODE_ASTRO_GOTO_FAILED=-11505 CODE_ASTRO_GOTO_FAILED value
+ * @property {number} CODE_ASTRO_NEED_GOTO=-11513 CODE_ASTRO_NEED_GOTO value
+ * @property {number} CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM=-11514 CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM value
+ * @property {number} CODE_ASTRO_EQ_SOLVING_FAILED=-11516 CODE_ASTRO_EQ_SOLVING_FAILED value
+ * @property {number} CODE_ASTRO_SKY_SEARCH_FAILED=-11517 CODE_ASTRO_SKY_SEARCH_FAILED value
+ * @property {number} CODE_CAMERA_WIDE_OPENED=-12500 CODE_CAMERA_WIDE_OPENED value
+ * @property {number} CODE_CAMERA_WIDE_CLOSED=-12501 CODE_CAMERA_WIDE_CLOSED value
+ * @property {number} CODE_CAMERA_WIDE_CANNOT_FOUND=-12502 CODE_CAMERA_WIDE_CANNOT_FOUND value
+ * @property {number} CODE_CAMERA_WIDE_OPEN_FAILED=-12503 CODE_CAMERA_WIDE_OPEN_FAILED value
+ * @property {number} CODE_CAMERA_WIDE_CLOSE_FAILED=-12504 CODE_CAMERA_WIDE_CLOSE_FAILED value
+ * @property {number} CODE_CAMERA_WIDE_SET_ISP_FAILED=-12505 CODE_CAMERA_WIDE_SET_ISP_FAILED value
+ * @property {number} CODE_CAMERA_WIDE_PHOTOGRAPHING=-12506 CODE_CAMERA_WIDE_PHOTOGRAPHING value
+ * @property {number} CODE_CAMERA_WIDE_EXP_TOO_LONG=-12508 CODE_CAMERA_WIDE_EXP_TOO_LONG value
+ * @property {number} CODE_SYSTEM_SET_TIME_FAILED=-13300 CODE_SYSTEM_SET_TIME_FAILED value
+ * @property {number} CODE_SYSTEM_SET_TIMEZONE_FAILED=-13301 CODE_SYSTEM_SET_TIMEZONE_FAILED value
+ * @property {number} CODE_SYSTEM_SETTING_TIMEZONE_FAILED=-13302 CODE_SYSTEM_SETTING_TIMEZONE_FAILED value
+ * @property {number} CODE_RGB_POWER_UART_INIT_FAILED=-13800 CODE_RGB_POWER_UART_INIT_FAILED value
+ * @property {number} CODE_STEP_MOTOR_INVALID_PARAMETER_ID=-14504 CODE_STEP_MOTOR_INVALID_PARAMETER_ID value
+ * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_WARNING=-14518 CODE_STEP_MOTOR_LIMIT_POSITION_WARNING value
+ * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_HITTED=-14519 CODE_STEP_MOTOR_LIMIT_POSITION_HITTED value
+ * @property {number} CODE_STEP_MOTOR_POSITION_NEED_RESET=-14520 CODE_STEP_MOTOR_POSITION_NEED_RESET value
+ * @property {number} CODE_TRACK_TRACKER_INITING=-14900 CODE_TRACK_TRACKER_INITING value
+ * @property {number} CODE_TRACK_TRACKER_FAILED=-14901 CODE_TRACK_TRACKER_FAILED value
+ * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR=-15100 CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR value
+ * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR=-15101 CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR value
+ * @property {number} CODE_PANORAMA_PHOTO_FAILED=-15600 CODE_PANORAMA_PHOTO_FAILED value
+ * @property {number} CODE_PANORAMA_MOTOR_RESET_FAILED=-15601 CODE_PANORAMA_MOTOR_RESET_FAILED value
+ */
+$root.DwarfErrorCode = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "OK")] = 0;
+  values[(valuesById[-1] = "WS_PARSE_PROTOBUF_ERROR")] = -1;
+  values[(valuesById[-2] = "WS_SDCARD_NOT_EXIST")] = -2;
+  values[(valuesById[-3] = "WS_INVALID_PARAM")] = -3;
+  values[(valuesById[-4] = "WS_SDCARD_WRITE_ERROR")] = -4;
+  values[(valuesById[-10500] = "CODE_CAMERA_TELE_OPENED")] = -10500;
+  values[(valuesById[-10501] = "CODE_CAMERA_TELE_CLOSED")] = -10501;
+  values[(valuesById[-10502] = "CODE_CAMERA_TELE_ISP_SET_FAILED")] = -10502;
+  values[(valuesById[-10504] = "CODE_CAMERA_TELE_OPEN_FAILED")] = -10504;
+  values[(valuesById[-10506] = "CODE_CAMERA_TELE_RECORDING")] = -10506;
+  values[(valuesById[-10507] = "CODE_CAMERA_TELE_WORKING_BUSY_STACK")] = -10507;
+  values[(valuesById[-10510] = "CODE_CAMERA_TELE_CAPTURE_RAW_FAILED")] = -10510;
+  values[(valuesById[-10511] = "CODE_CAMERA_TELE_WORKING_BUSY")] = -10511;
+  values[(valuesById[-11500] = "CODE_ASTRO_PLATE_SOLVING_FAILED")] = -11500;
+  values[(valuesById[-11501] = "CODE_ASTRO_FUNCTION_BUSY")] = -11501;
+  values[(valuesById[-11502] = "CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE")] = -11502;
+  values[(valuesById[-11503] = "CODE_ASTRO_DARK_NOT_FOUND")] = -11503;
+  values[(valuesById[-11504] = "CODE_ASTRO_CALIBRATION_FAILED")] = -11504;
+  values[(valuesById[-11505] = "CODE_ASTRO_GOTO_FAILED")] = -11505;
+  values[(valuesById[-11513] = "CODE_ASTRO_NEED_GOTO")] = -11513;
+  values[(valuesById[-11514] = "CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM")] = -11514;
+  values[(valuesById[-11516] = "CODE_ASTRO_EQ_SOLVING_FAILED")] = -11516;
+  values[(valuesById[-11517] = "CODE_ASTRO_SKY_SEARCH_FAILED")] = -11517;
+  values[(valuesById[-12500] = "CODE_CAMERA_WIDE_OPENED")] = -12500;
+  values[(valuesById[-12501] = "CODE_CAMERA_WIDE_CLOSED")] = -12501;
+  values[(valuesById[-12502] = "CODE_CAMERA_WIDE_CANNOT_FOUND")] = -12502;
+  values[(valuesById[-12503] = "CODE_CAMERA_WIDE_OPEN_FAILED")] = -12503;
+  values[(valuesById[-12504] = "CODE_CAMERA_WIDE_CLOSE_FAILED")] = -12504;
+  values[(valuesById[-12505] = "CODE_CAMERA_WIDE_SET_ISP_FAILED")] = -12505;
+  values[(valuesById[-12506] = "CODE_CAMERA_WIDE_PHOTOGRAPHING")] = -12506;
+  values[(valuesById[-12508] = "CODE_CAMERA_WIDE_EXP_TOO_LONG")] = -12508;
+  values[(valuesById[-13300] = "CODE_SYSTEM_SET_TIME_FAILED")] = -13300;
+  values[(valuesById[-13301] = "CODE_SYSTEM_SET_TIMEZONE_FAILED")] = -13301;
+  values[(valuesById[-13302] = "CODE_SYSTEM_SETTING_TIMEZONE_FAILED")] = -13302;
+  values[(valuesById[-13800] = "CODE_RGB_POWER_UART_INIT_FAILED")] = -13800;
+  values[(valuesById[-14504] = "CODE_STEP_MOTOR_INVALID_PARAMETER_ID")] =
+    -14504;
+  values[(valuesById[-14518] = "CODE_STEP_MOTOR_LIMIT_POSITION_WARNING")] =
+    -14518;
+  values[(valuesById[-14519] = "CODE_STEP_MOTOR_LIMIT_POSITION_HITTED")] =
+    -14519;
+  values[(valuesById[-14520] = "CODE_STEP_MOTOR_POSITION_NEED_RESET")] = -14520;
+  values[(valuesById[-14900] = "CODE_TRACK_TRACKER_INITING")] = -14900;
+  values[(valuesById[-14901] = "CODE_TRACK_TRACKER_FAILED")] = -14901;
+  values[(valuesById[-15100] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR")] =
+    -15100;
+  values[(valuesById[-15101] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR")] =
+    -15101;
+  values[(valuesById[-15600] = "CODE_PANORAMA_PHOTO_FAILED")] = -15600;
+  values[(valuesById[-15601] = "CODE_PANORAMA_MOTOR_RESET_FAILED")] = -15601;
+  return values;
+})();
+
+/**
+ * AstroTrackingSpecial enum.
+ * @exports AstroTrackingSpecial
+ * @enum {number}
+ * @property {number} TRACKING_SUN=0 TRACKING_SUN value
+ * @property {number} TRACKING_MOON=1 TRACKING_MOON value
+ */
+$root.AstroTrackingSpecial = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "TRACKING_SUN")] = 0;
+  values[(valuesById[1] = "TRACKING_MOON")] = 1;
+  return values;
+})();
+
+/**
+ * SolarSystemTarget enum.
+ * @exports SolarSystemTarget
+ * @enum {number}
+ * @property {number} Unknown=0 Unknown value
+ * @property {number} Mercury=1 Mercury value
+ * @property {number} Venus=2 Venus value
+ * @property {number} Mars=3 Mars value
+ * @property {number} Jupiter=4 Jupiter value
+ * @property {number} Saturn=5 Saturn value
+ * @property {number} Uranus=6 Uranus value
+ * @property {number} Neptune=7 Neptune value
+ * @property {number} Moon=8 Moon value
+ * @property {number} Sun=9 Sun value
+ */
+$root.SolarSystemTarget = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "Unknown")] = 0;
+  values[(valuesById[1] = "Mercury")] = 1;
+  values[(valuesById[2] = "Venus")] = 2;
+  values[(valuesById[3] = "Mars")] = 3;
+  values[(valuesById[4] = "Jupiter")] = 4;
+  values[(valuesById[5] = "Saturn")] = 5;
+  values[(valuesById[6] = "Uranus")] = 6;
+  values[(valuesById[7] = "Neptune")] = 7;
+  values[(valuesById[8] = "Moon")] = 8;
+  values[(valuesById[9] = "Sun")] = 9;
+  return values;
+})();
+
+/**
+ * PhotoMode enum.
+ * @exports PhotoMode
+ * @enum {number}
+ * @property {number} Auto=0 Auto value
+ * @property {number} Manual=1 Manual value
+ */
+$root.PhotoMode = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "Auto")] = 0;
+  values[(valuesById[1] = "Manual")] = 1;
+  return values;
+})();
+
+/**
+ * WBMode enum.
+ * @exports WBMode
+ * @enum {number}
+ * @property {number} ColorTemperature=0 ColorTemperature value
+ * @property {number} SceneMode=1 SceneMode value
+ */
+$root.WBMode = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "ColorTemperature")] = 0;
+  values[(valuesById[1] = "SceneMode")] = 1;
+  return values;
+})();
+
+/**
+ * IrCut enum.
+ * @exports IrCut
+ * @enum {number}
+ * @property {number} CUT=0 CUT value
+ * @property {number} PASS=1 PASS value
+ */
+$root.IrCut = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "CUT")] = 0;
+  values[(valuesById[1] = "PASS")] = 1;
+  return values;
+})();
+
+$root.ReqOpenRgb = (function () {
+  /**
+   * Properties of a ReqOpenRgb.
+   * @exports IReqOpenRgb
+   * @interface IReqOpenRgb
+   */
+
+  /**
+   * Constructs a new ReqOpenRgb.
+   * @exports ReqOpenRgb
+   * @classdesc Represents a ReqOpenRgb.
+   * @implements IReqOpenRgb
+   * @constructor
+   * @param {IReqOpenRgb=} [properties] Properties to set
+   */
+  function ReqOpenRgb(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqOpenRgb instance using the specified properties.
+   * @function create
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {IReqOpenRgb=} [properties] Properties to set
+   * @returns {ReqOpenRgb} ReqOpenRgb instance
+   */
+  ReqOpenRgb.create = function create(properties) {
+    return new ReqOpenRgb(properties);
+  };
+
+  /**
+   * Encodes the specified ReqOpenRgb message. Does not implicitly {@link ReqOpenRgb.verify|verify} messages.
+   * @function encode
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenRgb.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly {@link ReqOpenRgb.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenRgb.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqOpenRgb message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqOpenRgb} ReqOpenRgb
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenRgb.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqOpenRgb();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqOpenRgb} ReqOpenRgb
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenRgb.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqOpenRgb message.
+   * @function verify
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqOpenRgb.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqOpenRgb} ReqOpenRgb
+   */
+  ReqOpenRgb.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqOpenRgb) return object;
+    return new $root.ReqOpenRgb();
+  };
+
+  /**
+   * Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {ReqOpenRgb} message ReqOpenRgb
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqOpenRgb.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqOpenRgb to JSON.
+   * @function toJSON
+   * @memberof ReqOpenRgb
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqOpenRgb.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqOpenRgb
+   * @function getTypeUrl
+   * @memberof ReqOpenRgb
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqOpenRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqOpenRgb";
+  };
+
+  return ReqOpenRgb;
+})();
+
+$root.ReqCloseRgb = (function () {
+  /**
+   * Properties of a ReqCloseRgb.
+   * @exports IReqCloseRgb
+   * @interface IReqCloseRgb
+   */
+
+  /**
+   * Constructs a new ReqCloseRgb.
+   * @exports ReqCloseRgb
+   * @classdesc Represents a ReqCloseRgb.
+   * @implements IReqCloseRgb
+   * @constructor
+   * @param {IReqCloseRgb=} [properties] Properties to set
+   */
+  function ReqCloseRgb(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqCloseRgb instance using the specified properties.
+   * @function create
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {IReqCloseRgb=} [properties] Properties to set
+   * @returns {ReqCloseRgb} ReqCloseRgb instance
+   */
+  ReqCloseRgb.create = function create(properties) {
+    return new ReqCloseRgb(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCloseRgb message. Does not implicitly {@link ReqCloseRgb.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCloseRgb.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly {@link ReqCloseRgb.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCloseRgb.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCloseRgb message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCloseRgb} ReqCloseRgb
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCloseRgb.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCloseRgb();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCloseRgb} ReqCloseRgb
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCloseRgb.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCloseRgb message.
+   * @function verify
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCloseRgb.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCloseRgb} ReqCloseRgb
+   */
+  ReqCloseRgb.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCloseRgb) return object;
+    return new $root.ReqCloseRgb();
+  };
+
+  /**
+   * Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {ReqCloseRgb} message ReqCloseRgb
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCloseRgb.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqCloseRgb to JSON.
+   * @function toJSON
+   * @memberof ReqCloseRgb
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCloseRgb.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCloseRgb
+   * @function getTypeUrl
+   * @memberof ReqCloseRgb
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCloseRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCloseRgb";
+  };
+
+  return ReqCloseRgb;
+})();
+
+$root.ReqPowerDown = (function () {
+  /**
+   * Properties of a ReqPowerDown.
+   * @exports IReqPowerDown
+   * @interface IReqPowerDown
+   */
+
+  /**
+   * Constructs a new ReqPowerDown.
+   * @exports ReqPowerDown
+   * @classdesc Represents a ReqPowerDown.
+   * @implements IReqPowerDown
+   * @constructor
+   * @param {IReqPowerDown=} [properties] Properties to set
+   */
+  function ReqPowerDown(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqPowerDown instance using the specified properties.
+   * @function create
+   * @memberof ReqPowerDown
+   * @static
+   * @param {IReqPowerDown=} [properties] Properties to set
+   * @returns {ReqPowerDown} ReqPowerDown instance
+   */
+  ReqPowerDown.create = function create(properties) {
+    return new ReqPowerDown(properties);
+  };
+
+  /**
+   * Encodes the specified ReqPowerDown message. Does not implicitly {@link ReqPowerDown.verify|verify} messages.
+   * @function encode
+   * @memberof ReqPowerDown
+   * @static
+   * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPowerDown.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqPowerDown message, length delimited. Does not implicitly {@link ReqPowerDown.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqPowerDown
+   * @static
+   * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPowerDown.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqPowerDown message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqPowerDown
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqPowerDown} ReqPowerDown
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPowerDown.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqPowerDown();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqPowerDown message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqPowerDown
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqPowerDown} ReqPowerDown
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPowerDown.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqPowerDown message.
+   * @function verify
+   * @memberof ReqPowerDown
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqPowerDown.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqPowerDown
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqPowerDown} ReqPowerDown
+   */
+  ReqPowerDown.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqPowerDown) return object;
+    return new $root.ReqPowerDown();
+  };
+
+  /**
+   * Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqPowerDown
+   * @static
+   * @param {ReqPowerDown} message ReqPowerDown
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqPowerDown.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqPowerDown to JSON.
+   * @function toJSON
+   * @memberof ReqPowerDown
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqPowerDown.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqPowerDown
+   * @function getTypeUrl
+   * @memberof ReqPowerDown
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqPowerDown.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqPowerDown";
+  };
+
+  return ReqPowerDown;
+})();
+
+$root.ReqOpenPowerInd = (function () {
+  /**
+   * Properties of a ReqOpenPowerInd.
+   * @exports IReqOpenPowerInd
+   * @interface IReqOpenPowerInd
+   */
+
+  /**
+   * Constructs a new ReqOpenPowerInd.
+   * @exports ReqOpenPowerInd
+   * @classdesc Represents a ReqOpenPowerInd.
+   * @implements IReqOpenPowerInd
+   * @constructor
+   * @param {IReqOpenPowerInd=} [properties] Properties to set
+   */
+  function ReqOpenPowerInd(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqOpenPowerInd instance using the specified properties.
+   * @function create
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {IReqOpenPowerInd=} [properties] Properties to set
+   * @returns {ReqOpenPowerInd} ReqOpenPowerInd instance
+   */
+  ReqOpenPowerInd.create = function create(properties) {
+    return new ReqOpenPowerInd(properties);
+  };
+
+  /**
+   * Encodes the specified ReqOpenPowerInd message. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages.
+   * @function encode
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenPowerInd.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqOpenPowerInd.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqOpenPowerInd message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqOpenPowerInd} ReqOpenPowerInd
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenPowerInd.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqOpenPowerInd();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqOpenPowerInd} ReqOpenPowerInd
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqOpenPowerInd.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqOpenPowerInd message.
+   * @function verify
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqOpenPowerInd.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqOpenPowerInd} ReqOpenPowerInd
+   */
+  ReqOpenPowerInd.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqOpenPowerInd) return object;
+    return new $root.ReqOpenPowerInd();
+  };
+
+  /**
+   * Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {ReqOpenPowerInd} message ReqOpenPowerInd
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqOpenPowerInd.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqOpenPowerInd to JSON.
+   * @function toJSON
+   * @memberof ReqOpenPowerInd
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqOpenPowerInd.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqOpenPowerInd
+   * @function getTypeUrl
+   * @memberof ReqOpenPowerInd
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqOpenPowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqOpenPowerInd";
+  };
+
+  return ReqOpenPowerInd;
+})();
+
+$root.ReqClosePowerInd = (function () {
+  /**
+   * Properties of a ReqClosePowerInd.
+   * @exports IReqClosePowerInd
+   * @interface IReqClosePowerInd
+   */
+
+  /**
+   * Constructs a new ReqClosePowerInd.
+   * @exports ReqClosePowerInd
+   * @classdesc Represents a ReqClosePowerInd.
+   * @implements IReqClosePowerInd
+   * @constructor
+   * @param {IReqClosePowerInd=} [properties] Properties to set
+   */
+  function ReqClosePowerInd(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqClosePowerInd instance using the specified properties.
+   * @function create
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {IReqClosePowerInd=} [properties] Properties to set
+   * @returns {ReqClosePowerInd} ReqClosePowerInd instance
+   */
+  ReqClosePowerInd.create = function create(properties) {
+    return new ReqClosePowerInd(properties);
+  };
+
+  /**
+   * Encodes the specified ReqClosePowerInd message. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages.
+   * @function encode
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqClosePowerInd.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqClosePowerInd.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqClosePowerInd message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqClosePowerInd} ReqClosePowerInd
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqClosePowerInd.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqClosePowerInd();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqClosePowerInd} ReqClosePowerInd
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqClosePowerInd.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqClosePowerInd message.
+   * @function verify
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqClosePowerInd.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqClosePowerInd} ReqClosePowerInd
+   */
+  ReqClosePowerInd.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqClosePowerInd) return object;
+    return new $root.ReqClosePowerInd();
+  };
+
+  /**
+   * Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {ReqClosePowerInd} message ReqClosePowerInd
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqClosePowerInd.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqClosePowerInd to JSON.
+   * @function toJSON
+   * @memberof ReqClosePowerInd
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqClosePowerInd.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqClosePowerInd
+   * @function getTypeUrl
+   * @memberof ReqClosePowerInd
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqClosePowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqClosePowerInd";
+  };
+
+  return ReqClosePowerInd;
+})();
+
+$root.ReqReboot = (function () {
+  /**
+   * Properties of a ReqReboot.
+   * @exports IReqReboot
+   * @interface IReqReboot
+   */
+
+  /**
+   * Constructs a new ReqReboot.
+   * @exports ReqReboot
+   * @classdesc Represents a ReqReboot.
+   * @implements IReqReboot
+   * @constructor
+   * @param {IReqReboot=} [properties] Properties to set
+   */
+  function ReqReboot(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqReboot instance using the specified properties.
+   * @function create
+   * @memberof ReqReboot
+   * @static
+   * @param {IReqReboot=} [properties] Properties to set
+   * @returns {ReqReboot} ReqReboot instance
+   */
+  ReqReboot.create = function create(properties) {
+    return new ReqReboot(properties);
+  };
+
+  /**
+   * Encodes the specified ReqReboot message. Does not implicitly {@link ReqReboot.verify|verify} messages.
+   * @function encode
+   * @memberof ReqReboot
+   * @static
+   * @param {IReqReboot} message ReqReboot message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReboot.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqReboot message, length delimited. Does not implicitly {@link ReqReboot.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqReboot
+   * @static
+   * @param {IReqReboot} message ReqReboot message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReboot.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqReboot message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqReboot
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqReboot} ReqReboot
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReboot.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqReboot();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqReboot message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqReboot
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqReboot} ReqReboot
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReboot.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqReboot message.
+   * @function verify
+   * @memberof ReqReboot
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqReboot.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqReboot message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqReboot
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqReboot} ReqReboot
+   */
+  ReqReboot.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqReboot) return object;
+    return new $root.ReqReboot();
+  };
+
+  /**
+   * Creates a plain object from a ReqReboot message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqReboot
+   * @static
+   * @param {ReqReboot} message ReqReboot
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqReboot.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqReboot to JSON.
+   * @function toJSON
+   * @memberof ReqReboot
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqReboot.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqReboot
+   * @function getTypeUrl
+   * @memberof ReqReboot
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqReboot.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqReboot";
+  };
+
+  return ReqReboot;
+})();
+
+/**
+ * ShootingScheduleState enum.
+ * @exports ShootingScheduleState
+ * @enum {number}
+ * @property {number} SHOOTING_SCHEDULE_STATE_INITIALIZED=0 SHOOTING_SCHEDULE_STATE_INITIALIZED value
+ * @property {number} SHOOTING_SCHEDULE_STATE_PENDING_SHOOT=1 SHOOTING_SCHEDULE_STATE_PENDING_SHOOT value
+ * @property {number} SHOOTING_SCHEDULE_STATE_SHOOTING=2 SHOOTING_SCHEDULE_STATE_SHOOTING value
+ * @property {number} SHOOTING_SCHEDULE_STATE_COMPLETED=3 SHOOTING_SCHEDULE_STATE_COMPLETED value
+ * @property {number} SHOOTING_SCHEDULE_STATE_EXPIRED=4 SHOOTING_SCHEDULE_STATE_EXPIRED value
+ */
+$root.ShootingScheduleState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SHOOTING_SCHEDULE_STATE_INITIALIZED")] = 0;
+  values[(valuesById[1] = "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT")] = 1;
+  values[(valuesById[2] = "SHOOTING_SCHEDULE_STATE_SHOOTING")] = 2;
+  values[(valuesById[3] = "SHOOTING_SCHEDULE_STATE_COMPLETED")] = 3;
+  values[(valuesById[4] = "SHOOTING_SCHEDULE_STATE_EXPIRED")] = 4;
+  return values;
+})();
+
+/**
+ * ShootingScheduleSyncState enum.
+ * @exports ShootingScheduleSyncState
+ * @enum {number}
+ * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC=0 SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC value
+ * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_SYNCED=1 SHOOTING_SCHEDULE_SYNC_STATE_SYNCED value
+ */
+$root.ShootingScheduleSyncState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC")] = 0;
+  values[(valuesById[1] = "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED")] = 1;
+  return values;
+})();
+
+/**
+ * ShootingScheduleResult enum.
+ * @exports ShootingScheduleResult
+ * @enum {number}
+ * @property {number} SHOOTING_SCHEDULE_RESULT_PENDING_START=0 SHOOTING_SCHEDULE_RESULT_PENDING_START value
+ * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED=1 SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED value
+ * @property {number} SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED=2 SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED value
+ * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_FAILED=3 SHOOTING_SCHEDULE_RESULT_ALL_FAILED value
+ */
+$root.ShootingScheduleResult = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SHOOTING_SCHEDULE_RESULT_PENDING_START")] = 0;
+  values[(valuesById[1] = "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED")] = 1;
+  values[(valuesById[2] = "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED")] = 2;
+  values[(valuesById[3] = "SHOOTING_SCHEDULE_RESULT_ALL_FAILED")] = 3;
+  return values;
+})();
+
+/**
+ * ShootingTaskState enum.
+ * @exports ShootingTaskState
+ * @enum {number}
+ * @property {number} SHOOTING_TASK_STATUS_IDLE=0 SHOOTING_TASK_STATUS_IDLE value
+ * @property {number} SHOOTING_TASK_STATUS_SHOOTING=1 SHOOTING_TASK_STATUS_SHOOTING value
+ * @property {number} SHOOTING_TASK_STATUS_SUCCESS=2 SHOOTING_TASK_STATUS_SUCCESS value
+ * @property {number} SHOOTING_TASK_STATUS_FAILED=3 SHOOTING_TASK_STATUS_FAILED value
+ * @property {number} SHOOTING_TASK_STATUS_INTERRUPTED=4 SHOOTING_TASK_STATUS_INTERRUPTED value
+ */
+$root.ShootingTaskState = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SHOOTING_TASK_STATUS_IDLE")] = 0;
+  values[(valuesById[1] = "SHOOTING_TASK_STATUS_SHOOTING")] = 1;
+  values[(valuesById[2] = "SHOOTING_TASK_STATUS_SUCCESS")] = 2;
+  values[(valuesById[3] = "SHOOTING_TASK_STATUS_FAILED")] = 3;
+  values[(valuesById[4] = "SHOOTING_TASK_STATUS_INTERRUPTED")] = 4;
+  return values;
+})();
+
+/**
+ * ShootingScheduleMode enum.
+ * @exports ShootingScheduleMode
+ * @enum {number}
+ * @property {number} SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY=0 SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY value
+ */
+$root.ShootingScheduleMode = (function () {
+  var valuesById = {},
+    values = Object.create(valuesById);
+  values[(valuesById[0] = "SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY")] = 0;
+  return values;
+})();
+
+$root.ShootingTaskMsg = (function () {
+  /**
+   * Properties of a ShootingTaskMsg.
+   * @exports IShootingTaskMsg
+   * @interface IShootingTaskMsg
+   * @property {string|null} [scheduleId] ShootingTaskMsg scheduleId
+   * @property {string|null} [params] ShootingTaskMsg params
+   * @property {ShootingTaskState|null} [state] ShootingTaskMsg state
+   * @property {number|null} [code] ShootingTaskMsg code
+   * @property {number|Long|null} [createdTime] ShootingTaskMsg createdTime
+   * @property {number|Long|null} [updatedTime] ShootingTaskMsg updatedTime
+   * @property {string|null} [scheduleTaskId] ShootingTaskMsg scheduleTaskId
+   * @property {number|null} [paramMode] ShootingTaskMsg paramMode
+   * @property {number|null} [paramVersion] ShootingTaskMsg paramVersion
+   * @property {number|null} [createFrom] ShootingTaskMsg createFrom
+   */
+
+  /**
+   * Constructs a new ShootingTaskMsg.
+   * @exports ShootingTaskMsg
+   * @classdesc Represents a ShootingTaskMsg.
+   * @implements IShootingTaskMsg
+   * @constructor
+   * @param {IShootingTaskMsg=} [properties] Properties to set
+   */
+  function ShootingTaskMsg(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ShootingTaskMsg scheduleId.
+   * @member {string} scheduleId
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.scheduleId = "";
+
+  /**
+   * ShootingTaskMsg params.
+   * @member {string} params
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.params = "";
+
+  /**
+   * ShootingTaskMsg state.
+   * @member {ShootingTaskState} state
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.state = 0;
+
+  /**
+   * ShootingTaskMsg code.
+   * @member {number} code
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.code = 0;
+
+  /**
+   * ShootingTaskMsg createdTime.
+   * @member {number|Long} createdTime
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.createdTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingTaskMsg updatedTime.
+   * @member {number|Long} updatedTime
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.updatedTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingTaskMsg scheduleTaskId.
+   * @member {string} scheduleTaskId
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.scheduleTaskId = "";
+
+  /**
+   * ShootingTaskMsg paramMode.
+   * @member {number} paramMode
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.paramMode = 0;
+
+  /**
+   * ShootingTaskMsg paramVersion.
+   * @member {number} paramVersion
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.paramVersion = 0;
+
+  /**
+   * ShootingTaskMsg createFrom.
+   * @member {number} createFrom
+   * @memberof ShootingTaskMsg
+   * @instance
+   */
+  ShootingTaskMsg.prototype.createFrom = 0;
+
+  /**
+   * Creates a new ShootingTaskMsg instance using the specified properties.
+   * @function create
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {IShootingTaskMsg=} [properties] Properties to set
+   * @returns {ShootingTaskMsg} ShootingTaskMsg instance
+   */
+  ShootingTaskMsg.create = function create(properties) {
+    return new ShootingTaskMsg(properties);
+  };
+
+  /**
+   * Encodes the specified ShootingTaskMsg message. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages.
+   * @function encode
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ShootingTaskMsg.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.scheduleId != null &&
+      Object.hasOwnProperty.call(message, "scheduleId")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId);
+    if (message.params != null && Object.hasOwnProperty.call(message, "params"))
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.params);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.code);
+    if (
+      message.createdTime != null &&
+      Object.hasOwnProperty.call(message, "createdTime")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.createdTime);
+    if (
+      message.updatedTime != null &&
+      Object.hasOwnProperty.call(message, "updatedTime")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.updatedTime);
+    if (
+      message.scheduleTaskId != null &&
+      Object.hasOwnProperty.call(message, "scheduleTaskId")
+    )
+      writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.scheduleTaskId);
+    if (
+      message.paramMode != null &&
+      Object.hasOwnProperty.call(message, "paramMode")
+    )
+      writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.paramMode);
+    if (
+      message.paramVersion != null &&
+      Object.hasOwnProperty.call(message, "paramVersion")
+    )
+      writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.paramVersion);
+    if (
+      message.createFrom != null &&
+      Object.hasOwnProperty.call(message, "createFrom")
+    )
+      writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.createFrom);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ShootingTaskMsg.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ShootingTaskMsg message from the specified reader or buffer.
+   * @function decode
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ShootingTaskMsg} ShootingTaskMsg
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ShootingTaskMsg.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ShootingTaskMsg();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.scheduleId = reader.string();
+          break;
+        }
+        case 2: {
+          message.params = reader.string();
+          break;
+        }
+        case 3: {
+          message.state = reader.int32();
+          break;
+        }
+        case 4: {
+          message.code = reader.int32();
+          break;
+        }
+        case 5: {
+          message.createdTime = reader.int64();
+          break;
+        }
+        case 6: {
+          message.updatedTime = reader.int64();
+          break;
+        }
+        case 7: {
+          message.scheduleTaskId = reader.string();
+          break;
+        }
+        case 8: {
+          message.paramMode = reader.int32();
+          break;
+        }
+        case 9: {
+          message.paramVersion = reader.int32();
+          break;
+        }
+        case 10: {
+          message.createFrom = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ShootingTaskMsg} ShootingTaskMsg
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ShootingTaskMsg.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ShootingTaskMsg message.
+   * @function verify
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ShootingTaskMsg.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      if (!$util.isString(message.scheduleId))
+        return "scheduleId: string expected";
+    if (message.params != null && message.hasOwnProperty("params"))
+      if (!$util.isString(message.params)) return "params: string expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+        case 4:
+          break;
+      }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.createdTime != null && message.hasOwnProperty("createdTime"))
+      if (
+        !$util.isInteger(message.createdTime) &&
+        !(
+          message.createdTime &&
+          $util.isInteger(message.createdTime.low) &&
+          $util.isInteger(message.createdTime.high)
+        )
+      )
+        return "createdTime: integer|Long expected";
+    if (message.updatedTime != null && message.hasOwnProperty("updatedTime"))
+      if (
+        !$util.isInteger(message.updatedTime) &&
+        !(
+          message.updatedTime &&
+          $util.isInteger(message.updatedTime.low) &&
+          $util.isInteger(message.updatedTime.high)
+        )
+      )
+        return "updatedTime: integer|Long expected";
+    if (
+      message.scheduleTaskId != null &&
+      message.hasOwnProperty("scheduleTaskId")
+    )
+      if (!$util.isString(message.scheduleTaskId))
+        return "scheduleTaskId: string expected";
+    if (message.paramMode != null && message.hasOwnProperty("paramMode"))
+      if (!$util.isInteger(message.paramMode))
+        return "paramMode: integer expected";
+    if (message.paramVersion != null && message.hasOwnProperty("paramVersion"))
+      if (!$util.isInteger(message.paramVersion))
+        return "paramVersion: integer expected";
+    if (message.createFrom != null && message.hasOwnProperty("createFrom"))
+      if (!$util.isInteger(message.createFrom))
+        return "createFrom: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ShootingTaskMsg} ShootingTaskMsg
+   */
+  ShootingTaskMsg.fromObject = function fromObject(object) {
+    if (object instanceof $root.ShootingTaskMsg) return object;
+    var message = new $root.ShootingTaskMsg();
+    if (object.scheduleId != null)
+      message.scheduleId = String(object.scheduleId);
+    if (object.params != null) message.params = String(object.params);
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "SHOOTING_TASK_STATUS_IDLE":
+      case 0:
+        message.state = 0;
+        break;
+      case "SHOOTING_TASK_STATUS_SHOOTING":
+      case 1:
+        message.state = 1;
+        break;
+      case "SHOOTING_TASK_STATUS_SUCCESS":
+      case 2:
+        message.state = 2;
+        break;
+      case "SHOOTING_TASK_STATUS_FAILED":
+      case 3:
+        message.state = 3;
+        break;
+      case "SHOOTING_TASK_STATUS_INTERRUPTED":
+      case 4:
+        message.state = 4;
+        break;
+    }
+    if (object.code != null) message.code = object.code | 0;
+    if (object.createdTime != null)
+      if ($util.Long)
+        (message.createdTime = $util.Long.fromValue(
+          object.createdTime
+        )).unsigned = false;
+      else if (typeof object.createdTime === "string")
+        message.createdTime = parseInt(object.createdTime, 10);
+      else if (typeof object.createdTime === "number")
+        message.createdTime = object.createdTime;
+      else if (typeof object.createdTime === "object")
+        message.createdTime = new $util.LongBits(
+          object.createdTime.low >>> 0,
+          object.createdTime.high >>> 0
+        ).toNumber();
+    if (object.updatedTime != null)
+      if ($util.Long)
+        (message.updatedTime = $util.Long.fromValue(
+          object.updatedTime
+        )).unsigned = false;
+      else if (typeof object.updatedTime === "string")
+        message.updatedTime = parseInt(object.updatedTime, 10);
+      else if (typeof object.updatedTime === "number")
+        message.updatedTime = object.updatedTime;
+      else if (typeof object.updatedTime === "object")
+        message.updatedTime = new $util.LongBits(
+          object.updatedTime.low >>> 0,
+          object.updatedTime.high >>> 0
+        ).toNumber();
+    if (object.scheduleTaskId != null)
+      message.scheduleTaskId = String(object.scheduleTaskId);
+    if (object.paramMode != null) message.paramMode = object.paramMode | 0;
+    if (object.paramVersion != null)
+      message.paramVersion = object.paramVersion | 0;
+    if (object.createFrom != null) message.createFrom = object.createFrom | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {ShootingTaskMsg} message ShootingTaskMsg
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ShootingTaskMsg.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.scheduleId = "";
+      object.params = "";
+      object.state = options.enums === String ? "SHOOTING_TASK_STATUS_IDLE" : 0;
+      object.code = 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.createdTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.createdTime = options.longs === String ? "0" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.updatedTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.updatedTime = options.longs === String ? "0" : 0;
+      object.scheduleTaskId = "";
+      object.paramMode = 0;
+      object.paramVersion = 0;
+      object.createFrom = 0;
+    }
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      object.scheduleId = message.scheduleId;
+    if (message.params != null && message.hasOwnProperty("params"))
+      object.params = message.params;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.ShootingTaskState[message.state] === undefined
+            ? message.state
+            : $root.ShootingTaskState[message.state]
+          : message.state;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.createdTime != null && message.hasOwnProperty("createdTime"))
+      if (typeof message.createdTime === "number")
+        object.createdTime =
+          options.longs === String
+            ? String(message.createdTime)
+            : message.createdTime;
+      else
+        object.createdTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.createdTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.createdTime.low >>> 0,
+                message.createdTime.high >>> 0
+              ).toNumber()
+            : message.createdTime;
+    if (message.updatedTime != null && message.hasOwnProperty("updatedTime"))
+      if (typeof message.updatedTime === "number")
+        object.updatedTime =
+          options.longs === String
+            ? String(message.updatedTime)
+            : message.updatedTime;
+      else
+        object.updatedTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.updatedTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.updatedTime.low >>> 0,
+                message.updatedTime.high >>> 0
+              ).toNumber()
+            : message.updatedTime;
+    if (
+      message.scheduleTaskId != null &&
+      message.hasOwnProperty("scheduleTaskId")
+    )
+      object.scheduleTaskId = message.scheduleTaskId;
+    if (message.paramMode != null && message.hasOwnProperty("paramMode"))
+      object.paramMode = message.paramMode;
+    if (message.paramVersion != null && message.hasOwnProperty("paramVersion"))
+      object.paramVersion = message.paramVersion;
+    if (message.createFrom != null && message.hasOwnProperty("createFrom"))
+      object.createFrom = message.createFrom;
+    return object;
+  };
+
+  /**
+   * Converts this ShootingTaskMsg to JSON.
+   * @function toJSON
+   * @memberof ShootingTaskMsg
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ShootingTaskMsg.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ShootingTaskMsg
+   * @function getTypeUrl
+   * @memberof ShootingTaskMsg
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ShootingTaskMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ShootingTaskMsg";
+  };
+
+  return ShootingTaskMsg;
+})();
+
+$root.ShootingScheduleMsg = (function () {
+  /**
+   * Properties of a ShootingScheduleMsg.
+   * @exports IShootingScheduleMsg
+   * @interface IShootingScheduleMsg
+   * @property {string|null} [scheduleId] ShootingScheduleMsg scheduleId
+   * @property {string|null} [scheduleName] ShootingScheduleMsg scheduleName
+   * @property {number|null} [deviceId] ShootingScheduleMsg deviceId
+   * @property {string|null} [macAddress] ShootingScheduleMsg macAddress
+   * @property {number|Long|null} [startTime] ShootingScheduleMsg startTime
+   * @property {number|Long|null} [endTime] ShootingScheduleMsg endTime
+   * @property {ShootingScheduleResult|null} [result] ShootingScheduleMsg result
+   * @property {number|Long|null} [createdTime] ShootingScheduleMsg createdTime
+   * @property {number|Long|null} [updatedTime] ShootingScheduleMsg updatedTime
+   * @property {ShootingScheduleState|null} [state] ShootingScheduleMsg state
+   * @property {number|null} [lock] ShootingScheduleMsg lock
+   * @property {string|null} [password] ShootingScheduleMsg password
+   * @property {Array.<IShootingTaskMsg>|null} [shootingTasks] ShootingScheduleMsg shootingTasks
+   * @property {number|null} [paramMode] ShootingScheduleMsg paramMode
+   * @property {number|null} [paramVersion] ShootingScheduleMsg paramVersion
+   * @property {string|null} [params] ShootingScheduleMsg params
+   * @property {number|Long|null} [scheduleTime] ShootingScheduleMsg scheduleTime
+   * @property {ShootingScheduleSyncState|null} [syncState] ShootingScheduleMsg syncState
+   */
+
+  /**
+   * Constructs a new ShootingScheduleMsg.
+   * @exports ShootingScheduleMsg
+   * @classdesc Represents a ShootingScheduleMsg.
+   * @implements IShootingScheduleMsg
+   * @constructor
+   * @param {IShootingScheduleMsg=} [properties] Properties to set
+   */
+  function ShootingScheduleMsg(properties) {
+    this.shootingTasks = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ShootingScheduleMsg scheduleId.
+   * @member {string} scheduleId
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.scheduleId = "";
+
+  /**
+   * ShootingScheduleMsg scheduleName.
+   * @member {string} scheduleName
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.scheduleName = "";
+
+  /**
+   * ShootingScheduleMsg deviceId.
+   * @member {number} deviceId
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.deviceId = 0;
+
+  /**
+   * ShootingScheduleMsg macAddress.
+   * @member {string} macAddress
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.macAddress = "";
+
+  /**
+   * ShootingScheduleMsg startTime.
+   * @member {number|Long} startTime
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.startTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingScheduleMsg endTime.
+   * @member {number|Long} endTime
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.endTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingScheduleMsg result.
+   * @member {ShootingScheduleResult} result
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.result = 0;
+
+  /**
+   * ShootingScheduleMsg createdTime.
+   * @member {number|Long} createdTime
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.createdTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingScheduleMsg updatedTime.
+   * @member {number|Long} updatedTime
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.updatedTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingScheduleMsg state.
+   * @member {ShootingScheduleState} state
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.state = 0;
+
+  /**
+   * ShootingScheduleMsg lock.
+   * @member {number} lock
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.lock = 0;
+
+  /**
+   * ShootingScheduleMsg password.
+   * @member {string} password
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.password = "";
+
+  /**
+   * ShootingScheduleMsg shootingTasks.
+   * @member {Array.<IShootingTaskMsg>} shootingTasks
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.shootingTasks = $util.emptyArray;
+
+  /**
+   * ShootingScheduleMsg paramMode.
+   * @member {number} paramMode
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.paramMode = 0;
+
+  /**
+   * ShootingScheduleMsg paramVersion.
+   * @member {number} paramVersion
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.paramVersion = 0;
+
+  /**
+   * ShootingScheduleMsg params.
+   * @member {string} params
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.params = "";
+
+  /**
+   * ShootingScheduleMsg scheduleTime.
+   * @member {number|Long} scheduleTime
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.scheduleTime = $util.Long
+    ? $util.Long.fromBits(0, 0, false)
+    : 0;
+
+  /**
+   * ShootingScheduleMsg syncState.
+   * @member {ShootingScheduleSyncState} syncState
+   * @memberof ShootingScheduleMsg
+   * @instance
+   */
+  ShootingScheduleMsg.prototype.syncState = 0;
+
+  /**
+   * Creates a new ShootingScheduleMsg instance using the specified properties.
+   * @function create
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {IShootingScheduleMsg=} [properties] Properties to set
+   * @returns {ShootingScheduleMsg} ShootingScheduleMsg instance
+   */
+  ShootingScheduleMsg.create = function create(properties) {
+    return new ShootingScheduleMsg(properties);
+  };
+
+  /**
+   * Encodes the specified ShootingScheduleMsg message. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages.
+   * @function encode
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ShootingScheduleMsg.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.scheduleId != null &&
+      Object.hasOwnProperty.call(message, "scheduleId")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId);
+    if (
+      message.scheduleName != null &&
+      Object.hasOwnProperty.call(message, "scheduleName")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.scheduleName);
+    if (
+      message.deviceId != null &&
+      Object.hasOwnProperty.call(message, "deviceId")
+    )
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.deviceId);
+    if (
+      message.macAddress != null &&
+      Object.hasOwnProperty.call(message, "macAddress")
+    )
+      writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.macAddress);
+    if (
+      message.startTime != null &&
+      Object.hasOwnProperty.call(message, "startTime")
+    )
+      writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.startTime);
+    if (
+      message.endTime != null &&
+      Object.hasOwnProperty.call(message, "endTime")
+    )
+      writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.endTime);
+    if (message.result != null && Object.hasOwnProperty.call(message, "result"))
+      writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.result);
+    if (
+      message.createdTime != null &&
+      Object.hasOwnProperty.call(message, "createdTime")
+    )
+      writer.uint32(/* id 8, wireType 0 =*/ 64).int64(message.createdTime);
+    if (
+      message.updatedTime != null &&
+      Object.hasOwnProperty.call(message, "updatedTime")
+    )
+      writer.uint32(/* id 9, wireType 0 =*/ 72).int64(message.updatedTime);
+    if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+      writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.state);
+    if (message.lock != null && Object.hasOwnProperty.call(message, "lock"))
+      writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.lock);
+    if (
+      message.password != null &&
+      Object.hasOwnProperty.call(message, "password")
+    )
+      writer.uint32(/* id 12, wireType 2 =*/ 98).string(message.password);
+    if (message.shootingTasks != null && message.shootingTasks.length)
+      for (var i = 0; i < message.shootingTasks.length; ++i)
+        $root.ShootingTaskMsg.encode(
+          message.shootingTasks[i],
+          writer.uint32(/* id 13, wireType 2 =*/ 106).fork()
+        ).ldelim();
+    if (
+      message.paramMode != null &&
+      Object.hasOwnProperty.call(message, "paramMode")
+    )
+      writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.paramMode);
+    if (
+      message.paramVersion != null &&
+      Object.hasOwnProperty.call(message, "paramVersion")
+    )
+      writer.uint32(/* id 15, wireType 0 =*/ 120).int32(message.paramVersion);
+    if (message.params != null && Object.hasOwnProperty.call(message, "params"))
+      writer.uint32(/* id 16, wireType 2 =*/ 130).string(message.params);
+    if (
+      message.scheduleTime != null &&
+      Object.hasOwnProperty.call(message, "scheduleTime")
+    )
+      writer.uint32(/* id 17, wireType 0 =*/ 136).int64(message.scheduleTime);
+    if (
+      message.syncState != null &&
+      Object.hasOwnProperty.call(message, "syncState")
+    )
+      writer.uint32(/* id 18, wireType 0 =*/ 144).int32(message.syncState);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ShootingScheduleMsg.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ShootingScheduleMsg message from the specified reader or buffer.
+   * @function decode
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ShootingScheduleMsg} ShootingScheduleMsg
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ShootingScheduleMsg.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ShootingScheduleMsg();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.scheduleId = reader.string();
+          break;
+        }
+        case 2: {
+          message.scheduleName = reader.string();
+          break;
+        }
+        case 3: {
+          message.deviceId = reader.int32();
+          break;
+        }
+        case 4: {
+          message.macAddress = reader.string();
+          break;
+        }
+        case 5: {
+          message.startTime = reader.int64();
+          break;
+        }
+        case 6: {
+          message.endTime = reader.int64();
+          break;
+        }
+        case 7: {
+          message.result = reader.int32();
+          break;
+        }
+        case 8: {
+          message.createdTime = reader.int64();
+          break;
+        }
+        case 9: {
+          message.updatedTime = reader.int64();
+          break;
+        }
+        case 10: {
+          message.state = reader.int32();
+          break;
+        }
+        case 11: {
+          message.lock = reader.int32();
+          break;
+        }
+        case 12: {
+          message.password = reader.string();
+          break;
+        }
+        case 13: {
+          if (!(message.shootingTasks && message.shootingTasks.length))
+            message.shootingTasks = [];
+          message.shootingTasks.push(
+            $root.ShootingTaskMsg.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        case 14: {
+          message.paramMode = reader.int32();
+          break;
+        }
+        case 15: {
+          message.paramVersion = reader.int32();
+          break;
+        }
+        case 16: {
+          message.params = reader.string();
+          break;
+        }
+        case 17: {
+          message.scheduleTime = reader.int64();
+          break;
+        }
+        case 18: {
+          message.syncState = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ShootingScheduleMsg} ShootingScheduleMsg
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ShootingScheduleMsg.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ShootingScheduleMsg message.
+   * @function verify
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ShootingScheduleMsg.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      if (!$util.isString(message.scheduleId))
+        return "scheduleId: string expected";
+    if (message.scheduleName != null && message.hasOwnProperty("scheduleName"))
+      if (!$util.isString(message.scheduleName))
+        return "scheduleName: string expected";
+    if (message.deviceId != null && message.hasOwnProperty("deviceId"))
+      if (!$util.isInteger(message.deviceId))
+        return "deviceId: integer expected";
+    if (message.macAddress != null && message.hasOwnProperty("macAddress"))
+      if (!$util.isString(message.macAddress))
+        return "macAddress: string expected";
+    if (message.startTime != null && message.hasOwnProperty("startTime"))
+      if (
+        !$util.isInteger(message.startTime) &&
+        !(
+          message.startTime &&
+          $util.isInteger(message.startTime.low) &&
+          $util.isInteger(message.startTime.high)
+        )
+      )
+        return "startTime: integer|Long expected";
+    if (message.endTime != null && message.hasOwnProperty("endTime"))
+      if (
+        !$util.isInteger(message.endTime) &&
+        !(
+          message.endTime &&
+          $util.isInteger(message.endTime.low) &&
+          $util.isInteger(message.endTime.high)
+        )
+      )
+        return "endTime: integer|Long expected";
+    if (message.result != null && message.hasOwnProperty("result"))
+      switch (message.result) {
+        default:
+          return "result: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+          break;
+      }
+    if (message.createdTime != null && message.hasOwnProperty("createdTime"))
+      if (
+        !$util.isInteger(message.createdTime) &&
+        !(
+          message.createdTime &&
+          $util.isInteger(message.createdTime.low) &&
+          $util.isInteger(message.createdTime.high)
+        )
+      )
+        return "createdTime: integer|Long expected";
+    if (message.updatedTime != null && message.hasOwnProperty("updatedTime"))
+      if (
+        !$util.isInteger(message.updatedTime) &&
+        !(
+          message.updatedTime &&
+          $util.isInteger(message.updatedTime.low) &&
+          $util.isInteger(message.updatedTime.high)
+        )
+      )
+        return "updatedTime: integer|Long expected";
+    if (message.state != null && message.hasOwnProperty("state"))
+      switch (message.state) {
+        default:
+          return "state: enum value expected";
+        case 0:
+        case 1:
+        case 2:
+        case 3:
+        case 4:
+          break;
+      }
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      if (!$util.isInteger(message.lock)) return "lock: integer expected";
+    if (message.password != null && message.hasOwnProperty("password"))
+      if (!$util.isString(message.password)) return "password: string expected";
+    if (
+      message.shootingTasks != null &&
+      message.hasOwnProperty("shootingTasks")
+    ) {
+      if (!Array.isArray(message.shootingTasks))
+        return "shootingTasks: array expected";
+      for (var i = 0; i < message.shootingTasks.length; ++i) {
+        var error = $root.ShootingTaskMsg.verify(message.shootingTasks[i]);
+        if (error) return "shootingTasks." + error;
+      }
+    }
+    if (message.paramMode != null && message.hasOwnProperty("paramMode"))
+      if (!$util.isInteger(message.paramMode))
+        return "paramMode: integer expected";
+    if (message.paramVersion != null && message.hasOwnProperty("paramVersion"))
+      if (!$util.isInteger(message.paramVersion))
+        return "paramVersion: integer expected";
+    if (message.params != null && message.hasOwnProperty("params"))
+      if (!$util.isString(message.params)) return "params: string expected";
+    if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime"))
+      if (
+        !$util.isInteger(message.scheduleTime) &&
+        !(
+          message.scheduleTime &&
+          $util.isInteger(message.scheduleTime.low) &&
+          $util.isInteger(message.scheduleTime.high)
+        )
+      )
+        return "scheduleTime: integer|Long expected";
+    if (message.syncState != null && message.hasOwnProperty("syncState"))
+      switch (message.syncState) {
+        default:
+          return "syncState: enum value expected";
+        case 0:
+        case 1:
+          break;
+      }
+    return null;
+  };
+
+  /**
+   * Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ShootingScheduleMsg} ShootingScheduleMsg
+   */
+  ShootingScheduleMsg.fromObject = function fromObject(object) {
+    if (object instanceof $root.ShootingScheduleMsg) return object;
+    var message = new $root.ShootingScheduleMsg();
+    if (object.scheduleId != null)
+      message.scheduleId = String(object.scheduleId);
+    if (object.scheduleName != null)
+      message.scheduleName = String(object.scheduleName);
+    if (object.deviceId != null) message.deviceId = object.deviceId | 0;
+    if (object.macAddress != null)
+      message.macAddress = String(object.macAddress);
+    if (object.startTime != null)
+      if ($util.Long)
+        (message.startTime = $util.Long.fromValue(
+          object.startTime
+        )).unsigned = false;
+      else if (typeof object.startTime === "string")
+        message.startTime = parseInt(object.startTime, 10);
+      else if (typeof object.startTime === "number")
+        message.startTime = object.startTime;
+      else if (typeof object.startTime === "object")
+        message.startTime = new $util.LongBits(
+          object.startTime.low >>> 0,
+          object.startTime.high >>> 0
+        ).toNumber();
+    if (object.endTime != null)
+      if ($util.Long)
+        (message.endTime = $util.Long.fromValue(
+          object.endTime
+        )).unsigned = false;
+      else if (typeof object.endTime === "string")
+        message.endTime = parseInt(object.endTime, 10);
+      else if (typeof object.endTime === "number")
+        message.endTime = object.endTime;
+      else if (typeof object.endTime === "object")
+        message.endTime = new $util.LongBits(
+          object.endTime.low >>> 0,
+          object.endTime.high >>> 0
+        ).toNumber();
+    switch (object.result) {
+      default:
+        if (typeof object.result === "number") {
+          message.result = object.result;
+          break;
+        }
+        break;
+      case "SHOOTING_SCHEDULE_RESULT_PENDING_START":
+      case 0:
+        message.result = 0;
+        break;
+      case "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED":
+      case 1:
+        message.result = 1;
+        break;
+      case "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED":
+      case 2:
+        message.result = 2;
+        break;
+      case "SHOOTING_SCHEDULE_RESULT_ALL_FAILED":
+      case 3:
+        message.result = 3;
+        break;
+    }
+    if (object.createdTime != null)
+      if ($util.Long)
+        (message.createdTime = $util.Long.fromValue(
+          object.createdTime
+        )).unsigned = false;
+      else if (typeof object.createdTime === "string")
+        message.createdTime = parseInt(object.createdTime, 10);
+      else if (typeof object.createdTime === "number")
+        message.createdTime = object.createdTime;
+      else if (typeof object.createdTime === "object")
+        message.createdTime = new $util.LongBits(
+          object.createdTime.low >>> 0,
+          object.createdTime.high >>> 0
+        ).toNumber();
+    if (object.updatedTime != null)
+      if ($util.Long)
+        (message.updatedTime = $util.Long.fromValue(
+          object.updatedTime
+        )).unsigned = false;
+      else if (typeof object.updatedTime === "string")
+        message.updatedTime = parseInt(object.updatedTime, 10);
+      else if (typeof object.updatedTime === "number")
+        message.updatedTime = object.updatedTime;
+      else if (typeof object.updatedTime === "object")
+        message.updatedTime = new $util.LongBits(
+          object.updatedTime.low >>> 0,
+          object.updatedTime.high >>> 0
+        ).toNumber();
+    switch (object.state) {
+      default:
+        if (typeof object.state === "number") {
+          message.state = object.state;
+          break;
+        }
+        break;
+      case "SHOOTING_SCHEDULE_STATE_INITIALIZED":
+      case 0:
+        message.state = 0;
+        break;
+      case "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT":
+      case 1:
+        message.state = 1;
+        break;
+      case "SHOOTING_SCHEDULE_STATE_SHOOTING":
+      case 2:
+        message.state = 2;
+        break;
+      case "SHOOTING_SCHEDULE_STATE_COMPLETED":
+      case 3:
+        message.state = 3;
+        break;
+      case "SHOOTING_SCHEDULE_STATE_EXPIRED":
+      case 4:
+        message.state = 4;
+        break;
+    }
+    if (object.lock != null) message.lock = object.lock | 0;
+    if (object.password != null) message.password = String(object.password);
+    if (object.shootingTasks) {
+      if (!Array.isArray(object.shootingTasks))
+        throw TypeError(".ShootingScheduleMsg.shootingTasks: array expected");
+      message.shootingTasks = [];
+      for (var i = 0; i < object.shootingTasks.length; ++i) {
+        if (typeof object.shootingTasks[i] !== "object")
+          throw TypeError(
+            ".ShootingScheduleMsg.shootingTasks: object expected"
+          );
+        message.shootingTasks[i] = $root.ShootingTaskMsg.fromObject(
+          object.shootingTasks[i]
+        );
+      }
+    }
+    if (object.paramMode != null) message.paramMode = object.paramMode | 0;
+    if (object.paramVersion != null)
+      message.paramVersion = object.paramVersion | 0;
+    if (object.params != null) message.params = String(object.params);
+    if (object.scheduleTime != null)
+      if ($util.Long)
+        (message.scheduleTime = $util.Long.fromValue(
+          object.scheduleTime
+        )).unsigned = false;
+      else if (typeof object.scheduleTime === "string")
+        message.scheduleTime = parseInt(object.scheduleTime, 10);
+      else if (typeof object.scheduleTime === "number")
+        message.scheduleTime = object.scheduleTime;
+      else if (typeof object.scheduleTime === "object")
+        message.scheduleTime = new $util.LongBits(
+          object.scheduleTime.low >>> 0,
+          object.scheduleTime.high >>> 0
+        ).toNumber();
+    switch (object.syncState) {
+      default:
+        if (typeof object.syncState === "number") {
+          message.syncState = object.syncState;
+          break;
+        }
+        break;
+      case "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC":
+      case 0:
+        message.syncState = 0;
+        break;
+      case "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED":
+      case 1:
+        message.syncState = 1;
+        break;
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {ShootingScheduleMsg} message ShootingScheduleMsg
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ShootingScheduleMsg.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.shootingTasks = [];
+    if (options.defaults) {
+      object.scheduleId = "";
+      object.scheduleName = "";
+      object.deviceId = 0;
+      object.macAddress = "";
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.startTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.startTime = options.longs === String ? "0" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.endTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.endTime = options.longs === String ? "0" : 0;
+      object.result =
+        options.enums === String ? "SHOOTING_SCHEDULE_RESULT_PENDING_START" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.createdTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.createdTime = options.longs === String ? "0" : 0;
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.updatedTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.updatedTime = options.longs === String ? "0" : 0;
+      object.state =
+        options.enums === String ? "SHOOTING_SCHEDULE_STATE_INITIALIZED" : 0;
+      object.lock = 0;
+      object.password = "";
+      object.paramMode = 0;
+      object.paramVersion = 0;
+      object.params = "";
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, false);
+        object.scheduleTime =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.scheduleTime = options.longs === String ? "0" : 0;
+      object.syncState =
+        options.enums === String
+          ? "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC"
+          : 0;
+    }
+    if (message.scheduleId != null && message.hasOwnProperty("scheduleId"))
+      object.scheduleId = message.scheduleId;
+    if (message.scheduleName != null && message.hasOwnProperty("scheduleName"))
+      object.scheduleName = message.scheduleName;
+    if (message.deviceId != null && message.hasOwnProperty("deviceId"))
+      object.deviceId = message.deviceId;
+    if (message.macAddress != null && message.hasOwnProperty("macAddress"))
+      object.macAddress = message.macAddress;
+    if (message.startTime != null && message.hasOwnProperty("startTime"))
+      if (typeof message.startTime === "number")
+        object.startTime =
+          options.longs === String
+            ? String(message.startTime)
+            : message.startTime;
+      else
+        object.startTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.startTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.startTime.low >>> 0,
+                message.startTime.high >>> 0
+              ).toNumber()
+            : message.startTime;
+    if (message.endTime != null && message.hasOwnProperty("endTime"))
+      if (typeof message.endTime === "number")
+        object.endTime =
+          options.longs === String ? String(message.endTime) : message.endTime;
+      else
+        object.endTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.endTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.endTime.low >>> 0,
+                message.endTime.high >>> 0
+              ).toNumber()
+            : message.endTime;
+    if (message.result != null && message.hasOwnProperty("result"))
+      object.result =
+        options.enums === String
+          ? $root.ShootingScheduleResult[message.result] === undefined
+            ? message.result
+            : $root.ShootingScheduleResult[message.result]
+          : message.result;
+    if (message.createdTime != null && message.hasOwnProperty("createdTime"))
+      if (typeof message.createdTime === "number")
+        object.createdTime =
+          options.longs === String
+            ? String(message.createdTime)
+            : message.createdTime;
+      else
+        object.createdTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.createdTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.createdTime.low >>> 0,
+                message.createdTime.high >>> 0
+              ).toNumber()
+            : message.createdTime;
+    if (message.updatedTime != null && message.hasOwnProperty("updatedTime"))
+      if (typeof message.updatedTime === "number")
+        object.updatedTime =
+          options.longs === String
+            ? String(message.updatedTime)
+            : message.updatedTime;
+      else
+        object.updatedTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.updatedTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.updatedTime.low >>> 0,
+                message.updatedTime.high >>> 0
+              ).toNumber()
+            : message.updatedTime;
+    if (message.state != null && message.hasOwnProperty("state"))
+      object.state =
+        options.enums === String
+          ? $root.ShootingScheduleState[message.state] === undefined
+            ? message.state
+            : $root.ShootingScheduleState[message.state]
+          : message.state;
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      object.lock = message.lock;
+    if (message.password != null && message.hasOwnProperty("password"))
+      object.password = message.password;
+    if (message.shootingTasks && message.shootingTasks.length) {
+      object.shootingTasks = [];
+      for (var j = 0; j < message.shootingTasks.length; ++j)
+        object.shootingTasks[j] = $root.ShootingTaskMsg.toObject(
+          message.shootingTasks[j],
+          options
+        );
+    }
+    if (message.paramMode != null && message.hasOwnProperty("paramMode"))
+      object.paramMode = message.paramMode;
+    if (message.paramVersion != null && message.hasOwnProperty("paramVersion"))
+      object.paramVersion = message.paramVersion;
+    if (message.params != null && message.hasOwnProperty("params"))
+      object.params = message.params;
+    if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime"))
+      if (typeof message.scheduleTime === "number")
+        object.scheduleTime =
+          options.longs === String
+            ? String(message.scheduleTime)
+            : message.scheduleTime;
+      else
+        object.scheduleTime =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.scheduleTime)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.scheduleTime.low >>> 0,
+                message.scheduleTime.high >>> 0
+              ).toNumber()
+            : message.scheduleTime;
+    if (message.syncState != null && message.hasOwnProperty("syncState"))
+      object.syncState =
+        options.enums === String
+          ? $root.ShootingScheduleSyncState[message.syncState] === undefined
+            ? message.syncState
+            : $root.ShootingScheduleSyncState[message.syncState]
+          : message.syncState;
+    return object;
+  };
+
+  /**
+   * Converts this ShootingScheduleMsg to JSON.
+   * @function toJSON
+   * @memberof ShootingScheduleMsg
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ShootingScheduleMsg.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ShootingScheduleMsg
+   * @function getTypeUrl
+   * @memberof ShootingScheduleMsg
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ShootingScheduleMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ShootingScheduleMsg";
+  };
+
+  return ShootingScheduleMsg;
+})();
+
+$root.ReqSyncShootingSchedule = (function () {
+  /**
+   * Properties of a ReqSyncShootingSchedule.
+   * @exports IReqSyncShootingSchedule
+   * @interface IReqSyncShootingSchedule
+   * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqSyncShootingSchedule shootingSchedule
+   */
+
+  /**
+   * Constructs a new ReqSyncShootingSchedule.
+   * @exports ReqSyncShootingSchedule
+   * @classdesc Represents a ReqSyncShootingSchedule.
+   * @implements IReqSyncShootingSchedule
+   * @constructor
+   * @param {IReqSyncShootingSchedule=} [properties] Properties to set
+   */
+  function ReqSyncShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSyncShootingSchedule shootingSchedule.
+   * @member {IShootingScheduleMsg|null|undefined} shootingSchedule
+   * @memberof ReqSyncShootingSchedule
+   * @instance
+   */
+  ReqSyncShootingSchedule.prototype.shootingSchedule = null;
+
+  /**
+   * Creates a new ReqSyncShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {IReqSyncShootingSchedule=} [properties] Properties to set
+   * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule instance
+   */
+  ReqSyncShootingSchedule.create = function create(properties) {
+    return new ReqSyncShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSyncShootingSchedule message. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSyncShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingSchedule != null &&
+      Object.hasOwnProperty.call(message, "shootingSchedule")
+    )
+      $root.ShootingScheduleMsg.encode(
+        message.shootingSchedule,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSyncShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSyncShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSyncShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingSchedule = $root.ShootingScheduleMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSyncShootingSchedule message.
+   * @function verify
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSyncShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule);
+      if (error) return "shootingSchedule." + error;
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule
+   */
+  ReqSyncShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSyncShootingSchedule) return object;
+    var message = new $root.ReqSyncShootingSchedule();
+    if (object.shootingSchedule != null) {
+      if (typeof object.shootingSchedule !== "object")
+        throw TypeError(
+          ".ReqSyncShootingSchedule.shootingSchedule: object expected"
+        );
+      message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(
+        object.shootingSchedule
+      );
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {ReqSyncShootingSchedule} message ReqSyncShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSyncShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.shootingSchedule = null;
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    )
+      object.shootingSchedule = $root.ShootingScheduleMsg.toObject(
+        message.shootingSchedule,
+        options
+      );
+    return object;
+  };
+
+  /**
+   * Converts this ReqSyncShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqSyncShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSyncShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSyncShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqSyncShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSyncShootingSchedule";
+  };
+
+  return ReqSyncShootingSchedule;
+})();
+
+$root.ResSyncShootingSchedule = (function () {
+  /**
+   * Properties of a ResSyncShootingSchedule.
+   * @exports IResSyncShootingSchedule
+   * @interface IResSyncShootingSchedule
+   * @property {IShootingScheduleMsg|null} [shootingSchedule] ResSyncShootingSchedule shootingSchedule
+   * @property {Array.<string>|null} [timeConflictScheduleIds] ResSyncShootingSchedule timeConflictScheduleIds
+   * @property {number|null} [code] ResSyncShootingSchedule code
+   * @property {boolean|null} [canReplace] ResSyncShootingSchedule canReplace
+   */
+
+  /**
+   * Constructs a new ResSyncShootingSchedule.
+   * @exports ResSyncShootingSchedule
+   * @classdesc Represents a ResSyncShootingSchedule.
+   * @implements IResSyncShootingSchedule
+   * @constructor
+   * @param {IResSyncShootingSchedule=} [properties] Properties to set
+   */
+  function ResSyncShootingSchedule(properties) {
+    this.timeConflictScheduleIds = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResSyncShootingSchedule shootingSchedule.
+   * @member {IShootingScheduleMsg|null|undefined} shootingSchedule
+   * @memberof ResSyncShootingSchedule
+   * @instance
+   */
+  ResSyncShootingSchedule.prototype.shootingSchedule = null;
+
+  /**
+   * ResSyncShootingSchedule timeConflictScheduleIds.
+   * @member {Array.<string>} timeConflictScheduleIds
+   * @memberof ResSyncShootingSchedule
+   * @instance
+   */
+  ResSyncShootingSchedule.prototype.timeConflictScheduleIds = $util.emptyArray;
+
+  /**
+   * ResSyncShootingSchedule code.
+   * @member {number} code
+   * @memberof ResSyncShootingSchedule
+   * @instance
+   */
+  ResSyncShootingSchedule.prototype.code = 0;
+
+  /**
+   * ResSyncShootingSchedule canReplace.
+   * @member {boolean} canReplace
+   * @memberof ResSyncShootingSchedule
+   * @instance
+   */
+  ResSyncShootingSchedule.prototype.canReplace = false;
+
+  /**
+   * Creates a new ResSyncShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {IResSyncShootingSchedule=} [properties] Properties to set
+   * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule instance
+   */
+  ResSyncShootingSchedule.create = function create(properties) {
+    return new ResSyncShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResSyncShootingSchedule message. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSyncShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingSchedule != null &&
+      Object.hasOwnProperty.call(message, "shootingSchedule")
+    )
+      $root.ShootingScheduleMsg.encode(
+        message.shootingSchedule,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    if (
+      message.timeConflictScheduleIds != null &&
+      message.timeConflictScheduleIds.length
+    )
+      for (var i = 0; i < message.timeConflictScheduleIds.length; ++i)
+        writer
+          .uint32(/* id 2, wireType 2 =*/ 18)
+          .string(message.timeConflictScheduleIds[i]);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code);
+    if (
+      message.canReplace != null &&
+      Object.hasOwnProperty.call(message, "canReplace")
+    )
+      writer.uint32(/* id 4, wireType 0 =*/ 32).bool(message.canReplace);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResSyncShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResSyncShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSyncShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResSyncShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingSchedule = $root.ShootingScheduleMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        case 2: {
+          if (
+            !(
+              message.timeConflictScheduleIds &&
+              message.timeConflictScheduleIds.length
+            )
+          )
+            message.timeConflictScheduleIds = [];
+          message.timeConflictScheduleIds.push(reader.string());
+          break;
+        }
+        case 3: {
+          message.code = reader.int32();
+          break;
+        }
+        case 4: {
+          message.canReplace = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResSyncShootingSchedule message.
+   * @function verify
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResSyncShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule);
+      if (error) return "shootingSchedule." + error;
+    }
+    if (
+      message.timeConflictScheduleIds != null &&
+      message.hasOwnProperty("timeConflictScheduleIds")
+    ) {
+      if (!Array.isArray(message.timeConflictScheduleIds))
+        return "timeConflictScheduleIds: array expected";
+      for (var i = 0; i < message.timeConflictScheduleIds.length; ++i)
+        if (!$util.isString(message.timeConflictScheduleIds[i]))
+          return "timeConflictScheduleIds: string[] expected";
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.canReplace != null && message.hasOwnProperty("canReplace"))
+      if (typeof message.canReplace !== "boolean")
+        return "canReplace: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule
+   */
+  ResSyncShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResSyncShootingSchedule) return object;
+    var message = new $root.ResSyncShootingSchedule();
+    if (object.shootingSchedule != null) {
+      if (typeof object.shootingSchedule !== "object")
+        throw TypeError(
+          ".ResSyncShootingSchedule.shootingSchedule: object expected"
+        );
+      message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(
+        object.shootingSchedule
+      );
+    }
+    if (object.timeConflictScheduleIds) {
+      if (!Array.isArray(object.timeConflictScheduleIds))
+        throw TypeError(
+          ".ResSyncShootingSchedule.timeConflictScheduleIds: array expected"
+        );
+      message.timeConflictScheduleIds = [];
+      for (var i = 0; i < object.timeConflictScheduleIds.length; ++i)
+        message.timeConflictScheduleIds[i] = String(
+          object.timeConflictScheduleIds[i]
+        );
+    }
+    if (object.code != null) message.code = object.code | 0;
+    if (object.canReplace != null)
+      message.canReplace = Boolean(object.canReplace);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {ResSyncShootingSchedule} message ResSyncShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResSyncShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.timeConflictScheduleIds = [];
+    if (options.defaults) {
+      object.shootingSchedule = null;
+      object.code = 0;
+      object.canReplace = false;
+    }
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    )
+      object.shootingSchedule = $root.ShootingScheduleMsg.toObject(
+        message.shootingSchedule,
+        options
+      );
+    if (
+      message.timeConflictScheduleIds &&
+      message.timeConflictScheduleIds.length
+    ) {
+      object.timeConflictScheduleIds = [];
+      for (var j = 0; j < message.timeConflictScheduleIds.length; ++j)
+        object.timeConflictScheduleIds[j] = message.timeConflictScheduleIds[j];
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.canReplace != null && message.hasOwnProperty("canReplace"))
+      object.canReplace = message.canReplace;
+    return object;
+  };
+
+  /**
+   * Converts this ResSyncShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResSyncShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResSyncShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResSyncShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResSyncShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResSyncShootingSchedule";
+  };
+
+  return ResSyncShootingSchedule;
+})();
+
+$root.ReqCancelShootingSchedule = (function () {
+  /**
+   * Properties of a ReqCancelShootingSchedule.
+   * @exports IReqCancelShootingSchedule
+   * @interface IReqCancelShootingSchedule
+   * @property {string|null} [id] ReqCancelShootingSchedule id
+   * @property {string|null} [password] ReqCancelShootingSchedule password
+   */
+
+  /**
+   * Constructs a new ReqCancelShootingSchedule.
+   * @exports ReqCancelShootingSchedule
+   * @classdesc Represents a ReqCancelShootingSchedule.
+   * @implements IReqCancelShootingSchedule
+   * @constructor
+   * @param {IReqCancelShootingSchedule=} [properties] Properties to set
+   */
+  function ReqCancelShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqCancelShootingSchedule id.
+   * @member {string} id
+   * @memberof ReqCancelShootingSchedule
+   * @instance
+   */
+  ReqCancelShootingSchedule.prototype.id = "";
+
+  /**
+   * ReqCancelShootingSchedule password.
+   * @member {string} password
+   * @memberof ReqCancelShootingSchedule
+   * @instance
+   */
+  ReqCancelShootingSchedule.prototype.password = "";
+
+  /**
+   * Creates a new ReqCancelShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {IReqCancelShootingSchedule=} [properties] Properties to set
+   * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule instance
+   */
+  ReqCancelShootingSchedule.create = function create(properties) {
+    return new ReqCancelShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqCancelShootingSchedule message. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCancelShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (
+      message.password != null &&
+      Object.hasOwnProperty.call(message, "password")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqCancelShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCancelShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqCancelShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.password = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqCancelShootingSchedule message.
+   * @function verify
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqCancelShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.password != null && message.hasOwnProperty("password"))
+      if (!$util.isString(message.password)) return "password: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule
+   */
+  ReqCancelShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqCancelShootingSchedule) return object;
+    var message = new $root.ReqCancelShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.password != null) message.password = String(object.password);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {ReqCancelShootingSchedule} message ReqCancelShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqCancelShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.password = "";
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.password != null && message.hasOwnProperty("password"))
+      object.password = message.password;
+    return object;
+  };
+
+  /**
+   * Converts this ReqCancelShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqCancelShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqCancelShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqCancelShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqCancelShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqCancelShootingSchedule";
+  };
+
+  return ReqCancelShootingSchedule;
+})();
+
+$root.ResCancelShootingSchedule = (function () {
+  /**
+   * Properties of a ResCancelShootingSchedule.
+   * @exports IResCancelShootingSchedule
+   * @interface IResCancelShootingSchedule
+   * @property {string|null} [id] ResCancelShootingSchedule id
+   * @property {number|null} [code] ResCancelShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResCancelShootingSchedule.
+   * @exports ResCancelShootingSchedule
+   * @classdesc Represents a ResCancelShootingSchedule.
+   * @implements IResCancelShootingSchedule
+   * @constructor
+   * @param {IResCancelShootingSchedule=} [properties] Properties to set
+   */
+  function ResCancelShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResCancelShootingSchedule id.
+   * @member {string} id
+   * @memberof ResCancelShootingSchedule
+   * @instance
+   */
+  ResCancelShootingSchedule.prototype.id = "";
+
+  /**
+   * ResCancelShootingSchedule code.
+   * @member {number} code
+   * @memberof ResCancelShootingSchedule
+   * @instance
+   */
+  ResCancelShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResCancelShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {IResCancelShootingSchedule=} [properties] Properties to set
+   * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule instance
+   */
+  ResCancelShootingSchedule.create = function create(properties) {
+    return new ResCancelShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResCancelShootingSchedule message. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCancelShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResCancelShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResCancelShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCancelShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResCancelShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResCancelShootingSchedule message.
+   * @function verify
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResCancelShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule
+   */
+  ResCancelShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResCancelShootingSchedule) return object;
+    var message = new $root.ResCancelShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {ResCancelShootingSchedule} message ResCancelShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResCancelShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.code = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResCancelShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResCancelShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResCancelShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResCancelShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResCancelShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResCancelShootingSchedule";
+  };
+
+  return ResCancelShootingSchedule;
+})();
+
+$root.ReqGetAllShootingSchedule = (function () {
+  /**
+   * Properties of a ReqGetAllShootingSchedule.
+   * @exports IReqGetAllShootingSchedule
+   * @interface IReqGetAllShootingSchedule
+   */
+
+  /**
+   * Constructs a new ReqGetAllShootingSchedule.
+   * @exports ReqGetAllShootingSchedule
+   * @classdesc Represents a ReqGetAllShootingSchedule.
+   * @implements IReqGetAllShootingSchedule
+   * @constructor
+   * @param {IReqGetAllShootingSchedule=} [properties] Properties to set
+   */
+  function ReqGetAllShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqGetAllShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {IReqGetAllShootingSchedule=} [properties] Properties to set
+   * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule instance
+   */
+  ReqGetAllShootingSchedule.create = function create(properties) {
+    return new ReqGetAllShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetAllShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetAllShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetAllShootingSchedule message.
+   * @function verify
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetAllShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule
+   */
+  ReqGetAllShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetAllShootingSchedule) return object;
+    return new $root.ReqGetAllShootingSchedule();
+  };
+
+  /**
+   * Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {ReqGetAllShootingSchedule} message ReqGetAllShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetAllShootingSchedule.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqGetAllShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqGetAllShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetAllShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetAllShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqGetAllShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetAllShootingSchedule";
+  };
+
+  return ReqGetAllShootingSchedule;
+})();
+
+$root.ResGetAllShootingSchedule = (function () {
+  /**
+   * Properties of a ResGetAllShootingSchedule.
+   * @exports IResGetAllShootingSchedule
+   * @interface IResGetAllShootingSchedule
+   * @property {Array.<IShootingScheduleMsg>|null} [shootingSchedule] ResGetAllShootingSchedule shootingSchedule
+   * @property {number|null} [code] ResGetAllShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResGetAllShootingSchedule.
+   * @exports ResGetAllShootingSchedule
+   * @classdesc Represents a ResGetAllShootingSchedule.
+   * @implements IResGetAllShootingSchedule
+   * @constructor
+   * @param {IResGetAllShootingSchedule=} [properties] Properties to set
+   */
+  function ResGetAllShootingSchedule(properties) {
+    this.shootingSchedule = [];
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetAllShootingSchedule shootingSchedule.
+   * @member {Array.<IShootingScheduleMsg>} shootingSchedule
+   * @memberof ResGetAllShootingSchedule
+   * @instance
+   */
+  ResGetAllShootingSchedule.prototype.shootingSchedule = $util.emptyArray;
+
+  /**
+   * ResGetAllShootingSchedule code.
+   * @member {number} code
+   * @memberof ResGetAllShootingSchedule
+   * @instance
+   */
+  ResGetAllShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResGetAllShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {IResGetAllShootingSchedule=} [properties] Properties to set
+   * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule instance
+   */
+  ResGetAllShootingSchedule.create = function create(properties) {
+    return new ResGetAllShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetAllShootingSchedule message. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.shootingSchedule != null && message.shootingSchedule.length)
+      for (var i = 0; i < message.shootingSchedule.length; ++i)
+        $root.ShootingScheduleMsg.encode(
+          message.shootingSchedule[i],
+          writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+        ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetAllShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetAllShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          if (!(message.shootingSchedule && message.shootingSchedule.length))
+            message.shootingSchedule = [];
+          message.shootingSchedule.push(
+            $root.ShootingScheduleMsg.decode(reader, reader.uint32())
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetAllShootingSchedule message.
+   * @function verify
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetAllShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      if (!Array.isArray(message.shootingSchedule))
+        return "shootingSchedule: array expected";
+      for (var i = 0; i < message.shootingSchedule.length; ++i) {
+        var error = $root.ShootingScheduleMsg.verify(
+          message.shootingSchedule[i]
+        );
+        if (error) return "shootingSchedule." + error;
+      }
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule
+   */
+  ResGetAllShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetAllShootingSchedule) return object;
+    var message = new $root.ResGetAllShootingSchedule();
+    if (object.shootingSchedule) {
+      if (!Array.isArray(object.shootingSchedule))
+        throw TypeError(
+          ".ResGetAllShootingSchedule.shootingSchedule: array expected"
+        );
+      message.shootingSchedule = [];
+      for (var i = 0; i < object.shootingSchedule.length; ++i) {
+        if (typeof object.shootingSchedule[i] !== "object")
+          throw TypeError(
+            ".ResGetAllShootingSchedule.shootingSchedule: object expected"
+          );
+        message.shootingSchedule[i] = $root.ShootingScheduleMsg.fromObject(
+          object.shootingSchedule[i]
+        );
+      }
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {ResGetAllShootingSchedule} message ResGetAllShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetAllShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.arrays || options.defaults) object.shootingSchedule = [];
+    if (options.defaults) object.code = 0;
+    if (message.shootingSchedule && message.shootingSchedule.length) {
+      object.shootingSchedule = [];
+      for (var j = 0; j < message.shootingSchedule.length; ++j)
+        object.shootingSchedule[j] = $root.ShootingScheduleMsg.toObject(
+          message.shootingSchedule[j],
+          options
+        );
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetAllShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResGetAllShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetAllShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetAllShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResGetAllShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetAllShootingSchedule";
+  };
+
+  return ResGetAllShootingSchedule;
+})();
+
+$root.ReqGetShootingScheduleById = (function () {
+  /**
+   * Properties of a ReqGetShootingScheduleById.
+   * @exports IReqGetShootingScheduleById
+   * @interface IReqGetShootingScheduleById
+   * @property {string|null} [id] ReqGetShootingScheduleById id
+   */
+
+  /**
+   * Constructs a new ReqGetShootingScheduleById.
+   * @exports ReqGetShootingScheduleById
+   * @classdesc Represents a ReqGetShootingScheduleById.
+   * @implements IReqGetShootingScheduleById
+   * @constructor
+   * @param {IReqGetShootingScheduleById=} [properties] Properties to set
+   */
+  function ReqGetShootingScheduleById(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetShootingScheduleById id.
+   * @member {string} id
+   * @memberof ReqGetShootingScheduleById
+   * @instance
+   */
+  ReqGetShootingScheduleById.prototype.id = "";
+
+  /**
+   * Creates a new ReqGetShootingScheduleById instance using the specified properties.
+   * @function create
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {IReqGetShootingScheduleById=} [properties] Properties to set
+   * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById instance
+   */
+  ReqGetShootingScheduleById.create = function create(properties) {
+    return new ReqGetShootingScheduleById(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetShootingScheduleById message. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetShootingScheduleById.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetShootingScheduleById.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetShootingScheduleById.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetShootingScheduleById();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetShootingScheduleById.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetShootingScheduleById message.
+   * @function verify
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetShootingScheduleById.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById
+   */
+  ReqGetShootingScheduleById.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetShootingScheduleById) return object;
+    var message = new $root.ReqGetShootingScheduleById();
+    if (object.id != null) message.id = String(object.id);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {ReqGetShootingScheduleById} message ReqGetShootingScheduleById
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetShootingScheduleById.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.id = "";
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetShootingScheduleById to JSON.
+   * @function toJSON
+   * @memberof ReqGetShootingScheduleById
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetShootingScheduleById.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetShootingScheduleById
+   * @function getTypeUrl
+   * @memberof ReqGetShootingScheduleById
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetShootingScheduleById";
+  };
+
+  return ReqGetShootingScheduleById;
+})();
+
+$root.ResGetShootingScheduleById = (function () {
+  /**
+   * Properties of a ResGetShootingScheduleById.
+   * @exports IResGetShootingScheduleById
+   * @interface IResGetShootingScheduleById
+   * @property {IShootingScheduleMsg|null} [shootingSchedule] ResGetShootingScheduleById shootingSchedule
+   * @property {number|null} [code] ResGetShootingScheduleById code
+   */
+
+  /**
+   * Constructs a new ResGetShootingScheduleById.
+   * @exports ResGetShootingScheduleById
+   * @classdesc Represents a ResGetShootingScheduleById.
+   * @implements IResGetShootingScheduleById
+   * @constructor
+   * @param {IResGetShootingScheduleById=} [properties] Properties to set
+   */
+  function ResGetShootingScheduleById(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetShootingScheduleById shootingSchedule.
+   * @member {IShootingScheduleMsg|null|undefined} shootingSchedule
+   * @memberof ResGetShootingScheduleById
+   * @instance
+   */
+  ResGetShootingScheduleById.prototype.shootingSchedule = null;
+
+  /**
+   * ResGetShootingScheduleById code.
+   * @member {number} code
+   * @memberof ResGetShootingScheduleById
+   * @instance
+   */
+  ResGetShootingScheduleById.prototype.code = 0;
+
+  /**
+   * Creates a new ResGetShootingScheduleById instance using the specified properties.
+   * @function create
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {IResGetShootingScheduleById=} [properties] Properties to set
+   * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById instance
+   */
+  ResGetShootingScheduleById.create = function create(properties) {
+    return new ResGetShootingScheduleById(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetShootingScheduleById message. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetShootingScheduleById.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingSchedule != null &&
+      Object.hasOwnProperty.call(message, "shootingSchedule")
+    )
+      $root.ShootingScheduleMsg.encode(
+        message.shootingSchedule,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetShootingScheduleById.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetShootingScheduleById message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetShootingScheduleById.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetShootingScheduleById();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingSchedule = $root.ShootingScheduleMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetShootingScheduleById.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetShootingScheduleById message.
+   * @function verify
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetShootingScheduleById.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule);
+      if (error) return "shootingSchedule." + error;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById
+   */
+  ResGetShootingScheduleById.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetShootingScheduleById) return object;
+    var message = new $root.ResGetShootingScheduleById();
+    if (object.shootingSchedule != null) {
+      if (typeof object.shootingSchedule !== "object")
+        throw TypeError(
+          ".ResGetShootingScheduleById.shootingSchedule: object expected"
+        );
+      message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(
+        object.shootingSchedule
+      );
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {ResGetShootingScheduleById} message ResGetShootingScheduleById
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetShootingScheduleById.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.shootingSchedule = null;
+      object.code = 0;
+    }
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    )
+      object.shootingSchedule = $root.ShootingScheduleMsg.toObject(
+        message.shootingSchedule,
+        options
+      );
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetShootingScheduleById to JSON.
+   * @function toJSON
+   * @memberof ResGetShootingScheduleById
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetShootingScheduleById.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetShootingScheduleById
+   * @function getTypeUrl
+   * @memberof ResGetShootingScheduleById
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetShootingScheduleById";
+  };
+
+  return ResGetShootingScheduleById;
+})();
+
+$root.ReqGetShootingTaskById = (function () {
+  /**
+   * Properties of a ReqGetShootingTaskById.
+   * @exports IReqGetShootingTaskById
+   * @interface IReqGetShootingTaskById
+   * @property {string|null} [id] ReqGetShootingTaskById id
+   */
+
+  /**
+   * Constructs a new ReqGetShootingTaskById.
+   * @exports ReqGetShootingTaskById
+   * @classdesc Represents a ReqGetShootingTaskById.
+   * @implements IReqGetShootingTaskById
+   * @constructor
+   * @param {IReqGetShootingTaskById=} [properties] Properties to set
+   */
+  function ReqGetShootingTaskById(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetShootingTaskById id.
+   * @member {string} id
+   * @memberof ReqGetShootingTaskById
+   * @instance
+   */
+  ReqGetShootingTaskById.prototype.id = "";
+
+  /**
+   * Creates a new ReqGetShootingTaskById instance using the specified properties.
+   * @function create
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {IReqGetShootingTaskById=} [properties] Properties to set
+   * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById instance
+   */
+  ReqGetShootingTaskById.create = function create(properties) {
+    return new ReqGetShootingTaskById(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetShootingTaskById message. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetShootingTaskById.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetShootingTaskById.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetShootingTaskById message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetShootingTaskById.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetShootingTaskById();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetShootingTaskById message.
+   * @function verify
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetShootingTaskById.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById
+   */
+  ReqGetShootingTaskById.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetShootingTaskById) return object;
+    var message = new $root.ReqGetShootingTaskById();
+    if (object.id != null) message.id = String(object.id);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {ReqGetShootingTaskById} message ReqGetShootingTaskById
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetShootingTaskById.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.id = "";
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetShootingTaskById to JSON.
+   * @function toJSON
+   * @memberof ReqGetShootingTaskById
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetShootingTaskById.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetShootingTaskById
+   * @function getTypeUrl
+   * @memberof ReqGetShootingTaskById
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetShootingTaskById";
+  };
+
+  return ReqGetShootingTaskById;
+})();
+
+$root.ResGetShootingTaskById = (function () {
+  /**
+   * Properties of a ResGetShootingTaskById.
+   * @exports IResGetShootingTaskById
+   * @interface IResGetShootingTaskById
+   * @property {IShootingTaskMsg|null} [shootingTask] ResGetShootingTaskById shootingTask
+   * @property {number|null} [code] ResGetShootingTaskById code
+   */
+
+  /**
+   * Constructs a new ResGetShootingTaskById.
+   * @exports ResGetShootingTaskById
+   * @classdesc Represents a ResGetShootingTaskById.
+   * @implements IResGetShootingTaskById
+   * @constructor
+   * @param {IResGetShootingTaskById=} [properties] Properties to set
+   */
+  function ResGetShootingTaskById(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResGetShootingTaskById shootingTask.
+   * @member {IShootingTaskMsg|null|undefined} shootingTask
+   * @memberof ResGetShootingTaskById
+   * @instance
+   */
+  ResGetShootingTaskById.prototype.shootingTask = null;
+
+  /**
+   * ResGetShootingTaskById code.
+   * @member {number} code
+   * @memberof ResGetShootingTaskById
+   * @instance
+   */
+  ResGetShootingTaskById.prototype.code = 0;
+
+  /**
+   * Creates a new ResGetShootingTaskById instance using the specified properties.
+   * @function create
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {IResGetShootingTaskById=} [properties] Properties to set
+   * @returns {ResGetShootingTaskById} ResGetShootingTaskById instance
+   */
+  ResGetShootingTaskById.create = function create(properties) {
+    return new ResGetShootingTaskById(properties);
+  };
+
+  /**
+   * Encodes the specified ResGetShootingTaskById message. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages.
+   * @function encode
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetShootingTaskById.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingTask != null &&
+      Object.hasOwnProperty.call(message, "shootingTask")
+    )
+      $root.ShootingTaskMsg.encode(
+        message.shootingTask,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResGetShootingTaskById.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResGetShootingTaskById message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResGetShootingTaskById} ResGetShootingTaskById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetShootingTaskById.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResGetShootingTaskById();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingTask = $root.ShootingTaskMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResGetShootingTaskById} ResGetShootingTaskById
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResGetShootingTaskById message.
+   * @function verify
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResGetShootingTaskById.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingTask != null &&
+      message.hasOwnProperty("shootingTask")
+    ) {
+      var error = $root.ShootingTaskMsg.verify(message.shootingTask);
+      if (error) return "shootingTask." + error;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResGetShootingTaskById} ResGetShootingTaskById
+   */
+  ResGetShootingTaskById.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResGetShootingTaskById) return object;
+    var message = new $root.ResGetShootingTaskById();
+    if (object.shootingTask != null) {
+      if (typeof object.shootingTask !== "object")
+        throw TypeError(
+          ".ResGetShootingTaskById.shootingTask: object expected"
+        );
+      message.shootingTask = $root.ShootingTaskMsg.fromObject(
+        object.shootingTask
+      );
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {ResGetShootingTaskById} message ResGetShootingTaskById
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResGetShootingTaskById.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.shootingTask = null;
+      object.code = 0;
+    }
+    if (message.shootingTask != null && message.hasOwnProperty("shootingTask"))
+      object.shootingTask = $root.ShootingTaskMsg.toObject(
+        message.shootingTask,
+        options
+      );
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResGetShootingTaskById to JSON.
+   * @function toJSON
+   * @memberof ResGetShootingTaskById
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResGetShootingTaskById.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResGetShootingTaskById
+   * @function getTypeUrl
+   * @memberof ResGetShootingTaskById
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResGetShootingTaskById";
+  };
+
+  return ResGetShootingTaskById;
+})();
+
+$root.ReqReplaceShootingSchedule = (function () {
+  /**
+   * Properties of a ReqReplaceShootingSchedule.
+   * @exports IReqReplaceShootingSchedule
+   * @interface IReqReplaceShootingSchedule
+   * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqReplaceShootingSchedule shootingSchedule
+   */
+
+  /**
+   * Constructs a new ReqReplaceShootingSchedule.
+   * @exports ReqReplaceShootingSchedule
+   * @classdesc Represents a ReqReplaceShootingSchedule.
+   * @implements IReqReplaceShootingSchedule
+   * @constructor
+   * @param {IReqReplaceShootingSchedule=} [properties] Properties to set
+   */
+  function ReqReplaceShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqReplaceShootingSchedule shootingSchedule.
+   * @member {IShootingScheduleMsg|null|undefined} shootingSchedule
+   * @memberof ReqReplaceShootingSchedule
+   * @instance
+   */
+  ReqReplaceShootingSchedule.prototype.shootingSchedule = null;
+
+  /**
+   * Creates a new ReqReplaceShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {IReqReplaceShootingSchedule=} [properties] Properties to set
+   * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule instance
+   */
+  ReqReplaceShootingSchedule.create = function create(properties) {
+    return new ReqReplaceShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReplaceShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingSchedule != null &&
+      Object.hasOwnProperty.call(message, "shootingSchedule")
+    )
+      $root.ShootingScheduleMsg.encode(
+        message.shootingSchedule,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqReplaceShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReplaceShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqReplaceShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingSchedule = $root.ShootingScheduleMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqReplaceShootingSchedule.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqReplaceShootingSchedule message.
+   * @function verify
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqReplaceShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule);
+      if (error) return "shootingSchedule." + error;
+    }
+    return null;
+  };
+
+  /**
+   * Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule
+   */
+  ReqReplaceShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqReplaceShootingSchedule) return object;
+    var message = new $root.ReqReplaceShootingSchedule();
+    if (object.shootingSchedule != null) {
+      if (typeof object.shootingSchedule !== "object")
+        throw TypeError(
+          ".ReqReplaceShootingSchedule.shootingSchedule: object expected"
+        );
+      message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(
+        object.shootingSchedule
+      );
+    }
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {ReqReplaceShootingSchedule} message ReqReplaceShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqReplaceShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.shootingSchedule = null;
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    )
+      object.shootingSchedule = $root.ShootingScheduleMsg.toObject(
+        message.shootingSchedule,
+        options
+      );
+    return object;
+  };
+
+  /**
+   * Converts this ReqReplaceShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqReplaceShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqReplaceShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqReplaceShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqReplaceShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqReplaceShootingSchedule";
+  };
+
+  return ReqReplaceShootingSchedule;
+})();
+
+$root.ResReplaceShootingSchedule = (function () {
+  /**
+   * Properties of a ResReplaceShootingSchedule.
+   * @exports IResReplaceShootingSchedule
+   * @interface IResReplaceShootingSchedule
+   * @property {IShootingScheduleMsg|null} [shootingSchedule] ResReplaceShootingSchedule shootingSchedule
+   * @property {number|null} [code] ResReplaceShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResReplaceShootingSchedule.
+   * @exports ResReplaceShootingSchedule
+   * @classdesc Represents a ResReplaceShootingSchedule.
+   * @implements IResReplaceShootingSchedule
+   * @constructor
+   * @param {IResReplaceShootingSchedule=} [properties] Properties to set
+   */
+  function ResReplaceShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResReplaceShootingSchedule shootingSchedule.
+   * @member {IShootingScheduleMsg|null|undefined} shootingSchedule
+   * @memberof ResReplaceShootingSchedule
+   * @instance
+   */
+  ResReplaceShootingSchedule.prototype.shootingSchedule = null;
+
+  /**
+   * ResReplaceShootingSchedule code.
+   * @member {number} code
+   * @memberof ResReplaceShootingSchedule
+   * @instance
+   */
+  ResReplaceShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResReplaceShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {IResReplaceShootingSchedule=} [properties] Properties to set
+   * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule instance
+   */
+  ResReplaceShootingSchedule.create = function create(properties) {
+    return new ResReplaceShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResReplaceShootingSchedule message. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReplaceShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.shootingSchedule != null &&
+      Object.hasOwnProperty.call(message, "shootingSchedule")
+    )
+      $root.ShootingScheduleMsg.encode(
+        message.shootingSchedule,
+        writer.uint32(/* id 1, wireType 2 =*/ 10).fork()
+      ).ldelim();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResReplaceShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReplaceShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResReplaceShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.shootingSchedule = $root.ShootingScheduleMsg.decode(
+            reader,
+            reader.uint32()
+          );
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResReplaceShootingSchedule.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResReplaceShootingSchedule message.
+   * @function verify
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResReplaceShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    ) {
+      var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule);
+      if (error) return "shootingSchedule." + error;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule
+   */
+  ResReplaceShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResReplaceShootingSchedule) return object;
+    var message = new $root.ResReplaceShootingSchedule();
+    if (object.shootingSchedule != null) {
+      if (typeof object.shootingSchedule !== "object")
+        throw TypeError(
+          ".ResReplaceShootingSchedule.shootingSchedule: object expected"
+        );
+      message.shootingSchedule = $root.ShootingScheduleMsg.fromObject(
+        object.shootingSchedule
+      );
+    }
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {ResReplaceShootingSchedule} message ResReplaceShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResReplaceShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.shootingSchedule = null;
+      object.code = 0;
+    }
+    if (
+      message.shootingSchedule != null &&
+      message.hasOwnProperty("shootingSchedule")
+    )
+      object.shootingSchedule = $root.ShootingScheduleMsg.toObject(
+        message.shootingSchedule,
+        options
+      );
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResReplaceShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResReplaceShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResReplaceShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResReplaceShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResReplaceShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResReplaceShootingSchedule";
+  };
+
+  return ResReplaceShootingSchedule;
+})();
+
+$root.ReqUnlockShootingSchedule = (function () {
+  /**
+   * Properties of a ReqUnlockShootingSchedule.
+   * @exports IReqUnlockShootingSchedule
+   * @interface IReqUnlockShootingSchedule
+   * @property {string|null} [id] ReqUnlockShootingSchedule id
+   * @property {string|null} [password] ReqUnlockShootingSchedule password
+   */
+
+  /**
+   * Constructs a new ReqUnlockShootingSchedule.
+   * @exports ReqUnlockShootingSchedule
+   * @classdesc Represents a ReqUnlockShootingSchedule.
+   * @implements IReqUnlockShootingSchedule
+   * @constructor
+   * @param {IReqUnlockShootingSchedule=} [properties] Properties to set
+   */
+  function ReqUnlockShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqUnlockShootingSchedule id.
+   * @member {string} id
+   * @memberof ReqUnlockShootingSchedule
+   * @instance
+   */
+  ReqUnlockShootingSchedule.prototype.id = "";
+
+  /**
+   * ReqUnlockShootingSchedule password.
+   * @member {string} password
+   * @memberof ReqUnlockShootingSchedule
+   * @instance
+   */
+  ReqUnlockShootingSchedule.prototype.password = "";
+
+  /**
+   * Creates a new ReqUnlockShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {IReqUnlockShootingSchedule=} [properties] Properties to set
+   * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule instance
+   */
+  ReqUnlockShootingSchedule.create = function create(properties) {
+    return new ReqUnlockShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqUnlockShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (
+      message.password != null &&
+      Object.hasOwnProperty.call(message, "password")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqUnlockShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqUnlockShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqUnlockShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.password = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqUnlockShootingSchedule message.
+   * @function verify
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqUnlockShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.password != null && message.hasOwnProperty("password"))
+      if (!$util.isString(message.password)) return "password: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule
+   */
+  ReqUnlockShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqUnlockShootingSchedule) return object;
+    var message = new $root.ReqUnlockShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.password != null) message.password = String(object.password);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {ReqUnlockShootingSchedule} message ReqUnlockShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqUnlockShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.password = "";
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.password != null && message.hasOwnProperty("password"))
+      object.password = message.password;
+    return object;
+  };
+
+  /**
+   * Converts this ReqUnlockShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqUnlockShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqUnlockShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqUnlockShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqUnlockShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqUnlockShootingSchedule";
+  };
+
+  return ReqUnlockShootingSchedule;
+})();
+
+$root.ResUnlockShootingSchedule = (function () {
+  /**
+   * Properties of a ResUnlockShootingSchedule.
+   * @exports IResUnlockShootingSchedule
+   * @interface IResUnlockShootingSchedule
+   * @property {string|null} [id] ResUnlockShootingSchedule id
+   * @property {number|null} [code] ResUnlockShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResUnlockShootingSchedule.
+   * @exports ResUnlockShootingSchedule
+   * @classdesc Represents a ResUnlockShootingSchedule.
+   * @implements IResUnlockShootingSchedule
+   * @constructor
+   * @param {IResUnlockShootingSchedule=} [properties] Properties to set
+   */
+  function ResUnlockShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResUnlockShootingSchedule id.
+   * @member {string} id
+   * @memberof ResUnlockShootingSchedule
+   * @instance
+   */
+  ResUnlockShootingSchedule.prototype.id = "";
+
+  /**
+   * ResUnlockShootingSchedule code.
+   * @member {number} code
+   * @memberof ResUnlockShootingSchedule
+   * @instance
+   */
+  ResUnlockShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResUnlockShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {IResUnlockShootingSchedule=} [properties] Properties to set
+   * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule instance
+   */
+  ResUnlockShootingSchedule.create = function create(properties) {
+    return new ResUnlockShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResUnlockShootingSchedule message. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResUnlockShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResUnlockShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResUnlockShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResUnlockShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResUnlockShootingSchedule message.
+   * @function verify
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResUnlockShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule
+   */
+  ResUnlockShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResUnlockShootingSchedule) return object;
+    var message = new $root.ResUnlockShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {ResUnlockShootingSchedule} message ResUnlockShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResUnlockShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.code = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResUnlockShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResUnlockShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResUnlockShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResUnlockShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResUnlockShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResUnlockShootingSchedule";
+  };
+
+  return ResUnlockShootingSchedule;
+})();
+
+$root.ReqLockShootingSchedule = (function () {
+  /**
+   * Properties of a ReqLockShootingSchedule.
+   * @exports IReqLockShootingSchedule
+   * @interface IReqLockShootingSchedule
+   * @property {string|null} [id] ReqLockShootingSchedule id
+   * @property {string|null} [password] ReqLockShootingSchedule password
+   */
+
+  /**
+   * Constructs a new ReqLockShootingSchedule.
+   * @exports ReqLockShootingSchedule
+   * @classdesc Represents a ReqLockShootingSchedule.
+   * @implements IReqLockShootingSchedule
+   * @constructor
+   * @param {IReqLockShootingSchedule=} [properties] Properties to set
+   */
+  function ReqLockShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqLockShootingSchedule id.
+   * @member {string} id
+   * @memberof ReqLockShootingSchedule
+   * @instance
+   */
+  ReqLockShootingSchedule.prototype.id = "";
+
+  /**
+   * ReqLockShootingSchedule password.
+   * @member {string} password
+   * @memberof ReqLockShootingSchedule
+   * @instance
+   */
+  ReqLockShootingSchedule.prototype.password = "";
+
+  /**
+   * Creates a new ReqLockShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {IReqLockShootingSchedule=} [properties] Properties to set
+   * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule instance
+   */
+  ReqLockShootingSchedule.create = function create(properties) {
+    return new ReqLockShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqLockShootingSchedule message. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqLockShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (
+      message.password != null &&
+      Object.hasOwnProperty.call(message, "password")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqLockShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqLockShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqLockShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqLockShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.password = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqLockShootingSchedule message.
+   * @function verify
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqLockShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.password != null && message.hasOwnProperty("password"))
+      if (!$util.isString(message.password)) return "password: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule
+   */
+  ReqLockShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqLockShootingSchedule) return object;
+    var message = new $root.ReqLockShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.password != null) message.password = String(object.password);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {ReqLockShootingSchedule} message ReqLockShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqLockShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.password = "";
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.password != null && message.hasOwnProperty("password"))
+      object.password = message.password;
+    return object;
+  };
+
+  /**
+   * Converts this ReqLockShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqLockShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqLockShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqLockShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqLockShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqLockShootingSchedule";
+  };
+
+  return ReqLockShootingSchedule;
+})();
+
+$root.ResLockShootingSchedule = (function () {
+  /**
+   * Properties of a ResLockShootingSchedule.
+   * @exports IResLockShootingSchedule
+   * @interface IResLockShootingSchedule
+   * @property {string|null} [id] ResLockShootingSchedule id
+   * @property {number|null} [code] ResLockShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResLockShootingSchedule.
+   * @exports ResLockShootingSchedule
+   * @classdesc Represents a ResLockShootingSchedule.
+   * @implements IResLockShootingSchedule
+   * @constructor
+   * @param {IResLockShootingSchedule=} [properties] Properties to set
+   */
+  function ResLockShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResLockShootingSchedule id.
+   * @member {string} id
+   * @memberof ResLockShootingSchedule
+   * @instance
+   */
+  ResLockShootingSchedule.prototype.id = "";
+
+  /**
+   * ResLockShootingSchedule code.
+   * @member {number} code
+   * @memberof ResLockShootingSchedule
+   * @instance
+   */
+  ResLockShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResLockShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {IResLockShootingSchedule=} [properties] Properties to set
+   * @returns {ResLockShootingSchedule} ResLockShootingSchedule instance
+   */
+  ResLockShootingSchedule.create = function create(properties) {
+    return new ResLockShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResLockShootingSchedule message. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResLockShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResLockShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResLockShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResLockShootingSchedule} ResLockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResLockShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResLockShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResLockShootingSchedule} ResLockShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResLockShootingSchedule message.
+   * @function verify
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResLockShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResLockShootingSchedule} ResLockShootingSchedule
+   */
+  ResLockShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResLockShootingSchedule) return object;
+    var message = new $root.ResLockShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {ResLockShootingSchedule} message ResLockShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResLockShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.code = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResLockShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResLockShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResLockShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResLockShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResLockShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResLockShootingSchedule";
+  };
+
+  return ResLockShootingSchedule;
+})();
+
+$root.ReqDeleteShootingSchedule = (function () {
+  /**
+   * Properties of a ReqDeleteShootingSchedule.
+   * @exports IReqDeleteShootingSchedule
+   * @interface IReqDeleteShootingSchedule
+   * @property {string|null} [id] ReqDeleteShootingSchedule id
+   * @property {string|null} [password] ReqDeleteShootingSchedule password
+   */
+
+  /**
+   * Constructs a new ReqDeleteShootingSchedule.
+   * @exports ReqDeleteShootingSchedule
+   * @classdesc Represents a ReqDeleteShootingSchedule.
+   * @implements IReqDeleteShootingSchedule
+   * @constructor
+   * @param {IReqDeleteShootingSchedule=} [properties] Properties to set
+   */
+  function ReqDeleteShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDeleteShootingSchedule id.
+   * @member {string} id
+   * @memberof ReqDeleteShootingSchedule
+   * @instance
+   */
+  ReqDeleteShootingSchedule.prototype.id = "";
+
+  /**
+   * ReqDeleteShootingSchedule password.
+   * @member {string} password
+   * @memberof ReqDeleteShootingSchedule
+   * @instance
+   */
+  ReqDeleteShootingSchedule.prototype.password = "";
+
+  /**
+   * Creates a new ReqDeleteShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {IReqDeleteShootingSchedule=} [properties] Properties to set
+   * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule instance
+   */
+  ReqDeleteShootingSchedule.create = function create(properties) {
+    return new ReqDeleteShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeleteShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (
+      message.password != null &&
+      Object.hasOwnProperty.call(message, "password")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeleteShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeleteShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDeleteShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.password = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDeleteShootingSchedule message.
+   * @function verify
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDeleteShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.password != null && message.hasOwnProperty("password"))
+      if (!$util.isString(message.password)) return "password: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule
+   */
+  ReqDeleteShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDeleteShootingSchedule) return object;
+    var message = new $root.ReqDeleteShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.password != null) message.password = String(object.password);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {ReqDeleteShootingSchedule} message ReqDeleteShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDeleteShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.password = "";
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.password != null && message.hasOwnProperty("password"))
+      object.password = message.password;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDeleteShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ReqDeleteShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDeleteShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDeleteShootingSchedule
+   * @function getTypeUrl
+   * @memberof ReqDeleteShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDeleteShootingSchedule";
+  };
+
+  return ReqDeleteShootingSchedule;
+})();
+
+$root.ResDeleteShootingSchedule = (function () {
+  /**
+   * Properties of a ResDeleteShootingSchedule.
+   * @exports IResDeleteShootingSchedule
+   * @interface IResDeleteShootingSchedule
+   * @property {string|null} [id] ResDeleteShootingSchedule id
+   * @property {number|null} [code] ResDeleteShootingSchedule code
+   */
+
+  /**
+   * Constructs a new ResDeleteShootingSchedule.
+   * @exports ResDeleteShootingSchedule
+   * @classdesc Represents a ResDeleteShootingSchedule.
+   * @implements IResDeleteShootingSchedule
+   * @constructor
+   * @param {IResDeleteShootingSchedule=} [properties] Properties to set
+   */
+  function ResDeleteShootingSchedule(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDeleteShootingSchedule id.
+   * @member {string} id
+   * @memberof ResDeleteShootingSchedule
+   * @instance
+   */
+  ResDeleteShootingSchedule.prototype.id = "";
+
+  /**
+   * ResDeleteShootingSchedule code.
+   * @member {number} code
+   * @memberof ResDeleteShootingSchedule
+   * @instance
+   */
+  ResDeleteShootingSchedule.prototype.code = 0;
+
+  /**
+   * Creates a new ResDeleteShootingSchedule instance using the specified properties.
+   * @function create
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {IResDeleteShootingSchedule=} [properties] Properties to set
+   * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule instance
+   */
+  ResDeleteShootingSchedule.create = function create(properties) {
+    return new ResDeleteShootingSchedule(properties);
+  };
+
+  /**
+   * Encodes the specified ResDeleteShootingSchedule message. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages.
+   * @function encode
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeleteShootingSchedule.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id);
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeleteShootingSchedule.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeleteShootingSchedule.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDeleteShootingSchedule();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.string();
+          break;
+        }
+        case 2: {
+          message.code = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDeleteShootingSchedule message.
+   * @function verify
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDeleteShootingSchedule.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isString(message.id)) return "id: string expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule
+   */
+  ResDeleteShootingSchedule.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDeleteShootingSchedule) return object;
+    var message = new $root.ResDeleteShootingSchedule();
+    if (object.id != null) message.id = String(object.id);
+    if (object.code != null) message.code = object.code | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {ResDeleteShootingSchedule} message ResDeleteShootingSchedule
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDeleteShootingSchedule.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.id = "";
+      object.code = 0;
+    }
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    return object;
+  };
+
+  /**
+   * Converts this ResDeleteShootingSchedule to JSON.
+   * @function toJSON
+   * @memberof ResDeleteShootingSchedule
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDeleteShootingSchedule.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDeleteShootingSchedule
+   * @function getTypeUrl
+   * @memberof ResDeleteShootingSchedule
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDeleteShootingSchedule";
+  };
+
+  return ResDeleteShootingSchedule;
+})();
+
+$root.ReqSetTime = (function () {
+  /**
+   * Properties of a ReqSetTime.
+   * @exports IReqSetTime
+   * @interface IReqSetTime
+   * @property {number|Long|null} [timestamp] ReqSetTime timestamp
+   * @property {number|null} [timezoneOffset] ReqSetTime timezoneOffset
+   */
+
+  /**
+   * Constructs a new ReqSetTime.
+   * @exports ReqSetTime
+   * @classdesc Represents a ReqSetTime.
+   * @implements IReqSetTime
+   * @constructor
+   * @param {IReqSetTime=} [properties] Properties to set
+   */
+  function ReqSetTime(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetTime timestamp.
+   * @member {number|Long} timestamp
+   * @memberof ReqSetTime
+   * @instance
+   */
+  ReqSetTime.prototype.timestamp = $util.Long
+    ? $util.Long.fromBits(0, 0, true)
+    : 0;
+
+  /**
+   * ReqSetTime timezoneOffset.
+   * @member {number} timezoneOffset
+   * @memberof ReqSetTime
+   * @instance
+   */
+  ReqSetTime.prototype.timezoneOffset = 0;
+
+  /**
+   * Creates a new ReqSetTime instance using the specified properties.
+   * @function create
+   * @memberof ReqSetTime
+   * @static
+   * @param {IReqSetTime=} [properties] Properties to set
+   * @returns {ReqSetTime} ReqSetTime instance
+   */
+  ReqSetTime.create = function create(properties) {
+    return new ReqSetTime(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetTime message. Does not implicitly {@link ReqSetTime.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetTime
+   * @static
+   * @param {IReqSetTime} message ReqSetTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetTime.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.timestamp != null &&
+      Object.hasOwnProperty.call(message, "timestamp")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.timestamp);
+    if (
+      message.timezoneOffset != null &&
+      Object.hasOwnProperty.call(message, "timezoneOffset")
+    )
+      writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.timezoneOffset);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetTime message, length delimited. Does not implicitly {@link ReqSetTime.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetTime
+   * @static
+   * @param {IReqSetTime} message ReqSetTime message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetTime.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetTime message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetTime} ReqSetTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetTime.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetTime();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.timestamp = reader.uint64();
+          break;
+        }
+        case 2: {
+          message.timezoneOffset = reader.double();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetTime message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetTime
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetTime} ReqSetTime
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetTime.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetTime message.
+   * @function verify
+   * @memberof ReqSetTime
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetTime.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.timestamp != null && message.hasOwnProperty("timestamp"))
+      if (
+        !$util.isInteger(message.timestamp) &&
+        !(
+          message.timestamp &&
+          $util.isInteger(message.timestamp.low) &&
+          $util.isInteger(message.timestamp.high)
+        )
+      )
+        return "timestamp: integer|Long expected";
+    if (
+      message.timezoneOffset != null &&
+      message.hasOwnProperty("timezoneOffset")
+    )
+      if (typeof message.timezoneOffset !== "number")
+        return "timezoneOffset: number expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetTime
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetTime} ReqSetTime
+   */
+  ReqSetTime.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetTime) return object;
+    var message = new $root.ReqSetTime();
+    if (object.timestamp != null)
+      if ($util.Long)
+        (message.timestamp = $util.Long.fromValue(
+          object.timestamp
+        )).unsigned = true;
+      else if (typeof object.timestamp === "string")
+        message.timestamp = parseInt(object.timestamp, 10);
+      else if (typeof object.timestamp === "number")
+        message.timestamp = object.timestamp;
+      else if (typeof object.timestamp === "object")
+        message.timestamp = new $util.LongBits(
+          object.timestamp.low >>> 0,
+          object.timestamp.high >>> 0
+        ).toNumber(true);
+    if (object.timezoneOffset != null)
+      message.timezoneOffset = Number(object.timezoneOffset);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetTime message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetTime
+   * @static
+   * @param {ReqSetTime} message ReqSetTime
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetTime.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      if ($util.Long) {
+        var long = new $util.Long(0, 0, true);
+        object.timestamp =
+          options.longs === String
+            ? long.toString()
+            : options.longs === Number
+            ? long.toNumber()
+            : long;
+      } else object.timestamp = options.longs === String ? "0" : 0;
+      object.timezoneOffset = 0;
+    }
+    if (message.timestamp != null && message.hasOwnProperty("timestamp"))
+      if (typeof message.timestamp === "number")
+        object.timestamp =
+          options.longs === String
+            ? String(message.timestamp)
+            : message.timestamp;
+      else
+        object.timestamp =
+          options.longs === String
+            ? $util.Long.prototype.toString.call(message.timestamp)
+            : options.longs === Number
+            ? new $util.LongBits(
+                message.timestamp.low >>> 0,
+                message.timestamp.high >>> 0
+              ).toNumber(true)
+            : message.timestamp;
+    if (
+      message.timezoneOffset != null &&
+      message.hasOwnProperty("timezoneOffset")
+    )
+      object.timezoneOffset =
+        options.json && !isFinite(message.timezoneOffset)
+          ? String(message.timezoneOffset)
+          : message.timezoneOffset;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetTime to JSON.
+   * @function toJSON
+   * @memberof ReqSetTime
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetTime.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetTime
+   * @function getTypeUrl
+   * @memberof ReqSetTime
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetTime";
+  };
+
+  return ReqSetTime;
+})();
+
+$root.ReqSetTimezone = (function () {
+  /**
+   * Properties of a ReqSetTimezone.
+   * @exports IReqSetTimezone
+   * @interface IReqSetTimezone
+   * @property {string|null} [timezone] ReqSetTimezone timezone
+   */
+
+  /**
+   * Constructs a new ReqSetTimezone.
+   * @exports ReqSetTimezone
+   * @classdesc Represents a ReqSetTimezone.
+   * @implements IReqSetTimezone
+   * @constructor
+   * @param {IReqSetTimezone=} [properties] Properties to set
+   */
+  function ReqSetTimezone(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetTimezone timezone.
+   * @member {string} timezone
+   * @memberof ReqSetTimezone
+   * @instance
+   */
+  ReqSetTimezone.prototype.timezone = "";
+
+  /**
+   * Creates a new ReqSetTimezone instance using the specified properties.
+   * @function create
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {IReqSetTimezone=} [properties] Properties to set
+   * @returns {ReqSetTimezone} ReqSetTimezone instance
+   */
+  ReqSetTimezone.create = function create(properties) {
+    return new ReqSetTimezone(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetTimezone message. Does not implicitly {@link ReqSetTimezone.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetTimezone.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.timezone != null &&
+      Object.hasOwnProperty.call(message, "timezone")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.timezone);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly {@link ReqSetTimezone.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetTimezone.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetTimezone message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetTimezone} ReqSetTimezone
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetTimezone.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetTimezone();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.timezone = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetTimezone} ReqSetTimezone
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetTimezone.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetTimezone message.
+   * @function verify
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetTimezone.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.timezone != null && message.hasOwnProperty("timezone"))
+      if (!$util.isString(message.timezone)) return "timezone: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetTimezone} ReqSetTimezone
+   */
+  ReqSetTimezone.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetTimezone) return object;
+    var message = new $root.ReqSetTimezone();
+    if (object.timezone != null) message.timezone = String(object.timezone);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {ReqSetTimezone} message ReqSetTimezone
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetTimezone.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.timezone = "";
+    if (message.timezone != null && message.hasOwnProperty("timezone"))
+      object.timezone = message.timezone;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetTimezone to JSON.
+   * @function toJSON
+   * @memberof ReqSetTimezone
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetTimezone.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetTimezone
+   * @function getTypeUrl
+   * @memberof ReqSetTimezone
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetTimezone.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetTimezone";
+  };
+
+  return ReqSetTimezone;
+})();
+
+$root.ReqSetMtpMode = (function () {
+  /**
+   * Properties of a ReqSetMtpMode.
+   * @exports IReqSetMtpMode
+   * @interface IReqSetMtpMode
+   * @property {number|null} [mode] ReqSetMtpMode mode
+   */
+
+  /**
+   * Constructs a new ReqSetMtpMode.
+   * @exports ReqSetMtpMode
+   * @classdesc Represents a ReqSetMtpMode.
+   * @implements IReqSetMtpMode
+   * @constructor
+   * @param {IReqSetMtpMode=} [properties] Properties to set
+   */
+  function ReqSetMtpMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetMtpMode mode.
+   * @member {number} mode
+   * @memberof ReqSetMtpMode
+   * @instance
+   */
+  ReqSetMtpMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqSetMtpMode instance using the specified properties.
+   * @function create
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {IReqSetMtpMode=} [properties] Properties to set
+   * @returns {ReqSetMtpMode} ReqSetMtpMode instance
+   */
+  ReqSetMtpMode.create = function create(properties) {
+    return new ReqSetMtpMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetMtpMode message. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetMtpMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetMtpMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetMtpMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetMtpMode} ReqSetMtpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetMtpMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetMtpMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetMtpMode} ReqSetMtpMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetMtpMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetMtpMode message.
+   * @function verify
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetMtpMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetMtpMode} ReqSetMtpMode
+   */
+  ReqSetMtpMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetMtpMode) return object;
+    var message = new $root.ReqSetMtpMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {ReqSetMtpMode} message ReqSetMtpMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetMtpMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetMtpMode to JSON.
+   * @function toJSON
+   * @memberof ReqSetMtpMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetMtpMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetMtpMode
+   * @function getTypeUrl
+   * @memberof ReqSetMtpMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetMtpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetMtpMode";
+  };
+
+  return ReqSetMtpMode;
+})();
+
+$root.ReqSetCpuMode = (function () {
+  /**
+   * Properties of a ReqSetCpuMode.
+   * @exports IReqSetCpuMode
+   * @interface IReqSetCpuMode
+   * @property {number|null} [mode] ReqSetCpuMode mode
+   */
+
+  /**
+   * Constructs a new ReqSetCpuMode.
+   * @exports ReqSetCpuMode
+   * @classdesc Represents a ReqSetCpuMode.
+   * @implements IReqSetCpuMode
+   * @constructor
+   * @param {IReqSetCpuMode=} [properties] Properties to set
+   */
+  function ReqSetCpuMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqSetCpuMode mode.
+   * @member {number} mode
+   * @memberof ReqSetCpuMode
+   * @instance
+   */
+  ReqSetCpuMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqSetCpuMode instance using the specified properties.
+   * @function create
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {IReqSetCpuMode=} [properties] Properties to set
+   * @returns {ReqSetCpuMode} ReqSetCpuMode instance
+   */
+  ReqSetCpuMode.create = function create(properties) {
+    return new ReqSetCpuMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqSetCpuMode message. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetCpuMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqSetCpuMode.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqSetCpuMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqSetCpuMode} ReqSetCpuMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetCpuMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqSetCpuMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqSetCpuMode} ReqSetCpuMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqSetCpuMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqSetCpuMode message.
+   * @function verify
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqSetCpuMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqSetCpuMode} ReqSetCpuMode
+   */
+  ReqSetCpuMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqSetCpuMode) return object;
+    var message = new $root.ReqSetCpuMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {ReqSetCpuMode} message ReqSetCpuMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqSetCpuMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqSetCpuMode to JSON.
+   * @function toJSON
+   * @memberof ReqSetCpuMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqSetCpuMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqSetCpuMode
+   * @function getTypeUrl
+   * @memberof ReqSetCpuMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqSetCpuMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqSetCpuMode";
+  };
+
+  return ReqSetCpuMode;
+})();
+
+$root.ReqsetMasterLock = (function () {
+  /**
+   * Properties of a ReqsetMasterLock.
+   * @exports IReqsetMasterLock
+   * @interface IReqsetMasterLock
+   * @property {boolean|null} [lock] ReqsetMasterLock lock
+   */
+
+  /**
+   * Constructs a new ReqsetMasterLock.
+   * @exports ReqsetMasterLock
+   * @classdesc Represents a ReqsetMasterLock.
+   * @implements IReqsetMasterLock
+   * @constructor
+   * @param {IReqsetMasterLock=} [properties] Properties to set
+   */
+  function ReqsetMasterLock(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqsetMasterLock lock.
+   * @member {boolean} lock
+   * @memberof ReqsetMasterLock
+   * @instance
+   */
+  ReqsetMasterLock.prototype.lock = false;
+
+  /**
+   * Creates a new ReqsetMasterLock instance using the specified properties.
+   * @function create
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {IReqsetMasterLock=} [properties] Properties to set
+   * @returns {ReqsetMasterLock} ReqsetMasterLock instance
+   */
+  ReqsetMasterLock.create = function create(properties) {
+    return new ReqsetMasterLock(properties);
+  };
+
+  /**
+   * Encodes the specified ReqsetMasterLock message. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages.
+   * @function encode
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqsetMasterLock.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.lock != null && Object.hasOwnProperty.call(message, "lock"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.lock);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqsetMasterLock.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqsetMasterLock message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqsetMasterLock} ReqsetMasterLock
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqsetMasterLock.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqsetMasterLock();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.lock = reader.bool();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqsetMasterLock} ReqsetMasterLock
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqsetMasterLock.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqsetMasterLock message.
+   * @function verify
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqsetMasterLock.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      if (typeof message.lock !== "boolean") return "lock: boolean expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqsetMasterLock} ReqsetMasterLock
+   */
+  ReqsetMasterLock.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqsetMasterLock) return object;
+    var message = new $root.ReqsetMasterLock();
+    if (object.lock != null) message.lock = Boolean(object.lock);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {ReqsetMasterLock} message ReqsetMasterLock
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqsetMasterLock.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.lock = false;
+    if (message.lock != null && message.hasOwnProperty("lock"))
+      object.lock = message.lock;
+    return object;
+  };
+
+  /**
+   * Converts this ReqsetMasterLock to JSON.
+   * @function toJSON
+   * @memberof ReqsetMasterLock
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqsetMasterLock.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqsetMasterLock
+   * @function getTypeUrl
+   * @memberof ReqsetMasterLock
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqsetMasterLock.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqsetMasterLock";
+  };
+
+  return ReqsetMasterLock;
+})();
+
+$root.ReqGetDeviceActivateInfo = (function () {
+  /**
+   * Properties of a ReqGetDeviceActivateInfo.
+   * @exports IReqGetDeviceActivateInfo
+   * @interface IReqGetDeviceActivateInfo
+   * @property {number|null} [issuer] ReqGetDeviceActivateInfo issuer
+   */
+
+  /**
+   * Constructs a new ReqGetDeviceActivateInfo.
+   * @exports ReqGetDeviceActivateInfo
+   * @classdesc Represents a ReqGetDeviceActivateInfo.
+   * @implements IReqGetDeviceActivateInfo
+   * @constructor
+   * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set
+   */
+  function ReqGetDeviceActivateInfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqGetDeviceActivateInfo issuer.
+   * @member {number} issuer
+   * @memberof ReqGetDeviceActivateInfo
+   * @instance
+   */
+  ReqGetDeviceActivateInfo.prototype.issuer = 0;
+
+  /**
+   * Creates a new ReqGetDeviceActivateInfo instance using the specified properties.
+   * @function create
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set
+   * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo instance
+   */
+  ReqGetDeviceActivateInfo.create = function create(properties) {
+    return new ReqGetDeviceActivateInfo(properties);
+  };
+
+  /**
+   * Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages.
+   * @function encode
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetDeviceActivateInfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.issuer);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqGetDeviceActivateInfo.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetDeviceActivateInfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqGetDeviceActivateInfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.issuer = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqGetDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqGetDeviceActivateInfo message.
+   * @function verify
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqGetDeviceActivateInfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.issuer != null && message.hasOwnProperty("issuer"))
+      if (!$util.isInteger(message.issuer)) return "issuer: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo
+   */
+  ReqGetDeviceActivateInfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqGetDeviceActivateInfo) return object;
+    var message = new $root.ReqGetDeviceActivateInfo();
+    if (object.issuer != null) message.issuer = object.issuer | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {ReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqGetDeviceActivateInfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.issuer = 0;
+    if (message.issuer != null && message.hasOwnProperty("issuer"))
+      object.issuer = message.issuer;
+    return object;
+  };
+
+  /**
+   * Converts this ReqGetDeviceActivateInfo to JSON.
+   * @function toJSON
+   * @memberof ReqGetDeviceActivateInfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqGetDeviceActivateInfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqGetDeviceActivateInfo
+   * @function getTypeUrl
+   * @memberof ReqGetDeviceActivateInfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqGetDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqGetDeviceActivateInfo";
+  };
+
+  return ReqGetDeviceActivateInfo;
+})();
+
+$root.ResDeviceActivateInfo = (function () {
+  /**
+   * Properties of a ResDeviceActivateInfo.
+   * @exports IResDeviceActivateInfo
+   * @interface IResDeviceActivateInfo
+   * @property {number|null} [activateState] ResDeviceActivateInfo activateState
+   * @property {number|null} [activateProcessState] ResDeviceActivateInfo activateProcessState
+   * @property {string|null} [requestParam] ResDeviceActivateInfo requestParam
+   */
+
+  /**
+   * Constructs a new ResDeviceActivateInfo.
+   * @exports ResDeviceActivateInfo
+   * @classdesc Represents a ResDeviceActivateInfo.
+   * @implements IResDeviceActivateInfo
+   * @constructor
+   * @param {IResDeviceActivateInfo=} [properties] Properties to set
+   */
+  function ResDeviceActivateInfo(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDeviceActivateInfo activateState.
+   * @member {number} activateState
+   * @memberof ResDeviceActivateInfo
+   * @instance
+   */
+  ResDeviceActivateInfo.prototype.activateState = 0;
+
+  /**
+   * ResDeviceActivateInfo activateProcessState.
+   * @member {number} activateProcessState
+   * @memberof ResDeviceActivateInfo
+   * @instance
+   */
+  ResDeviceActivateInfo.prototype.activateProcessState = 0;
+
+  /**
+   * ResDeviceActivateInfo requestParam.
+   * @member {string} requestParam
+   * @memberof ResDeviceActivateInfo
+   * @instance
+   */
+  ResDeviceActivateInfo.prototype.requestParam = "";
+
+  /**
+   * Creates a new ResDeviceActivateInfo instance using the specified properties.
+   * @function create
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {IResDeviceActivateInfo=} [properties] Properties to set
+   * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo instance
+   */
+  ResDeviceActivateInfo.create = function create(properties) {
+    return new ResDeviceActivateInfo(properties);
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateInfo message. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages.
+   * @function encode
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateInfo.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.activateState != null &&
+      Object.hasOwnProperty.call(message, "activateState")
+    )
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.activateState);
+    if (
+      message.activateProcessState != null &&
+      Object.hasOwnProperty.call(message, "activateProcessState")
+    )
+      writer
+        .uint32(/* id 2, wireType 0 =*/ 16)
+        .int32(message.activateProcessState);
+    if (
+      message.requestParam != null &&
+      Object.hasOwnProperty.call(message, "requestParam")
+    )
+      writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.requestParam);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateInfo.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDeviceActivateInfo message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateInfo.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDeviceActivateInfo();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.activateState = reader.int32();
+          break;
+        }
+        case 2: {
+          message.activateProcessState = reader.int32();
+          break;
+        }
+        case 3: {
+          message.requestParam = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDeviceActivateInfo message.
+   * @function verify
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDeviceActivateInfo.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      if (!$util.isInteger(message.activateState))
+        return "activateState: integer expected";
+    if (
+      message.activateProcessState != null &&
+      message.hasOwnProperty("activateProcessState")
+    )
+      if (!$util.isInteger(message.activateProcessState))
+        return "activateProcessState: integer expected";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      if (!$util.isString(message.requestParam))
+        return "requestParam: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo
+   */
+  ResDeviceActivateInfo.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDeviceActivateInfo) return object;
+    var message = new $root.ResDeviceActivateInfo();
+    if (object.activateState != null)
+      message.activateState = object.activateState | 0;
+    if (object.activateProcessState != null)
+      message.activateProcessState = object.activateProcessState | 0;
+    if (object.requestParam != null)
+      message.requestParam = String(object.requestParam);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {ResDeviceActivateInfo} message ResDeviceActivateInfo
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDeviceActivateInfo.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.activateState = 0;
+      object.activateProcessState = 0;
+      object.requestParam = "";
+    }
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      object.activateState = message.activateState;
+    if (
+      message.activateProcessState != null &&
+      message.hasOwnProperty("activateProcessState")
+    )
+      object.activateProcessState = message.activateProcessState;
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      object.requestParam = message.requestParam;
+    return object;
+  };
+
+  /**
+   * Converts this ResDeviceActivateInfo to JSON.
+   * @function toJSON
+   * @memberof ResDeviceActivateInfo
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDeviceActivateInfo.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDeviceActivateInfo
+   * @function getTypeUrl
+   * @memberof ResDeviceActivateInfo
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDeviceActivateInfo";
+  };
+
+  return ResDeviceActivateInfo;
+})();
+
+$root.ReqDeviceActivateWriteFile = (function () {
+  /**
+   * Properties of a ReqDeviceActivateWriteFile.
+   * @exports IReqDeviceActivateWriteFile
+   * @interface IReqDeviceActivateWriteFile
+   * @property {string|null} [requestParam] ReqDeviceActivateWriteFile requestParam
+   */
+
+  /**
+   * Constructs a new ReqDeviceActivateWriteFile.
+   * @exports ReqDeviceActivateWriteFile
+   * @classdesc Represents a ReqDeviceActivateWriteFile.
+   * @implements IReqDeviceActivateWriteFile
+   * @constructor
+   * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set
+   */
+  function ReqDeviceActivateWriteFile(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDeviceActivateWriteFile requestParam.
+   * @member {string} requestParam
+   * @memberof ReqDeviceActivateWriteFile
+   * @instance
+   */
+  ReqDeviceActivateWriteFile.prototype.requestParam = "";
+
+  /**
+   * Creates a new ReqDeviceActivateWriteFile instance using the specified properties.
+   * @function create
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set
+   * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile instance
+   */
+  ReqDeviceActivateWriteFile.create = function create(properties) {
+    return new ReqDeviceActivateWriteFile(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeviceActivateWriteFile.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.requestParam != null &&
+      Object.hasOwnProperty.call(message, "requestParam")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeviceActivateWriteFile.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeviceActivateWriteFile.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDeviceActivateWriteFile();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.requestParam = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeviceActivateWriteFile.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDeviceActivateWriteFile message.
+   * @function verify
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDeviceActivateWriteFile.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      if (!$util.isString(message.requestParam))
+        return "requestParam: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile
+   */
+  ReqDeviceActivateWriteFile.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDeviceActivateWriteFile) return object;
+    var message = new $root.ReqDeviceActivateWriteFile();
+    if (object.requestParam != null)
+      message.requestParam = String(object.requestParam);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {ReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDeviceActivateWriteFile.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.requestParam = "";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      object.requestParam = message.requestParam;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDeviceActivateWriteFile to JSON.
+   * @function toJSON
+   * @memberof ReqDeviceActivateWriteFile
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDeviceActivateWriteFile.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDeviceActivateWriteFile
+   * @function getTypeUrl
+   * @memberof ReqDeviceActivateWriteFile
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDeviceActivateWriteFile";
+  };
+
+  return ReqDeviceActivateWriteFile;
+})();
+
+$root.ResDeviceActivateWriteFile = (function () {
+  /**
+   * Properties of a ResDeviceActivateWriteFile.
+   * @exports IResDeviceActivateWriteFile
+   * @interface IResDeviceActivateWriteFile
+   * @property {number|null} [code] ResDeviceActivateWriteFile code
+   * @property {string|null} [requestParam] ResDeviceActivateWriteFile requestParam
+   */
+
+  /**
+   * Constructs a new ResDeviceActivateWriteFile.
+   * @exports ResDeviceActivateWriteFile
+   * @classdesc Represents a ResDeviceActivateWriteFile.
+   * @implements IResDeviceActivateWriteFile
+   * @constructor
+   * @param {IResDeviceActivateWriteFile=} [properties] Properties to set
+   */
+  function ResDeviceActivateWriteFile(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDeviceActivateWriteFile code.
+   * @member {number} code
+   * @memberof ResDeviceActivateWriteFile
+   * @instance
+   */
+  ResDeviceActivateWriteFile.prototype.code = 0;
+
+  /**
+   * ResDeviceActivateWriteFile requestParam.
+   * @member {string} requestParam
+   * @memberof ResDeviceActivateWriteFile
+   * @instance
+   */
+  ResDeviceActivateWriteFile.prototype.requestParam = "";
+
+  /**
+   * Creates a new ResDeviceActivateWriteFile instance using the specified properties.
+   * @function create
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {IResDeviceActivateWriteFile=} [properties] Properties to set
+   * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile instance
+   */
+  ResDeviceActivateWriteFile.create = function create(properties) {
+    return new ResDeviceActivateWriteFile(properties);
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages.
+   * @function encode
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateWriteFile.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (
+      message.requestParam != null &&
+      Object.hasOwnProperty.call(message, "requestParam")
+    )
+      writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.requestParam);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateWriteFile.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateWriteFile.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDeviceActivateWriteFile();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          message.requestParam = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateWriteFile.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDeviceActivateWriteFile message.
+   * @function verify
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDeviceActivateWriteFile.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      if (!$util.isString(message.requestParam))
+        return "requestParam: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile
+   */
+  ResDeviceActivateWriteFile.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDeviceActivateWriteFile) return object;
+    var message = new $root.ResDeviceActivateWriteFile();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.requestParam != null)
+      message.requestParam = String(object.requestParam);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {ResDeviceActivateWriteFile} message ResDeviceActivateWriteFile
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDeviceActivateWriteFile.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.code = 0;
+      object.requestParam = "";
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      object.requestParam = message.requestParam;
+    return object;
+  };
+
+  /**
+   * Converts this ResDeviceActivateWriteFile to JSON.
+   * @function toJSON
+   * @memberof ResDeviceActivateWriteFile
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDeviceActivateWriteFile.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDeviceActivateWriteFile
+   * @function getTypeUrl
+   * @memberof ResDeviceActivateWriteFile
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDeviceActivateWriteFile";
+  };
+
+  return ResDeviceActivateWriteFile;
+})();
+
+$root.ReqDeviceActivateSuccessfull = (function () {
+  /**
+   * Properties of a ReqDeviceActivateSuccessfull.
+   * @exports IReqDeviceActivateSuccessfull
+   * @interface IReqDeviceActivateSuccessfull
+   * @property {string|null} [requestParam] ReqDeviceActivateSuccessfull requestParam
+   */
+
+  /**
+   * Constructs a new ReqDeviceActivateSuccessfull.
+   * @exports ReqDeviceActivateSuccessfull
+   * @classdesc Represents a ReqDeviceActivateSuccessfull.
+   * @implements IReqDeviceActivateSuccessfull
+   * @constructor
+   * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set
+   */
+  function ReqDeviceActivateSuccessfull(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDeviceActivateSuccessfull requestParam.
+   * @member {string} requestParam
+   * @memberof ReqDeviceActivateSuccessfull
+   * @instance
+   */
+  ReqDeviceActivateSuccessfull.prototype.requestParam = "";
+
+  /**
+   * Creates a new ReqDeviceActivateSuccessfull instance using the specified properties.
+   * @function create
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set
+   * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull instance
+   */
+  ReqDeviceActivateSuccessfull.create = function create(properties) {
+    return new ReqDeviceActivateSuccessfull(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeviceActivateSuccessfull.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.requestParam != null &&
+      Object.hasOwnProperty.call(message, "requestParam")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeviceActivateSuccessfull.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDeviceActivateSuccessfull();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.requestParam = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDeviceActivateSuccessfull message.
+   * @function verify
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDeviceActivateSuccessfull.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      if (!$util.isString(message.requestParam))
+        return "requestParam: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull
+   */
+  ReqDeviceActivateSuccessfull.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDeviceActivateSuccessfull) return object;
+    var message = new $root.ReqDeviceActivateSuccessfull();
+    if (object.requestParam != null)
+      message.requestParam = String(object.requestParam);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {ReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDeviceActivateSuccessfull.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.requestParam = "";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      object.requestParam = message.requestParam;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDeviceActivateSuccessfull to JSON.
+   * @function toJSON
+   * @memberof ReqDeviceActivateSuccessfull
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDeviceActivateSuccessfull.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDeviceActivateSuccessfull
+   * @function getTypeUrl
+   * @memberof ReqDeviceActivateSuccessfull
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDeviceActivateSuccessfull";
+  };
+
+  return ReqDeviceActivateSuccessfull;
+})();
+
+$root.ResDeviceActivateSuccessfull = (function () {
+  /**
+   * Properties of a ResDeviceActivateSuccessfull.
+   * @exports IResDeviceActivateSuccessfull
+   * @interface IResDeviceActivateSuccessfull
+   * @property {number|null} [code] ResDeviceActivateSuccessfull code
+   * @property {number|null} [activateState] ResDeviceActivateSuccessfull activateState
+   */
+
+  /**
+   * Constructs a new ResDeviceActivateSuccessfull.
+   * @exports ResDeviceActivateSuccessfull
+   * @classdesc Represents a ResDeviceActivateSuccessfull.
+   * @implements IResDeviceActivateSuccessfull
+   * @constructor
+   * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set
+   */
+  function ResDeviceActivateSuccessfull(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDeviceActivateSuccessfull code.
+   * @member {number} code
+   * @memberof ResDeviceActivateSuccessfull
+   * @instance
+   */
+  ResDeviceActivateSuccessfull.prototype.code = 0;
+
+  /**
+   * ResDeviceActivateSuccessfull activateState.
+   * @member {number} activateState
+   * @memberof ResDeviceActivateSuccessfull
+   * @instance
+   */
+  ResDeviceActivateSuccessfull.prototype.activateState = 0;
+
+  /**
+   * Creates a new ResDeviceActivateSuccessfull instance using the specified properties.
+   * @function create
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set
+   * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull instance
+   */
+  ResDeviceActivateSuccessfull.create = function create(properties) {
+    return new ResDeviceActivateSuccessfull(properties);
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages.
+   * @function encode
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateSuccessfull.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (
+      message.activateState != null &&
+      Object.hasOwnProperty.call(message, "activateState")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateSuccessfull.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDeviceActivateSuccessfull();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          message.activateState = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited(
+    reader
+  ) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDeviceActivateSuccessfull message.
+   * @function verify
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDeviceActivateSuccessfull.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      if (!$util.isInteger(message.activateState))
+        return "activateState: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull
+   */
+  ResDeviceActivateSuccessfull.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDeviceActivateSuccessfull) return object;
+    var message = new $root.ResDeviceActivateSuccessfull();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.activateState != null)
+      message.activateState = object.activateState | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {ResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDeviceActivateSuccessfull.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.code = 0;
+      object.activateState = 0;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      object.activateState = message.activateState;
+    return object;
+  };
+
+  /**
+   * Converts this ResDeviceActivateSuccessfull to JSON.
+   * @function toJSON
+   * @memberof ResDeviceActivateSuccessfull
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDeviceActivateSuccessfull.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDeviceActivateSuccessfull
+   * @function getTypeUrl
+   * @memberof ResDeviceActivateSuccessfull
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDeviceActivateSuccessfull";
+  };
+
+  return ResDeviceActivateSuccessfull;
+})();
+
+$root.ReqDisableDeviceActivate = (function () {
+  /**
+   * Properties of a ReqDisableDeviceActivate.
+   * @exports IReqDisableDeviceActivate
+   * @interface IReqDisableDeviceActivate
+   * @property {string|null} [requestParam] ReqDisableDeviceActivate requestParam
+   */
+
+  /**
+   * Constructs a new ReqDisableDeviceActivate.
+   * @exports ReqDisableDeviceActivate
+   * @classdesc Represents a ReqDisableDeviceActivate.
+   * @implements IReqDisableDeviceActivate
+   * @constructor
+   * @param {IReqDisableDeviceActivate=} [properties] Properties to set
+   */
+  function ReqDisableDeviceActivate(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqDisableDeviceActivate requestParam.
+   * @member {string} requestParam
+   * @memberof ReqDisableDeviceActivate
+   * @instance
+   */
+  ReqDisableDeviceActivate.prototype.requestParam = "";
+
+  /**
+   * Creates a new ReqDisableDeviceActivate instance using the specified properties.
+   * @function create
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {IReqDisableDeviceActivate=} [properties] Properties to set
+   * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate instance
+   */
+  ReqDisableDeviceActivate.create = function create(properties) {
+    return new ReqDisableDeviceActivate(properties);
+  };
+
+  /**
+   * Encodes the specified ReqDisableDeviceActivate message. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages.
+   * @function encode
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDisableDeviceActivate.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (
+      message.requestParam != null &&
+      Object.hasOwnProperty.call(message, "requestParam")
+    )
+      writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqDisableDeviceActivate.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDisableDeviceActivate.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqDisableDeviceActivate();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.requestParam = reader.string();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqDisableDeviceActivate message.
+   * @function verify
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqDisableDeviceActivate.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      if (!$util.isString(message.requestParam))
+        return "requestParam: string expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate
+   */
+  ReqDisableDeviceActivate.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqDisableDeviceActivate) return object;
+    var message = new $root.ReqDisableDeviceActivate();
+    if (object.requestParam != null)
+      message.requestParam = String(object.requestParam);
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {ReqDisableDeviceActivate} message ReqDisableDeviceActivate
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqDisableDeviceActivate.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.requestParam = "";
+    if (message.requestParam != null && message.hasOwnProperty("requestParam"))
+      object.requestParam = message.requestParam;
+    return object;
+  };
+
+  /**
+   * Converts this ReqDisableDeviceActivate to JSON.
+   * @function toJSON
+   * @memberof ReqDisableDeviceActivate
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqDisableDeviceActivate.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqDisableDeviceActivate
+   * @function getTypeUrl
+   * @memberof ReqDisableDeviceActivate
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqDisableDeviceActivate";
+  };
+
+  return ReqDisableDeviceActivate;
+})();
+
+$root.ResDisableDeviceActivate = (function () {
+  /**
+   * Properties of a ResDisableDeviceActivate.
+   * @exports IResDisableDeviceActivate
+   * @interface IResDisableDeviceActivate
+   * @property {number|null} [code] ResDisableDeviceActivate code
+   * @property {number|null} [activateState] ResDisableDeviceActivate activateState
+   */
+
+  /**
+   * Constructs a new ResDisableDeviceActivate.
+   * @exports ResDisableDeviceActivate
+   * @classdesc Represents a ResDisableDeviceActivate.
+   * @implements IResDisableDeviceActivate
+   * @constructor
+   * @param {IResDisableDeviceActivate=} [properties] Properties to set
+   */
+  function ResDisableDeviceActivate(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ResDisableDeviceActivate code.
+   * @member {number} code
+   * @memberof ResDisableDeviceActivate
+   * @instance
+   */
+  ResDisableDeviceActivate.prototype.code = 0;
+
+  /**
+   * ResDisableDeviceActivate activateState.
+   * @member {number} activateState
+   * @memberof ResDisableDeviceActivate
+   * @instance
+   */
+  ResDisableDeviceActivate.prototype.activateState = 0;
+
+  /**
+   * Creates a new ResDisableDeviceActivate instance using the specified properties.
+   * @function create
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {IResDisableDeviceActivate=} [properties] Properties to set
+   * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate instance
+   */
+  ResDisableDeviceActivate.create = function create(properties) {
+    return new ResDisableDeviceActivate(properties);
+  };
+
+  /**
+   * Encodes the specified ResDisableDeviceActivate message. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages.
+   * @function encode
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDisableDeviceActivate.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.code != null && Object.hasOwnProperty.call(message, "code"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code);
+    if (
+      message.activateState != null &&
+      Object.hasOwnProperty.call(message, "activateState")
+    )
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ResDisableDeviceActivate.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ResDisableDeviceActivate message from the specified reader or buffer.
+   * @function decode
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDisableDeviceActivate.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ResDisableDeviceActivate();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.code = reader.int32();
+          break;
+        }
+        case 2: {
+          message.activateState = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ResDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ResDisableDeviceActivate message.
+   * @function verify
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ResDisableDeviceActivate.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.code != null && message.hasOwnProperty("code"))
+      if (!$util.isInteger(message.code)) return "code: integer expected";
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      if (!$util.isInteger(message.activateState))
+        return "activateState: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate
+   */
+  ResDisableDeviceActivate.fromObject = function fromObject(object) {
+    if (object instanceof $root.ResDisableDeviceActivate) return object;
+    var message = new $root.ResDisableDeviceActivate();
+    if (object.code != null) message.code = object.code | 0;
+    if (object.activateState != null)
+      message.activateState = object.activateState | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {ResDisableDeviceActivate} message ResDisableDeviceActivate
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ResDisableDeviceActivate.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.code = 0;
+      object.activateState = 0;
+    }
+    if (message.code != null && message.hasOwnProperty("code"))
+      object.code = message.code;
+    if (
+      message.activateState != null &&
+      message.hasOwnProperty("activateState")
+    )
+      object.activateState = message.activateState;
+    return object;
+  };
+
+  /**
+   * Converts this ResDisableDeviceActivate to JSON.
+   * @function toJSON
+   * @memberof ResDisableDeviceActivate
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ResDisableDeviceActivate.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ResDisableDeviceActivate
+   * @function getTypeUrl
+   * @memberof ResDisableDeviceActivate
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ResDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ResDisableDeviceActivate";
+  };
+
+  return ResDisableDeviceActivate;
+})();
+
+$root.ReqStartTrack = (function () {
+  /**
+   * Properties of a ReqStartTrack.
+   * @exports IReqStartTrack
+   * @interface IReqStartTrack
+   * @property {number|null} [x] ReqStartTrack x
+   * @property {number|null} [y] ReqStartTrack y
+   * @property {number|null} [w] ReqStartTrack w
+   * @property {number|null} [h] ReqStartTrack h
+   */
+
+  /**
+   * Constructs a new ReqStartTrack.
+   * @exports ReqStartTrack
+   * @classdesc Represents a ReqStartTrack.
+   * @implements IReqStartTrack
+   * @constructor
+   * @param {IReqStartTrack=} [properties] Properties to set
+   */
+  function ReqStartTrack(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartTrack x.
+   * @member {number} x
+   * @memberof ReqStartTrack
+   * @instance
+   */
+  ReqStartTrack.prototype.x = 0;
+
+  /**
+   * ReqStartTrack y.
+   * @member {number} y
+   * @memberof ReqStartTrack
+   * @instance
+   */
+  ReqStartTrack.prototype.y = 0;
+
+  /**
+   * ReqStartTrack w.
+   * @member {number} w
+   * @memberof ReqStartTrack
+   * @instance
+   */
+  ReqStartTrack.prototype.w = 0;
+
+  /**
+   * ReqStartTrack h.
+   * @member {number} h
+   * @memberof ReqStartTrack
+   * @instance
+   */
+  ReqStartTrack.prototype.h = 0;
+
+  /**
+   * Creates a new ReqStartTrack instance using the specified properties.
+   * @function create
+   * @memberof ReqStartTrack
+   * @static
+   * @param {IReqStartTrack=} [properties] Properties to set
+   * @returns {ReqStartTrack} ReqStartTrack instance
+   */
+  ReqStartTrack.create = function create(properties) {
+    return new ReqStartTrack(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartTrack message. Does not implicitly {@link ReqStartTrack.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartTrack
+   * @static
+   * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartTrack.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.x != null && Object.hasOwnProperty.call(message, "x"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x);
+    if (message.y != null && Object.hasOwnProperty.call(message, "y"))
+      writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y);
+    if (message.w != null && Object.hasOwnProperty.call(message, "w"))
+      writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w);
+    if (message.h != null && Object.hasOwnProperty.call(message, "h"))
+      writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartTrack message, length delimited. Does not implicitly {@link ReqStartTrack.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartTrack
+   * @static
+   * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartTrack.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartTrack message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartTrack} ReqStartTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartTrack.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartTrack();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.x = reader.int32();
+          break;
+        }
+        case 2: {
+          message.y = reader.int32();
+          break;
+        }
+        case 3: {
+          message.w = reader.int32();
+          break;
+        }
+        case 4: {
+          message.h = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartTrack message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartTrack} ReqStartTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartTrack.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartTrack message.
+   * @function verify
+   * @memberof ReqStartTrack
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartTrack.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.x != null && message.hasOwnProperty("x"))
+      if (!$util.isInteger(message.x)) return "x: integer expected";
+    if (message.y != null && message.hasOwnProperty("y"))
+      if (!$util.isInteger(message.y)) return "y: integer expected";
+    if (message.w != null && message.hasOwnProperty("w"))
+      if (!$util.isInteger(message.w)) return "w: integer expected";
+    if (message.h != null && message.hasOwnProperty("h"))
+      if (!$util.isInteger(message.h)) return "h: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartTrack
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartTrack} ReqStartTrack
+   */
+  ReqStartTrack.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartTrack) return object;
+    var message = new $root.ReqStartTrack();
+    if (object.x != null) message.x = object.x | 0;
+    if (object.y != null) message.y = object.y | 0;
+    if (object.w != null) message.w = object.w | 0;
+    if (object.h != null) message.h = object.h | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartTrack
+   * @static
+   * @param {ReqStartTrack} message ReqStartTrack
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartTrack.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) {
+      object.x = 0;
+      object.y = 0;
+      object.w = 0;
+      object.h = 0;
+    }
+    if (message.x != null && message.hasOwnProperty("x")) object.x = message.x;
+    if (message.y != null && message.hasOwnProperty("y")) object.y = message.y;
+    if (message.w != null && message.hasOwnProperty("w")) object.w = message.w;
+    if (message.h != null && message.hasOwnProperty("h")) object.h = message.h;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartTrack to JSON.
+   * @function toJSON
+   * @memberof ReqStartTrack
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartTrack.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartTrack
+   * @function getTypeUrl
+   * @memberof ReqStartTrack
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartTrack";
+  };
+
+  return ReqStartTrack;
+})();
+
+$root.ReqStopTrack = (function () {
+  /**
+   * Properties of a ReqStopTrack.
+   * @exports IReqStopTrack
+   * @interface IReqStopTrack
+   */
+
+  /**
+   * Constructs a new ReqStopTrack.
+   * @exports ReqStopTrack
+   * @classdesc Represents a ReqStopTrack.
+   * @implements IReqStopTrack
+   * @constructor
+   * @param {IReqStopTrack=} [properties] Properties to set
+   */
+  function ReqStopTrack(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopTrack instance using the specified properties.
+   * @function create
+   * @memberof ReqStopTrack
+   * @static
+   * @param {IReqStopTrack=} [properties] Properties to set
+   * @returns {ReqStopTrack} ReqStopTrack instance
+   */
+  ReqStopTrack.create = function create(properties) {
+    return new ReqStopTrack(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopTrack message. Does not implicitly {@link ReqStopTrack.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopTrack
+   * @static
+   * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTrack.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopTrack message, length delimited. Does not implicitly {@link ReqStopTrack.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopTrack
+   * @static
+   * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopTrack.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopTrack message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopTrack} ReqStopTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTrack.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopTrack();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopTrack message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopTrack} ReqStopTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopTrack.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopTrack message.
+   * @function verify
+   * @memberof ReqStopTrack
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopTrack.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopTrack
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopTrack} ReqStopTrack
+   */
+  ReqStopTrack.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopTrack) return object;
+    return new $root.ReqStopTrack();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopTrack
+   * @static
+   * @param {ReqStopTrack} message ReqStopTrack
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopTrack.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopTrack to JSON.
+   * @function toJSON
+   * @memberof ReqStopTrack
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopTrack.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopTrack
+   * @function getTypeUrl
+   * @memberof ReqStopTrack
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopTrack";
+  };
+
+  return ReqStopTrack;
+})();
+
+$root.ReqPauseTrack = (function () {
+  /**
+   * Properties of a ReqPauseTrack.
+   * @exports IReqPauseTrack
+   * @interface IReqPauseTrack
+   */
+
+  /**
+   * Constructs a new ReqPauseTrack.
+   * @exports ReqPauseTrack
+   * @classdesc Represents a ReqPauseTrack.
+   * @implements IReqPauseTrack
+   * @constructor
+   * @param {IReqPauseTrack=} [properties] Properties to set
+   */
+  function ReqPauseTrack(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqPauseTrack instance using the specified properties.
+   * @function create
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {IReqPauseTrack=} [properties] Properties to set
+   * @returns {ReqPauseTrack} ReqPauseTrack instance
+   */
+  ReqPauseTrack.create = function create(properties) {
+    return new ReqPauseTrack(properties);
+  };
+
+  /**
+   * Encodes the specified ReqPauseTrack message. Does not implicitly {@link ReqPauseTrack.verify|verify} messages.
+   * @function encode
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPauseTrack.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly {@link ReqPauseTrack.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqPauseTrack.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqPauseTrack message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqPauseTrack} ReqPauseTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPauseTrack.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqPauseTrack();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqPauseTrack} ReqPauseTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqPauseTrack.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqPauseTrack message.
+   * @function verify
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqPauseTrack.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqPauseTrack} ReqPauseTrack
+   */
+  ReqPauseTrack.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqPauseTrack) return object;
+    return new $root.ReqPauseTrack();
+  };
+
+  /**
+   * Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {ReqPauseTrack} message ReqPauseTrack
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqPauseTrack.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqPauseTrack to JSON.
+   * @function toJSON
+   * @memberof ReqPauseTrack
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqPauseTrack.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqPauseTrack
+   * @function getTypeUrl
+   * @memberof ReqPauseTrack
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqPauseTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqPauseTrack";
+  };
+
+  return ReqPauseTrack;
+})();
+
+$root.ReqContinueTrack = (function () {
+  /**
+   * Properties of a ReqContinueTrack.
+   * @exports IReqContinueTrack
+   * @interface IReqContinueTrack
+   */
+
+  /**
+   * Constructs a new ReqContinueTrack.
+   * @exports ReqContinueTrack
+   * @classdesc Represents a ReqContinueTrack.
+   * @implements IReqContinueTrack
+   * @constructor
+   * @param {IReqContinueTrack=} [properties] Properties to set
+   */
+  function ReqContinueTrack(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqContinueTrack instance using the specified properties.
+   * @function create
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {IReqContinueTrack=} [properties] Properties to set
+   * @returns {ReqContinueTrack} ReqContinueTrack instance
+   */
+  ReqContinueTrack.create = function create(properties) {
+    return new ReqContinueTrack(properties);
+  };
+
+  /**
+   * Encodes the specified ReqContinueTrack message. Does not implicitly {@link ReqContinueTrack.verify|verify} messages.
+   * @function encode
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqContinueTrack.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly {@link ReqContinueTrack.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqContinueTrack.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqContinueTrack message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqContinueTrack} ReqContinueTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqContinueTrack.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqContinueTrack();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqContinueTrack} ReqContinueTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqContinueTrack.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqContinueTrack message.
+   * @function verify
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqContinueTrack.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqContinueTrack} ReqContinueTrack
+   */
+  ReqContinueTrack.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqContinueTrack) return object;
+    return new $root.ReqContinueTrack();
+  };
+
+  /**
+   * Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {ReqContinueTrack} message ReqContinueTrack
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqContinueTrack.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqContinueTrack to JSON.
+   * @function toJSON
+   * @memberof ReqContinueTrack
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqContinueTrack.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqContinueTrack
+   * @function getTypeUrl
+   * @memberof ReqContinueTrack
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqContinueTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqContinueTrack";
+  };
+
+  return ReqContinueTrack;
+})();
+
+$root.ReqStartSentryMode = (function () {
+  /**
+   * Properties of a ReqStartSentryMode.
+   * @exports IReqStartSentryMode
+   * @interface IReqStartSentryMode
+   * @property {number|null} [mode] ReqStartSentryMode mode
+   */
+
+  /**
+   * Constructs a new ReqStartSentryMode.
+   * @exports ReqStartSentryMode
+   * @classdesc Represents a ReqStartSentryMode.
+   * @implements IReqStartSentryMode
+   * @constructor
+   * @param {IReqStartSentryMode=} [properties] Properties to set
+   */
+  function ReqStartSentryMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqStartSentryMode mode.
+   * @member {number} mode
+   * @memberof ReqStartSentryMode
+   * @instance
+   */
+  ReqStartSentryMode.prototype.mode = 0;
+
+  /**
+   * Creates a new ReqStartSentryMode instance using the specified properties.
+   * @function create
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {IReqStartSentryMode=} [properties] Properties to set
+   * @returns {ReqStartSentryMode} ReqStartSentryMode instance
+   */
+  ReqStartSentryMode.create = function create(properties) {
+    return new ReqStartSentryMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStartSentryMode message. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartSentryMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStartSentryMode.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStartSentryMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStartSentryMode} ReqStartSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartSentryMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStartSentryMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.mode = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStartSentryMode} ReqStartSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStartSentryMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStartSentryMode message.
+   * @function verify
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStartSentryMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      if (!$util.isInteger(message.mode)) return "mode: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStartSentryMode} ReqStartSentryMode
+   */
+  ReqStartSentryMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStartSentryMode) return object;
+    var message = new $root.ReqStartSentryMode();
+    if (object.mode != null) message.mode = object.mode | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {ReqStartSentryMode} message ReqStartSentryMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStartSentryMode.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.mode = 0;
+    if (message.mode != null && message.hasOwnProperty("mode"))
+      object.mode = message.mode;
+    return object;
+  };
+
+  /**
+   * Converts this ReqStartSentryMode to JSON.
+   * @function toJSON
+   * @memberof ReqStartSentryMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStartSentryMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStartSentryMode
+   * @function getTypeUrl
+   * @memberof ReqStartSentryMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStartSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStartSentryMode";
+  };
+
+  return ReqStartSentryMode;
+})();
+
+$root.ReqStopSentryMode = (function () {
+  /**
+   * Properties of a ReqStopSentryMode.
+   * @exports IReqStopSentryMode
+   * @interface IReqStopSentryMode
+   */
+
+  /**
+   * Constructs a new ReqStopSentryMode.
+   * @exports ReqStopSentryMode
+   * @classdesc Represents a ReqStopSentryMode.
+   * @implements IReqStopSentryMode
+   * @constructor
+   * @param {IReqStopSentryMode=} [properties] Properties to set
+   */
+  function ReqStopSentryMode(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqStopSentryMode instance using the specified properties.
+   * @function create
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {IReqStopSentryMode=} [properties] Properties to set
+   * @returns {ReqStopSentryMode} ReqStopSentryMode instance
+   */
+  ReqStopSentryMode.create = function create(properties) {
+    return new ReqStopSentryMode(properties);
+  };
+
+  /**
+   * Encodes the specified ReqStopSentryMode message. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages.
+   * @function encode
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopSentryMode.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqStopSentryMode.encodeDelimited = function encodeDelimited(
+    message,
+    writer
+  ) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqStopSentryMode message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqStopSentryMode} ReqStopSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopSentryMode.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqStopSentryMode();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqStopSentryMode} ReqStopSentryMode
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqStopSentryMode.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqStopSentryMode message.
+   * @function verify
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqStopSentryMode.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqStopSentryMode} ReqStopSentryMode
+   */
+  ReqStopSentryMode.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqStopSentryMode) return object;
+    return new $root.ReqStopSentryMode();
+  };
+
+  /**
+   * Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {ReqStopSentryMode} message ReqStopSentryMode
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqStopSentryMode.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqStopSentryMode to JSON.
+   * @function toJSON
+   * @memberof ReqStopSentryMode
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqStopSentryMode.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqStopSentryMode
+   * @function getTypeUrl
+   * @memberof ReqStopSentryMode
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqStopSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqStopSentryMode";
+  };
+
+  return ReqStopSentryMode;
+})();
+
+$root.ReqMOTTrack = (function () {
+  /**
+   * Properties of a ReqMOTTrack.
+   * @exports IReqMOTTrack
+   * @interface IReqMOTTrack
+   */
+
+  /**
+   * Constructs a new ReqMOTTrack.
+   * @exports ReqMOTTrack
+   * @classdesc Represents a ReqMOTTrack.
+   * @implements IReqMOTTrack
+   * @constructor
+   * @param {IReqMOTTrack=} [properties] Properties to set
+   */
+  function ReqMOTTrack(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * Creates a new ReqMOTTrack instance using the specified properties.
+   * @function create
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {IReqMOTTrack=} [properties] Properties to set
+   * @returns {ReqMOTTrack} ReqMOTTrack instance
+   */
+  ReqMOTTrack.create = function create(properties) {
+    return new ReqMOTTrack(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMOTTrack message. Does not implicitly {@link ReqMOTTrack.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMOTTrack.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly {@link ReqMOTTrack.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMOTTrack.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMOTTrack message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMOTTrack} ReqMOTTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMOTTrack.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMOTTrack();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMOTTrack} ReqMOTTrack
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMOTTrack.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMOTTrack message.
+   * @function verify
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMOTTrack.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMOTTrack} ReqMOTTrack
+   */
+  ReqMOTTrack.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMOTTrack) return object;
+    return new $root.ReqMOTTrack();
+  };
+
+  /**
+   * Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {ReqMOTTrack} message ReqMOTTrack
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMOTTrack.toObject = function toObject() {
+    return {};
+  };
+
+  /**
+   * Converts this ReqMOTTrack to JSON.
+   * @function toJSON
+   * @memberof ReqMOTTrack
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMOTTrack.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMOTTrack
+   * @function getTypeUrl
+   * @memberof ReqMOTTrack
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMOTTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMOTTrack";
+  };
+
+  return ReqMOTTrack;
+})();
+
+$root.ReqMOTTrackOne = (function () {
+  /**
+   * Properties of a ReqMOTTrackOne.
+   * @exports IReqMOTTrackOne
+   * @interface IReqMOTTrackOne
+   * @property {number|null} [id] ReqMOTTrackOne id
+   */
+
+  /**
+   * Constructs a new ReqMOTTrackOne.
+   * @exports ReqMOTTrackOne
+   * @classdesc Represents a ReqMOTTrackOne.
+   * @implements IReqMOTTrackOne
+   * @constructor
+   * @param {IReqMOTTrackOne=} [properties] Properties to set
+   */
+  function ReqMOTTrackOne(properties) {
+    if (properties)
+      for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+        if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]];
+  }
+
+  /**
+   * ReqMOTTrackOne id.
+   * @member {number} id
+   * @memberof ReqMOTTrackOne
+   * @instance
+   */
+  ReqMOTTrackOne.prototype.id = 0;
+
+  /**
+   * Creates a new ReqMOTTrackOne instance using the specified properties.
+   * @function create
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {IReqMOTTrackOne=} [properties] Properties to set
+   * @returns {ReqMOTTrackOne} ReqMOTTrackOne instance
+   */
+  ReqMOTTrackOne.create = function create(properties) {
+    return new ReqMOTTrackOne(properties);
+  };
+
+  /**
+   * Encodes the specified ReqMOTTrackOne message. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages.
+   * @function encode
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMOTTrackOne.encode = function encode(message, writer) {
+    if (!writer) writer = $Writer.create();
+    if (message.id != null && Object.hasOwnProperty.call(message, "id"))
+      writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id);
+    return writer;
+  };
+
+  /**
+   * Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages.
+   * @function encodeDelimited
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode
+   * @param {$protobuf.Writer} [writer] Writer to encode to
+   * @returns {$protobuf.Writer} Writer
+   */
+  ReqMOTTrackOne.encodeDelimited = function encodeDelimited(message, writer) {
+    return this.encode(message, writer).ldelim();
+  };
+
+  /**
+   * Decodes a ReqMOTTrackOne message from the specified reader or buffer.
+   * @function decode
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @param {number} [length] Message length if known beforehand
+   * @returns {ReqMOTTrackOne} ReqMOTTrackOne
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMOTTrackOne.decode = function decode(reader, length) {
+    if (!(reader instanceof $Reader)) reader = $Reader.create(reader);
+    var end = length === undefined ? reader.len : reader.pos + length,
+      message = new $root.ReqMOTTrackOne();
+    while (reader.pos < end) {
+      var tag = reader.uint32();
+      switch (tag >>> 3) {
+        case 1: {
+          message.id = reader.int32();
+          break;
+        }
+        default:
+          reader.skipType(tag & 7);
+          break;
+      }
+    }
+    return message;
+  };
+
+  /**
+   * Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited.
+   * @function decodeDelimited
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+   * @returns {ReqMOTTrackOne} ReqMOTTrackOne
+   * @throws {Error} If the payload is not a reader or valid buffer
+   * @throws {$protobuf.util.ProtocolError} If required fields are missing
+   */
+  ReqMOTTrackOne.decodeDelimited = function decodeDelimited(reader) {
+    if (!(reader instanceof $Reader)) reader = new $Reader(reader);
+    return this.decode(reader, reader.uint32());
+  };
+
+  /**
+   * Verifies a ReqMOTTrackOne message.
+   * @function verify
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {Object.<string,*>} message Plain object to verify
+   * @returns {string|null} `null` if valid, otherwise the reason why it is not
+   */
+  ReqMOTTrackOne.verify = function verify(message) {
+    if (typeof message !== "object" || message === null)
+      return "object expected";
+    if (message.id != null && message.hasOwnProperty("id"))
+      if (!$util.isInteger(message.id)) return "id: integer expected";
+    return null;
+  };
+
+  /**
+   * Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types.
+   * @function fromObject
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {Object.<string,*>} object Plain object
+   * @returns {ReqMOTTrackOne} ReqMOTTrackOne
+   */
+  ReqMOTTrackOne.fromObject = function fromObject(object) {
+    if (object instanceof $root.ReqMOTTrackOne) return object;
+    var message = new $root.ReqMOTTrackOne();
+    if (object.id != null) message.id = object.id | 0;
+    return message;
+  };
+
+  /**
+   * Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified.
+   * @function toObject
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {ReqMOTTrackOne} message ReqMOTTrackOne
+   * @param {$protobuf.IConversionOptions} [options] Conversion options
+   * @returns {Object.<string,*>} Plain object
+   */
+  ReqMOTTrackOne.toObject = function toObject(message, options) {
+    if (!options) options = {};
+    var object = {};
+    if (options.defaults) object.id = 0;
+    if (message.id != null && message.hasOwnProperty("id"))
+      object.id = message.id;
+    return object;
+  };
+
+  /**
+   * Converts this ReqMOTTrackOne to JSON.
+   * @function toJSON
+   * @memberof ReqMOTTrackOne
+   * @instance
+   * @returns {Object.<string,*>} JSON object
+   */
+  ReqMOTTrackOne.prototype.toJSON = function toJSON() {
+    return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+  };
+
+  /**
+   * Gets the default type url for ReqMOTTrackOne
+   * @function getTypeUrl
+   * @memberof ReqMOTTrackOne
+   * @static
+   * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+   * @returns {string} The default type url
+   */
+  ReqMOTTrackOne.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+    if (typeUrlPrefix === undefined) {
+      typeUrlPrefix = "type.googleapis.com";
+    }
+    return typeUrlPrefix + "/ReqMOTTrackOne";
+  };
+
+  return ReqMOTTrackOne;
+})();
+
+export default $root;
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/rgb_power.js.html b/docs/rgb_power.js.html new file mode 100644 index 00000000..308a3024 --- /dev/null +++ b/docs/rgb_power.js.html @@ -0,0 +1,212 @@ + + + + + + rgb_power.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

rgb_power.js

+ + + + + + + +
+
+
/** @module rgp_power */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** -------------------------------------------------- ***/
+/*** ---------------- MODULE RGB POWER ---------------- ***/
+/*** -------------------------------------------------- ***/
+/**
+ * 4.12.3 Turn on the ring light
+ * Create Encoded Packet for the command CMD_RGB_POWER_OPEN_RGB
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerOpenRGB() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_OPEN_RGB;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.12.4 Turn off the ring light
+ * Create Encoded Packet for the command CMD_RGB_POWER_CLOSE_RGB
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerCloseRGB() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_CLOSE_RGB;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.12.5 Turn on the battery indicator
+ * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_ON
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerPowerIndON() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_ON;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.12.6 Turn off battery indicator
+ * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_OFF
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerPowerIndOFF() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_OFF;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.12.7 Shut down
+ * Create Encoded Packet for the command CMD_RGB_POWER_POWER_DOWN
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerDown() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWER_DOWN;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.12.8 Restart
+ * Create Encoded Packet for the command CMD_RGB_POWER_REBOOT
+ * @returns {Uint8Array}
+ */
+export function messageRgbPowerReboot() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_REBOOT;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html deleted file mode 100644 index ffda1ed1..00000000 --- a/docs/set_isp_settings.js.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - set_isp_settings.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

set_isp_settings.js

- - - - - - - -
-
-
/** @module set_isp_settings */
-
-import {
-  telephotoCamera,
-  setExposureModeCmd,
-  setExposureValueCmd,
-  setGainModeCmd,
-  setGainValueCmd,
-  IRCut,
-  setIRCmd,
-  autofocusArea,
-  autofocusCmd,
-  setBrightnessValueCmd,
-  setContrastValueCmd,
-  setSaturationValueCmd,
-  setHueValueCmd,
-  setSharpnessValueCmd,
-  setWhiteBalanceModeCmd,
-  setWhiteBalanceScenceCmd,
-  whiteBalanceScenesValueID,
-  setWhiteBalanceColorCmd,
-  modeManual,
-} from "./api_codes.js";
-
-/**
- * 3.3.1 brightness
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setBrightness(camera = telephotoCamera, value) {
-  // telephoto values: 0-255 default:128
-  // wideangle values: -64-64 default:0
-  const options = {
-    interface: setBrightnessValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.2 contrast
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setContrast(camera = telephotoCamera, value) {
-  // telephoto values: 0-255 default:128
-  // wideangle values: 0-95 default:0
-  const options = {
-    interface: setContrastValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.3 saturation
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setSaturation(camera = telephotoCamera, value) {
-  // telephoto values: 0-255 default:128
-  // wideangle values: 0-100 default:80
-  const options = {
-    interface: setSaturationValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.4 hue
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setHue(camera = telephotoCamera, value) {
-  // telephoto values: 0-255 default:128
-  // wideangle values: -2000-2000 default:0
-  const options = {
-    interface: setHueValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.5 sharpness
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setSharpness(camera = telephotoCamera, value) {
-  // telephoto values: 0-100 default:50
-  // wideangle values: 1-7 default:2
-  const options = {
-    interface: setSharpnessValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.6 Set exposure mode
- * @param {number} camera
- * @param {number} mode
- * @returns {Object}
- */
-export function setExposureMode(camera = telephotoCamera, mode = modeManual) {
-  const options = {
-    interface: setExposureModeCmd,
-    camId: camera,
-    mode: mode,
-  };
-  return options;
-}
-
-/**
- * 3.3.7 Set exposure value
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setExposure(camera = telephotoCamera, value) {
-  // Long focal camera:0.0000-15.0000
-  // Wide-angle camera:0.0003-1.0
-  const options = {
-    interface: setExposureValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.8 Set gain mode
- * @param {number} camera
- * @param {number} mode
- * @returns {Object}
- */
-export function setGainMode(camera = telephotoCamera, mode = modeManual) {
-  const options = {
-    interface: setGainModeCmd,
-    camId: camera,
-    mode: mode,
-  };
-  return options;
-}
-
-/**
- * 3.3.9 Set gain value
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setGain(camera = telephotoCamera, value) {
-  // Long focal camera:0-240
-  // Wide-angle camera:64-8000
-  const options = {
-    interface: setGainValueCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.10 Start autofocus
- * @param {number} camera
- * @param {number} mode
- * @param {number} x
- * @param {number} y
- * @returns {Object}
- */
-export function autoFocus(
-  camera = telephotoCamera,
-  mode = autofocusArea,
-  x = 0,
-  y = 0
-) {
-  // centerX: 0-1920
-  // centerY: 0-1080
-  const options = {
-    interface: autofocusCmd,
-    camId: camera,
-    mode,
-    centerX: x,
-    centerY: y,
-  };
-  return options;
-}
-
-/**
- * 3.3.11 Set the white balance mode
- * @param {number} camera
- * @param {number} mode
- * @returns {Object}
- */
-export function setWhiteBalanceMode(
-  camera = telephotoCamera,
-  mode = modeManual
-) {
-  const options = {
-    interface: setWhiteBalanceModeCmd,
-    camId: camera,
-    mode: mode,
-  };
-  return options;
-}
-
-/**
- * 3.3.12 Set the white balance scene
- * @param {number} mode
- * @returns {Object}
- */
-export function setWhiteBalanceScene(
-  mode = whiteBalanceScenesValueID["incandescent lamp"]
-) {
-  const options = {
-    interface: setWhiteBalanceScenceCmd,
-    camId: telephotoCamera,
-    mode,
-  };
-  return options;
-}
-
-/**
- * 3.3.13 Set the white balance color temperature parameter
- * @param {number} camera
- * @param {number} value
- * @returns {Object}
- */
-export function setWhiteBalanceColor(camera = telephotoCamera, value) {
-  // Long focal camera: 2800-7500
-  // Wide-angle camera: 2800-6000
-  const options = {
-    interface: setWhiteBalanceColorCmd,
-    camId: camera,
-    value,
-  };
-  return options;
-}
-
-/**
- * 3.3.14 IR_CUT
- * @param {number} value
- * @returns {Object}
- */
-export function setIR(value = IRCut) {
-  const options = {
-    interface: setIRCmd,
-    camId: telephotoCamera,
-    value,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/system.js.html b/docs/system.js.html new file mode 100644 index 00000000..e1864922 --- /dev/null +++ b/docs/system.js.html @@ -0,0 +1,197 @@ + + + + + + system.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

system.js

+ + + + + + + +
+
+
/** @module system */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
+
+/*** ----------------------------------------------- ***/
+/*** ---------------- MODULE SYSTEM ---------------- ***/
+/*** ----------------------------------------------- ***/
+/**
+ * 4.11.3 Set the system time
+ * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME
+ * @returns {Uint8Array}
+ */
+export function messageSystemSetTime() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  const date = new Date();
+  let timezoneOffset = date.getTimezoneOffset(); // Offset in minutes
+  // Convert to hours and round to the nearest 0.25
+  let roundedTimezoneOffset = Math.round((timezoneOffset / 60) * 4) / 4;
+  let message = class_message.create({
+    timestamp: Math.floor(Date.now() / 1000),
+    timezoneOffset: roundedTimezoneOffset,
+  });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.11.4 Set the time zone
+ * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME_ZONE
+ * @param {string} timezone
+ * @returns {Uint8Array}
+ */
+export function messageSystemSetTimezone(timezone) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME_ZONE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ timezone: timezone });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.11.5 Set MTP mode
+ * Create Encoded Packet for the command CMD_SYSTEM_SET_MTP_MODE
+ * @param {number} mode //Can be omitted, default is on, cannot be closed
+ * @returns {Uint8Array}
+ */
+export function messageSystemSetMtpMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MTP_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.11.6 Set CPU mode
+ * Create Encoded Packet for the command CMD_SYSTEM_SET_CPU_MODE
+ * @param {number} mode //0: Normal mode 1: Performance mode
+ * @returns {Uint8Array}
+ */
+export function messageSystemSetCpuMode(mode) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_CPU_MODE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 4.11.7 Set HOST mode
+ * Create Encoded Packet for the command CMD_SYSTEM_SET_MASTERLOCK
+ * @param {boolean} lock //false: Master UnLock true: Master Lock
+ * @returns {Uint8Array}
+ */
+export function messageSystemSetMasterLock(lock) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MASTERLOCK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ lock: lock });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html deleted file mode 100644 index 9c9a4e6e..00000000 --- a/docs/system_settings.js.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - system_settings.js - Documentation - - - - - - - - - - - - - - - - - - - - -
- -

system_settings.js

- - - - - - - -
-
-
/** @module system_settings */
-
-import { shutDownCmd } from "./api_codes.js";
-
-/**
- * 7.11 Shut down
- * @returns {Object}
- */
-export function shutDown() {
-  const options = {
-    interface: shutDownCmd,
-  };
-  return options;
-}
-
-
-
- - - - - - -
- -
- -
- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. -
- - - - - - - - - - - diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 556d4997..25ae61a1 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -47,57 +47,190 @@

tracking.js

-
/** @module tracking */
-
-import {
-  traceInitCmd,
-  startTrackingCmd,
-  stopTrackingCmd,
-  telephotoCamera,
-} from "./api_codes.js";
+            
/** @module track */
+// Import the generated protobuf module
+import $root from "./protobuf/protobuf.js";
+const Dwarfii_Api = $root;
+import { createPacket } from "./api_utils.js";
+import { cmdMapping } from "./cmd_mapping.js";
 
+/*** --------------------------------------------- ***/
+/*** ---------------- MODULE TRACK---------------- ***/
+/*** --------------------------------------------- ***/
 /**
- * 4.2.1 Trace initialization
- * @returns {Object}
+ * 4.14.3 Started tracking
+ * Create Encoded Packet for the command CMD_TRACK_START_TRACK
+ * @param {number} x ; //x coordinate of the upper left point of the target box
+ * @param {number} y ; // The y coordinate of the upper left point of the target box
+ * @param {number} w ; // width of the target box
+ * @param {number} h ; //The length of the target box
+ * @returns {Uint8Array}
  */
-export function startTrace() {
-  const options = { interface: traceInitCmd };
-  return options;
+export function messageTrackStartTrack(x, y, w, h) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_START_TRACK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ x: x, y: y, w: w, h: h });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.2.2 Start tracking
- * @param {number} x
- * @param {number} y
- * @param {number} width
- * @param {number} height
- * @returns {Object}
+ * 3.14.4 Stop tracking
+ * Create Encoded Packet for the command CMD_TRACK_STOP_TRACK
+ * @returns {Uint8Array}
  */
-export function startTracking(x, y, width, height) {
-  // x 0-1920
-  // y 0-1080
-  // w 0-1920
-  // h 0-1080
-  const options = {
-    interface: startTrackingCmd,
-    camId: telephotoCamera,
-    x,
-    y,
-    w: width,
-    h: height,
-  };
-  return options;
+export function messageTrackStopTrack() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_STOP_TRACK;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.14.5 Start Sentinel Mode
+ * Create Encoded Packet for the command CMD_SENTRY_MODE_START
+ * @param {number} mode ; //Reserved field, you can pass 0 now
+ * @returns {Uint8Array}
+ */
+export function messageSentryModeStart(mode = 0) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_START;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.14.6 Stop Sentinel Mode
+ * Create Encoded Packet for the command CMD_SENTRY_MODE_STOP
+ * @returns {Uint8Array}
+ */
+export function messageSentryModeStop() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_STOP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.14.7 Start "Multi-Object Tracking"
+ * Create Encoded Packet for the command CMD_MOT_START
+ * @returns {Uint8Array}
+ */
+export function messageMOTStart() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_START;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.14.8 "Multi-Object Tracking" feature starts tracking a target
+ * Create Encoded Packet for the command CMD_MOT_TRACK_ONE
+ * @param {number} id ; // target id
+ * @returns {Uint8Array}
+ */
+export function messageMOTStartOne(id) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_TRACK_ONE;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ id: id });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
+}
+/**
+ * 3.14.9 Start UFO Mode
+ * Create Encoded Packet for the command CMD_UFOTRACK_MODE_START
+ * @param {number} mode ; //Reserved field, you can pass 0 now
+ * @returns {Uint8Array}
+ */
+export function messageUFOTrackModeStart(mode = 0) {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_START;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({ mode: mode });
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
-
 /**
- * 4.2.3 Stop tracking
- * @returns {Object}
+ * 3.14.10 Stop UFO Mode
+ * Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP
+ * @returns {Uint8Array}
  */
-export function stopTracking() {
-  const options = {
-    interface: stopTrackingCmd,
-  };
-  return options;
+export function messageUFOTrackModeStop() {
+  let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK;
+  let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_STOP;
+  let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST;
+  // Obtain classname depending of the command
+  // Obtain a message class
+  const cmdClass = cmdMapping[interface_id];
+  let class_message = eval(`Dwarfii_Api.${cmdClass}`);
+  // Encode message
+  let message = class_message.create({});
+  console.log(
+    `class Message = ${cmdClass} created message = ${JSON.stringify(message)}`
+  );
+  // return encoded Message Packet
+  return createPacket(message, class_message, module_id, interface_id, type_id);
 }
 
@@ -113,7 +246,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:36 GMT+0100 (Central European Standard Time) using the docdash theme.
diff --git a/docs/websocket_class.js.html b/docs/websocket_class.js.html new file mode 100644 index 00000000..343c08af --- /dev/null +++ b/docs/websocket_class.js.html @@ -0,0 +1,1072 @@ + + + + + + websocket_class.js - Documentation + + + + + + + + + + + + + + + + + + + + +
+ +

websocket_class.js

+ + + + + + + +
+
+
/** @module websocket_class */
+/* eslint no-unused-vars: 0 */
+
+function sleep(ms) {
+  return new Promise((resolve) => setTimeout(resolve, ms));
+}
+
+import { wsURL } from "./api_codes.js";
+import { setDwarfDeviceID, analyzePacket } from "./api_utils.js";
+
+class Queue {
+  constructor(...elements) {
+    // Initializing the queue with given arguments
+    this.elements = [...elements];
+  }
+  // Proxying the push/shift methods
+  push(...args) {
+    return this.elements.push(...args);
+  }
+  shift(...args) {
+    return this.elements.shift();
+  }
+  // Add some length utility methods
+  get length() {
+    return this.elements.length;
+  }
+  set length(length) {
+    this.elements.length = length;
+  }
+}
+
+/**
+ * WebSocketHandler is the main interface to send messages to the Dwarf via websocket
+ * It will analyse all messages received by the Dwarf and send the recieved messages to the caller
+ * It's a singleton class
+ * @class
+ * @constructor
+ * @public
+ */
+export class WebSocketHandler {
+  static instance = undefined;
+  socket = null;
+  is_opened = false;
+
+  IPDwarf = undefined;
+  proxyURL = undefined;
+  useHttps = false;
+  WS_Packet = {};
+
+  isCallbackMessages = false;
+  packetCallbackMessages = {};
+  isCallbackErrors = false;
+  packetCallbackErrors = {};
+  isCallbackConnectStates = false;
+  packetCallbackConnectStates = {};
+
+  callbackReconnectFunction = undefined;
+
+  /**
+   * closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long
+   */
+  closeSocketTimer = undefined;
+
+  /**
+   * closeTimerHandler : function could be defined : to close the timeout timer.
+   */
+  closeTimerHandler = function () {};
+
+  /**
+   * onStopTimerHandler : function could be defined : this function will be called in case of error during connection
+   */
+  onStopTimerHandler = function () {};
+
+  keep_connection = false;
+  is_running = false;
+  is_sending = false;
+  is_receiving = false;
+  is_stopping = false;
+  is_buffered = false;
+  sendingQueue = new Queue();
+
+  is_pong_received = false;
+  is_ping_stopped = true;
+  signal_ping_stop = false;
+  ping_interval = 10;
+
+  nb_reconnect_default = 3;
+  nb_reconnect = 3;
+  nb_ping_error_default = 10;
+  nb_ping_error = 10;
+
+  /**
+   * Create a link to the Api and set the IP address of the Dwarf to connect to
+   * @param {string | undefined} IPDwarf ; Set the IP address of the Dwarf to connect to
+   */
+  constructor(IPDwarf) {
+    if (IPDwarf) this.IPDwarf = IPDwarf;
+    if (!WebSocketHandler.instance) {
+      WebSocketHandler.instance = this;
+      console.info("Creating a new WebSocketHandler with IP: ", IPDwarf);
+    }
+    return WebSocketHandler.instance;
+  }
+
+  /**
+   * Set the IP address of the Dwarf to connect to
+   * @param {string} IPDwarf ; Set the IP address of the Dwarf to connect to, force another one that was configured when calling the constructor.
+   * @returns {Promise<void>}
+   */
+  async setNewIpDwarf(IPDwarf) {
+    console.debug("websocket_class : setIpDwarf : ", IPDwarf);
+    if (IPDwarf != this.IPDwarf) {
+      console.debug(
+        "websocket_class : new IP received, closing old one: ",
+        this.IPDwarf
+      );
+      this.close();
+      await sleep(1000);
+    }
+    this.IPDwarf = IPDwarf;
+    console.debug("websocket_class : new Ip: ", this.IPDwarf);
+  }
+
+  /**
+   * Set the URL address of the proxy uses to connect to the dwarf,
+   * by default not used, set it to empty param for not using a proxy
+   * @param {string} proxyURL ; Set the URL address of the Proxy the Dwarf to connect to.
+   * @returns {Promise<void>}
+   */
+  async setProxyUrl(proxyURL = undefined) {
+    if (!proxyURL) console.debug("websocket_class : Resetting Proxy URL value");
+    else console.debug("websocket_class : Setting Proxy URL: ", proxyURL);
+    if (proxyURL != this.proxyURL) {
+      console.debug(
+        "websocket_class : new Proxy Url received, closing connection: ",
+        this.proxyURL
+      );
+      this.close();
+      await sleep(1000);
+    }
+    this.proxyURL = proxyURL;
+    if (this.proxyURL)
+      console.debug("websocket_class : Using Proxy URL: ", this.proxyURL);
+    else console.debug("websocket_class : Proxy URL reset");
+  }
+
+  /**
+   * Set the Https mode of the proxy connection, the Dwarf connect to
+   * @param {boolean} useHttps ; true if Https, then wss should be used with a proxy connection
+   * @returns {Promise<void>}
+   */
+  async setHttpsMode(useHttps) {
+    console.debug("websocket_class : setHttpsMode : ", useHttps);
+    if (useHttps !== this.useHttps) {
+      console.debug(
+        "websocket_class : change Https mode, closing connection. Previous  mode : ",
+        this.useHttps ? "on" : "off"
+      );
+      this.close();
+      await sleep(1000);
+    }
+    this.useHttps = useHttps;
+    console.debug(
+      "websocket_class : Updated HTTPS mode : ",
+      this.useHttps ? "on" : "off"
+    );
+  }
+
+  /**
+   * Set the device ID of the Dwarf connected (readen from the Dwarf or from the config file on the Dwarf)
+   * @param {number} deviceIdDwarf ; Set the device ID of the Dwarf connected.
+   * @returns {boolean} status
+   */
+  setDeviceIdDwarf(deviceIdDwarf) {
+    console.debug("websocket_class : setDeviceIdDwarf : ", deviceIdDwarf);
+    if (setDwarfDeviceID(deviceIdDwarf)) {
+      console.debug(
+        "websocket_class : success setting the device ID of the Dwarf : ",
+        deviceIdDwarf
+      );
+      return true;
+    } else {
+      console.error(
+        "websocket_class : error setting the device ID of the Dwarf : ",
+        deviceIdDwarf
+      );
+      return false;
+    }
+  }
+
+  /**
+   * Set the intervall of the build in Ping function defult is 10s
+   * @param {number} IntervalInSecond ; in Seconds
+   * @returns {void}
+   */
+  setPingInterval(IntervalInSecond) {
+    if (IntervalInSecond) {
+      this.ping_interval = IntervalInSecond;
+    }
+  }
+
+  /**
+   * Set the nb of times for trying to reconnect to the Dwarf if the connection closes, default is 5.
+   * @param {number} nbTimes ;
+   * @returns {void}
+   */
+  setDefaultReconnect(nbTimes) {
+    this.nb_reconnect_default = nbTimes;
+  }
+
+  /**
+   * Set the nb of times to stop connection after not receiving pong, default is 10.
+   * @param {number} nbTimes ;
+   * @returns {void}
+   */
+  setDefaultPongError(nbTimes) {
+    this.nb_ping_error_default = nbTimes;
+  }
+
+  /**
+   * Verify the status of the connection with the Dwarf
+   * @returns {boolean} status of the connection
+   */
+  isConnected() {
+    if (
+      this.socket &&
+      this.is_opened &&
+      this.socket.readyState === WebSocket.OPEN
+    )
+      return true;
+    else return false;
+  }
+
+  /**
+   * Main function, to call after prepare function, send the message and start dialogue with the Dwarf
+   * @returns {Promise<boolean>} false if the IP has not been set or if old Socket can't be closed
+   */
+  async run() {
+    // Check if ipDwarf is defined before calling wsURL
+    if (!this.IPDwarf) {
+      console.error("IPDwarf is undefined. Unable to create WebSocket.");
+      return false;
+    }
+    console.debug("websocket_class : running function starting...");
+
+    try {
+      await sleep(10);
+      this.keep_connection = false;
+
+      if (this.socket && this.socket.readyState === WebSocket.OPEN) {
+        console.log("Keep old Websocket opened");
+        this.keep_connection = true;
+      } else {
+        if (this.socket && this.socket.readyState !== WebSocket.OPEN) {
+          // Socket still hangs, hard close
+          console.log("Old Websocket force close");
+          this.cleanup_socket();
+          await sleep(100);
+        }
+      }
+
+      if (this.keep_connection) {
+        // Need Stopping Ping
+        await this.wait_ping_stop();
+        // Start manually no open event
+        this.start();
+      } else {
+        // restarting
+        // verify Stopping Ping
+        await this.wait_ping_stop();
+        this.is_stopping = false;
+        this.is_opened = false;
+
+        // Create WebSocket
+        this.socket = undefined;
+        let new_socket = undefined;
+        new_socket = new WebSocket(
+          wsURL(this.IPDwarf, this.proxyURL, this.useHttps)
+        );
+        console.log("Launch open new Socket");
+
+        // Socket Binary Mode
+        new_socket.binaryType = "arraybuffer";
+
+        new_socket.onopen = () => {
+          if (new_socket) {
+            this.socket = new_socket;
+            console.debug("new socket created", new_socket);
+            this.is_opened = true;
+
+            if (!this.proxyURL)
+              console.debug(
+                `websocket_class : open... on IP : ${this.IPDwarf}`
+              );
+            else {
+              console.debug(
+                `websocket_class: open... on IP: ${this.IPDwarf} using proxy: ${
+                  this.proxyURL || "none"
+                }${this.useHttps ? " (HTTPS on)" : ""}`
+              );
+            }
+            console.debug("class instance open:", this);
+
+            // Start on the open event
+            this.start();
+          } else {
+            console.debug(`websocket_class : open error socket undefined`);
+          }
+        };
+
+        new_socket.onmessage = async (event) => {
+          console.debug("websocket_class : onmessage function...");
+          while (this.is_sending || this.is_buffered) {
+            await sleep(10);
+          }
+          console.debug("websocket_class : onmessage function starting...");
+
+          this.is_receiving = true;
+          await this.handleMessage(event);
+          this.is_receiving = false;
+
+          console.debug("websocket_class : onmessage function ending...");
+        };
+
+        new_socket.onerror = (message) => {
+          if (this.is_opened) {
+            this.handleError(message);
+          }
+        };
+
+        new_socket.onclose = async (message) => {
+          if (this.is_opened) {
+            await this.handleClose(message);
+          }
+          // Cleanup event handlers after disconnection
+          await this.cleanup();
+          if (false && new_socket) {
+            new_socket.onopen = null;
+            new_socket.onerror = null;
+            new_socket.onclose = null;
+          }
+        };
+      }
+      console.debug("class instance :", this);
+
+      return true;
+    } catch (error) {
+      console.error(
+        "websocket_class Exception Error creating WebSocket:",
+        error
+      );
+      this.socket = undefined;
+      return false;
+    }
+  }
+
+  start() {
+    console.debug("websocket_class : start function ...");
+
+    this.is_running = true;
+    this.nb_reconnect = this.nb_reconnect_default;
+
+    // Start ping command
+    this.is_pong_received = true;
+    this.pingDwarf();
+
+    // start send function
+    this.send();
+
+    this.sendCallbackConnectStates(true);
+  }
+
+  /**
+   * Prepare function : Define the message to send and the command to listen to and the callbacks functions
+   * @param {Object|Object[]} WS_Packet ; Message or Array of Messages from the API to send to the Dwarf
+   * @param {string} senderId ; identifier of the sender
+   * @param {string[]} expectedResponseCmd ; List of the Command Id to listen to, can be "*" to get all commands.
+   * @param {function} callbackMessage ; Callback Fonction (const customMessageHandler = (txt_info:string, result_data:object)) to analyse reponses from the Dwarf
+   * @param {function} callbackConnectState ; Callback Fonction (const customStateHandler = (state)) to get the status result of the current connection of the Dwarf
+   * @param {function} callbackError ; Callback Fonction (const customErrorHandler = ()) called after an socket error.
+   * @param {function} callbackReconnect ; Callback Fonction (const customReconnectHandler = ()) called after a socket reconnection.
+   * @returns {Promise<void>}
+   */
+  async prepare(
+    WS_Packet, // can be an array of Packets
+    senderId,
+    expectedResponseCmd = [],
+    callbackMessage = function () {},
+    callbackConnectState = function () {},
+    callbackError = function () {},
+    callbackReconnect = undefined
+  ) {
+    console.debug("websocket_class : prepare function...");
+
+    while (this.is_sending || this.is_receiving) {
+      await sleep(10);
+    }
+
+    console.debug("websocket_class : prepare function starting...");
+
+    this.is_buffered = true;
+
+    // Store the callback function and expected response types for later use
+    if (senderId) {
+      if (callbackMessage && typeof callbackMessage === "function") {
+        if (!this.packetCallbackMessages[senderId]) {
+          this.packetCallbackMessages[senderId] = {};
+        }
+
+        expectedResponseCmd.forEach((idCmd) => {
+          console.log(` -> Prepare for  ${senderId} => ${idCmd}`);
+          // empty the tab if exist : just one callback function per command
+          this.packetCallbackMessages[senderId][idCmd] = [];
+          this.packetCallbackMessages[senderId][idCmd].push(callbackMessage);
+        });
+      }
+
+      if (callbackConnectState && typeof callbackConnectState === "function") {
+        // empty the tab if exist : just one callback function per sender
+        this.packetCallbackConnectStates[senderId] = [];
+
+        this.packetCallbackConnectStates[senderId].push(callbackConnectState);
+      }
+
+      if (callbackError && typeof callbackError === "function") {
+        // empty the tab if exist : just one callback function per sender
+        this.packetCallbackErrors[senderId] = [];
+
+        this.packetCallbackErrors[senderId].push(callbackError);
+      }
+      if (callbackReconnect && typeof callbackReconnect === "function") {
+        // empty the tab if exist : just one callback Reconnect function
+        this.callbackReconnectFunction = callbackReconnect;
+
+        console.log(
+          ` -> Add a callbackReconnect function => ${callbackReconnect}`
+        );
+      }
+      this.verifyCallBacks();
+    }
+
+    if (Array.isArray(WS_Packet)) {
+      console.log(` -> Prepare ${WS_Packet.length} packets for ${senderId}`);
+      this.sendingQueue.push(...WS_Packet);
+    } else {
+      console.log(` -> Prepare one packet for ${senderId}`);
+      this.sendingQueue.push(WS_Packet);
+    }
+
+    await sleep(50);
+
+    this.is_buffered = false;
+
+    console.debug("websocket_class : prepare function ending...");
+  }
+
+  async pingDwarf() {
+    console.debug("websocket_class : init ping function...");
+
+    this.is_ping_stopped = false;
+    await sleep(10);
+
+    while (!this.is_running) {
+      await sleep(10);
+    }
+
+    console.debug("websocket_class : ping function...");
+    console.debug("websocket_class : is_running...", this.is_running);
+    console.debug("websocket_class : is_stopping...", this.is_stopping);
+    console.debug(
+      "websocket_class : signal_ping_stop...",
+      this.signal_ping_stop
+    );
+    console.debug("websocket_class : is_stopping...", this.is_stopping);
+    console.debug(
+      "websocket_class : is_pong_received...",
+      this.is_pong_received
+    );
+
+    this.is_sending = false;
+    this.nb_ping_error = this.nb_ping_error_default;
+    let interval_no_ping = this.ping_interval * 10 + 1;
+    let interval = this.ping_interval;
+    let ping_send = false;
+
+    while (!this.is_stopping && !this.signal_ping_stop) {
+      await sleep(100);
+
+      if (!this.is_sending && this.is_pong_received && this.isConnected()) {
+        console.debug("websocket_class : ping function starting...");
+        this.is_sending = true;
+        // reset interval_no_ping
+        interval_no_ping = this.ping_interval * 10 + 1;
+        this.nb_ping_error = this.nb_ping_error_default;
+
+        // Send Command:
+        this.is_pong_received = false;
+        //this.socket.ping("");
+        this.socket.send("ping");
+        console.log("websocket_class : sending ping");
+        this.is_sending = false;
+        ping_send = true;
+        console.debug("websocket_class : ping function waiting...");
+
+        interval = this.ping_interval;
+        console.debug(`websocket_class : ping interval wait : ${interval}`);
+        while (interval > 0 && !this.is_stopping && !this.signal_ping_stop) {
+          await sleep(1000);
+          interval = interval - 1;
+        }
+
+        console.debug(`websocket_class : ping interval: ${interval}`);
+        console.debug(`websocket_class : pong: ${this.is_pong_received}`);
+        // Test if wet get Pong before the wait time in normal wait: no is_stopping nor signal_ping_stop
+        if (
+          interval == 0 &&
+          !this.is_pong_received &&
+          !this.is_stopping &&
+          !this.signal_ping_stop
+        ) {
+          this.nb_ping_error -= 1;
+          console.error(
+            `websocket_class : no pong received after sending Ping ${
+              this.nb_ping_error_default - this.nb_ping_error
+            }`
+          );
+        } else if (this.is_pong_received) {
+          // OK or stop reset
+          this.nb_ping_error = this.nb_ping_error_default;
+        }
+        console.debug("websocket_class : ping function stopping...");
+      }
+
+      if (this.is_pong_received) {
+        // OK or stop reset
+        this.nb_ping_error = this.nb_ping_error_default;
+        ping_send = false;
+      }
+      if (ping_send) {
+        if (this.nb_ping_error != this.nb_ping_error_default) {
+          interval_no_ping -= 1;
+
+          if (interval_no_ping <= 0) {
+            this.nb_ping_error -= 1;
+            console.error(
+              `websocket_class : no pong received after sending Ping ${
+                this.nb_ping_error_default - this.nb_ping_error
+              }`
+            );
+
+            if (this.nb_ping_error <= 0) {
+              console.error(
+                `websocket_class : no pong received after ${this.nb_ping_error_default} tries: deconnect!`
+              );
+              this.signal_ping_stop = true;
+              this.cleanup(true);
+            } else {
+              interval_no_ping = this.ping_interval * 10;
+            }
+          }
+        }
+      }
+    }
+
+    this.is_sending = false;
+    this.is_ping_stopped = true;
+
+    console.debug("websocket_class : ping function ending...");
+  }
+
+  async wait_ping_stop() {
+    this.signal_ping_stop = true;
+    while (!this.is_ping_stopped) await sleep(100);
+    this.signal_ping_stop = false;
+  }
+
+  async send() {
+    await sleep(250);
+
+    while (!this.is_running) {
+      await sleep(10);
+    }
+
+    console.debug("websocket_class : send function...");
+
+    this.is_sending = false;
+
+    while (!this.is_stopping) {
+      await sleep(10);
+      let lenQueue = this.sendingQueue.length;
+
+      if (
+        !this.is_buffered &&
+        !this.is_sending &&
+        this.sendingQueue.length > 0 &&
+        this.isConnected()
+      ) {
+        console.debug("websocket_class : send function starting...");
+        this.is_sending = true;
+
+        this.WS_Packet = this.sendingQueue.shift();
+
+        // Send Command:
+        if (this.WS_Packet) {
+          this.socket.send(this.WS_Packet);
+          console.log(
+            `websocket_class : sending buffer = ${Array.prototype.toString.call(
+              this.WS_Packet
+            )}`
+          );
+          await sleep(100);
+        } else {
+          console.error(
+            `websocket_class : sending buffer empty : lenqueue = ${lenQueue}`
+          );
+        }
+        this.is_sending = false;
+        console.debug("websocket_class : send function stopping...");
+      }
+    }
+
+    this.is_sending = false;
+
+    console.debug("websocket_class : send function ending...");
+  }
+
+  /**
+   * stopCallbacks function : Stop receiving on the callbacks functions
+   * @param {string} senderId ; Identifier of caller
+   * @returns {void}
+   **/
+  stopCallbacks(senderId) {
+    this.deleteCallbacks(senderId);
+  }
+
+  deleteCallbacks(senderId = "") {
+    console.debug(`deleteCallbacks for  : ${senderId}`);
+    if (senderId) {
+      if (this.packetCallbackMessages[senderId]) {
+        this.packetCallbackMessages[senderId] = {};
+      }
+      if (this.packetCallbackConnectStates[senderId]) {
+        this.packetCallbackConnectStates[senderId] = [];
+        this.isCallbackConnectStates = false;
+      }
+      if (this.packetCallbackErrors[senderId]) {
+        this.packetCallbackErrors[senderId] = [];
+        this.isCallbackErrors = false;
+      }
+    } else if (senderId == "*") {
+      this.packetCallbackMessages = {};
+      this.packetCallbackErrors = {};
+      this.packetCallbackConnectStates = {};
+      this.packetCallbackReconnect = [];
+    }
+    this.verifyCallBacks();
+  }
+
+  verifyCallBacks() {
+    this.isCallbackMessages =
+      Object.keys(this.packetCallbackMessages).length > 0;
+    this.isCallbackConnectStates =
+      Object.keys(this.packetCallbackConnectStates).length > 0;
+    this.isCallbackErrors = Object.keys(this.packetCallbackErrors).length > 0;
+  }
+
+  sendCallbackConnectStates(state) {
+    // Iterate over all stored callback functions
+    Object.values(this.packetCallbackConnectStates).forEach(
+      (callbacksConnectStates) => {
+        console.log("Retrieve1 - Structure:", callbacksConnectStates);
+
+        if (
+          Array.isArray(callbacksConnectStates) &&
+          callbacksConnectStates[0] &&
+          typeof callbacksConnectStates[0] === "function"
+        ) {
+          // Call the callback function with the received data
+          console.log(" -> Sending back data to callbackState....");
+          callbacksConnectStates[0](state);
+        }
+      }
+    );
+  }
+
+  sendCallbackErrors() {
+    // Iterate over all stored callback functions
+    Object.values(this.packetCallbackErrors).forEach((callbacksErrors) => {
+      console.log("Retrieve2 - Structure:", callbacksErrors);
+
+      if (
+        Array.isArray(callbacksErrors) &&
+        callbacksErrors[0] &&
+        typeof callbacksErrors[0] === "function"
+      ) {
+        // Call the callback function with the received data
+        console.log(" -> Sending back data to callbackError....");
+        callbacksErrors[0]();
+      }
+    });
+  }
+
+  handleMessage(event) {
+    // Close Timer if exist
+    if (this.closeSocketTimer !== undefined) {
+      clearTimeout(this.closeSocketTimer);
+      if (this.closeTimerHandler !== undefined) this.closeTimerHandler();
+    }
+    // it can be a string like an array ??
+    let find_real_string_buffer = false;
+    if (typeof event.data === "string") {
+      // Count the occurrences of commas
+      const numberOfCommas = (event.data.match(/,/g) || []).length;
+
+      if (numberOfCommas < 5) {
+        console.log("Received: '" + event.data + "'");
+
+        // test pong received ?
+        if (event.data == "pong") {
+          this.is_pong_received = true;
+          console.log("Pong Received");
+        }
+        find_real_string_buffer = true;
+      } else console.log("Received: a string buffer that matchs a binary one");
+    }
+    if (!find_real_string_buffer) {
+      console.log(" -> Receiving data .....");
+
+      // send Callback Status OK
+      this.sendCallbackConnectStates(true);
+
+      let decodedmessage = analyzePacket(event.data);
+      console.log(decodedmessage);
+      let result_data = JSON.parse(decodedmessage);
+
+      // Call the subscriber if found
+      let idCmd = "";
+      if (result_data.cmd) {
+        idCmd = result_data.cmd;
+        console.log(`-> Sending back data for ${idCmd}`);
+
+        // Retrieve the callback functions associated with the idCmd
+        Object.entries(this.packetCallbackMessages).forEach(
+          ([sender, callbacksMessageInfo]) => {
+            // the special value "*" accepts all Cmd and will be transmited back
+            const callbacksMessageCmd =
+              callbacksMessageInfo[idCmd] || callbacksMessageInfo["*"] || {};
+
+            console.log("Retrieve - Structure:", callbacksMessageCmd);
+
+            if (
+              Array.isArray(callbacksMessageCmd) &&
+              callbacksMessageCmd[0] &&
+              typeof callbacksMessageCmd[0] === "function"
+            ) {
+              // Call the callback function with the received data
+              console.log(
+                ` -> Sending back data to callbackInfo.... for ${sender}`
+              );
+              callbacksMessageCmd[0](sender, result_data);
+            }
+          }
+        );
+      }
+    }
+  }
+
+  handleError(message) {
+    // Stop Timer if exist
+    if (this.closeSocketTimer !== undefined) {
+      clearTimeout(this.closeSocketTimer);
+      if (this.onStopTimerHandler !== undefined) this.onStopTimerHandler();
+    }
+    // send Callback Status KO
+    this.sendCallbackConnectStates(false);
+    // send Callback Error
+    this.sendCallbackErrors();
+  }
+
+  /**
+   * Handle close event of the socket connection with the Dwarf
+   * To call from a timeout function during the connection with the Dwarf
+   * @returns {Promise<void>}
+   */
+  async handleClose(message) {
+    // Stop Timer if exist
+    if (this.closeSocketTimer !== undefined) {
+      clearTimeout(this.closeSocketTimer);
+      if (this.onStopTimerHandler !== undefined) this.onStopTimerHandler();
+    }
+    // send Callback Status KO
+    this.sendCallbackConnectStates(false);
+    // send Callback Error
+    this.sendCallbackErrors();
+    // Stop ping command
+    await this.wait_ping_stop();
+  }
+
+  /**
+   * Force close the socket connection with the Dwarf
+   * @returns {Promise<void>}
+   */
+  async close() {
+    // need closing socket if connected
+    if (this.socket && this.socket.readyState === WebSocket.OPEN) {
+      console.log("Websocket close");
+      this.socket.close(1000, "Normal closure");
+      await sleep(1000);
+    }
+    if (this.socket && this.socket.readyState != WebSocket.CLOSED) {
+      // Socket still hangs, hard close
+      this.socket.close(1000, "Force close after timeout");
+      console.log("Websocket force close");
+      await sleep(1000);
+    }
+  }
+
+  /**
+   * cleanup function : Stop all the functions
+   * @param {boolean} forceStop ; if true do not try a reconnection, false by default
+   * @returns {Promise<void>}
+   **/
+  async cleanup(forceStop = false) {
+    console.log("WebSocketHandler cleanup");
+    if (forceStop) {
+      // send Callback Status KO
+      this.handleClose();
+      console.error("WebSocketHandler Force Stop!");
+    }
+    let continue_cleanup = true;
+    let needDisconnect = forceStop || !this.is_running;
+    let initial_running = this.is_running;
+    if (!forceStop && this.is_running) {
+      // need to verify if callback functions are still OK if running
+      let testCallbackMessages =
+        Object.keys(this.packetCallbackMessages).length > 0;
+      let testCallbackConnectStates =
+        Object.keys(this.packetCallbackConnectStates).length > 0;
+      let testCallbackErrors =
+        Object.keys(this.packetCallbackErrors).length > 0;
+      if (
+        testCallbackMessages != this.isCallbackMessages ||
+        testCallbackConnectStates != this.isCallbackConnectStates ||
+        testCallbackErrors != this.isCallbackErrors
+      ) {
+        needDisconnect = true;
+        console.log("WebSocketHandler need to be disconnect");
+      }
+    }
+    if (this.closeSocketTimer !== undefined)
+      clearTimeout(this.closeSocketTimer);
+    this.is_stopping = true;
+    this.is_running = false;
+    console.log("WebSocketHandler close ping");
+    await this.wait_ping_stop();
+    // Remove event listeners during cleanup
+    await this.cleanup_socket();
+    await sleep(2000);
+    let stop_try_reconnect = false;
+    if (initial_running) {
+      console.log(
+        "WebSocketHandler max try connection: %d",
+        this.nb_reconnect_default
+      );
+    }
+
+    if (!needDisconnect && this.nb_reconnect > 0) {
+      this.is_running = initial_running;
+      this.nb_reconnect -= 1;
+      console.log(
+        "WebSocketHandler retry connection: %d",
+        this.nb_reconnect_default - this.nb_reconnect
+      );
+
+      continue_cleanup = false;
+      console.log("WebSocketHandler retry connection OK");
+      if (this.callbackReconnectFunction) {
+        console.log("WebSocketHandler launch Reconnect function");
+        this.callbackReconnectFunction();
+      }
+
+      continue_cleanup = await !this.run();
+    }
+    if (continue_cleanup) {
+      this.handleClose();
+      if (this.closeSocketTimer !== undefined)
+        clearTimeout(this.closeSocketTimer);
+      // delete CallbacksFunction
+      console.log("WebSocketHandler final closing functions");
+      this.stopCallbacks("*");
+      this.is_opened = false;
+    }
+  }
+
+  async cleanup_socket() {
+    // Remove event listeners during cleanup
+    if (this.socket) {
+      this.socket.onopen = null;
+      this.socket.onmessage = null;
+      this.socket.onerror = null;
+      this.socket.onclose = null;
+      this.socket = undefined;
+    }
+  }
+}
+
+/*
+
+// Example usage:
+
+    const customMessageHandler = (txt_info, result_data) => {
+      if (result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO) {
+        setConnecting(false);
+        return true;
+      } else if (
+        result_data.cmd ==
+        Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE
+      ) {
+        setConnecting(false);
+      } else if (
+        result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE
+      ) {
+        if (result_data.data.mode == 1) {
+          console.log("WARNING SLAVE MODE");
+          setSlavemode(true);
+        } else {
+          console.log("OK : HOST MODE");
+          setSlavemode(false);
+        }
+        return true;
+      } else {
+        logger("", result_data, connectionCtx);
+      }
+      logger(txt_info, result_data, connectionCtx);
+    };
+
+    const customErrorHandler = () => {
+      console.error("ConnectDwarf : Socket Close!");
+      setConnecting(false);
+      setConnectionStatus(false);
+    };
+
+    const customStateHandler = (state) => {
+      setConnecting(false);
+      setConnectionStatus(false);
+    };
+
+    // Create WebSocketHandler if need
+    const webSocketHandler = new WebSocketHandler(IPDwarf);
+
+    // Force IP
+    webSocketHandler.setIpDwarf(IPDwarf);
+
+    webSocketHandler.closeTimerHandler = () => {
+      setConnecting(true);
+    };
+    webSocketHandler.onStopTimerHandler = () => {
+      setConnecting(false);
+    };
+
+    // close socket is request takes too long
+    webSocketHandler.closeSocketTimer = setTimeout(() => {
+      webSocketHandler.handleClose("");
+      console.log(" -> Close Timer.....");
+      setConnecting(false);
+      setConnectionStatus(false);
+    }, 5000);
+
+
+    // Send Commands : cmdCameraTeleGetSystemWorkingState
+    let WS_Packet = messageCameraTeleGetSystemWorkingState();
+    let WS_Packet1 = messageCameraTeleOpenCamera();
+    let WS_Packet2 = messageCameraWideOpenCamera();
+    let txtInfoCommand = "Connection";
+
+    webSocketHandler.prepare(
+      [WS_Packet, WS_Packet1, WS_Packet2],
+      txtInfoCommand,
+      [
+        "*", // Get All Data
+        Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO,
+        Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE,
+        Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE,
+        Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA,
+        Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA,
+      ],
+      customMessageHandler,
+      customStateHandler,
+      customErrorHandler
+    );
+    
+    if (!webSocketHandler.run()) {
+      console.error(" Can't launch Web Socket Run Action!");
+    }
+
+*/
+
+
+
+ + + + + + +
+ +
+ +
+ Documentation generated by JSDoc 4.0.2 on Sat Mar 08 2025 12:37:37 GMT+0100 (Central European Standard Time) using the docdash theme. +
+ + + + + + + + + + + diff --git a/index.js b/index.js index b98e02f7..6e7b7d59 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,13 @@ export * from "./src/api_codes.js"; export * from "./src/api_utils.js"; export * from "./src/astro.js"; -export * from "./src/camera_settings.js"; -export * from "./src/image_transmission.js"; -export * from "./src/motion_control.js"; -export * from "./src/panoramic.js"; -export * from "./src/photo_video.js"; -export * from "./src/set_isp_settings.js"; -export * from "./src/system_settings.js"; -export * from "./src/tracking.js"; +export * from "./src/camera_tele.js"; +export * from "./src/camera_wide.js"; +export * from "./src/panorama.js"; +export * from "./src/focus.js"; +export * from "./src/rgb_power.js"; +export * from "./src/system.js"; +export * from "./src/websocket_class.js"; +export * from "./src/bluetooth.js"; +export * from "./src/motor.js"; + diff --git a/jsdoc.json b/jsdoc.json index d4438e0d..a33b61bb 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -17,7 +17,7 @@ "sectionOrder": ["Modules"], "menu": { "Github repo": { - "href": "https://github.com/DwarfTelescopeUsers/dwarfii_api", + "href": "https://stevejcl.github.io/dwarfii_api/", "target": "_blank", "class": "menu-item", "id": "website_link" diff --git a/package-lock.json b/package-lock.json index cf9c3069..3187e43e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,18 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.4", + "version": "2.0.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dwarfii_api", - "version": "0.0.2-alpha.4", + "version": "2.0.12", "license": "ISC", + "dependencies": { + "copyfiles": "^2.4.1", + "protobufjs": "^7.2.6", + "protobufjs-cli": "^1.1.2" + }, "devDependencies": { "docdash": "^2.0.1", "eslint": "^8.40.0", @@ -17,11 +22,19 @@ "typescript": "^5.1.6" } }, - "node_modules/@babel/parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", - "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz", + "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==", "bin": { "parser": "bin/babel-parser.js" }, @@ -45,23 +58,23 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.2", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -77,22 +90,22 @@ } }, "node_modules/@eslint/js": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz", - "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -113,16 +126,15 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", + "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", "dev": true }, "node_modules/@jsdoc/salty": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.5.tgz", - "integrity": "sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw==", - "dev": true, + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.7.tgz", + "integrity": "sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==", "dependencies": { "lodash": "^4.17.21" }, @@ -165,33 +177,97 @@ "node": ">= 8" } }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + }, "node_modules/@types/linkify-it": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.2.tgz", - "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==", - "dev": true + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz", + "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==" }, "node_modules/@types/markdown-it": { "version": "12.2.3", "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz", "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", - "dev": true, "dependencies": { "@types/linkify-it": "*", "@types/mdurl": "*" } }, "node_modules/@types/mdurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.2.tgz", - "integrity": "sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz", + "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==" + }, + "node_modules/@types/node": { + "version": "20.11.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.11.tgz", + "integrity": "sha512-PlJCXfb57Jrman0H1BxO2+Q7qwih2Mwk7T6Gvixj+SK4mqs4RWOGMMoP6p/LFa3UrP2CZOO6ai6otd7J/TB6Ug==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", - "dev": true, + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "bin": { "acorn": "bin/acorn" }, @@ -203,7 +279,6 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -228,7 +303,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -237,7 +311,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -251,26 +324,22 @@ "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -289,7 +358,6 @@ "version": "0.9.0", "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", - "dev": true, "dependencies": { "lodash": "^4.17.15" }, @@ -301,7 +369,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -313,11 +380,20 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -328,14 +404,35 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/copyfiles": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz", + "integrity": "sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==", + "dependencies": { + "glob": "^7.0.5", + "minimatch": "^3.0.3", + "mkdirp": "^1.0.4", + "noms": "0.0.0", + "through2": "^2.0.1", + "untildify": "^4.0.0", + "yargs": "^16.1.0" + }, + "bin": { + "copyfiles": "copyfiles", + "copyup": "copyfiles" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, "node_modules/cross-spawn": { "version": "7.0.3", @@ -371,13 +468,12 @@ "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" }, "node_modules/docdash": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/docdash/-/docdash-2.0.1.tgz", - "integrity": "sha512-mkBhkeMyMwGV4YIdA7S4dIC25ENrfU/ZBfyTs/MXj/HUewW/dtx44xoho4PttCOMsqxlcghzfj8HRlam5QiSoQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/docdash/-/docdash-2.0.2.tgz", + "integrity": "sha512-3SDDheh9ddrwjzf6dPFe1a16M6ftstqTNjik2+1fx46l24H9dD2osT2q9y+nBEC1wWz4GIqA48JmicOLQ0R8xA==", "dev": true, "dependencies": { "@jsdoc/salty": "^0.2.1" @@ -395,15 +491,27 @@ "node": ">=6.0.0" } }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "node_modules/entities": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", - "dev": true, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -416,28 +524,105 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/escodegen/node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/eslint": { - "version": "8.40.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz", - "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.40.0", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -445,22 +630,19 @@ "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -474,9 +656,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", + "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -486,9 +668,9 @@ } }, "node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", @@ -502,10 +684,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", - "dev": true, + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -514,12 +695,11 @@ } }, "node_modules/espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", - "dev": true, + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.4.1" }, @@ -530,6 +710,18 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esquery": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", @@ -558,7 +750,6 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, "engines": { "node": ">=4.0" } @@ -567,7 +758,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -587,13 +777,12 @@ "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", + "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -628,12 +817,13 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, "dependencies": { - "flatted": "^3.1.0", + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { @@ -641,22 +831,28 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", "dev": true }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -685,9 +881,9 @@ } }, "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -702,28 +898,26 @@ "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "engines": { "node": ">=8" } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true, "engines": { "node": ">= 4" @@ -758,7 +952,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -767,8 +960,7 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/is-extglob": { "version": "2.1.1", @@ -779,6 +971,14 @@ "node": ">=0.10.0" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -800,22 +1000,17 @@ "node": ">=8" } }, + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, - "node_modules/js-sdsl": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.0.tgz", - "integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -832,7 +1027,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", - "dev": true, "dependencies": { "xmlcreate": "^2.0.4" } @@ -841,7 +1035,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", - "dev": true, "dependencies": { "@babel/parser": "^7.20.15", "@jsdoc/salty": "^0.2.1", @@ -870,11 +1063,16 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -887,11 +1085,19 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, "node_modules/klaw": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", - "dev": true, "dependencies": { "graceful-fs": "^4.1.9" } @@ -913,7 +1119,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", - "dev": true, "dependencies": { "uc.micro": "^1.0.1" } @@ -936,8 +1141,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.merge": { "version": "4.6.2", @@ -945,11 +1149,26 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, + "node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/markdown-it": { "version": "12.3.2", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", - "dev": true, "dependencies": { "argparse": "^2.0.1", "entities": "~2.1.0", @@ -965,7 +1184,6 @@ "version": "8.6.7", "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", - "dev": true, "peerDependencies": { "@types/markdown-it": "*", "markdown-it": "*" @@ -975,7 +1193,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true, "bin": { "marked": "bin/marked.js" }, @@ -986,14 +1203,12 @@ "node_modules/mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", - "dev": true + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1001,11 +1216,18 @@ "node": "*" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -1025,27 +1247,35 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, + "node_modules/noms": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", + "integrity": "sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "~1.0.31" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "dependencies": { "wrappy": "1" } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -1106,7 +1336,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -1144,10 +1373,102 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/protobufjs": { + "version": "7.2.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.6.tgz", + "integrity": "sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/protobufjs-cli": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.1.2.tgz", + "integrity": "sha512-8ivXWxT39gZN4mm4ArQyJrRgnIwZqffBWoLDsE21TmMcKI3XwJMV4lEF2WU02C4JAtgYYc2SfJIltelD8to35g==", + "dependencies": { + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^4.0.0", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "protobufjs": "^7.0.0" + } + }, + "node_modules/protobufjs-cli/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/protobufjs-cli/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/protobufjs-cli/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -1173,11 +1494,29 @@ } ] }, + "node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/requizzle": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", - "dev": true, "dependencies": { "lodash": "^4.17.21" } @@ -1205,7 +1544,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, "dependencies": { "glob": "^7.1.3" }, @@ -1239,6 +1577,25 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -1260,11 +1617,37 @@ "node": ">=8" } }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -1276,7 +1659,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, "engines": { "node": ">=8" }, @@ -1288,7 +1670,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -1302,6 +1683,53 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -1327,9 +1755,9 @@ } }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -1342,14 +1770,36 @@ "node_modules/uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, + "node_modules/uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } }, "node_modules/underscore": { "version": "1.13.6", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", - "dev": true + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "engines": { + "node": ">=8" + } }, "node_modules/uri-js": { "version": "4.4.1", @@ -1360,6 +1810,11 @@ "punycode": "^2.1.0" } }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -1376,25 +1831,84 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "engines": { "node": ">=0.10.0" } }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/xmlcreate": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", - "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", - "dev": true + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "engines": { + "node": ">=10" + } }, "node_modules/yocto-queue": { "version": "0.1.0", diff --git a/package.json b/package.json index c78f9029..b2783db4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.9", + "version": "2.0.17", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { @@ -10,11 +10,15 @@ "CI": "npm run lint && npm run format && npm run typecheck", "generate-docs": "jsdoc -c jsdoc.json -R README.md", "ts": "tsc -p ./tsconfig.json", - "typecheck": "tsc -p ./tsconfig.json --noEmit", - "build": "npm run CI && npm run ts && npm run generate-docs" + "typecheck": "tsc -p ./tsconfig.json", + "compile-proto": "npx pbjs -t static-module -w ./wrapper/wrapper.js --dependency protobufjs/minimal.js -o ./src/protobuf/protobuf.js ./src/proto/*.proto && prettier --write \"./src/protobuf/protobuf.js\"", + "compile-protoJS": "npx pbjs -t static-module -w ./wrapper/wrapper.js --dependency ./minimal.js -o ./dist_js/src/protobuf/protobuf.js ./src/proto/*.proto && prettier --write \"./dist_js/src/protobuf/protobuf.js\" && eslint ./dist_js/src/protobuf/protobuf.js", + "generate-types": "npx pbts -o dist/src/protobuf/protobuf.d.ts ./dist/src/protobuf/protobuf.js", + "copy-files": "copyfiles -u 1 src/proto/*.proto dist/src/", + "build": "npm run compile-proto && npm run compile-protoJS && npm run CI && npm run ts && npm run generate-types && npm run copy-files && npm run generate-docs" }, "type": "module", - "author": "wykhuh", + "author": "wykhuh & stevejcl", "repository": { "type": "git", "url": "https://github.com/DwarfTelescopeUsers/dwarfii_api" @@ -27,5 +31,10 @@ "jsdoc": "^4.0.2", "prettier": "^2.8.8", "typescript": "^5.1.6" + }, + "dependencies": { + "copyfiles": "^2.4.1", + "protobufjs": "^7.2.6", + "protobufjs-cli": "^1.1.2" } } diff --git a/src/api_codes.js b/src/api_codes.js index 10383718..1096f7d5 100644 --- a/src/api_codes.js +++ b/src/api_codes.js @@ -7,13 +7,24 @@ export const DwarfIP = "192.168.88.1"; * @param {string} IP * @returns {string} */ -export const wsURL = (IP) => `ws://${IP}:9900`; +//export const wsURL = (IP, PROXY, HTTPS) => `ws://${IP}:9900`; +export const wsURL = (IP, proxyURL = undefined, useHttps = false) => { + if (proxyURL) { + const protocol = useHttps ? "wss" : "ws"; + console.log( + `Starting Web Socket : ${protocol}://${proxyURL}/?target=ws://${IP}:9900` + ); + return `${protocol}://${proxyURL}/?target=ws://${IP}:9900`; + } + console.log(`Starting Web Socket : ws://${IP}:9900`); + return `ws://${IP}:9900`; +}; /** * @param {string} IP * @returns {string} */ -export const wideangleURL = (IP) => `http://${IP}:8092/thirdstream`; +export const wideangleURL = (IP) => `http://${IP}:8092/secondstream`; /** * @param {string} IP @@ -25,154 +36,70 @@ export const telephotoURL = (IP) => `http://${IP}:8092/mainstream`; * @param {string} IP * @returns {string} */ -export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; + +// old ip : not working anymore in V2 +//export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; +export const rawPreviewURL = (IP) => `http://${IP}:8092/mainstream`; /** * @param {string} IP * @returns {string} */ -export const utcURL = (IP) => `http://${IP}:8092/date?date=`; - -// =============== -// 3.1 image transmission -// =============== +export const firmwareVersion = (IP) => `http://${IP}:8082/firmwareVersion`; -// camera -export const turnOnCameraCmd = 10000; -export const turnOffCameraCmd = 10017; - -export const telephotoCamera = 0; -export const wideangleCamera = 1; - -export const previewImageQuality = 10016; - -// =============== -// 3.2 photo and video -// =============== - -// photo -export const takePhotoCmd = 10006; -export const photoSingleShot = 0; -export const photoContinuous = 1; - -// video -export const startRecordingCmd = 10007; -export const stopRecordingCmd = 10009; +/** + * @param {string} IP + * @returns {string} + */ +export const getDefaultParamsConfig = (IP) => + `http://${IP}:8082/getDefaultParamsConfig`; -// timelapse photos -export const startTimelapseCmd = 10018; -export const stopTimelapseCmd = 10019; +/** + * POST Request + * data.deviceID 1:DWARF II 2:DWARF3 + * data.deviceName 1:DWARF_XXXXXX 2:DWARF3_XXXXXX + * @param {string} IP + * @returns {string} + */ +export const deviceInfo = (IP) => `http://${IP}:8082/deviceInfo`; // =============== -// 3.3 ISP settings // =============== +// exposition - gain export const modeAuto = 0; export const modeManual = 1; -// brightness -export const setBrightnessValueCmd = 10204; - -// contrast -export const setContrastValueCmd = 10205; - -// saturation -export const setSaturationValueCmd = 10206; - -// hue -export const setHueValueCmd = 10207; - -// sharpness -export const setSharpnessValueCmd = 10208; - -// exposure -export const setExposureModeCmd = 10001; -export const setExposureValueCmd = 10003; -export const exposureTelephotoModeAuto = 0; -export const exposureWideangleModeAuto = 3; - -// gain -export const setGainModeCmd = 10004; -export const setGainValueCmd = 10005; - // autofocus -export const autofocusCmd = 10211; export const autofocusGlobal = 0; export const autofocusArea = 1; +export const exposureTelephotoModeAuto = 0; +export const exposureWideangleModeAuto = 3; + // whitebalance -export const setWhiteBalanceModeCmd = 10212; -export const setWhiteBalanceScenceCmd = 10213; export const whiteBalanceScenesIDValue = { - 0: "incandescent lamp", - 1: "fluorescent lamp", - 2: "warm fluorescent lamp", + 0: "incandescent", + 1: "warm fluorescent", + 2: "fluorescent", 3: "sunlight", - 4: "overcast sky", - 5: "evening twilight", - 6: "shadow", + 4: "cloudy", + 5: "shadow", + 6: "twilight", }; export const whiteBalanceScenesValueID = { - "incandescent lamp": 0, - "fluorescent lamp": 1, - "warm fluorescent lamp": 2, + incandescent: 0, + "warm fluorescent": 1, + fluorescent: 2, sunlight: 3, - "overcast sky": 4, - "evening twilight": 5, - shadow: 6, + cloudy: 4, + shadow: 5, + twilight: 6, }; -export const setWhiteBalanceColorCmd = 10214; // IR -export const setIRCmd = 10203; export const IRCut = 0; -export const IRPass = 3; - -// =============== -// 3.4 status -// =============== - -// telephoto -export const statusTelephotoCmd = 10215; -export const statusIRTelephotoCmd = 10216; -export const statusWorkingStateTelephotoCmd = 10022; - -// wideangle -export const statusWideangleCmd = 10217; - -// =============== -// 4.1 Astro -// =============== - -// goto -export const calibrateGotoCmd = 11205; -export const startGotoCmd = 11203; - -export const planetsValueId = { - Mercury: 0, - Venus: 1, - Mars: 2, - Jupiter: 3, - Saturn: 4, - Uranus: 5, - Neptune: 6, - Moon: 7, -}; - -export const planetsIdValue = { - 0: "Mercury", - 1: "Venus", - 2: "Mars", - 3: "Jupiter", - 4: "Saturn", - 5: "Uranus", - 6: "Neptune", - 7: "Moon", -}; - -// RAW astro photo -export const takeAstroPhotoCmd = 10011; -export const stopAstroPhotoCmd = 10015; +export const IRPass = 1; export const binning1x1 = 0; export const binning2x2 = 1; @@ -180,82 +107,23 @@ export const binning2x2 = 1; export const fileFits = 0; export const fileTiff = 1; -export const numberRawImagesCmd = 10014; -export const numberSuperImposedImages = 10023; - // raw preview -export const setRAWPreviewCmd = 10020; export const rawPreviewContinousSuperimpose = 0; export const rawPreviewSingle15 = 1; export const rawPreviewSingleComposite = 2; -// astro dark frames -export const takeAstroDarkFramesCmd = 10026; -export const darkGainDefault = 65528; - -// query shot field -export const queryShotFieldCmd = 10027; - -// =============== -// 4.2 tracking -// =============== - -export const traceInitCmd = 11200; -export const startTrackingCmd = 11201; -export const stopTrackingCmd = 11202; - -// =============== -// 4.3 panoromic -// =============== - -export const startPanoCmd = 10103; -export const stopPanoCmd = 10106; - // =============== // 5 motion control // =============== -export const startMotionCmd = 10100; export const continuous_mode = 1; export const pulse_mode = 2; -export const stopMotionCmd = 10101; - -export const setSpeedCmd = 10107; export const speedDecelerate = 0; export const speedAccelerate = 1; -export const setDirectionCmd = 10108; export const anticlockwise = 0; export const clockwise = 1; -export const setSubdivideCmd = 10109; - export const spinMotor = 1; export const pitchMotor = 2; - -// =============== -// 7.1 system status -// =============== - -export const systemStatusCmd = 11407; - -// =============== -// 7.2 microsd card status -// =============== - -export const microsdStatusCmd = 11405; -export const microsdAvailableCmd = 11409; - -// =============== -// 7.4 dwarf status -// =============== - -export const dwarfSoftwareVersionCmd = 11410; -export const dwarfChargingStatusCmd = 11011; - -// =============== -// 7.11 shut down -// =============== - -export const shutDownCmd = 11004; diff --git a/src/api_utils.js b/src/api_utils.js index 345af8f2..66ca91e0 100644 --- a/src/api_utils.js +++ b/src/api_utils.js @@ -1,4 +1,66 @@ /** @module api_utils */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +export const Dwarfii_Api = $root; +import { + cmdMapping, + responseMapping, + notifyMapping, + notifyResponseMapping, + getClassStateMappings, + getClassModeMappings, +} from "./cmd_mapping.js"; +import { + cmdTxtMapping, + errorTxtMapping, + stateTxtMapping, +} from "./txt_mapping.js"; + +export var DwarfClientID = "0000DAF2-0000-1000-8000-00805F9B34FB"; + +/** Set clientID value if need : defaut is "0000DAF2-0000-1000-8000-00805F9B34FB" + * @param {string} clientID + * @returns {boolean} + */ +export function setDwarfClientID(clientID) { + // Check if the value is a string + if (typeof clientID !== "string") { + return false; + } + + // Define a regular expression pattern for the specified UUID format + const uuidPattern = + /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/; + + // Test if the clientID matches the pattern + if (uuidPattern.test(clientID)) { + DwarfClientID = clientID; + return true; + } else { + return false; + } +} + +var DwarfDeviceID = 1; // DWARF II + +/** Set Dwarf deviceID value upon value return by the dwarf + * @param {number} deviceID + * @returns {boolean} + */ +export function setDwarfDeviceID(deviceID) { + // Check if the value is a number + if (typeof deviceID !== "number") { + return false; + } + + // Test if the deviceID greater than 0 + if (deviceID > 0) { + DwarfDeviceID = deviceID; + return true; + } else { + return false; + } +} /** * Returns the now UTC time as 'yyyy-mm-dd hh:mm:ss' @@ -7,7 +69,6 @@ export function nowUTC() { return new Date().toISOString().replace("T", " ").slice(0, 19); } - /** * Returns the now local time as 'yyyy-mm-dd hh:mm:ss' * @returns {string} @@ -25,7 +86,6 @@ export function nowLocal() { second )}`; } - /** * Returns the now UTC time as 'yyyymmddhhmmss' * @returns {string|undefined} @@ -37,7 +97,6 @@ export function nowUTCFileName() { return matches.join(""); } } - /** * Returns the now local time as 'yyyymmddhhmmss' * @returns {string|undefined} @@ -48,13 +107,271 @@ export function nowLocalFileName() { return matches.join(""); } } - /** - * Execute socket's send command - * @param {WebSocket} socket - * @param {Object} command + * Execute Decoding Received Packet from the Dwarf II + * @param {Uint8Array} WS_Packet + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} */ -export function socketSend(socket, command) { +export function decodePacket(WS_Packet, classDecode) { // eslint-disable-next-line no-undef - socket.send(JSON.stringify(command)); + // Obtain a message type + let decoded = classDecode.decode(WS_Packet); + console.log(`decoded data = ${JSON.stringify(decoded)}`); + return decoded; +} +/** + * Generic Create Encoded Packet Function + * @param {Object} message + * @param {Object} class_message + * @param {number} module_id + * @param {number} interface_id instruction + * @param {number} type_id Message type + * @returns {Uint8Array} + */ +export function createPacket( + message, + class_message, + module_id, + interface_id, + type_id +) { + let major_version = Dwarfii_Api.WsMajorVersion.WS_MAJOR_VERSION_NUMBER; + let minor_version = Dwarfii_Api.WsMinorVersion.WS_MINOR_VERSION_NUMBER; + let device_id = DwarfDeviceID; + // message + let message_buffer = undefined; + message_buffer = class_message.encode(message).finish(); + console.debug( + `message_buffer = ${Array.prototype.toString.call(message_buffer)}` + ); + // payload + let payload = { + majorVersion: major_version, + minorVersion: minor_version, + deviceId: device_id, + moduleId: module_id, + cmd: interface_id, + type: type_id, + data: message_buffer, + clientId: DwarfClientID, + }; + console.log(`Packet payload = ${JSON.stringify(payload)}`); + + // Verify the payload if necessary (i.e. when possibly incomplete or invalid) + let errMsg = Dwarfii_Api.WsPacket.verify(payload); + if (errMsg) throw Error(errMsg); + + // Create a new message + let message_payload = Dwarfii_Api.WsPacket.create(payload); // or use .fromObject if conversion is necessary + console.log(`Sending message_payload = ${JSON.stringify(message_payload)}`); + // Encode Final Buffer + let buffer = Dwarfii_Api.WsPacket.encode(message_payload).finish(); + console.debug(`buffer to Send = ${Array.prototype.toString.call(buffer)}`); + + // For Testing Only : try to decode it + let result_buffer = analyzePacket(buffer, false); + + return buffer; +} +/** + * Generic Analysing Encoded Received Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacket(message_buffer, input_data_log = true) { + // Check if binary message_buffer + if ( + message_buffer instanceof Uint8Array || + message_buffer instanceof ArrayBuffer + ) { + // binary frame + console.debug(" -> Binary data ....."); + } else { + // text frame ping ? + if (message_buffer !== undefined && message_buffer !== null) { + console.debug(" -> Text data ....."); + console.debug(`Text Frame Received : ${message_buffer}`); + return JSON.stringify({ text: message_buffer }); + } else { + // Handle the case where message_buffer is undefined or null + return JSON.stringify({ text: "" }); + } + } + // Get buffer received + let data_rcv = new Uint8Array(message_buffer); + console.debug(data_rcv); + // Obtain a message type + let decoded_message = {}; + let WsPacket_message = new Dwarfii_Api.WsPacket(); + let Response_message = {}; + let data_class = ""; + // Decoding buffer received + WsPacket_message = decodePacket(data_rcv, Dwarfii_Api.WsPacket); + console.debug( + `receive message.majorVersion = ${WsPacket_message.majorVersion}` + ); + console.debug( + `receive message.minorVersion = ${WsPacket_message.minorVersion}` + ); + console.debug(`receive message.deviceId = ${WsPacket_message.deviceId}`); + console.debug(`receive message.moduleId = ${WsPacket_message.moduleId}`); + console.debug(`=> ${Dwarfii_Api.ModuleId[WsPacket_message.moduleId]}`); + console.debug(`receive message.cmd = ${WsPacket_message.cmd}`); + console.debug(`=> ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}`); + console.debug(`receive message.type = ${WsPacket_message.type}`); + console.debug(`receive message.clientId = ${WsPacket_message.clientId}`); + // Analyze Data : depends of cmd and type value of response packet. + const cmdClass = cmdMapping[WsPacket_message.cmd]; + console.debug(`cmdClass: ${cmdClass}`); + const responseClass = responseMapping[WsPacket_message.cmd]; + console.debug(`responseClass: ${responseClass}`); + const notifyClass = notifyMapping[WsPacket_message.cmd]; + console.debug(`notifyClass: ${notifyClass}`); + const notifyResponseClass = notifyResponseMapping[WsPacket_message.cmd]; + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + + if ( + (WsPacket_message.type == 0 && cmdClass === undefined) || + (WsPacket_message.type == 1 && responseClass === undefined) || + (WsPacket_message.type == 2 && notifyClass === undefined) || + (WsPacket_message.type == 3 && notifyResponseClass === undefined) + ) { + // Error cmd not known, ignore it + console.error(`Ignore Command Message Unknown: ${WsPacket_message.cmd}`); + return JSON.stringify({}); + } + + // Automatic Analyse Data + if (WsPacket_message.type == 0) { + // Request + console.debug( + `Decoding Request Frame => ${Dwarfii_Api.DwarfCMD[WsPacket_message.cmd]}` + ); + // Get Response Class Object + console.debug(`cmdClass: ${cmdClass}`); + data_class = "Dwarfii_Api." + cmdClass; + Response_message = eval(`new Dwarfii_Api.${cmdClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${cmdClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 1) { + // Response + console.debug( + `Decoding Response Request Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`responseClass: ${responseClass}`); + data_class = "Dwarfii_Api." + responseClass; + Response_message = eval(`new Dwarfii_Api.${responseClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${responseClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 2) { + // Notification + console.debug( + `Decoding Notification Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`notifyClass: ${notifyClass}`); + data_class = "Dwarfii_Api." + notifyClass; + Response_message = eval(`new Dwarfii_Api.${notifyClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${notifyClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else if (WsPacket_message.type == 3) { + // Notification Response + console.debug( + `Decoding Notification Response Frame => ${ + Dwarfii_Api.DwarfCMD[WsPacket_message.cmd] + }` + ); + console.debug(`notifyResponseClass: ${notifyResponseClass}`); + data_class = "Dwarfii_Api." + notifyResponseClass; + Response_message = eval(`new Dwarfii_Api.${notifyResponseClass}()`); + Response_message = decodePacket( + WsPacket_message.data, + eval(`Dwarfii_Api.${notifyResponseClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + // replace data value with new keys and also prototype key assigned by default. + // escape toJSON property of object + decoded_message = Object.assign({}, WsPacket_message); + // Ensure 'data' property is defined + decoded_message.data = {}; + decoded_message.data.class = data_class; + for (let key in Response_message) { + if (key !== "toJSON") { + decoded_message.data[key] = Response_message[key]; + } + } + // add command in plain text + let value = ""; + if (decoded_message.cmd) { + decoded_message.data.cmdText = {}; + decoded_message.data.cmdText = Dwarfii_Api.DwarfCMD[decoded_message.cmd]; + decoded_message.data.cmdPlainTxt = {}; + if (cmdTxtMapping[decoded_message.cmd]) + decoded_message.data.cmdPlainTxt = cmdTxtMapping[decoded_message.cmd]; + } + // add mode response code in plain text + if (decoded_message.data.mode !== undefined) { + value = getClassModeMappings(data_class, decoded_message.data.mode); + if (value) { + decoded_message.data.modeText = {}; + decoded_message.data.modeText = value; + } + } + // add state response code in plain text + if (decoded_message.data.state !== undefined) { + value = getClassStateMappings(data_class, decoded_message.data.state); + if (value) { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } else { + // Protobuf get the correct Txt value with toObject function except for 0 + value = JSON.parse(JSON.stringify(Response_message)).state; + if (value && typeof value == "string") { + decoded_message.data.stateText = {}; + decoded_message.data.stateText = value; + } + } + decoded_message.data.statePlainTxt = {}; + if (stateTxtMapping[decoded_message.data.state]) + decoded_message.data.statePlainTxt = + stateTxtMapping[decoded_message.data.state]; + } + // add error code in plain text + if (decoded_message.data.hasOwnProperty("code")) { + decoded_message.data.errorTxt = {}; + if (Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]) + decoded_message.data.errorTxt = + Dwarfii_Api.DwarfErrorCode[decoded_message.data.code]; + decoded_message.data.errorPlainTxt = {}; + if (decoded_message.data.code == 0) + decoded_message.data.errorPlainTxt = + errorTxtMapping[decoded_message.data.code]; + else if (errorTxtMapping[-decoded_message.data.code]) + decoded_message.data.errorPlainTxt = + errorTxtMapping[-decoded_message.data.code]; + } + if (input_data_log) + console.log( + `End Analyze Input Packet >> ${JSON.stringify(decoded_message)}` + ); + else + console.log( + `End Analyze Output Packet >> ${JSON.stringify(decoded_message)}` + ); + + return JSON.stringify(decoded_message); } diff --git a/src/astro.js b/src/astro.js index c8d0e40e..ada95614 100644 --- a/src/astro.js +++ b/src/astro.js @@ -1,189 +1,696 @@ /** @module astro */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; -import { - telephotoCamera, - calibrateGotoCmd, - startGotoCmd, - binning2x2, - fileTiff, - takeAstroPhotoCmd, - takeAstroDarkFramesCmd, - darkGainDefault, - utcURL, - stopAstroPhotoCmd, - rawPreviewContinousSuperimpose, - queryShotFieldCmd, - setRAWPreviewCmd, -} from "./api_codes.js"; -import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js"; - +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE ASTRO ---------------- ***/ +/*** ---------------------------------------------- ***/ /** - * 4.1.1 UTC+0 time - * @param {string} IP - * @returns {string} + * 4.10.2 Start calibration + * Create Encoded Packet for the command CMD_ASTRO_START_CALIBRATION + * @returns {Uint8Array} */ -export function formatUtcUrl(IP) { - return `${utcURL(IP)}${nowUTC()}`; +export function messageAstroStartCalibration() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CALIBRATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.2 correction - * @param {number} latitude - * @param {number} longitude - * @returns {Object} - */ -export function calibrateGoto(latitude, longitude) { - const options = { - interface: calibrateGotoCmd, - camId: telephotoCamera, - lon: longitude, - lat: latitude, - date: nowLocal(), - path: `DWARF_GOTO_${nowLocalFileName()}`, - }; - return options; + * 4.10.3 Stop calibration + * Create Encoded Packet for the command CMD_ASTRO_STOP_CALIBRATION + * @returns {Uint8Array} + */ +export function messageAstroStopCalibration() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CALIBRATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination - * @param {number} latitude - * @param {number} longitude - * @returns {Object} - */ -export function startGoto( - planet, - rightAscension, - declination, - latitude, - longitude -) { - const options = { - interface: startGotoCmd, - camId: telephotoCamera, - lon: longitude, - lat: latitude, - date: nowLocal(), - path: `DWARF_GOTO_${nowLocalFileName()}`, - }; - - if (planet !== undefined && planet !== null) { - options.planet = planet; - } else { - options.ra = rightAscension; - options.dec = declination; - } - return options; + * 4.10.4 Start GOTO and track deep space objects + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} + */ +export function messageAstroStartGotoDso(ra, dec, target_name) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_DSO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + ra: ra, + dec: dec, + targetName: target_name, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.5 Start GOTO and track solar system targets + * Create Encoded Packet for the command CMD_ASTRO_START_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} + */ +export function messageAstroStartGotoSolarSystem(index, lon, lat, targetName) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_GOTO_SOLAR_SYSTEM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + targetName: targetName, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.6 Stop GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_GOTO + * @returns {Uint8Array} + */ +export function messageAstroStopGoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_GOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.7 Start Sun track & & Moon track + * Create Encoded Packet for the command CMD_ASTRO_START_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} + */ +export function messageAstroStartTrackSpecialTarget(index, lon, lat) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_TRACK_SPECIAL_TARGET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.8 Stop sun and moon tracking + * Create Encoded Packet for the command CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET + * @returns {Uint8Array} + */ +export function messageAstroStopTrackSpecialTarget() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.4 Take raw pictures - * @param {string} rightAscension - * @param {string} declination - * @param {number} exposureTime - * @param {number} gain - * @param {number} binning - * @param {number} count - * @param {number} fileFormat - * @param {string} fileName - * @returns {Object} - */ -export function takeAstroPhoto( - rightAscension, - declination, - exposureTime, - gain, - binning = binning2x2, - count = 1, - fileFormat = fileTiff, - fileName = `DWARF_RAW_${nowLocalFileName()}` + * 4.10.9 Start stack + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStartCaptureRawLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.10 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.11 Start Wide stack + * Create Encoded Packet for the command CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStartWideCaptureLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.12 stop stack + * Create Encoded Packet for the command CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING + * @returns {Uint8Array} + */ +export function messageAstroStopWideCaptureLiveStacking() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.13 Inquire about the dark field that has been shot + * Create Encoded Packet for the command CMD_ASTRO_CHECK_GOT_DARK + * @returns {Uint8Array} + */ +export function messageAstroCheckGotDark() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_CHECK_GOT_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.14 Start shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK + * @param {number} reshoot // Whether to reshoot, 0: No; 1: Remake + * @returns {Uint8Array} + */ +export function messageAstroStartCaptureRawDark(reshoot) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ reshoot: reshoot }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.15 Stop shooting dark scenes + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureRawDark() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.16 GO LIVE interface + * Create Encoded Packet for the command CMD_ASTRO_GO_LIVE + * @returns {Uint8Array} + */ +export function messageAstroGoLive() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GO_LIVE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.17 One-click GOTO deep space celestial body + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_DSO + * @param {number} ra Right Ascension + * @param {number} dec Declination + * @param {string} target_name + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoDso(ra, dec, target_name) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_DSO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + ra: ra, + dec: dec, + targetName: target_name, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.18 One-click GOTO solar system target + * Create Encoded Packet for the command CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM + * @param {number} index SolarSystemTargetNumber + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @param {string} targetName + * @returns {Uint8Array} + */ +export function messageAstroStartOneClickGotoSolarSystem( + index, + lon, + lat, + targetName ) { - const options = { - interface: takeAstroPhotoCmd, - camId: telephotoCamera, - target: "NULL", - RA: rightAscension, - DEC: declination, - exp: exposureTime, - gain: gain, - binning: binning, - count: count, - name: fileName, - overlayCount: 1, - format: fileFormat, - }; - return options; + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + index: index, + lon: lon, + lat: lat, + targetName: targetName, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.7 Stop taking RAW images - * @returns {Object} + * 4.10.19 Stop one-click GOTO + * Create Encoded Packet for the command CMD_ASTRO_STOP_ONE_CLICK_GOTO + * @returns {Uint8Array} */ -export function stopAstroPhoto() { - const options = { - interface: stopAstroPhotoCmd, - }; - return options; +export function messageAstroStopOneClickGoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_ONE_CLICK_GOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.9 Switch the RAW preview source - * @param {number} source - * @returns {Object} + * 4.10.20 Start EQ verification + * Create Encoded Packet for the command CMD_ASTRO_START_EQ_SOLVING + * @param {number} lon Longitude + * @param {number} lat Lattitude + * @returns {Uint8Array} */ -export function updateRawPreviewSource( - source = rawPreviewContinousSuperimpose +export function messageAstroStartEqSolving(lon, lat) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_EQ_SOLVING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + lon: lon, + lat: lat, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.21 Stop EQ verification + * Create Encoded Packet for the command CMD_ASTRO_STOP_EQ_SOLVING + * @returns {Uint8Array} + */ +export function messageAstroStopEqSolving() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_EQ_SOLVING; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.22 Start shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureDarkFrameWithParam( + exp_index, + gain_index, + bin_index, + cap_size ) { - // 0:Continuous superposition graph - // 1:Single 15s exposure graph - // 2:Single sheet according to exposure time (more than 15s) composite image - const options = { - interface: setRAWPreviewCmd, - camId: telephotoCamera, - source, - }; - return options; + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + capSize: cap_size, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - -// BUG: response is {interface: 11003, value: 100, code: 0} when darks already exists -/** - * 4.1.10 Taking dark field - * @param {number} binning - * @param {number} exposure - * @param {number} count - * @param {string} fileName - * @returns {Object} - */ -export function takeAstroDarks( - binning, - exposure, - count = 40, - fileName = `DWARF_DARK_${nowLocalFileName()}` +/** + * 4.10.23 Stop shooting the dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureDarkFrameWithParam() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.24 Query the list of recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetDarkFrameList() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.25 Delete the specified dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelDarkFrameList(exp_index, gain_index, bin_index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.26 Start shooting wide-angle dark field with specified parameters + * Create Encoded Packet for the command CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @param {number} cap_size // Number of shots + * @returns {Uint8Array} + */ +export function messageAstroCaptureWideDarkFrameWithParam( + exp_index, + gain_index, + bin_index, + cap_size ) { - const options = { - interface: takeAstroDarkFramesCmd, - camId: telephotoCamera, - count, - name: fileName, - binning: binning, - darkGain: darkGainDefault, - darkExposure: exposure, - }; - return options; + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + capSize: cap_size, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.1.11 Query the shot field - * @param {number} binning - * @returns {Object} - */ -export function queryShotField(binning) { - const options = { - interface: queryShotFieldCmd, - camId: telephotoCamera, - binning: binning, - }; - return options; + * 4.10.27 Stop shooting the dark field with wide-angle specified parameters + * Create Encoded Packet for the command CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM + * @returns {Uint8Array} + */ +export function messageAstroStopCaptureWideDarkFrameWithParam() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.28 Query the list of wide-angle recorded dark scenes + * Create Encoded Packet for the command CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST + * @returns {Uint8Array} + */ +export function messageAstroGetWideDarkFrameList() { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.10.29 Delete the specified wide-angle dark field list + * Create Encoded Packet for the command CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST + * @param {number} exp_index // Exposure parameter index value + * @param {number} gain_index // Gain parameter index value + * @param {number} bin_index // Binning parameter index value + * @returns {Uint8Array} + */ +export function messageAstroDelWideDarkFrameList( + exp_index, + gain_index, + bin_index +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_ASTRO; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expIndex: exp_index, + gainIndex: gain_index, + binIndex: bin_index, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } diff --git a/src/bluetooth.js b/src/bluetooth.js new file mode 100644 index 00000000..348d53d0 --- /dev/null +++ b/src/bluetooth.js @@ -0,0 +1,395 @@ +/** @module ble */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { cmdMapping, responseMapping } from "./cmd_mapping.js"; + +/*** -------------------------------------------- ***/ +/*** ---------------- MODULE_BLE ---------------- ***/ +/*** -------------------------------------------- ***/ +/** + * Calculates the buffers crc16. + * + * @param {any} buffer the data buffer. + * @return {number} the calculated crc16. + * + * Source: github.com/yaacov/node-modbus-serial + */ +function calculateCRC16(buffer) { + var crc = 0xffff; + var odd; + + for (var i = 0; i < buffer.length; i++) { + crc = crc ^ buffer[i]; + + for (var j = 0; j < 8; j++) { + odd = crc & 0x0001; + crc = crc >> 1; + if (odd) { + crc = crc ^ 0xa001; + } + } + } + + return crc; +} +/** + * GetArrayFromHexString + * @param {string} data + * @returns {array} + */ +function getArrayFromHexString(data) { + let c = []; + while (data.length) { + let x = data.substr(0, 2); + let z = parseInt(x, 16); // hex string to int + z = (z + 0xff + 1) & 0xff; // twos complement + c.push(z); + data = data.substr(2); + } + return c; +} +/** + * getDecimalToHexString + * @param {number} number + * @returns {string} + */ +function getDecimalToHex16bString(number) { + let x = number + 0xffff + 1; // twos complement + let result = x.toString(16); // to hex + result = ("0000" + result).substr(-4); + return result; +} +/* +export function testEncode() { + let a = [128, -24, 255, 10]; + alert("Original is " + JSON.stringify(a)); // [3546,-24,99999,3322] + + let b = a + .map(function (x) { + x = x + 0xff + 1; // twos complement + x = x.toString(16); // to hex + x = ("00" + x).substr(-2); // zero-pad to 2-digits + return x; + }) + .join(""); + alert("Hex string " + b); // 00000ddaffffffe80001869f00000cfa + + c = []; + while (b.length) { + var x = b.substr(0, 2); + x = parseInt(x, 16); // hex string to int + x = (x + 0xff + 1) & 0xff; // twos complement + c.push(x); + b = b.substr(2); + } + alert("Converted back: " + JSON.stringify(c)); // [3546,-24,99999,3322] +} +*/ +/** + * Execute Decoding Received Bluetooth Packet from the Dwarf II + * @param {Uint8Array} buffer + * @param {Object} classDecode Class of Message depending on the command + * @returns {Object} + */ +export function decodePacketBle(buffer, classDecode) { + // eslint-disable-next-line no-undef + // Obtain a message type + let decoded = classDecode.decode(buffer); + console.log(`decoded data = ${JSON.stringify(decoded)}`); + return decoded; +} +/** + * Generic Create Encoded Bluetooth Packet Function + * @param {number} cmd + * @param {Object} message + * @param {Object} class_message + * @returns {Uint8Array} + */ +export function createPacketBle(cmd, message, class_message) { + let frame_header = 0xaa; + let frame_end = 0x0d; + let protocol_id = 0x01; + let package_id = 0x00; + let total_id = 0x01; + let reserved1_id = 0x00; + let reserved2_id = 0x00; + // message + let message_buffer = message; + message_buffer = class_message.encode(message).finish(); + + let buffer = []; + + // payload + let payload_init = [ + frame_header, + protocol_id, + cmd, + package_id, + total_id, + reserved1_id, + reserved2_id, + ]; + console.log(`Packet payload = ${JSON.stringify(payload_init)}`); + buffer.push(...payload_init); + + // data lenght + let data_length = message_buffer.length; + let data_length_hexa = getDecimalToHex16bString(data_length); + let data_length_array = getArrayFromHexString(data_length_hexa); + console.log(`Data lenght = ${JSON.stringify(data_length_array)}`); + buffer.push(...data_length_array); + + // data + console.debug( + `message_buffer = ${Array.prototype.toString.call(message_buffer)}` + ); + buffer.push(...message_buffer); + + let CRC16 = calculateCRC16(buffer); + + let CRC16_array = getArrayFromHexString(getDecimalToHex16bString(CRC16)); + buffer.push(...CRC16_array); + buffer.push(frame_end); + + console.debug(`buffer = ${Array.prototype.toString.call(buffer)}`); + return new Uint8Array(buffer); +} +/** + * Generic Analysing Encoded Received BLE Packet Function + * @param {ArrayBuffer|string} message_buffer Encoded Message Buffer + * @returns {string} + */ +export function analyzePacketBle(message_buffer, input_data = true) { + // Check if binary message_buffer + if ( + message_buffer instanceof Uint8Array || + message_buffer instanceof ArrayBuffer + ) { + // binary frame + console.debug(" -> Binary data ....."); + } else { + // Handle the case where message_buffer is undefined or null + return JSON.stringify({ text: "" }); + } + // Get buffer received + let data_rcv = new Uint8Array(message_buffer); + console.debug(data_rcv); + // verify the data : 12 octets minimum + if (data_rcv.length < 12) { + console.error( + `analyzePacketBle error Decoding not enought data received ! nb bytes: ${data_rcv.length}` + ); + return ""; + } + // Obtain a message type + let decoded_message = {}; + let Response_message = {}; + let data_class = ""; + // Decoding buffer received + let cmd = data_rcv[2]; + let data_length = data_rcv[7] * 256 + data_rcv[8]; + let data_buffer = new Uint8Array([]); + if (data_length > 0) data_buffer = data_rcv.slice(9, 9 + data_length); + console.debug(`receive message cmd = ${cmd}`); + console.debug(`receive message data_length = ${data_length}`); + + // Analyze Data : depends of cmd + const cmdClass = cmdMapping[cmd]; + console.debug(`cmdClass: ${cmdClass}`); + const responseClass = responseMapping[cmd]; + console.debug(`responseClass: ${responseClass}`); + + // Automatic Analyse Data + // Get Response Class Object + if (input_data) { + console.debug(`cmdClass: ${cmdClass}`); + data_class = "Dwarfii_Api." + cmdClass; + Response_message = eval(`new Dwarfii_Api.${cmdClass}()`); + Response_message = decodePacketBle( + data_buffer, + eval(`Dwarfii_Api.${cmdClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } else { + // Response + console.debug(`responseClass: ${responseClass}`); + data_class = "Dwarfii_Api." + responseClass; + Response_message = eval(`new Dwarfii_Api.${responseClass}()`); + Response_message = decodePacketBle( + data_buffer, + eval(`Dwarfii_Api.${responseClass}`) + ); + console.debug(`Not all Data!>> ${JSON.stringify(Response_message)}`); + } + // replace data value with new keys and also prototype key assigned by default. + // escape toJSON property of object + decoded_message = Object.assign({}, Response_message); + for (let key in Response_message) { + if (key !== "toJSON") { + decoded_message[key] = Response_message[key]; + } + } + console.log(`End Analyze Packet >> ${JSON.stringify(decoded_message)}`); + + return JSON.stringify(decoded_message); +} +/** + * 3.1.1 Request data + * Create Encoded Packet for the command Getconfig + * CMD instruction, value is 1 + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageGetconfig(ble_psd) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 1; + const cmdClass = cmdMapping[cmd]; + // let class_message = eval(`Dwarfii_Api.${cmdClass}`); // error in production! + let class_message = Dwarfii_Api.ReqGetconfig; + // Encode message + let message = class_message.create({ + cmd: cmd, + blePsd: ble_psd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.2 Configure WiFi AP mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} wifi_type ; // 0-5G 1-2.4G + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {Number} country_list ; // 0- do not configure country_list 1- configure country_list + * @param {string} country ; // + * @param {string} ble_psd ; //Default: "DWARF_12345678" + * @returns {Uint8Array} + */ +export function messageWifiAP( + wifi_type, + auto_start, + country_list, + country, + ble_psd +) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 2; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + wifiType: wifi_type, + autoStart: auto_start, + countryList: country_list, + country: country, + blePsd: ble_psd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.3 Configure WiFi STA mode + * Create Encoded Packet for the command Configure WiFi AP mode + * CMD instruction, value is 2 + * @param {Number} auto_start ; // WiFi boot configuration 0 - boot not start 1 - boot start + * @param {string} ble_psd ; // Default: "DWARF_12345678" + * @param {string} ssid ; // WiFi name of router to connect + * @param {string} psd ; // WiFi password of the router to be connected + * @returns {Uint8Array} + */ +export function messageWifiSTA(auto_start, ble_psd, ssid, psd) { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 3; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + autoStart: auto_start, + blePsd: ble_psd, + ssid: ssid, + psd: psd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.4 Reset Bluetooth WiFi + * Create Encoded Packet for the command Reset Bluetooth WiFi + * CMD instruction, value is 5 + * @returns {Uint8Array} + */ +export function messageResetWifi() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 5; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.5 Get WiFi list + * Create Encoded Packet for the command Get WiFi list + * CMD instruction, value is 6 + * @returns {Uint8Array} + */ +export function messageGetWifiList() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 6; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} +/** + * 3.6 Obtain device information + * Create Encoded Packet for the command Get device information + * CMD instruction, value is 7 + * @returns {Uint8Array} + */ +export function messageGetSystemInfo() { + // Obtain classname depending of the command + // Obtain a message class + var cmd = 7; + const cmdClass = cmdMapping[cmd]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + cmd: cmd, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacketBle(cmd, message, class_message); +} diff --git a/src/camera_settings.js b/src/camera_settings.js deleted file mode 100644 index 7ca80650..00000000 --- a/src/camera_settings.js +++ /dev/null @@ -1,50 +0,0 @@ -/** @module camera_settings */ - -import { - telephotoCamera, - statusTelephotoCmd, - statusWideangleCmd, - statusIRTelephotoCmd, - statusWorkingStateTelephotoCmd, -} from "./api_codes.js"; - -/** - * 3.4.1 Get telephoto ISP parameters - * 3.4.4 Returns the wide-angle ISP parameter - * @param {number} camera - * @returns {Object} - */ -export function cameraSettings(camera = telephotoCamera) { - let command; - if (camera === telephotoCamera) { - command = statusTelephotoCmd; - } else { - command = statusWideangleCmd; - } - const options = { interface: command, camId: camera }; - return options; -} - -/** - * 3.4.2 Get telephoto IRCUT state (when shooting raw) - * @returns {Object} - */ -export function iRSettings() { - const options = { interface: statusIRTelephotoCmd, camId: telephotoCamera }; - return options; -} - -/** - * 3.4.3 Returns to the camera working state - * @param {number} camera - * @returns {Object} - */ -export function cameraWorkingState(camera = telephotoCamera) { - if (camera === telephotoCamera) { - const options = { - interface: statusWorkingStateTelephotoCmd, - camId: telephotoCamera, - }; - return options; - } -} diff --git a/src/camera_tele.js b/src/camera_tele.js new file mode 100644 index 00000000..b8dd62bc --- /dev/null +++ b/src/camera_tele.js @@ -0,0 +1,976 @@ +/** @module camera_tele */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { binning1x1 } from "./api_codes.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA TELE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.7.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_OPEN_CAMERA + * @param {number} binning ; 0 : binning1x1 (default) 1: binning2x2 + * @param {number} rtsp_encode_type ; 0:H264 (default) 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleOpenCamera( + binning = binning1x1, + rtsp_encode_type = 0 +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + binning: binning, + rtspEncodeType: rtsp_encode_type, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_TELE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraTeleCloseCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_CLOSE_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.5 Set all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetAllParams( + exp_mode, + exp_index, + gain_mode, + gain_index, + ircut_value, + wb_mode, + wb_index_type, + wb_index, + brightness, + contrast, + hue, + saturation, + sharpness, + jpg_quality +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expMode: exp_mode, + expIndex: exp_index, + gainMode: gain_mode, + gainIndex: gain_index, + ircutValue: ircut_value, + wbMode: wb_mode, + wbIndexType: wb_index_type, + wbIndex: wb_index, + brightness: brightness, + contrast: contrast, + hue: hue, + saturation: saturation, + sharpness: sharpness, + jpgQuality: jpg_quality, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.6 Get all camera parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.7 Set feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_FEATURE_PARAM + * @param {boolean} has_auto + * @param {number} auto_mode + * @param {number} id + * @param {number} mode_index + * @param {number} index + * @param {number} continue_value + * @returns {Uint8Array} + */ +export function messageCameraTeleSetFeatureParams( + has_auto, + auto_mode, + id, + mode_index, + index, + continue_value +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_FEATURE_PARAM; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let param = Dwarfii_Api.CommonParam.create({ + hasAuto: has_auto, + autoMode: auto_mode, + id: id, + modeIndex: mode_index, + index: index, + continueValue: continue_value, + }); + let message = class_message.create({ + param: param, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.8 Get all feature parameters + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetAllFeatureParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.9 Get the working status of the whole machine + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSystemWorkingState() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.10 Take photos + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraTelePhotograph() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTOGRAPH; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.11 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStartBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.12 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraTeleStopBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.13 Start recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStartRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.14 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraTeleStopRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.15 Start time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStartTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.16 Stop time-lapse photography + * Create Encoded Packet for the command CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraTeleStopTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.17 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.18 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExpMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.19 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetExp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.20 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraTeleGetExp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.21 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGainMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.22 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGainMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.23 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetGain(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.24 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraTeleGetGain() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.25 Set IRCUT + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_IRCUT + * @param {number} value ; //IRCUT value 0: CUT 1: PASS + * @returns {Uint8Array} + */ +export function messageCameraTeleSetIRCut(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_IRCUT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.26 Get IRCUT status + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_IRCUT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetIRCut() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_IRCUT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.27 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.28 Acquire white balance mode + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_MODE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.29 Set white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_SCENE + * @param {number} value ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBScene(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_SCENE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.30 Get white balance scene + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_SCENE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBScene() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_SCENE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.31 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_WB_CT + * @param {number} index ; // See whiteBalanceScenesIDValue + * @returns {Uint8Array} + */ +export function messageCameraTeleSetWBColorTemp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.32 Obtain the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_WB_CT + * @returns {Uint8Array} + */ +export function messageCameraTeleGetWBColorTemp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.33 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_BRIGHTNESS + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetBrightness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.34 Acquire brightness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_BRIGHTNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetBrightness() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.35 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetContrast(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.36 Get contrast + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_CONTRAST + * @returns {Uint8Array} + */ +export function messageCameraTeleGetContrast() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.37 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SATURATION + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 255.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSaturation(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.38 Acquire saturation + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SATURATION + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSaturation() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.39 Set tone + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B =(A + 180) * 255.0 / 360 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetHue(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.40 Get hue + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_HUE + * @returns {Uint8Array} + */ +export function messageCameraTeleGetHue() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.41 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_SHARPNESS + * UI value (A) 0 100 50 (Default) + * @param {number} value ; B = A + * @returns {Uint8Array} + */ +export function messageCameraTeleSetSharpness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.42 Acquire sharpness + * Create Encoded Packet for the command CMD_CAMERA_TELE_GET_SHARPNESS + * @returns {Uint8Array} + */ +export function messageCameraTeleGetSharpness() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.43 Set jpg preview quality + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_JPG_QUALITY + * @param {number} quality ; + * @returns {Uint8Array} + */ +export function messageCameraTeleSetJPGQuality(quality) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ quality: quality }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.44 Shoot RAW image + * Create Encoded Packet for the command CMD_CAMERA_TELE_PHOTO_RAW + * @returns {Uint8Array} + */ +export function messageCameraTelePhotoRaw() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_PHOTO_RAW; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.7.45 Set rtsp preview bit rate type + * Create Encoded Packet for the command CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE + * @param {number} bitrate_type ; 0:H264 1:H265 + * @returns {Uint8Array} + */ +export function messageCameraTeleSetRTSPPreviewBitsRate(bitrate_type) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_TELE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_SET_JPG_QUALITY; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ bitrateType: bitrate_type }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/camera_wide.js b/src/camera_wide.js new file mode 100644 index 00000000..c3618f38 --- /dev/null +++ b/src/camera_wide.js @@ -0,0 +1,603 @@ +/** @module camera_wide */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { binning2x2 } from "./api_codes.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ---------------------------------------------------- ***/ +/*** ---------------- MODULE CAMERA WIDE ---------------- ***/ +/*** ---------------------------------------------------- ***/ +/** + * 4.9.3 Turn on the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideOpenCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ binning: binning2x2 }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.4 Turn off the camera + * Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA + * @returns {Uint8Array} + */ +export function messageCameraWideCloseCamera() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_CLOSE_CAMERA; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.5 Take photos + * Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH + * @returns {Uint8Array} + */ +export function messageCameraWidePhotograph() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_PHOTOGRAPH; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.6 Start recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStartRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.7 Stop recording + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD + * @returns {Uint8Array} + */ +export function messageCameraWideStopRecord() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_RECORD; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.8 Start continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStartBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.9 Stop continuous shooting + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST + * @returns {Uint8Array} + */ +export function messageCameraWideStopBurst() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_BURST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.10 Get all parameters + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS + * @returns {Uint8Array} + */ +export function messageCameraWideGetAllParams() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.11 Set exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.12 Acquire exposure mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetExpMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.13 Set exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetExp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.14 Get exposure value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP + * @returns {Uint8Array} + */ +export function messageCameraWideGetExp() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_EXP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.15 Set gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGainMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.16 Acquisition gain mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE + * @returns {Uint8Array} + */ +export function messageCameraWideGetGainMode() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.17 Set gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetGain(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.18 Get gain value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN + * @returns {Uint8Array} + */ +export function messageCameraWideGetGain() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_GET_GAIN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.19 Set white balance mode + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE + * @param {number} mode ; //0: Auto 1: Manual ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.20 Set the white balance color temperature value + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT + * @param {number} index ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetWBColorTemp(index) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_WB_CT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ index: index }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.21 Set brightness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = A * 64.0 / 10 + * @returns {Uint8Array} + */ +export function messageCameraWideSetBrightness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_BRIGHTNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.22 Set contrast + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST + * UI value (A) -100 100 0 (Default) + * @param {number} value ; B = (A + 100) * 95.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetContrast(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_CONTRAST; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.23 Set saturation + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION + * UI value (A) -100 100 60 (Default) + * @param {number} value ; B =(A + 100) * 100.0 / 200 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSaturation(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SATURATION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.24 Set tone + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE + * UI value (A) -180 180 0 (Default) + * @param {number} value ; B = A * 2000.0 / 180 + * @returns {Uint8Array} + */ +export function messageCameraWideSetHue(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_HUE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.25 Set sharpness + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS + * UI value (A) 0 100 17 (Default) + * @param {number} value ; B = A * 6.0 / 100 + 1 + * @returns {Uint8Array} + */ +export function messageCameraWideSetSharpness(value) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_SHARPNESS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ value: value }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.26 Start time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStartTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.27 Stop time-lapse photography + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO + * @returns {Uint8Array} + */ +export function messageCameraWideStopTimeLapsePhoto() { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.9.28 Set all camera parameters + * Not documented + * Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS + * @param {number} exp_mode ; // 0: Auto 1: Manual + * @param {number} exp_index ; + * @param {number} gain_mode ; + * @param {number} gain_index ; + * @param {number} ircut_value ; //IRCUT value 0: CUT 1: PASS + * @param {number} wb_mode ; //white balance mode 0: automatic 1: manual + * @param {number} wb_index_type ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode + * @param {number} wb_index ; + * @param {number} brightness ; + * @param {number} contrast ; + * @param {number} hue ; + * @param {number} saturation ; + * @param {number} sharpness ; + * @param {number} jpg_quality ; + * @returns {Uint8Array} + */ +export function messageCameraWideSetAllParams( + exp_mode, + exp_index, + gain_mode, + gain_index, + ircut_value, + wb_mode, + wb_index_type, + wb_index, + brightness, + contrast, + hue, + saturation, + sharpness, + jpg_quality +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_CAMERA_WIDE; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_SET_ALL_PARAMS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + expMode: exp_mode, + expIndex: exp_index, + gainMode: gain_mode, + gainIndex: gain_index, + ircutValue: ircut_value, + wbMode: wb_mode, + wbIndex_type: wb_index_type, + wbIndex: wb_index, + brightness: brightness, + contrast: contrast, + hue: hue, + saturation: saturation, + sharpness: sharpness, + jpgQuality: jpg_quality, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/cmd_mapping.js b/src/cmd_mapping.js new file mode 100644 index 00000000..2582ceaa --- /dev/null +++ b/src/cmd_mapping.js @@ -0,0 +1,610 @@ +// Access the class name associated with a command +// const openCameraClass = cmdMapping[10000]; +// console.log(openCameraClass); // diplay "ReqOpenCamera" + +export const cmdMapping = { + // BLE Class Command + 1: "ReqGetconfig", // Get WiFi configuration + 2: "ReqAp", // Configure WiFi AP mode + 3: "ReqSta", // Configure WiFi STA mode + 4: "ReqSetblewifi", // Configure BLE wifi + 5: "ReqReset", // Reset Bluetooth WiFi + 6: "ReqWifilist", // Get WiFi list + 7: "ReqGetsysteminfo", // Obtain device information + 8: "ReqCheckFile", // Check File + + 10000: "ReqOpenCamera", // Turn on the camera + 10001: "ReqCloseCamera", // Turn off the camera + 10002: "ReqPhoto", // Take photos + 10003: "ReqBurstPhoto", // Start continuous shooting + 10004: "ReqStopBurstPhoto", // Stop continuous shooting + 10005: "ReqStartRecord", // Start recording + 10006: "ReqStopRecord", // Stop recording + 10007: "ReqSetExpMode", // Set exposure mode + 10008: "ReqGetExpMode", // Acquire exposure mode + 10009: "ReqSetExp", // Set exposure value + 10010: "ReqGetExp", // Get exposure value + 10011: "ReqSetGainMode", // Set gain mode + 10012: "ReqGetGainMode", // Acquisition gain mode + 10013: "ReqSetGain", // Set gain value + 10014: "ReqGetGain", // Get gain value + 10015: "ReqSetBrightness", // Set brightness + 10016: "ReqGetBrightness", // Acquire brightness + 10017: "ReqSetContrast", // Set contrast + 10018: "ReqGetContrast", // Get contrast + 10019: "ReqSetSaturation", // Set saturation + 10020: "ReqGetSaturation", // Acquire saturation + 10021: "ReqSetHue", // Set tone + 10022: "ReqGetHue", // Get hue + 10023: "ReqSetSharpness", // Set sharpness + 10024: "ReqGetSharpness", // Acquire sharpness + 10025: "ReqSetWBMode", // Set white balance mode + 10026: "ReqGetWBMode", // Acquire white balance mode + 10027: "ReqSetWBSence", // Set white balance scene + 10028: "ReqGetWBSence", // Get white balance scene + 10029: "ReqSetWBCT", // Set the white balance color temperature value + 10030: "ReqGetWBCT", // Obtain the white balance color temperature value + 10031: "ReqSetIrCut", // Set IRCUT + 10032: "ReqGetIrcut", // Get IRCUT status + 10033: "ReqStartTimeLapse", // Start time-lapse photography + 10034: "ReqStopTimeLapse", // Stop time-lapse photography + 10035: "ReqSetAllParams", // Set all parameters + 10036: "ReqGetAllParams", // Get all parameters + 10037: "ReqSetFeatureParams", // Set feature parameters + 10038: "ReqGetAllFeatureParams", // Get all feature parameters + 10039: "ReqGetSystemWorkingState", // Get the working status of the whole machine + 10040: "ReqSetJpgQuality", // Set jpg preview quality + + 10041: "ReqPhotoRaw", // Shoot RAW image + 10042: "ReqSetRtspBitRateType", // Set rtsp preview bit rate type + + 11000: "ReqStartCalibration", // Start calibration + 11001: "ReqStopCalibration", // Stop calibration + 11002: "ReqGotoDSO", // Start GOTO Deep Space Object + 11003: "ReqGotoSolarSystem", // Start GOTO Solar System Target + 11004: "ReqStopGoto", // Stop GOTO + 11005: "ReqCaptureRawLiveStacking", // Start stacking + 11006: "ReqStopCaptureRawLiveStacking", // Stop overlay + 11007: "ReqCaptureDarkFrame", // Start shooting dark scenes + 11008: "ReqStopCaptureDarkFrame", // Stop filming darkfield + 11009: "ReqCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ReqGoLive", // GO LIVE interface + 11011: "ReqTrackSpecialTarget", // Start tracking the sun and moon + 11012: "ReqStopTrackSpecialTarget", // Stop tracking the sun and moon + + 11013: "ReqOneClickGotoDSO", // One-click GOTO deep space celestial body + 11014: "ReqOneClickGotoSolarSystem", // One-click GOTO solar system target + 11015: "ReqStopOneClickGoto", // Stop one-click GOTO + 11016: "ReqCaptureWideRawLiveStacking", // Start wide-angle overlay + 11017: "ReqStopCaptureWideRawLiveStacking", // Stop wide-angle overlay + 11018: "ReqStartEqSolving", // Start EQ verification + 11019: "ReqStopEqSolving", // Stop EQ verification + 11020: "ReqGoLive", // Wide-angle GO LIVE interface + + 11021: "ReqCaptureDarkFrame", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ReqStopCaptureDarkFrame", // Stop shooting the dark field with specified parameters + 11023: "ReqCheckDarkFrame", // Query the list of recorded dark scenes + 11024: "ReqDelDarkFrame", // Delete the specified dark field list + 11025: "ReqCaptureWideDarkFrame", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ReqStopCaptureWideDarkFrame", // Stop shooting dark field with wide-angle specified parameters + 11027: "ReqCheckWideDarkFrame", // Query the list of wide-angle dark scenes taken + 11028: "ReqDelWideDarkFrame", // Delete the specified wide-angle dark field list + + 12000: "ReqOpenCamera", // Turn on the camera + 12001: "ReqCloseCamera", // Turn off the camera + 12002: "ReqSetExpMode", // Set exposure mode + 12003: "ReqGetExpMode", // Acquire exposure mode + 12004: "ReqSetExp", // Set exposure value + 12005: "ReqGetExp", // Get exposure value + 12006: "ReqSetGain", // Set gain + 12007: "ReqGetGain", // Acquisition gain + 12008: "ReqSetBrightness", // Set brightness + 12009: "ReqGetBrightness", // Acquire brightness + 12010: "ReqSetContrast", // Set contrast + 12011: "ReqGetContrast", // Get contrast + 12012: "ReqSetSaturation", // Set saturation + 12013: "ReqGetSaturation", // Acquire saturation + 12014: "ReqSetHue", // Set tone + 12015: "ReqGetHue", // Get hue + 12016: "ReqSetSharpness", // Set sharpness + 12017: "ReqGetSharpness", // Acquire sharpness + 12018: "ReqSetWBMode", // Set white balance mode + 12019: "ReqGetWBMode", // Acquire white balance mode + 12020: "ReqSetWBCT", // Set white balance color temperature + 12021: "ReqGetWBCT", // Obtain white balance color temperature + 12022: "ReqPhoto", // Take photos + 12023: "ReqBurstPhoto", // Continuous shooting + 12024: "ReqStopBurstPhoto", // Stop continuous shooting + 12025: "ReqStartTimeLapse", // Start time-lapse photography + 12026: "ReqStopTimeLapse", // Stop time-lapse photography + 12027: "ReqGetAllParams", // Get all parameters + 12028: "ReqSetAllParams", // Set all parameters + + 12030: "ReqStartRecord", // Start wide recording + 12031: "ReqStopRecord", // Stop wide recording + + 13000: "ReqSetTime", // Set the system time + 13001: "ReqSetTimezone", // Set the time zone + 13002: "ReqSetMtpMode", // Set MTP mode + 13003: "ReqSetCpuMode", // Set CPU mode + 13004: "ReqsetMasterLock", // Set HOST SLAVE mode + + 13500: "ReqOpenRgb", // Turn on the ring light + 13501: "ReqCloseRgb", // Turn off the ring light + 13502: "ReqPowerDown", // Shut down + 13503: "ReqOpenPowerInd", // Turn on the battery indicator + 13504: "ReqClosePowerInd", // Turn off battery indicator = + 13505: "ReqReboot", // Restart + + 14000: "ReqMotorRun", // Motor motion + 14001: "ReqMotorRunTo", // Motor motion to + 14002: "ReqMotorStop", // Motor stop + 14003: "ReqMotorReset", // Motor Reset + 14004: "ReqMotorChangeSpeed", // Motor Change Speed + 14005: "ReqMotorChangeDirection", // Motor ChangeDirection + 14006: "ReqMotorServiceJoystick", // Joystick + 14007: "ReqMotorServiceJoystickFixedAngle", // Short press the arrow keys with the joystick + 14008: "ReqMotorServiceJoystickStop", // Stop joystick + 14009: "ReqDualCameraLinkage", // Dual camera linkage + + 14010: "ReqMotorRunInPulse", // Motor run in pulse + 14011: "ReqMotorGetPosition", // Motor get Position + + 14800: "ReqStartTrack", // Started tracking + 14801: "ReqStopTrack", // Stop tracking + + 14802: "ReqStartSentryMode", // Start Sentinel Mode + 14803: "ReqStopSentryMode", // Stop Sentinel Mode + 14804: "ReqMOTTrack", // Start "Multi-Object Tracking" feature + 14805: "ReqMOTTrackOne", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ReqStartSentryMode", // Start sentinel UFO mode + 14807: "ReqStopSentryMode", // Stop Sentinel UFO Mode + 14808: "ReqMOTTrackOne", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + + 15000: "ReqNormalAutoFocus", // Normal mode autofocus + 15001: "ReqManualSingleStepFocus", // Manual single-step focusing + 15002: "ReqManualContinuFocus", // Start manual continuous focus + 15003: "ReqStopManualContinuFocus", // Stop manual continuous focus + 15004: "ReqAstroAutoFocus", // Start astronomical autofocus + 15005: "ReqStopAstroAutoFocus", // Stop astronomical autofocus + + 15500: "ReqStartPanoramaByGrid", // Start panorama + 15501: "ReqStopPanorama", // Stop panorama + 15502: "ReqStartPanoramaByEulerRange", // Start panorama Euler Range +}; + +export const responseMapping = { + // BLE Class Response + 0: "ResReceiveDataError", // Get Error + 1: "ResGetconfig", // Get WiFi configuration + 2: "ResAp", // Configure WiFi AP mode + 3: "ResSta", // Configure WiFi STA mode + 4: "ResSetblewifi", // Configure BLE wifi + 5: "ResReset", // Reset Bluetooth WiFi + 6: "ResWifilist", // Get WiFi list + 7: "ResGetsysteminfo", // Obtain device information + 8: "ResCheckFile", // Check File + + 10000: "ComResponse", // Turn on the camera + 10001: "ComResponse", // Turn off the camera + 10002: "ComResponse", // Take photos + 10003: "ComResponse", // Start continuous shooting + 10004: "ComResponse", // Stop continuous shooting + 10005: "ComResponse", // Start recording + 10006: "ComResponse", // Stop recording + 10007: "ComResponse", // Set exposure mode + 10008: "ComResponse", // Acquire exposure mode + 10009: "ComResponse", // Set exposure value + 10010: "ComResponse", // Get exposure value + 10011: "ComResponse", // Set gain mode + 10012: "ComResponse", // Acquisition gain mode + 10013: "ComResponse", // Set gain value + 10014: "ComResponse", // Get gain value + 10015: "ComResponse", // Set brightness + 10016: "ComResponse", // Acquire brightness + 10017: "ComResponse", // Set contrast + 10018: "ComResponse", // Get contrast + 10019: "ComResponse", // Set saturation + 10020: "ComResponse", // Acquire saturation + 10021: "ComResponse", // Set tone + 10022: "ComResponse", // Get hue + 10023: "ComResponse", // Set sharpness + 10024: "ComResponse", // Acquire sharpness + 10025: "ComResponse", // Set white balance mode + 10026: "ComResponse", // Acquire white balance mode + 10027: "ComResponse", // Set white balance scene + 10028: "ComResponse", // Get white balance scene + 10029: "ComResponse", // Set the white balance color temperature value + 10030: "ComResponse", // Obtain the white balance color temperature value + 10031: "ComResponse", // Set IRCUT + 10032: "ComResponse", // Get IRCUT status + 10033: "ComResponse", // Start time-lapse photography + 10034: "ComResponse", // Stop time-lapse photography + 10035: "ComResponse", // Set all parameters + 10036: "ResGetAllParams", // Get all parameters + 10037: "ComResponse", // Set feature parameters + 10038: "ResGetAllFeatureParams", // Get all feature parameters + 10039: "ComResponse", // Get the working status of the whole machine + 10040: "ComResponse", // Set jpg preview quality + + 10041: "ComResponse", // Shoot RAW image + 10042: "ComResponse", // Set rtsp preview bit rate type + + 11000: "ComResponse", // Start calibration + 11001: "ComResponse", // Stop calibration + 11002: "ComResponse", // Start GOTO Deep Space Object + 11003: "ComResponse", // Start GOTO Solar System Target + 11004: "ComResponse", // Stop GOTO + 11005: "ComResponse", // Start stacking + 11006: "ComResponse", // Stop overlay + 11007: "ComResponse", // Start shooting dark scenes + 11008: "ComResponse", // Stop filming darkfield + 11009: "ResCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ComResponse", // GO LIVE interface + 11011: "ComResponse", // Start tracking the sun and moon + 11012: "ComResponse", // Stop tracking the sun and moon + + 11013: "ResOneClickGoto ", // One-click GOTO deep space celestial body + 11014: "ResOneClickGoto ", // One-click GOTO solar system target + 11015: "ComResponse", // Stop one-click GOTO + 11016: "ComResponse", // Start wide-angle overlay + 11017: "ComResponse", // Stop wide-angle overlay + 11018: "ResStartEqSolving ", // Start EQ verification + 11019: "ComResponse", // Stop EQ verification + 11020: "ComResponse", // Wide-angle GO LIVE interface + + 11021: "ComResponse", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ComResponse", // Stop shooting the dark field with specified parameters + 11023: "ResGetDarkFrameInfoList", // Query the list of recorded dark scenes + 11024: "ResDelDarkFrameList", // Delete the specified dark field list + 11025: "ComResponse", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ComResponse", // Stop shooting dark field with wide-angle specified parameters + 11027: "ResGetWideDarkFrameInfoList", // Query the list of wide-angle dark scenes taken + 11028: "ResDelWideDarkFrameList", // Delete the specified wide-angle dark field list + + 12000: "ComResponse", // Turn on the camera + 12001: "ComResponse", // Turn off the camera + 12002: "ComResponse", // Set exposure mode + 12003: "ComResponse", // Acquire exposure mode + 12004: "ComResponse", // Set exposure value + 12005: "ComResponse", // Get exposure value + 12006: "ComResponse", // Set gain + 12007: "ComResponse", // Acquisition gain + 12008: "ComResponse", // Set brightness + 12009: "ComResponse", // Acquire brightness + 12010: "ComResponse", // Set contrast + 12011: "ComResponse", // Get contrast + 12012: "ComResponse", // Set saturation + 12013: "ComResponse", // Acquire saturation + 12014: "ComResponse", // Set tone + 12015: "ComResponse", // Get hue + 12016: "ComResponse", // Set sharpness + 12017: "ComResponse", // Acquire sharpness + 12018: "ComResponse", // Set white balance mode + 12019: "ComResponse", // Acquire white balance mode + 12020: "ComResponse", // Set white balance color temperature + 12021: "ComResponse", // Obtain white balance color temperature + 12022: "ComResponse", // Take photos + 12023: "ComResponse", // Continuous shooting + 12024: "ComResponse", // Stop continuous shooting + 12025: "ComResponse", // Start time-lapse photography + 12026: "ComResponse", // Stop time-lapse photography + 12027: "ResGetAllParams", // Get all parameters + 12028: "ComResponse", // Set all parameters + + 12030: "ComResponse", // Start wide recording + 12031: "ComResponse", // Stop wide recording + + 13000: "ComResponse", // Set the system time + 13001: "ComResponse", // Set the time zone + 13002: "ComResponse", // Set MTP mode + 13003: "ComResponse", // Set CPU mode + 13004: "ComResponse", // Set HOST SLAVE mode + + 13500: "ComResponse", // Turn on the ring light + 13501: "ComResponse", // Turn off the ring light + 13502: "ComResponse", // Shut down + 13503: "ComResponse", // Turn on the battery indicator + 13504: "ComResponse", // Turn off battery indicator = + 13505: "ComResponse", // Restart + + 14000: "ResMotor", // Motor motion + 14001: "ResMotor", // Motor motion to + 14002: "ResMotor", // Motor stop + 14003: "ResMotor", // Motor Reset + 14004: "ResMotor", // Motor Change Speed + 14005: "ResMotor", // Motor ChangeDirection + 14006: "ComResponse", // Joystick + 14007: "ComResponse", // Short press the arrow keys with the joystick + 14008: "ComResponse", // Stop joystick + 14009: "ComResponse", // Dual camera linkage + + 14010: "ResMotor", // Motor run in pulse + 14011: "ResMotorPosition", // Motor get Position + + 14800: "ComResponse", // Started tracking + 14801: "ComResponse", // Stop tracking + 14802: "ComResponse", // Start Sentinel Mode + 14803: "ComResponse", // Stop Sentinel Mode + 14804: "ComResponse", // Start "Multi-Object Tracking" feature + 14805: "ComResponse", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ComResponse", // Start sentinel UFO mode + 14807: "ComResponse", // Stop Sentinel UFO Mode + 14808: "ComResponse", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + + 15000: "ComResponse", // Normal mode autofocus + 15001: "ComResponse", // Manual single-step focusing + 15002: "ComResponse", // Start manual continuous focus + 15003: "ComResponse", // Stop manual continuous focus + 15004: "ComResponse", // Start astronomical autofocus + 15005: "ComResponse", // Stop astronomical autofocus + + 15500: "ComResponse", // Start panorama + 15501: "ComResponse", // Stop panorama + 15502: "ComResponse", // Start panorama Euler Range +}; + +export const notifyMapping = { + 15200: "ResNotifyPictureMatching", // Telephoto wide-angle image matching + 15201: "ComResWithInt", // Battery Notification + 15202: "ComResWithInt", // Charge status notification + 15203: "ResNotifySDcardInfo", // SD card capacity notification + 15204: "ResNotifyRecordTime", // Recording time + 15205: "ResNotifyTimeLapseOutTime", // Telephoto time-lapse photography time + 15206: "ResNotifyOperationState", // Dark field shooting state + 15207: "ResNotifyProgressCaptureRawDark", // Dark field shooting progress + 15208: "ResNotifyOperationState", // Astronomical overlay shooting status + 15209: "ResNotifyProgressCaptureRawLiveStacking", // Astronomical overlay shooting progress + 15210: "ResNotifyStateAstroCalibration", // Astronomical calibration status + 15211: "ResNotifyStateAstroGoto", // Astronomical GOTO status + 15212: "ResNotifyStateAstroTracking", // Astronomical tracking status + 15213: "ResNotifyParam", // Telephoto parameter echo + 15214: "ResNotifyParam", // Wide-angle parametric echo + 15215: "ResNotifyCamFunctionState", // Telephoto functional status + 15216: "ResNotifyCamFunctionState", // Wide-angle functional status + 15217: "ResNotifyParam", // Feature parameter echo + 15218: "ResNotifyBurstProgress", // Telephoto continuous shooting progress + 15219: "ResNotifyPanoramaProgress", // Telephoto panoramic shooting progress + 15220: "ResNotifyBurstProgress", // Wide-angle continuous shooting progress + 15221: "ResNotifyRgbState", // RGB Ring Light Status + 15222: "ResNotifyPowerIndState", // Power indicator status + 15223: "ResNotifyHostSlaveMode", // Leader/follower mode notification + 15224: "ResNotifyMTPState", // MTP mode notification + 15225: "ResNotifyTrackResult", // Tracking result notification + 15226: "ResNotifyTimeLapseOutTime", // Wide-angle time-lapse photography time + 15227: "ResNotifyCPUMode", // CPU mode + 15228: "ResNotifyStateAstroTrackingSpecial", // Sun and moon tracking status + 15229: "ResNotifyPowerOff", // Shutdown notification + 15230: "ResNotifyAlbumUpdate", // New Media Created + 15231: "ResNotifyStateSentryMode", // Sentinel mode status + 15232: "ResNotifyTrackResult", // Sentinel mode tracking box result notification + 15233: "ResNotifyOneClickGotoState", // One-click GOTO status + 15234: "ResNotifyStreamType", // Image type notification + 15235: "ResNotifyRecordTime", // Wide Recording time + 15236: "ResNotifyOperationState", // Astronomical overlay wide shooting status + 15237: "ResNotifyProgressCaptureRawLiveStacking", // Astronomical overlay wide shooting progress + 15238: "ResNotifyMultiTrackResult", // Multi-Object Tracking Result Notification + 15239: "ResNotifyEqSolvingState", // EQ check status + 15240: "ResNotifyStateSentryMode", // Sentinel-UFO Mode Status + 15241: "ResNotifyLongExpPhotoProgress", // Telephoto long exposure progress + 15242: "ResNotifyLongExpPhotoProgress", // Wide-angle long exposure progress + 15243: "ResNotifyTemperature", // Temperature + // CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS = 15244; // + // CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS = 15245; // + // CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE = 15246; // + 15247: "ResNotifyOperationState", // Wide-angle dark field shooting state + 15248: "ResNotifyShootingScheduleResultAndState", // Shooting plan results and status notifications + 15249: "ResNotifyShootingTaskState", // Shooting task status notification + 15250: "ResNotifySkySeacherState", // Sky detection status + // CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT = 15251; // Wide-angle multi-target box result notification + // CMD_NOTIFY_WIDE_TRACK_RESULT = 15252; // Wide-angle single target box result notification + 15257: "ResNotifyFocus", // Focus Position +}; + +export const notifyResponseMapping = { + 10000: "ComResponse", // Turn on the camera + 10001: "ComResponse", // Turn off the camera + 10002: "ComResponse", // Take photos + 10003: "ComResponse", // Start continuous shooting + 10004: "ComResponse", // Stop continuous shooting + 10005: "ComResponse", // Start recording + 10006: "ComResponse", // Stop recording + 10007: "ComResponse", // Set exposure mode + 10008: "ComResWithInt", // Acquire exposure mode + 10009: "ComResponse", // Set exposure value + 10010: "ComResWithDouble", // Get exposure value + 10011: "ComResponse", // Set gain mode + 10012: "ComResWithInt", // Acquisition gain mode + 10013: "ComResponse", // Set gain value + 10014: "ComResWithInt", // Get gain value + 10015: "ComResponse", // Set brightness + 10016: "ComResWithInt", // Acquire brightness + 10017: "ComResponse", // Set contrast + 10018: "ComResWithInt", // Get contrast + 10019: "ComResponse", // Set saturation + 10020: "ComResWithInt", // Acquire saturation + 10021: "ComResponse", // Set tone + 10022: "ComResWithInt", // Get hue + 10023: "ComResponse", // Set sharpness + 10024: "ComResWithInt", // Acquire sharpness + 10025: "ComResponse", // Set white balance mode + 10026: "ComResWithInt", // Acquire white balance mode + 10027: "ComResponse", // Set white balance scene + 10028: "ComResWithInt", // Get white balance scene + 10029: "ComResponse", // Set the white balance color temperature value + 10030: "ComResWithInt", // Obtain the white balance color temperature value + 10031: "ComResponse", // Set IRCUT + 10032: "ComResWithInt", // Get IRCUT status + 10033: "ComResponse", // Start time-lapse photography + 10034: "ComResponse", // Stop time-lapse photography + 10035: "ComResponse", // Set all parameters + 10036: "ResGetAllParams", // Get all parameters + 10037: "ComResponse", // Set feature parameters + 10038: "ResGetAllFeatureParams", // Get all feature parameters + 10039: "ComResponse", // Get the working status of the whole machine + 10040: "ComResponse", // Set jpg preview quality + + 10041: "ComResWithInt", // Shoot RAW image + 10042: "ComResponse", // Set rtsp preview bit rate type + + 11000: "ComResponse", // Start calibration + 11001: "ComResponse", // Stop calibration + 11002: "ComResponse", // Start GOTO Deep Space Object + 11003: "ComResponse", // Start GOTO Solar System Target + 11004: "ComResponse", // Stop GOTO + 11005: "ComResponse", // Start stacking + 11006: "ComResponse", // Stop overlay + 11007: "ComResponse", // Start shooting dark scenes + 11008: "ComResponse", // Stop filming darkfield + 11009: "ResCheckDarkFrame", // Inquire about the dark field that has been shot + 11010: "ComResponse", // GO LIVE interface + 11011: "ComResponse", // Start tracking the sun and moon + 11012: "ComResponse", // Stop tracking the sun and moon + + 11013: "ResOneClickGoto", // One-click GOTO deep space celestial body + 11014: "ResOneClickGoto", // One-click GOTO solar system target + 11015: "ComResponse", // Stop one-click GOTO + 11016: "ComResponse", // Start wide-angle overlay + 11017: "ComResponse", // Stop wide-angle overlay + 11018: "ResStartEqSolving", // Start EQ verification + 11019: "ComResponse", // Stop EQ verification + 11020: "ComResponse", // Wide-angle GO LIVE interface + + 11021: "ComResponse", // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + 11022: "ComResponse", // Stop shooting the dark field with specified parameters + 11023: "ResGetDarkFrameInfoList", // Query the list of recorded dark scenes + 11024: "ResDelDarkFrameList", // Delete the specified dark field list + 11025: "ComResponse", // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + 11026: "ComResponse", // Stop shooting dark field with wide-angle specified parameters + 11027: "ResGetWideDarkFrameInfoList", // Query the list of wide-angle dark scenes taken + 11028: "ResDelWideDarkFrameList", // Delete the specified wide-angle dark field list + + 12000: "ComResponse", // Turn on the camera + 12001: "ComResponse", // Turn off the camera + 12002: "ComResponse", // Set exposure mode + 12003: "ComResWithInt", // Acquire exposure mode + 12004: "ComResponse", // Set exposure value + 12005: "ComResWithDouble", // Get exposure value + 12006: "ComResponse", // Set gain + 12007: "ComResWithInt", // Acquisition gain + 12008: "ComResponse", // Set brightness + 12009: "ComResWithInt", // Acquire brightness + 12010: "ComResponse", // Set contrast + 12011: "ComResWithInt", // Get contrast + 12012: "ComResponse", // Set saturation + 12013: "ComResWithInt", // Acquire saturation + 12014: "ComResponse", // Set tone + 12015: "ComResWithInt", // Get hue + 12016: "ComResponse", // Set sharpness + 12017: "ComResWithInt", // Acquire sharpness + 12018: "ComResponse", // Set white balance mode + 12019: "ComResWithInt", // Acquire white balance mode + 12020: "ComResponse", // Set white balance color temperature + 12021: "ComResWithInt", // Obtain white balance color temperature + 12022: "ComResponse", // Take photos + 12023: "ComResponse", // Continuous shooting + 12024: "ComResponse", // Stop continuous shooting + 12025: "ComResponse", // Start time-lapse photography + 12026: "ComResponse", // Stop time-lapse photography + 12027: "ResGetAllParams", // Get all parameters + 12028: "ComResponse", // Set all parameters + + 12030: "ComResponse", // Start wide recording + 12031: "ComResponse", // Stop wide recording + + 13000: "ComResponse", // Set the system time + 13001: "ComResponse", // Set the time zone + 13002: "ComResponse", // Set MTP mode + 13003: "ComResponse", // Set CPU mode + 13004: "ComResponse", // Set HOST SLAVE mode + + 13500: "ComResponse", // Turn on the ring light + 13501: "ComResponse", // Turn off the ring light + 13502: "ComResponse", // Shut down + 13503: "ComResponse", // Turn on the battery indicator + 13504: "ComResponse", // Turn off battery indicator = + 13505: "ComResponse", // Restart + + 14000: "ReqMotorRun", // Motor motion + 14001: "ResMotorPosition", // Motor motion to + 14002: "ResMotor", // Motor stop + 14003: "ResMotor", // Motor Reset + 14004: "ResMotor", // Motor Change Speed + 14005: "ResMotor", // Motor ChangeDirection + 14006: "ComResponse", // Joystick + 14007: "ComResponse", // Short press the arrow keys with the joystick + 14008: "ComResponse", // Stop joystick + 14009: "ComResponse", // Dual camera linkage + + 14010: "ResMotor", // Motor run in pulse + 14011: "ResMotorPosition", // Motor get Position + + 14800: "ComResponse", // Started tracking + 14801: "ComResponse", // Stop tracking + 14802: "ComResponse", // Start Sentinel Mode (Pack + 14803: "ComResponse", // Stop Sentinel Mode + 14804: "ComResponse", // Start "Multi-Object Tracking" feature + 14805: "ComResponse", // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + 14806: "ComResponse", // Start sentinel UFO mode + 14807: "ComResponse", // Stop Sentinel UFO Mode + 14808: "ComResponse", // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + + 15000: "ComResponse", // Normal mode autofocus + 15001: "ComResponse", // Manual single-step focusing + 15002: "ComResponse", // Start manual continuous focus + 15003: "ComResponse", // Stop manual continuous focus + 15004: "ComResponse", // Start astronomical autofocus + 15005: "ComResponse", // Stop astronomical autofocus + + 15500: "ComResponse", // Start panorama + 15501: "ComResponse", // Stop panorama + 15502: "ComResponse", // Start panorama Euler Range +}; + +const classStateMappings = { + "Dwarfii_Api.ResNotifyStateAstroGoto:0": "ASTRO_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroCalibration:0": "ASTRO_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroTracking:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyStateAstroTrackingSpecial:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyOperationState:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyCamFunctionState:0": "OPERATION_STATE_IDLE", + "Dwarfii_Api.ResNotifyRgbState:0": "OFF", + "Dwarfii_Api.ResNotifyRgbState:1": "ON", + "Dwarfii_Api.ResNotifyPowerIndState:0": "OFF", + "Dwarfii_Api.ResNotifyPowerIndState:1": "ON", +}; + +const classModeMappings = { + "Dwarfii_Api.ResNotifyHostSlaveMode:0": "HOST", + "Dwarfii_Api.ResNotifyHostSlaveMode:1": "SLAVE", + "Dwarfii_Api.ResNotifyMTPState:0": "OFF", + "Dwarfii_Api.Dwarfii_Api.ResNotifyMTPState:1": "ON", + "Dwarfii_Api.ResNotifyCPUMode:0": "Normal", + "Dwarfii_Api.ResNotifyCPUMode:1": "Performance", + "Dwarfii_Api.ReqSetExpMod:0": "Auto", + "Dwarfii_Api.ReqSetExpMod:1": "Manual", + "Dwarfii_Api.ReqSetGainMode:0": "Auto", + "Dwarfii_Api.ReqSetGainMode:1": "Manual", + "Dwarfii_Api.ReqSetIrCut:0": "CUT", + "Dwarfii_Api.ReqSetIrCut:1": "PASS", + "Dwarfii_Api.ReqSetWBMode:0": "ColorTemperature", + "Dwarfii_Api.ReqSetWBMode:1": "SceneMode", + "Dwarfii_Api.ReqAstroAutoFocus:0": "Auto", + "Dwarfii_Api.ReqAstroAutoFocus:1": "Manual", + "Dwarfii_Api.Dwarfii_Api.ReqSetMtpMode:0": "OFF", + "Dwarfii_Api.ReqSetMtpMode:1": "ON", + "Dwarfii_Api.ReqSetCpuMode:0": "Normal", + "Dwarfii_Api.ReqSetCpuMode:1": "Performance", + "Dwarfii_Api.ReqSetHostSlaveMode:0": "HOST", + "Dwarfii_Api.ReqSetHostSlaveMode:1": "SLAVE", +}; + +export function getClassStateMappings(className, value) { + const key = `${className + ":" + value}`; + return classStateMappings[key] || ""; +} + +export function getClassModeMappings(className, value) { + const key = `${className + ":" + value}`; + return classModeMappings[key] || ""; +} diff --git a/src/focus.js b/src/focus.js new file mode 100644 index 00000000..605ec232 --- /dev/null +++ b/src/focus.js @@ -0,0 +1,146 @@ +/** @module focus */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_FOCUS ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 3.8.3 Normal autofocus + * Create Encoded Packet for the command CMD_FOCUS_AUTO_FOCUS + * @param {number} mode ; //0: global focus 1: area focus + * @param {number} center_x ; //Area focus x coordinates + * @param {number} center_y ; //Area focus y coordinates + * @returns {Uint8Array} + */ +export function messageFocusAutoFocus(mode, center_x, center_y) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + mode: mode, + centerX: center_x, + centerY: center_y, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * Create Encoded Packet for the command CMD_FOCUS_START_ASTRO_AUTO_FOCUS + * 3.8.4 Start astronomical autofocus + * @param {number} mode ; 0: slow focus; 1: fast focus + * @returns {Uint8Array} + */ +export function messageFocusStartAstroAutoFocus(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_ASTRO_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.5 Stop astronomical autofocus + * Create Encoded Packet for the command CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopAstroAutoFocus() { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.6 Manual single-step focusing + * Create Encoded Packet for the command CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusManualSingleStepFocus(direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ direction: direction }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.7 Start manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_START_MANUAL_CONTINU_FOCUS + * @param {number} direction //Focus direction 0: far focus 1: near focus ; + * @returns {Uint8Array} + */ +export function messageFocusStartManualContinuFocus(direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_START_MANUAL_CONTINU_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ direction: direction }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.8.8 Stop manual continuous focus + * Create Encoded Packet for the command CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS + * @returns {Uint8Array} + */ +export function messageFocusStopManualContinuFocus(binning = false) { + let module_id = Dwarfii_Api.ModuleId.MODULE_FOCUS; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/image_transmission.js b/src/image_transmission.js deleted file mode 100644 index b6aed8eb..00000000 --- a/src/image_transmission.js +++ /dev/null @@ -1,48 +0,0 @@ -/** @module image_transmission */ - -import { - telephotoCamera, - binning2x2, - turnOnCameraCmd, - turnOffCameraCmd, - previewImageQuality, -} from "./api_codes.js"; - -/** - * 3.1.1 Turn on the camera - * @param {number} binning - * @param {number} camera - * @returns {Object} - */ -export function turnOnCamera(binning = binning2x2, camera = telephotoCamera) { - const options = { - interface: turnOnCameraCmd, - camId: camera, - binning: binning, - }; - return options; -} - -/** - * 3.1.2 Turn off the camera - * @param {number} camera - * @returns {Object} - */ -export function turnOffCamera(camera = telephotoCamera) { - const options = { interface: turnOffCameraCmd, camId: camera }; - return options; -} - -/** - * 3.1.4 Set preview image quality - * @param {number} previewQuality - * @returns {Object} - */ -export function setPreviewImageQuality(previewQuality) { - // previewQuality value: 30-85 - const options = { - interface: previewImageQuality, - value: previewQuality, - }; - return options; -} diff --git a/src/motion_control.js b/src/motion_control.js deleted file mode 100644 index 5be398a6..00000000 --- a/src/motion_control.js +++ /dev/null @@ -1,123 +0,0 @@ -/** @module motion_control */ - -import { - startMotionCmd, - stopMotionCmd, - setSpeedCmd, - setDirectionCmd, - setSubdivideCmd, -} from "./api_codes.js"; - -/** - * 5.1 Start - * @param {number} motor - * @param {number} mode - * @param {number} mStep - * @param {number} speed - * @param {number} direction - * @param {number} pulse - * @param {number} accelStep - * @returns {Object} - */ -export function startMotion( - motor, - mode, - mStep, - speed, - direction, - pulse, - accelStep -) { - // motor: 1:spin 2:pitch - // mode: 1:continuous mode 2:pulse mode - // mStep: 1 2 4 8 16 32 64 128 256 - // speed: range:0-65536(1-50000&&<1000*mStep) - // direction: 0:anticlockwise 1:clockwise - // pulse: range:>=2(mStep<=32)>=5(mStep>32) - // accelStep: 0-1000 - const options = { - interface: startMotionCmd, - id: motor, - mode, - mStep, - - speed, - accelStep, - - direction, - - pulse, - }; - return options; -} - -/** - * 5.2 Stop - * @param {number} motor - * @param {number} decelStep - * @returns {Object} - */ -export function stopMotion(motor, decelStep) { - // motor: 1:spin 2:pitch - // decelStep: 0-1000 - const options = { - interface: stopMotionCmd, - id: motor, - decelStep, - }; - return options; -} - -/** - * 5.3 Set speed - * @param {number} motor - * @param {number} speed - * @param {number} accelStep - * @param {number} trend - * @returns {Object} - */ -export function setSpeed(motor, speed, accelStep, trend) { - // speed: 0-50000 - // accelStep: 0-1000 - // trend: 0:decelerate 1:accelerate - const options = { - interface: setSpeedCmd, - id: motor, - speed, - accelStep, - trend, - }; - return options; -} - -/** - * 5.4 Set direction - * @param {number} motor - * @param {number} direction - * @returns {Object} - */ -export function setDirection(motor, direction) { - // direction: 0:anticlockwise 1:clockwise - const options = { - interface: setDirectionCmd, - id: motor, - direction, - }; - return options; -} - -/** - * 5.5 Set subdivide - * @param {number} motor - * @param {number} mStep - * @returns {Object} - */ -export function setSubdivide(motor, mStep) { - // 1 2 4 8 16 32 64 128 256 - const options = { - interface: setSubdivideCmd, - id: motor, - mStep, - }; - return options; -} diff --git a/src/motor.js b/src/motor.js new file mode 100644 index 00000000..92dcad28 --- /dev/null +++ b/src/motor.js @@ -0,0 +1,331 @@ +/** @module motor */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ---------------------------------------------- ***/ +/*** ---------------- MODULE_MOTOR ---------------- ***/ +/*** ---------------------------------------------- ***/ +/** + * 4.13.3 Motor motion + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN + * @param {number} id ; //1 : Rotation axis 2: Pitch axis + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {boolean} direction ; //0: left/down 1: right/up + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + // Subdivision: + // 0:256 Subdivision + // 1:128 Subdivision + // 2:64 Subdivision + // 3:32 Subdivision + // 4:16 Subdivision + // 5:8 Subdivision + // 6:4 Subdivision + // 7:2 Subdivision + // 8:1 Subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotion( + id, + speed, + direction, + speed_ramping, + resolution_level +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + speed: speed, + direction: direction, + speedRamping: speed_ramping, + resolutionLevel: resolution_level, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * Create Encoded Packet for the command CMD_STEP_MOTOR_STOP + * 4.13.4 Motor stop + * @param {number} id ; //0: Rotation axis 1: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorStop(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ id: id }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.5 Joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + + */ +export function messageStepMotorServiceJoystick( + vector_angle, + vector_length, + speed +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + vectorAngle: vector_angle, + vectorLength: vector_length, + speed: speed, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.6 Short press the arrow keys with the joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE + * @param {number} vector_angle ; //The angle of the direction vector, indicating the direction of motion of the field of view, 0-360 degrees, 0 degrees starting from the positive x-axis and increasing counterclockwise + * @param {number} vector_length ; //The length of the direction vector represents the scaling factor of the speed, 0-1, and the speed is finely adjusted according to the range of the joystick drag + * @param {number} speed ; //speed along the direction vector, 0.1 �/s-30 �/s + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickFixedAngle( + vector_angle, + vector_length, + speed +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + vectorAngle: vector_angle, + vectorLength: vector_length, + speed: speed, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.7 Stop joystick + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP + * @returns {Uint8Array} + */ +export function messageStepMotorServiceJoystickStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.8 Dual camera linkage + * Create Encoded Packet for the command CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE + * @param {number} x ; + * @param {number} y ; + * @returns {Uint8Array} + */ +export function messageStepMotorServiceDualCameraLinkage(x, y) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = + Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ x: x, y: y }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.9 Motor Run To (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RUN_TO + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} end_position ; + * @param {number} speed ; //5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @param {number} speed_ramping ; //Acceleration and deceleration: 0-1000, 100 gears, a total of 11 gears + * @param {number} resolution_level ; //Subdivision: 5:32 subdivision + * @returns {Uint8Array} + */ +export function messageStepMotorMotionTo( + id, + end_position, + speed, + speed_ramping, + resolution_level +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RUN_TO; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + endPosition: end_position, + speed: speed, + speedRamping: speed_ramping, + resolutionLevel: resolution_level, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.10 Motor Reset (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_RESET + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction; //2 : 0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorReset(id, direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_RESET; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + direction: direction, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.11 Motor Change Speed (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_SPEED + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {number} speed; //2 : 5 gears: 0.1, 1, 5, 10, 30 degrees/s, supports maximum speed of 32 degrees/s + * @returns {Uint8Array} + */ +export function messageStepMotorChangeSpeed(id, speed) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_SPEED; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + speed: speed, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.12 Motor Change direction (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_CHANGE_DIRECTION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @param {boolean} direction ; //0: left/down 1: right/up + * @returns {Uint8Array} + */ +export function messageStepMotorChangeDirection(id, direction) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_CHANGE_DIRECTION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + direction: direction, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.13.14 Motor Get Position (Not Documented) + * Create Encoded Packet for the command CMD_STEP_MOTOR_GET_POSITION + * @param {number} id ; // 1 : Rotation axis 2: Pitch axis + * @returns {Uint8Array} + */ +export function messageStepMotorGetPosition(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_MOTOR; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_STEP_MOTOR_GET_POSITION; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + id: id, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/panorama.js b/src/panorama.js new file mode 100644 index 00000000..fde007db --- /dev/null +++ b/src/panorama.js @@ -0,0 +1,81 @@ +/** @module panorama */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ------------------------------------------------ ***/ +/*** ---------------- MODULE PANORAMA---------------- ***/ +/*** ------------------------------------------------ ***/ +/** + * 3.15.3 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_GRID + * @returns {Uint8Array} + */ +export function messagePanoramaStartGrid() { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_GRID; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.15.4 Stop Panorama + * Create Encoded Packet for the command CMD_PANORAMA_STOP + * @returns {Uint8Array} + */ +export function messagePanoramaStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.15.5 Start Panorama + * Create Encoded Packet for the command CMD_PANORAMA_START_EULER_RANGE + * @param {number} yaw_range ; // yaw range + * @param {number} pitch_range ; // pitch range + * @returns {Uint8Array} + */ +export function messagePanoramaStartPanoramaByEulerRange( + yaw_range, + pitch_range +) { + let module_id = Dwarfii_Api.ModuleId.MODULE_PANORAMA; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_PANORAMA_START_EULER_RANGE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ + yawRange: yaw_range, + pitchRange: pitch_range, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/panoramic.js b/src/panoramic.js deleted file mode 100644 index 88943515..00000000 --- a/src/panoramic.js +++ /dev/null @@ -1,62 +0,0 @@ -/** @module panoramic */ - -import { startPanoCmd, stopPanoCmd } from "./api_codes.js"; -import { nowLocalFileName } from "./api_utils.js"; - -/** - * 4.3.1 Start panorama - * @param {number} numRows - * @param {number} numColumns - * @param {number} mStep1 - * @param {number} mStep2 - * @param {number} speed1 - * @param {number} speed2 - * @param {number} pulse1 - * @param {number} pulse2 - * @param {number} accelStep1 - * @param {number} accelStep2 - * @returns {Object} - */ -export function startPano( - numRows, - numColumns, - mStep1, - mStep2, - speed1, - speed2, - pulse1, - pulse2, - accelStep1, - accelStep2 -) { - // mStep 1 2 4 8 16 32 64 128 256 - // speed 0-1000*mStep - // pulse >=2 - // accelStep 0-1000 - const options = { - interface: startPanoCmd, - row: numRows, - col: numColumns, - mStep1, - mStep2, - speed1, - speed2, - pulse1, - pulse2, - imgPath: `DWARF_${nowLocalFileName()}`, - accelStep1, - accelStep2, - }; - return options; -} - -/** - * 4.3.2 Stop panorama - * @returns {Object} - */ -export function stopPano() { - const options = { - interface: stopPanoCmd, - }; - return options; -} diff --git a/src/photo_video.js b/src/photo_video.js deleted file mode 100644 index c009d83c..00000000 --- a/src/photo_video.js +++ /dev/null @@ -1,97 +0,0 @@ -/** @module photo_video */ - -import { - telephotoCamera, - photoSingleShot, - takePhotoCmd, - startRecordingCmd, - stopRecordingCmd, - startTimelapseCmd, - stopTimelapseCmd, -} from "./api_codes.js"; -import { nowLocalFileName } from "./api_utils.js"; - -/** - * 3.2.1 Photograph - * @param {number} camera - * @param {number} photoMode - * @param {number} count - * @param {string} name - * @returns {Object} - */ -export function takePhoto( - camera = telephotoCamera, - photoMode = photoSingleShot, - count = 1, - name = `DWARF_${nowLocalFileName()}` -) { - const options = { - interface: takePhotoCmd, - camId: camera, - mode: photoMode, - count: count, - name: name, - }; - return options; -} - -/** - * 3.2.2 Start recording - * @param {string} name - * @returns {Object} - */ -export function startVideo(name = `DWARF_${nowLocalFileName()}`) { - const options = { - interface: startRecordingCmd, - camId: telephotoCamera, - name: name, - }; - return options; -} - -/** - * 3.2.3 Stop recording - * @returns {Object} - */ -export function stopVideo() { - const options = { - interface: stopRecordingCmd, - camId: telephotoCamera, - }; - return options; -} - -/** - * 3.2.4 Start time lapse photography - * @param {number} intervalTime - * @param {number} outTime - * @param {string} name - * @returns {Object} - */ -export function startTimeLapse( - intervalTime, - outTime, - name = `DWARF_TL_${nowLocalFileName()}` -) { - // intervalTime value: 1s-60s - const options = { - interface: startTimelapseCmd, - camId: telephotoCamera, - interval: intervalTime, - outTime: outTime, - name: name, - }; - return options; -} - -/** - * 3.2.5 Stop time-lapse photography - * @returns {Object} - */ -export function stopTimeLapse() { - const options = { - interface: stopTimelapseCmd, - camId: telephotoCamera, - }; - return options; -} diff --git a/src/proto/astro.proto b/src/proto/astro.proto new file mode 100644 index 00000000..417cd69a --- /dev/null +++ b/src/proto/astro.proto @@ -0,0 +1,237 @@ +syntax = "proto3"; + +// 开始校准 +message ReqStartCalibration { + +} + +// 停止校准 +message ReqStopCalibration { + +} + +// Goto深空天体 +message ReqGotoDSO { + double ra = 1; + double dec = 2; + string target_name = 3; +} + +// Goto太阳系 +message ReqGotoSolarSystem { + int32 index = 1; + double lon = 2; + double lat = 3; + string target_name = 4; +} + +// 停止Goto +message ReqStopGoto { + +} + +// 开始叠图 +message ReqCaptureRawLiveStacking { + +} + +// 停止叠图 +message ReqStopCaptureRawLiveStacking { + +} + +// 查询暗场进度 +message ReqCheckDarkFrame { + +} + +// 暗场进度返回 +message ResCheckDarkFrame { + int32 progress = 1; + int32 code = 2; +} + +// 开始拍摄暗场 +message ReqCaptureDarkFrame { + int32 reshoot = 1; +} + +// 停止拍摄暗场 +message ReqStopCaptureDarkFrame { + +} + +// 开始拍摄暗场带参数 +message ReqCaptureDarkFrameWithParam { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + int32 cap_size = 4; +} + +// 停止拍摄暗场 +message ReqStopCaptureDarkFrameWithParam { + +} + +// 获取暗场信息list +message ReqGetDarkFrameList { +} + +// 获取到的暗场信息 +message ResGetDarkFrameInfo { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + string exp_name = 4; + string gain_name = 5; + string bin_name = 6; + int32 temperature = 7; +} + +// 获取的暗场list +message ResGetDarkFrameInfoList { + int32 code = 1; + repeated ResGetDarkFrameInfo results = 2; +} + +// 删除暗场 +message ReqDelDarkFrame { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; +} + +// 删除暗场list +message ReqDelDarkFrameList { + repeated ReqDelDarkFrame dark_list = 1; +} + +// 删除暗场的结果返回 +message ResDelDarkFrameList { + int32 code = 1; +} + +// GO LIVE接口 +message ReqGoLive { + +} + +// 开始日月跟踪 +message ReqTrackSpecialTarget { + int32 index = 1; + double lon = 2; + double lat = 3; +} + +// 停止日月跟踪 +message ReqStopTrackSpecialTarget { + +} + +// 一键Goto深空天体 +message ReqOneClickGotoDSO { + double ra = 1; + double dec = 2; + string target_name = 3; +} + +// 一键Goto太阳系 +message ReqOneClickGotoSolarSystem { + int32 index = 1; + double lon = 2; + double lat = 3; + string target_name = 4; +} + +message ResOneClickGoto { + int32 step = 1; + int32 code = 2; + bool all_end = 3; +} + +// 停止一键GOTO +message ReqStopOneClickGoto { + +} + +// 开始广角叠图 +message ReqCaptureWideRawLiveStacking { + +} + +// 停止广角叠图 +message ReqStopCaptureWideRawLiveStacking { + +} + +// 开始EQ校验 +message ReqStartEqSolving { + double lon = 1; // GPS经度 + double lat = 2; // GPS纬度 +} + +// EQ校验返回 +message ResStartEqSolving { + double azi_err = 1; // 方位轴极轴误差,正顺时针,负逆时针 + double alt_err = 2; // 俯仰轴极轴误差,正向上,负向下 + int32 code = 3; // 错误码 +} + +// 停止EQ校验 +message ReqStopEqSolving { + +} + +// 开始拍摄暗场带参数 +message ReqCaptureWideDarkFrameWithParam { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + int32 cap_size = 4; +} + +// 停止拍摄暗场 +message ReqStopCaptureWideDarkFrameWithParam { + +} + +// 获取暗场信息list +message ReqGetWideDarkFrameList { +} + + +// 获取到的暗场信息 +message ResGetWideDarkFrameInfo { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; + string exp_name = 4; + string gain_name = 5; + string bin_name = 6; + int32 temperature = 7; +} + +// 获取的暗场list +message ResGetWideDarkFrameInfoList { + int32 code = 1; + repeated ResGetDarkFrameInfo results = 2; +} + +// 删除暗场 +message ReqDelWideDarkFrame { + int32 exp_index = 1; + int32 gain_index = 2; + int32 bin_index = 3; +} + +// 删除暗场list +message ReqDelWideDarkFrameList { + repeated ReqDelDarkFrame dark_list = 1; +} + +// 删除暗场的结果返回 +message ResDelWideDarkFrameList { + int32 code = 1; +} + diff --git a/src/proto/base.proto b/src/proto/base.proto new file mode 100644 index 00000000..a4230a79 --- /dev/null +++ b/src/proto/base.proto @@ -0,0 +1,51 @@ +syntax = "proto3"; + +enum WsMajorVersion { + WS_MAJOR_VERSION_UNKNOWN = 0; + WS_MAJOR_VERSION_NUMBER = 1; +} + +enum WsMinorVersion { + WS_MINOR_VERSION_UNKNOWN = 0; + WS_MINOR_VERSION_NUMBER = 9; +} + +message WsPacket { + uint32 major_version = 1; //协议主版本 + uint32 minor_version = 2; //协议次版本 + uint32 device_id = 3; //设备ID + uint32 module_id = 4; //模块ID + uint32 cmd = 5; //指令 + uint32 type = 6; //消息类型 0:请求 1:应答 2:通知 3:响应 + bytes data = 7; //请求、响应数据,对应具体的业务接口 + string client_id = 8; //ws客户端id +} + +message ComResponse { + int32 code = 1; +} + +message ComResWithInt { + int32 value = 1; + int32 code = 2; +} + +message ComResWithDouble { + double value = 1; + int32 code = 2; +} + +message ComResWithString { + string str = 1; + int32 code = 2; +} + +message CommonParam { + bool hasAuto = 1; + int32 auto_mode = 2; + int32 id = 3; + int32 mode_index = 4; + int32 index = 5; + double continue_value = 6; +} + diff --git a/src/proto/ble.proto b/src/proto/ble.proto new file mode 100644 index 00000000..8d3f9320 --- /dev/null +++ b/src/proto/ble.proto @@ -0,0 +1,141 @@ +syntax = "proto3"; + +enum DwarfBleErrorCode { + BLE_OK = 0; // Normal return + BLE_PASSWORD_ERROR = -1; // Bluetooth password error + BLE_MESSAGE_MALLOC_ERROR = -2; // Bluetooth Communication Protocol Memory Error + BLE_MESSAGE_PARSE_ERROR = -3; // Bluetooth Communication Protocol Message Parsing Error + BLE_MESSAGE_CRC_ERROR = -4; // CRC check failed + BLE_WIFI_CONFIGING = -5; // Bluetooth configuration wifi + BLE_WIFI_CONFIGED = -6; // WiFi configuration is done + BLE_GET_WIFI_LIST_ERROR = -7; // Failed to get WiFi list + BLE_WIFI_STA_PASSWORD_EMPTY = -8; // STA password is empty + BLE_WIFI_STA_PASSWORD_ERROR = -9; // STA password error + BLE_WIFI_SET_SSID_PSD_ERROR = -10; // Failed to set name and password + BLE_WIFI_RESET_WAITING = -11; // Bluetooth wifi waiting for reset + BLE_WIFI_RESETED = -12; // Bluetooth wifi has been reset + BLE_GET_SYSTEM_INFO_ERROR = -13; // Failed to retrieve system information + BLE_RECEIVE_FRAME_HEAD_ERROR = -14; // Protocol header error + BLE_RECEIVE_FRAME_TAIL_ERROR = -15; // Protocol end-of-frame error + BLE_CHECK_FILE_NOT_EXIST = -16; // MD5 detection file does not exist + BLE_CHECK_FILE_MD5_ERROR = -17; // MD5 verification failed + BLE_WIFI_RESET_FAILED = -18; // Reset failed +} + +//ask +message ReqGetconfig { + int32 cmd = 1; //CMD instruction value is 1 + string ble_psd = 2; //Default: "DWARF_12345678" +} + +message ReqAp { + int32 cmd = 1; //CMD instruction value is 2 + int32 wifi_type = 2; //0-5G 1-2.4G + int32 auto_start = 3; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + int32 country_list = 4; //0-Do not configure country_list 1-Configure country_list + string country = 5; //Country code + string ble_psd = 6; //Default: "DWARF_12345678" +} + +message ReqSta { + int32 cmd =1; //CMD instruction value is 3 + int32 auto_start = 2; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + string ble_psd = 3; //Default: "DWARF_12345678" + string ssid = 4; //WiFi name of the router to be connected + string psd = 5; //WiFi password of the router to be connected +} + +message ReqSetblewifi { + int32 cmd = 1; //CMD instruction value is 4 + int32 mode = 2; //Modification type 0-Bluetooth name 1-Bluetooth naming 2-wifi name 3-wifi password + string ble_psd = 3; //Default: "DWARF_12345678" + string value = 4; //modified value +} + +message ReqReset { + int32 cmd = 1; //CMD instruction value is 5 +} + +message ReqGetwifilist { + int32 cmd = 1; //CMD instruction value is 6 +} + +message ReqGetsysteminfo { + int32 cmd = 1; //CMD instruction value is 7 +} + +message ReqCheckFile { + int32 cmd = 1; //CMD instruction value is 8 + string file_path = 2; //File path + string md5 = 3; //md5 value +} + + +//return +message ResGetconfig { + int32 cmd = 1; //CMD instruction value is 1 + int32 code = 2; //error code + int32 state = 3; //WiFi configuration status 0-Not configured 1-Configuring 2-Configuration completed + int32 wifi_mode = 4; //WiFi mode 0-NONE 1-AP 2-STA + int32 ap_mode = 5; //AP mode WiFi type 0-5G 1-2.4G + int32 auto_start = 6; //WiFi startup configuration 0-Does not start at startup 1-Start at startup + int32 ap_country_list = 7; //Country code configuration file settings 0-Set country_list 1-Do not set country_list + string ssid = 8; //WiFi name + string psd = 9; //WiFi password + string ip = 10; //WiFi ip address + string ap_country = 11; //Country code +} + +message ResAp { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 mode = 3; //AP mode WiFi type 0-5G 1-2.4G + string ssid = 4; //WiFi name + string psd = 5; //WiFi password +} + +message ResSta { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + string ssid = 3; //WiFi name + string psd = 4; //WiFi password + string ip = 5; //WiFi ip address +} + +message ResSetblewifi { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 mode = 3; //Modification type 0-Bluetooth name 1-Bluetooth naming 2-wifi name 3-wifi password + string value = 4; //modified value +} + +message ResReset { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code +} + +message ResWifilist { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + repeated string ssid = 4; +} + +message ResGetsysteminfo { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code + int32 protocol_version = 3; //Bluetooth protocol + string device = 4; //Device name + string mac_address = 5; //MAC address + string dwarf_ota_version = 6; //dwarf firmware version +} + +message ResReceiveDataError { + int32 cmd = 1; //CMD instruction is 0 + int32 code = 2; //error code +} + +message ResCheckFile { + int32 cmd = 1; //CMD instruction + int32 code = 2; //error code +} + diff --git a/src/proto/camera.proto b/src/proto/camera.proto new file mode 100644 index 00000000..b17c0739 --- /dev/null +++ b/src/proto/camera.proto @@ -0,0 +1,249 @@ +syntax = "proto3"; + +import "base.proto"; + + +//打开摄像头 +message ReqOpenCamera { + bool binning = 1; + int32 rtsp_encode_type = 2; +} + +//关闭摄像头 +message ReqCloseCamera { +} + +//拍照 +message ReqPhoto { +} + +//开始连拍 +message ReqBurstPhoto { + int32 count = 1; +} + +//停止连拍 +message ReqStopBurstPhoto { +} + +//开始录像 +message ReqStartRecord { + int32 encode_type = 1; +} + +//停止录像 +message ReqStopRecord { +} + +//设置曝光模式 +message ReqSetExpMode { + int32 mode = 1; +} + +//获取曝光模式 +message ReqGetExpMode { + +} + +//设置曝光 +message ReqSetExp { + int32 index = 1; +} + +//获取曝光 +message ReqGetExp { +} + +//设置增益模式 +message ReqSetGainMode { + int32 mode = 1; +} + +//获取增益模式 +message ReqGetGainMode { + +} + +//设置增益 +message ReqSetGain { + int32 index = 1; +} + +//获取增益 +message ReqGetGain { + +} + +//设置亮度 +message ReqSetBrightness { + int32 value = 1; +} + +//获取亮度 +message ReqGetBrightness { + +} + +//设置对比度 +message ReqSetContrast { + int32 value = 1; +} + +//获取对比度 +message ReqGetContrast { + +} + +//设置色调 +message ReqSetHue { + int32 value = 1; +} + +//获取色调 +message ReqGetHue { + +} + +//设置饱和度 +message ReqSetSaturation { + int32 value = 1; +} + +//获取饱和度 +message ReqGetSaturation { + +} + +//设置锐度 +message ReqSetSharpness { + int32 value = 1; +} + +//获取锐度 +message ReqGetSharpness { + +} + +//设置白平衡模式 +message ReqSetWBMode { + int32 mode = 1; +} + +//获取白平衡模式 +message ReqGetWBMode { + +} + +//设置白平衡场景 +message ReqSetWBSence { + int32 value = 1; +} + +//获取白平衡场景 +message ReqGetWBSence { + +} + +//设置白平衡色温 +message ReqSetWBCT { + int32 index = 1; +} + +//获取白平衡色温 +message ReqGetWBCT { + +} + +//设置IRCUT +message ReqSetIrCut { + int32 value = 1; +} + +//获取IRCUT状态 +message ReqGetIrcut { + +} + +//开始延时摄影 +message ReqStartTimeLapse { +} + +//停止延时摄影 +message ReqStopTimeLapse { + +} + +//设置所有参数 +message ReqSetAllParams { + int32 exp_mode = 1; + int32 exp_index = 2; + int32 gain_mode = 3; + int32 gain_index = 4; + int32 ircut_value = 5; + int32 wb_mode = 6; + int32 wb_index_type = 7; + int32 wb_index = 8; + int32 brightness = 9; + int32 contrast = 10; + int32 hue = 11; + int32 saturation = 12; + int32 sharpness = 13; + int32 jpg_quality = 14; +} + +// 获取所有参数 +message ReqGetAllParams { + +} + +// 返回所有参数结果 +message ResGetAllParams { + repeated CommonParam all_params = 1; + int32 code = 2; +} + +// 设置feature参数 +message ReqSetFeatureParams { + CommonParam param = 1; +} + +// 获取所有feature参数 +message ReqGetAllFeatureParams { +} + +// 返回所有feature参数 +message ResGetAllFeatureParams { + repeated CommonParam all_feature_params = 1; + int32 code = 2; +} + +// 获取整机工作状态 +message ReqGetSystemWorkingState { + +} + +// 设置预览jpg质量 +message ReqSetJpgQuality { + int32 quality = 1; +} + +// 获取预览jpg质量 +message ReqGetJpgQuality { +} + +// 拍摄RAW图 +message ReqPhotoRaw { +} + +// 设置rtsp 预览码率类型 +message ReqSetRtspBitRateType { + int32 bitrate_type = 1; +} + +// 禁用isp处理 +message ReqDisableAllIspProcessing { +} + +// 打开isp处理 +message ReqEnableAllIspProcessing { +} \ No newline at end of file diff --git a/src/proto/focus.proto b/src/proto/focus.proto new file mode 100644 index 00000000..5d82f063 --- /dev/null +++ b/src/proto/focus.proto @@ -0,0 +1,33 @@ +syntax = "proto3"; + +// 手动单次对焦 +message ReqManualSingleStepFocus { + uint32 direction = 1; +} + +// 手动连续对焦 +message ReqManualContinuFocus { + uint32 direction = 1; +} + +// 停止手动连续对焦 +message ReqStopManualContinuFocus { + +} + +// 普通模式自动对焦 +message ReqNormalAutoFocus { + uint32 mode = 1; + uint32 center_x = 2; + uint32 center_y = 3; +} + +// 开始天文自动对焦 +message ReqAstroAutoFocus { + uint32 mode = 1; +} + +// 停止天文自动对焦 +message ReqStopAstroAutoFocus { + +} diff --git a/src/proto/motor_control.proto b/src/proto/motor_control.proto new file mode 100644 index 00000000..f764e01e --- /dev/null +++ b/src/proto/motor_control.proto @@ -0,0 +1,83 @@ +syntax = "proto3"; + +message ReqMotorServiceJoystick { + double vector_angle = 1; + double vector_length = 2; + double speed = 3; +} + +message ReqMotorServiceJoystickFixedAngle { + double vector_angle = 1; + double vector_length = 2; + double speed = 3; +} + +message ReqMotorServiceJoystickStop { + +} + +message ReqMotorRun { + int32 id = 1; + double speed = 2; + bool direction = 3; + int32 speed_ramping = 4; + int32 resolution_level = 5; +} + +message ReqMotorRunInPulse { + int32 id = 1; // 电机ID:0:旋转轴 1:俯仰轴 + int32 frequency = 2; // 频率 + bool direction = 3; // 方向 + int32 speed_ramping = 4; // 加减速步数:0-1000 + int32 resolution = 5; // 细分 + int32 pulse = 6; // 脉冲数 + bool mode = 7; // 模式:连续/脉冲模式 +} + +message ReqMotorRunTo { + int32 id = 1; + double end_position = 2; + double speed = 3; + int32 speed_ramping = 4; + int32 resolution_level = 5; +} + +message ReqMotorGetPosition { + int32 id = 1; +} + +message ReqMotorStop { + int32 id = 1; +} + +message ReqMotorReset { + int32 id = 1; + bool direction = 2; +} + +message ReqMotorChangeSpeed { + int32 id = 1; + double speed = 2; +} + +message ReqMotorChangeDirection { + int32 id = 1; + bool direction = 2; +} + +message ResMotor { + int32 id = 1; + int32 code = 2; +} + +message ResMotorPosition { + int32 id = 1; + int32 code = 2; + double position = 3; +} + +// 双摄联动 +message ReqDualCameraLinkage { + int32 x = 1; + int32 y = 2; +} \ No newline at end of file diff --git a/src/proto/notify.proto b/src/proto/notify.proto new file mode 100644 index 00000000..40b8ed6e --- /dev/null +++ b/src/proto/notify.proto @@ -0,0 +1,242 @@ +syntax = "proto3"; + +import "base.proto"; + +enum State { + STATE_IDLE = 0; // Idle state + STATE_RUNNING = 1; // Running + STATE_STOPPING = 2; // Is stopping + STATE_STOPPED = 3; // Has stopped + STATE_SUCCESS = 4; // Success + STATE_FAILED = 5; // Failure + STATE_ASTRO_PLATE_SOLVING = 6; // Astronomy is Plating Solving +} + +enum OperationState { + OPERATION_STATE_IDLE = 0; + OPERATION_STATE_RUNNING = 1; + OPERATION_STATE_STOPPING = 2; + OPERATION_STATE_STOPPED = 3; +} + +enum AstroState { + ASTRO_STATE_IDLE = 0; // Idle state + ASTRO_STATE_RUNNING = 1; // Running + ASTRO_STATE_STOPPING = 2; // Is stopping + ASTRO_STATE_STOPPED = 3; // Has stopped + ASTRO_STATE_PLATE_SOLVING = 4; // Astronomy is Plating Solving +} + +// 哨兵模式 +enum SentryModeState { + SENTRY_MODE_STATE_IDLE = 0; + SENTRY_MODE_STATE_INIT = 1; + SENTRY_MODE_STATE_DETECT = 2; + SENTRY_MODE_STATE_TRACK = 3; + SENTRY_MODE_STATE_TRACK_FINISH = 4; + SENTRY_MODE_STATE_STOPPING = 5; +}; + +// 长焦广角预览画面匹配结果 +message ResNotifyPictureMatching { + uint32 x = 1; + uint32 y = 2; + uint32 width = 3; + uint32 height = 4; + double value = 5; + int32 code = 6; +} + +// SD卡容量信息 +message ResNotifySDcardInfo { + uint32 available_size = 1; + uint32 total_size = 2; + int32 code = 3; +} + +// 机芯温度 +message ResNotifyTemperature { + int32 code = 1; + int32 temperature = 2; +} + +// 录像时间显示 +message ResNotifyRecordTime { + int32 record_time = 1; +} + +// 延时摄影时间显示 +message ResNotifyTimeLapseOutTime { + int32 interval = 1; + int32 out_time = 2; + int32 total_time = 3; +} + +// 运行状态 +message ResNotifyOperationState { + OperationState state = 1; +} + +// 天文校准状态 +message ResNotifyStateAstroCalibration { + AstroState state = 1; + int32 plate_solving_times = 2; +} + +// 天文GOTO状态 +message ResNotifyStateAstroGoto { + AstroState state = 1; +} + +// 天文跟踪状态 +message ResNotifyStateAstroTracking { + OperationState state = 1; + string target_name = 2; +} + +// 天文暗场拍摄进度 +message ResNotifyProgressCaptureRawDark { + int32 progress = 1; + int32 remaining_time = 2; +} + +// 天文叠图拍摄进度 +message ResNotifyProgressCaptureRawLiveStacking { + int32 total_count = 1; + int32 update_count_type = 2; + int32 current_count = 3; + int32 stacked_count = 4; + int32 exp_index = 5; + int32 gain_index = 6; + string target_name = 7; +} + +// 参数回显 +message ResNotifyParam { + repeated CommonParam param = 1; +} + +// 摄像头功能状态 +message ResNotifyCamFunctionState { + OperationState state = 1; + uint32 function_id = 2; +} + +// 连拍进度 +message ResNotifyBurstProgress { + uint32 total_count = 1; + uint32 completed_count = 2; +} + +// 全景拍摄进度 +message ResNotifyPanoramaProgress { + int32 total_count = 1; + int32 completed_count = 2; +} + +// 环形灯状态 +message ResNotifyRgbState { + int32 state = 1; +} + +// 电量指示灯状态 +message ResNotifyPowerIndState { + int32 state = 1; +} + +// websocket主机从机模式状态 +message ResNotifyHostSlaveMode { + int32 mode = 1; + bool lock = 2; +} + +// mtp模式通知 +message ResNotifyMTPState { + int32 mode = 1; +} + +// 跟踪结果通知 +message ResNotifyTrackResult { + int32 x = 1; + int32 y = 2; + int32 w = 3; + int32 h = 4; +} + +// cpu mode +message ResNotifyCPUMode { + int32 mode = 1; +} + +// 日月跟踪通知 +message ResNotifyStateAstroTrackingSpecial { + OperationState state = 1; + string target_name = 2; + int32 index = 3; +} + +// 关机通知 +message ResNotifyPowerOff { +} + +// 相册数据更新通知 +message ResNotifyAlbumUpdate { + int32 media_type = 1; +} + +// 哨兵模式状态 +message ResNotifyStateSentryMode { + SentryModeState state = 1; +} + +// 一键GOTO状态 +message ResNotifyOneClickGotoState { + OperationState state = 1; +} + +// 图传类型通知 +message ResNotifyStreamType { + int32 stream_type = 1; + int32 cam_id = 2; +} + +// EQ校验状态通知 +message ResNotifyEqSolvingState { + enum Action { + UNSPECIFIED = 0; + FOCUS = 1; // 对焦步骤 + SOLVING = 2; // 解算步骤 + } + Action step = 1; + OperationState state = 2; +} + +// 长曝光拍摄进度条通知 +message ResNotifyLongExpPhotoProgress { + uint32 function_id = 1; + double total_time = 2; + double exposured_time = 3; +} + +// 拍摄计划结果和状态通知 +message ResNotifyShootingScheduleResultAndState { + string schedule_id = 1; + int32 result = 2; + int32 state = 3; +} + +// 拍摄任务状态通知 +message ResNotifyShootingTaskState { + string schedule_task_id = 1; + int32 state = 2; + int32 code = 3; +} + +// 天空检测状态通知 +message ResNotifySkySeacherState { + OperationState state = 1; +} + +message ResNotifyFocus { + int32 focus = 1; +} diff --git a/src/proto/panorama.proto b/src/proto/panorama.proto new file mode 100644 index 00000000..d7d49b71 --- /dev/null +++ b/src/proto/panorama.proto @@ -0,0 +1,69 @@ +syntax = "proto3"; + +message ReqStartPanoramaByGrid{ +} + +message ReqStartPanoramaByEulerRange{ + float yaw_range = 1; + float pitch_range = 2; +} + +message ReqStartPanoramaStitchUpload{ + string user_id = 1; + string busi_no = 2; + int32 app_platform = 3; + string panorama_name = 4; + string ak = 5; + string sk = 6; + string token = 7; +} + +message ReqStopPanorama{ + +} + +message ReqStopPanoramaStitchUpload{ + +} + +//全景图像上传完成时,发送的通知 +message ResNotifyPanoramaStitchUploadComplete{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + bool upload_res = 5; +} + +//全景图像压缩时的进度 +message ResNotifyPanoramaCompressionProgress{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + uint32 total_files_num = 5; + uint32 compressed_files_num = 6; +} + +//当前的全景图像上传进度 +message ResNotifyPanoramaUploadProgress{ + string user_id = 1; + string busi_no = 2; + string panorama_name = 3; + string mac = 4; + uint64 total_size = 5; + uint64 uploaded_size = 6; +} + +message ResGetStitchUploadState{ + int32 code = 1; + string user_id = 2; + string busi_no = 3; + string panorama_name = 4; + string mac = 5; + uint32 total_files_num = 6; + uint32 compressed_files_num = 7; + uint64 total_size = 8; + uint64 uploaded_size = 9; + uint32 step = 10; +} \ No newline at end of file diff --git a/src/proto/protocol.proto b/src/proto/protocol.proto new file mode 100644 index 00000000..8c80b016 --- /dev/null +++ b/src/proto/protocol.proto @@ -0,0 +1,336 @@ +syntax = "proto3"; + +enum ModuleId { + MODULE_NONE = 0; // No + MODULE_CAMERA_TELE = 1; // 10000-10499 Telephoto camera module + MODULE_CAMERA_WIDE = 2; // 12000-12499 Wide-angle camera module + MODULE_ASTRO = 3; // 11000-11499 Astronomy module + MODULE_SYSTEM = 4; // 13000-13299 System modules + MODULE_RGB_POWER = 5; // 13500-13799 RGB & Power Management Modules + MODULE_MOTOR = 6; // 14000-14499 Motor module + MODULE_TRACK = 7; // 14800-14899 Tracking module + MODULE_FOCUS = 8; // 15000-15099 Focusing module + MODULE_NOTIFY = 9; // 15200-15499 Notification module + MODULE_PANORAMA = 10; // 15500-15599 Panoramic module + MODULE_SHOOTING_SCHEDULE = 13; // 16100-16300 Shooting schedule module +} + +enum MessageTypeId { + TYPE_REQUEST = 0; // Message Type Request + TYPE_REQUEST_RESPONSE = 1; // Message Type Request Response + TYPE_NOTIFICATION = 2; // Message Type Notification + TYPE_NOTIFICATION_RESPONSE = 3; // Message Type Notification Response +} + +enum DwarfCMD { + NO_CMD = 0; // No Cmd + + CMD_CAMERA_TELE_OPEN_CAMERA = 10000; // Turn on the camera + CMD_CAMERA_TELE_CLOSE_CAMERA = 10001; // Turn off the camera + CMD_CAMERA_TELE_PHOTOGRAPH = 10002; // Take photos + CMD_CAMERA_TELE_BURST = 10003; // Start continuous shooting + CMD_CAMERA_TELE_STOP_BURST = 10004; // Stop continuous shooting + CMD_CAMERA_TELE_START_RECORD = 10005; // Start recording + CMD_CAMERA_TELE_STOP_RECORD = 10006; // Stop recording + CMD_CAMERA_TELE_SET_EXP_MODE = 10007; // Set exposure mode + CMD_CAMERA_TELE_GET_EXP_MODE = 10008; // Acquire exposure mode + CMD_CAMERA_TELE_SET_EXP = 10009; // Set exposure value + CMD_CAMERA_TELE_GET_EXP = 10010; // Get exposure value + CMD_CAMERA_TELE_SET_GAIN_MODE = 10011; // Set gain mode + CMD_CAMERA_TELE_GET_GAIN_MODE = 10012; // Acquisition gain mode + CMD_CAMERA_TELE_SET_GAIN = 10013; // Set gain value + CMD_CAMERA_TELE_GET_GAIN = 10014; // Get gain value + CMD_CAMERA_TELE_SET_BRIGHTNESS = 10015; // Set brightness + CMD_CAMERA_TELE_GET_BRIGHTNESS = 10016; // Acquire brightness + CMD_CAMERA_TELE_SET_CONTRAST = 10017; // Set contrast + CMD_CAMERA_TELE_GET_CONTRAST = 10018; // Get contrast + CMD_CAMERA_TELE_SET_SATURATION = 10019; // Set saturation + CMD_CAMERA_TELE_GET_SATURATION = 10020; // Acquire saturation + CMD_CAMERA_TELE_SET_HUE = 10021; // Set tone + CMD_CAMERA_TELE_GET_HUE = 10022; // Get hue + CMD_CAMERA_TELE_SET_SHARPNESS = 10023; // Set sharpness + CMD_CAMERA_TELE_GET_SHARPNESS = 10024; // Acquire sharpness + CMD_CAMERA_TELE_SET_WB_MODE = 10025; // Set white balance mode + CMD_CAMERA_TELE_GET_WB_MODE = 10026; // Acquire white balance mode + CMD_CAMERA_TELE_SET_WB_SCENE = 10027; // Set white balance scene + CMD_CAMERA_TELE_GET_WB_SCENE = 10028; // Get white balance scene + CMD_CAMERA_TELE_SET_WB_CT = 10029; // Set the white balance color temperature value + CMD_CAMERA_TELE_GET_WB_CT = 10030; // Obtain the white balance color temperature value + CMD_CAMERA_TELE_SET_IRCUT = 10031; // Set IRCUT + CMD_CAMERA_TELE_GET_IRCUT = 10032; // Get IRCUT status + CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO = 10033; // Start time-lapse photography + CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO = 10034; // Stop time-lapse photography + CMD_CAMERA_TELE_SET_ALL_PARAMS = 10035; // Set all parameters + CMD_CAMERA_TELE_GET_ALL_PARAMS = 10036; // Get all parameters + CMD_CAMERA_TELE_SET_FEATURE_PARAM = 10037; // Set feature parameters + CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS = 10038; // Get all feature parameters + CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE = 10039; // Get the working status of the whole machine + CMD_CAMERA_TELE_SET_JPG_QUALITY = 10040; // Set jpg preview quality + + CMD_CAMERA_TELE_PHOTO_RAW = 10041; // Shoot RAW image + CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE = 10042; // Set rtsp preview bit rate type + + CMD_ASTRO_START_CALIBRATION = 11000; // Start calibration + CMD_ASTRO_STOP_CALIBRATION = 11001; // Stop calibration + CMD_ASTRO_START_GOTO_DSO = 11002; // Start GOTO Deep Space Object + CMD_ASTRO_START_GOTO_SOLAR_SYSTEM = 11003; // Start GOTO Solar System Target + CMD_ASTRO_STOP_GOTO = 11004; // Stop GOTO + CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING = 11005; // Start stacking + CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING = 11006; // Stop overlay + CMD_ASTRO_START_CAPTURE_RAW_DARK = 11007; // Start shooting dark scenes + CMD_ASTRO_STOP_CAPTURE_RAW_DARK = 11008; // Stop filming darkfield + CMD_ASTRO_CHECK_GOT_DARK = 11009; // Inquire about the dark field that has been shot + CMD_ASTRO_GO_LIVE = 11010; // GO LIVE interface + CMD_ASTRO_START_TRACK_SPECIAL_TARGET = 11011; // Start tracking the sun and moon + CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET = 11012; // Stop tracking the sun and moon + + CMD_ASTRO_START_ONE_CLICK_GOTO_DSO = 11013; // One-click GOTO deep space celestial body + CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM = 11014; // One-click GOTO solar system target + CMD_ASTRO_STOP_ONE_CLICK_GOTO = 11015; // Stop one-click GOTO + CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING = 11016; // Start wide-angle overlay + CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING = 11017; // Stop wide-angle overlay + CMD_ASTRO_START_EQ_SOLVING = 11018; // Start EQ verification + CMD_ASTRO_STOP_EQ_SOLVING = 11019; // Stop EQ verification + CMD_ASTRO_WIDE_GO_LIVE = 11020; // Wide-angle GO LIVE interface + + CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM = 11021; // Start shooting the dark field with specified parameters (manually set exposure, gain, binning). + CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM = 11022; // Stop shooting the dark field with specified parameters + CMD_ASTRO_GET_DARK_FRAME_LIST = 11023; // Query the list of recorded dark scenes + CMD_ASTRO_DEL_DARK_FRAME_LIST = 11024; // Delete the specified dark field list + CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11025; // Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work). + CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM = 11026; // Stop shooting dark field with wide-angle specified parameters + CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST = 11027; // Query the list of wide-angle dark scenes taken + CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST = 11028; // Delete the specified wide-angle dark field list + + CMD_CAMERA_WIDE_OPEN_CAMERA = 12000; // Turn on the camera + CMD_CAMERA_WIDE_CLOSE_CAMERA = 12001; // Turn off the camera + CMD_CAMERA_WIDE_SET_EXP_MODE = 12002; // Set exposure mode + CMD_CAMERA_WIDE_GET_EXP_MODE = 12003; // Acquire exposure mode + CMD_CAMERA_WIDE_SET_EXP = 12004; // Set exposure value + CMD_CAMERA_WIDE_GET_EXP = 12005; // Get exposure value + CMD_CAMERA_WIDE_SET_GAIN = 12006; // Set gain + CMD_CAMERA_WIDE_GET_GAIN = 12007; // Acquisition gain + CMD_CAMERA_WIDE_SET_BRIGHTNESS = 12008; // Set brightness + CMD_CAMERA_WIDE_GET_BRIGHTNESS = 12009; // Acquire brightness + CMD_CAMERA_WIDE_SET_CONTRAST = 12010; // Set contrast + CMD_CAMERA_WIDE_GET_CONTRAST = 12011; // Get contrast + CMD_CAMERA_WIDE_SET_SATURATION = 12012; // Set saturation + CMD_CAMERA_WIDE_GET_SATURATION = 12013; // Acquire saturation + CMD_CAMERA_WIDE_SET_HUE = 12014; // Set tone + CMD_CAMERA_WIDE_GET_HUE = 12015; // Get hue + CMD_CAMERA_WIDE_SET_SHARPNESS = 12016; // Set sharpness + CMD_CAMERA_WIDE_GET_SHARPNESS = 12017; // Acquire sharpness + CMD_CAMERA_WIDE_SET_WB_MODE = 12018; // Set white balance mode + CMD_CAMERA_WIDE_GET_WB_MODE = 12019; // Acquire white balance mode + CMD_CAMERA_WIDE_SET_WB_CT = 12020; // Set white balance color temperature + CMD_CAMERA_WIDE_GET_WB_CT = 12021; // Obtain white balance color temperature + CMD_CAMERA_WIDE_PHOTOGRAPH = 12022; // Take photos + CMD_CAMERA_WIDE_BURST = 12023; // Continuous shooting + CMD_CAMERA_WIDE_STOP_BURST = 12024; // Stop continuous shooting + CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO = 12025; // Start time-lapse photography + CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO = 12026; // Stop time-lapse photography + CMD_CAMERA_WIDE_GET_ALL_PARAMS = 12027; // Get all parameters + CMD_CAMERA_WIDE_SET_ALL_PARAMS = 12028; // Set all parameters + + CMD_CAMERA_WIDE_START_RECORD = 12030; // Start wide recording + CMD_CAMERA_WIDE_STOP_RECORD = 12031; // Stop wide recording + + CMD_SYSTEM_SET_TIME = 13000; // Set the system time + CMD_SYSTEM_SET_TIME_ZONE = 13001; // Set the time zone + CMD_SYSTEM_SET_MTP_MODE = 13002; // Set MTP mode + CMD_SYSTEM_SET_CPU_MODE = 13003; // Set CPU mode + CMD_SYSTEM_SET_MASTERLOCK = 13004; // Set HOST mode + + CMD_RGB_POWER_OPEN_RGB = 13500; // Turn on the ring light + CMD_RGB_POWER_CLOSE_RGB = 13501; // Turn off the ring light + CMD_RGB_POWER_POWER_DOWN = 13502; // Shut down + CMD_RGB_POWER_POWERIND_ON = 13503; // Turn on the battery indicator + CMD_RGB_POWER_POWERIND_OFF = 13504; // Turn off battery indicator = + CMD_RGB_POWER_REBOOT = 13505; // Restart + + CMD_STEP_MOTOR_RUN = 14000; // Motor motion + CMD_STEP_MOTOR_RUN_TO = 14001; // Motor motion to + CMD_STEP_MOTOR_STOP = 14002; // Motor stop + CMD_STEP_MOTOR_RESET = 14003; // Motor Reset + CMD_STEP_MOTOR_CHANGE_SPEED = 14004; // Motor Change Speed + CMD_STEP_MOTOR_CHANGE_DIRECTION = 14005; // Motor ChangeDirection + CMD_STEP_MOTOR_SERVICE_JOYSTICK = 14006; // Joystick + CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE = 14007; // Short press the arrow keys with the joystick + CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP = 14008; // Stop joystick + CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE = 14009; // Dual camera linkage + + CMD_STEP_MOTOR_RUN_IN_PULSE = 14010; // Motor run in pulse + CMD_STEP_MOTOR_GET_POSITION = 14011; // Motor get Position + + CMD_TRACK_START_TRACK = 14800; // Started tracking + CMD_TRACK_STOP_TRACK = 14801; // Stop tracking + + CMD_SENTRY_MODE_START = 14802; // Start Sentinel Mode (Pack + CMD_SENTRY_MODE_STOP = 14803; // Stop Sentinel Mode + CMD_MOT_START = 14804; // Start "Multi-Object Tracking" feature + CMD_MOT_TRACK_ONE = 14805; // Telephoto: "Multi-Object Tracking" starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation) + CMD_UFOTRACK_MODE_START = 14806; // Start sentinel UFO mode + CMD_UFOTRACK_MODE_STOP = 14807; // Stop Sentinel UFO Mode + CMD_MOT_WIDE_TRACK_ONE = 14808; // Wide-angle: "Multi-Object Tracking" starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks) + CMD_WIDE_TELE_TRACK_SWITCH = 14809; // Object Detection with 30 classes for post-production non-sentinel mode. Choose between wide-angle and telephoto tracking button instructions + CMD_UFO_HAND_AOTO_MODE = 14810; // Used for post-UFO mode selection manual or automatic + + CMD_FOCUS_AUTO_FOCUS = 15000; // Normal mode autofocus + CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS = 15001; // Manual single-step focusing + CMD_FOCUS_START_MANUAL_CONTINU_FOCUS = 15002; // Start manual continuous focus + CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS = 15003; // Stop manual continuous focus + CMD_FOCUS_START_ASTRO_AUTO_FOCUS = 15004; // Start astronomical autofocus + CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS = 15005; // Stop astronomical autofocus + + CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING = 15200; // Telephoto wide-angle image matching + CMD_NOTIFY_ELE = 15201; // Battery Notification + CMD_NOTIFY_CHARGE = 15202; // Charge status notification + CMD_NOTIFY_SDCARD_INFO = 15203; // SD card capacity notification + CMD_NOTIFY_TELE_RECORD_TIME = 15204; // Recording time + CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME = 15205; // Telephoto time-lapse photography time + CMD_NOTIFY_STATE_CAPTURE_RAW_DARK = 15206; // Dark field shooting state + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK = 15207; // Dark field shooting progress + CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING = 15208; // Astronomical overlay shooting status + CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING = 15209; // Astronomical overlay shooting progress + CMD_NOTIFY_STATE_ASTRO_CALIBRATION = 15210; // Astronomical calibration status + CMD_NOTIFY_STATE_ASTRO_GOTO = 15211; // Astronomical GOTO status + CMD_NOTIFY_STATE_ASTRO_TRACKING = 15212; // Astronomical tracking status + CMD_NOTIFY_TELE_SET_PARAM = 15213; // Telephoto parameter echo + CMD_NOTIFY_WIDE_SET_PARAM = 15214; // Wide-angle parametric echo + CMD_NOTIFY_TELE_FUNCTION_STATE = 15215; // Telephoto functional status + CMD_NOTIFY_WIDE_FUNCTION_STATE = 15216; // Wide-angle functional status + CMD_NOTIFY_SET_FEATURE_PARAM = 15217; // Feature parameter echo + CMD_NOTIFY_TELE_BURST_PROGRESS = 15218; // Telephoto continuous shooting progress + CMD_NOTIFY_PANORAMA_PROGRESS = 15219; // Telephoto panoramic shooting progress + CMD_NOTIFY_WIDE_BURST_PROGRESS = 15220; // Wide-angle continuous shooting progress + CMD_NOTIFY_RGB_STATE = 15221; // RGB Ring Light Status + CMD_NOTIFY_POWER_IND_STATE = 15222; // Power indicator status + CMD_NOTIFY_WS_HOST_SLAVE_MODE = 15223; // Leader/follower mode notification + CMD_NOTIFY_MTP_STATE = 15224; // MTP mode notification + CMD_NOTIFY_TRACK_RESULT = 15225; // Tracking result notification + CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME = 15226; // Wide-angle time-lapse photography time + CMD_NOTIFY_CPU_MODE = 15227; // CPU mode + CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL = 15228; // Sun and moon tracking status + CMD_NOTIFY_POWER_OFF = 15229; // Shutdown notification + CMD_NOTIFY_ALBUM_UPDATE = 15230; // Album update notification + CMD_NOTIFY_SENTRY_MODE_STATE = 15231; // Sentinel mode status + CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT = 15232; // Sentinel mode tracking box result notification + CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO = 15233; // One-click GOTO status + CMD_NOTIFY_STREAM_TYPE = 15234; // Image type notification + CMD_NOTIFY_WIDE_RECORD_TIME = 15235; // Wide-angle video recording time + CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING = 15236; // Wide-angle astronomical overlay shooting status + CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING = 15237; // Progress of wide-angle astronomical overlay photography + + CMD_NOTIFY_MULTI_TRACK_RESULT = 15238; // Multi-Object Tracking Result Notification + CMD_NOTIFY_EQ_SOLVING_STATE = 15239; // EQ check status + CMD_NOTIFY_UFO_MODE_STATE = 15240; // Sentinel-UFO Mode Status + CMD_NOTIFY_TELE_LONG_EXP_PROGRESS = 15241; // Telephoto long exposure progress + CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS = 15242; // Wide-angle long exposure progress + CMD_NOTIFY_TEMPERATURE = 15243; // Movement temperature + CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS = 15244; // + CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS = 15245; // + CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE = 15246; // + CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK = 15247; // Wide-angle dark field shooting state + CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE = 15248; // + CMD_NOTIFY_SHOOTING_TASK_STATE = 15249; // + CMD_NOTIFY_SKY_SEACHER_STATE = 15250; // Sky detection status + CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT = 15251; // Wide-angle multi-target box result notification + CMD_NOTIFY_WIDE_TRACK_RESULT = 15252; // Wide-angle single target box result notification + + CMD_NOTIFY_FOCUS = 15257; // Focus Position + + CMD_PANORAMA_START_GRID = 15500; // Start panorama + CMD_PANORAMA_STOP = 15501; // Stop panorama + CMD_PANORAMA_START_EULER_RANGE = 15502; // Start panorama Euler Range +} + +enum DwarfErrorCode { + OK = 0; // OK : No Error + WS_PARSE_PROTOBUF_ERROR = -1; // Protobuf parsing failed + WS_SDCARD_NOT_EXIST = -2; // SD card not detected + WS_INVALID_PARAM = -3; // Invalid parameter + WS_SDCARD_WRITE_ERROR = -4; // Image writing to SD card failed (maybe the card is full) + + CODE_CAMERA_TELE_OPENED = -10500; // Camera is turned on + CODE_CAMERA_TELE_CLOSED = -10501; // Camera is off + CODE_CAMERA_TELE_ISP_SET_FAILED = -10502; // ISP parameter settings failed + CODE_CAMERA_TELE_OPEN_FAILED = -10504; // Camera failed to open + CODE_CAMERA_TELE_RECORDING = -10506; // Recording + CODE_CAMERA_TELE_WORKING_BUSY_STACK = -10507; // The telephoto camera is busy. + CODE_CAMERA_TELE_CAPTURE_RAW_FAILED = -10510; // Failed to catch RAW image + CODE_CAMERA_TELE_WORKING_BUSY = -10511; // The telephoto camera is busy with work + + CODE_ASTRO_PLATE_SOLVING_FAILED = -11500; // Plate solving failed + CODE_ASTRO_FUNCTION_BUSY = -11501; // Astronomical function busy + CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE = -11502; // Gain beyond darkfield shooting range (darkfield coverage 30-150 gain) + CODE_ASTRO_DARK_NOT_FOUND = -11503; // Darkfield not found + CODE_ASTRO_CALIBRATION_FAILED = -11504; // Calibration failed + CODE_ASTRO_GOTO_FAILED = -11505; // GOTO failed + CODE_ASTRO_NEED_GOTO = -11513; // No GOTO + CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM = -11514; // Parameters are not suitable + + CODE_ASTRO_EQ_SOLVING_FAILED = -11516; // EQ calculation failed (only calculation failed to return) + CODE_ASTRO_SKY_SEARCH_FAILED = -11517; // Sky detection failed + + CODE_CAMERA_WIDE_OPENED = -12500; // Wide-angle camera turned on + CODE_CAMERA_WIDE_CLOSED = -12501; // The wide-angle camera is turned off + CODE_CAMERA_WIDE_CANNOT_FOUND = -12502; // Can't find the camera + CODE_CAMERA_WIDE_OPEN_FAILED = -12503; // Failed to open camera + CODE_CAMERA_WIDE_CLOSE_FAILED = -12504; // Failed to turn off camera + CODE_CAMERA_WIDE_SET_ISP_FAILED = -12505; // Failed to set ISP parameters + CODE_CAMERA_WIDE_PHOTOGRAPHING = -12506; // Taking pictures + CODE_CAMERA_WIDE_EXP_TOO_LONG = -12508; // The exposure time is too long, and recording is not supported. + + CODE_SYSTEM_SET_TIME_FAILED = -13300; // Set time failed + CODE_SYSTEM_SET_TIMEZONE_FAILED = -13301; // Failed to set time zone + CODE_SYSTEM_SETTING_TIMEZONE_FAILED = -13302; // Time zone setting failed + + CODE_RGB_POWER_UART_INIT_FAILED = -13800; // Serial port Initialization failed + + CODE_STEP_MOTOR_INVALID_PARAMETER_ID = -14504; // Motor Invalid Id Parameter + CODE_STEP_MOTOR_LIMIT_POSITION_WARNING = -14518; // GOTO limit warning + CODE_STEP_MOTOR_LIMIT_POSITION_HITTED = -14519; // Star collision limit + CODE_STEP_MOTOR_POSITION_NEED_RESET = -14520; // Motor Position need Reset + + CODE_TRACK_TRACKER_INITING = -14900; // Tracking is initializing + CODE_TRACK_TRACKER_FAILED = -14901; // Trace failed + + CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR = -15100; // Slow astronomical autofocus failed + CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR = -15101; // Fast astronomical autofocus failed, you need to perform a slow astronomical autofocus first + + CODE_PANORAMA_PHOTO_FAILED = -15600; // Panoramic shooting failed + CODE_PANORAMA_MOTOR_RESET_FAILED = -15601; // Panoramic shooting motor reset failed +} + +enum AstroTrackingSpecial { + TRACKING_SUN = 0; + TRACKING_MOON = 1; +} + +enum SolarSystemTarget { + Unknown = 0; + Mercury = 1; + Venus = 2; + Mars = 3; + Jupiter = 4; + Saturn = 5; + Uranus = 6; + Neptune = 7; + Moon = 8; + Sun = 9; +} + +enum PhotoMode { + Auto = 0; + Manual = 1; +} + +enum WBMode { + ColorTemperature = 0; + SceneMode = 1; +} + +enum IrCut { + CUT = 0; + PASS = 1; +} diff --git a/src/proto/rgb.proto b/src/proto/rgb.proto new file mode 100644 index 00000000..1da297c3 --- /dev/null +++ b/src/proto/rgb.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + +//打开RGB +message ReqOpenRgb { +} + +//关闭RGB +message ReqCloseRgb { +} + +// 关机 +message ReqPowerDown { +} + + +// 打开电量指示灯 +message ReqOpenPowerInd { +} + +// 关闭电量指示灯 +message ReqClosePowerInd { +} + + +// 重启 +message ReqReboot { +} diff --git a/src/proto/shooting_schedule.proto b/src/proto/shooting_schedule.proto new file mode 100644 index 00000000..00a9f4df --- /dev/null +++ b/src/proto/shooting_schedule.proto @@ -0,0 +1,181 @@ +syntax = "proto3"; + +// 拍摄计划状态 +enum ShootingScheduleState { + SHOOTING_SCHEDULE_STATE_INITIALIZED = 0; // 初始化 + SHOOTING_SCHEDULE_STATE_PENDING_SHOOT = 1; // 待开拍 + SHOOTING_SCHEDULE_STATE_SHOOTING = 2; // 拍摄中 + SHOOTING_SCHEDULE_STATE_COMPLETED = 3; // 已完成 + SHOOTING_SCHEDULE_STATE_EXPIRED = 4; // 已过期 +}; + +// 拍摄计划同步状态 +enum ShootingScheduleSyncState { + SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC = 0; // 待同步 + SHOOTING_SCHEDULE_SYNC_STATE_SYNCED = 1; // 已同步 +} + + +// 拍摄计划结果 +enum ShootingScheduleResult { + SHOOTING_SCHEDULE_RESULT_PENDING_START = 0; // 未开始 + SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED = 1; // 全部完成 + SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED = 2; // 部分完成 + SHOOTING_SCHEDULE_RESULT_ALL_FAILED = 3; // 全部失败 +}; + +// 拍摄任务状态 +enum ShootingTaskState { + SHOOTING_TASK_STATUS_IDLE = 0; // 未开拍 + SHOOTING_TASK_STATUS_SHOOTING = 1; // 拍摄中 + SHOOTING_TASK_STATUS_SUCCESS = 2; // 拍摄成功 + SHOOTING_TASK_STATUS_FAILED = 3; // 拍摄失败 + SHOOTING_TASK_STATUS_INTERRUPTED = 4; // 被中断 +}; + +// 拍摄计划模式 +enum ShootingScheduleMode { + SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY = 0; +}; + + +// 拍摄任务 +message ShootingTaskMsg { + string schedule_id = 1; + string params = 2; + ShootingTaskState state = 3; + int32 code = 4; + int64 created_time = 5; + int64 updated_time = 6; + string schedule_task_id = 7; + int32 param_mode = 8; + int32 param_version = 9; + int32 create_from = 10; +} + +// 拍摄计划 +message ShootingScheduleMsg { + string schedule_id = 1; + string schedule_name = 2; + int32 device_id = 3; + string mac_address = 4; + int64 start_time = 5; + int64 end_time = 6; + ShootingScheduleResult result = 7; + int64 created_time = 8; + int64 updated_time = 9; + ShootingScheduleState state = 10; + int32 lock = 11; + string password = 12; + repeated ShootingTaskMsg shooting_tasks = 13; + int32 param_mode = 14; + int32 param_version = 15; + string params = 16; + int64 schedule_time = 17; + ShootingScheduleSyncState sync_state = 18; +} + +// 同步拍摄计划 +message ReqSyncShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; +} + +// 同步拍摄计划返回 +message ResSyncShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; + repeated string time_conflict_schedule_ids = 2; + int32 code = 3; + bool can_replace = 4; +} + +// 取消同步拍摄计划 +message ReqCancelShootingSchedule { + string id = 1; + string password = 2; +} + +// 2. 取消同步拍摄计划返回 +message ResCancelShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 获取所有拍摄计划 +message ReqGetAllShootingSchedule { + +} + +// 获取所有拍摄计划返回 +message ResGetAllShootingSchedule { + repeated ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 获取指定拍摄计划请求 +message ReqGetShootingScheduleById { + string id = 1; +} + +// 获取指定拍摄计划返回 +message ResGetShootingScheduleById { + ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 获取指定拍摄任务请求 +message ReqGetShootingTaskById { + string id = 1; +} + +// 获取指定拍摄任务返回 +message ResGetShootingTaskById { + ShootingTaskMsg shooting_task = 1; + int32 code = 2; +} + +// 替换指定拍摄计划 +message ReqReplaceShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; +} + +// 替换指定拍摄计划返回 +message ResReplaceShootingSchedule { + ShootingScheduleMsg shooting_schedule = 1; + int32 code = 2; +} + +// 解锁指定拍摄计划 +message ReqUnlockShootingSchedule { + string id = 1; + string password = 2; +} + +// 解锁指定拍摄计划返回 +message ResUnlockShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 锁定指定拍摄计划 +message ReqLockShootingSchedule { + string id = 1; + string password = 2; +} + +// 锁定指定拍摄计划返回 +message ResLockShootingSchedule { + string id = 1; + int32 code = 2; +} + +// 删除指定拍摄计划 +message ReqDeleteShootingSchedule { + string id = 1; + string password = 2; +} + +// 删除指定拍摄计划返回 +message ResDeleteShootingSchedule { + string id = 1; + int32 code = 2; +} \ No newline at end of file diff --git a/src/proto/system.proto b/src/proto/system.proto new file mode 100644 index 00000000..67101552 --- /dev/null +++ b/src/proto/system.proto @@ -0,0 +1,73 @@ +syntax = "proto3"; + +//设置系统时间 +message ReqSetTime { + uint64 timestamp = 1; + double timezone_offset = 2; +} + +//设置系统时区 +message ReqSetTimezone { + string timezone = 1; +} + +// 设置MTP模式 +message ReqSetMtpMode { + int32 mode = 1; +} + +// 设置CPU模式 +message ReqSetCpuMode { + int32 mode = 1; +} + +// 设置是否锁定主机 +message ReqsetMasterLock { + bool lock = 1; +} + +// 获取设备激活信息 +message ReqGetDeviceActivateInfo { + int32 issuer = 1; +} + +// 返回设备激活信息(未激活时带获取激活码的请求参数) +message ResDeviceActivateInfo { + int32 activate_state = 1; + int32 activate_process_state = 2; + string request_param = 3; +} + +// 写激活码文件 +message ReqDeviceActivateWriteFile { + string request_param = 1; +} + +// 写激活码文件接口返回 +message ResDeviceActivateWriteFile { + int32 code = 1; + string request_param = 2; +} + +// 激活成功接口(收到服务端激活成功通知后调用) +message ReqDeviceActivateSuccessfull { + string request_param = 1; +} + +// 激活成功接口返回 +message ResDeviceActivateSuccessfull { + int32 code = 1; + int32 activate_state = 2; +} + +// 去激活接口 +message ReqDisableDeviceActivate { + string request_param = 1; +} + +// 去激活接口返回 +message ResDisableDeviceActivate { + int32 code = 1; + int32 activate_state = 2; +} + diff --git a/src/proto/track.proto b/src/proto/track.proto new file mode 100644 index 00000000..4e758040 --- /dev/null +++ b/src/proto/track.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + +// 开始跟踪 +message ReqStartTrack { + int32 x = 1; + int32 y = 2; + int32 w = 3; + int32 h = 4; +} + +// 停止跟踪 +message ReqStopTrack { +} + +// 暂停跟踪 +message ReqPauseTrack { +} + +// 继续跟踪 +message ReqContinueTrack { +} + +// 开始哨兵模式 +message ReqStartSentryMode { + int32 mode = 1; +} + +// 停止哨兵模式 +message ReqStopSentryMode { +} + +message ReqMOTTrack { +} + +message ReqMOTTrackOne { + int32 id = 1; +} + diff --git a/src/protobuf/protobuf.js b/src/protobuf/protobuf.js new file mode 100644 index 00000000..8306b61c --- /dev/null +++ b/src/protobuf/protobuf.js @@ -0,0 +1,50858 @@ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +// @ts-nocheck +import $protobuf from "protobufjs/minimal.js"; + +// Common aliases +var $Reader = $protobuf.Reader, + $Writer = $protobuf.Writer, + $util = $protobuf.util; + +// Exported root namespace +var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); + +$root.ReqStartCalibration = (function () { + /** + * Properties of a ReqStartCalibration. + * @exports IReqStartCalibration + * @interface IReqStartCalibration + */ + + /** + * Constructs a new ReqStartCalibration. + * @exports ReqStartCalibration + * @classdesc Represents a ReqStartCalibration. + * @implements IReqStartCalibration + * @constructor + * @param {IReqStartCalibration=} [properties] Properties to set + */ + function ReqStartCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartCalibration instance using the specified properties. + * @function create + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration=} [properties] Properties to set + * @returns {ReqStartCalibration} ReqStartCalibration instance + */ + ReqStartCalibration.create = function create(properties) { + return new ReqStartCalibration(properties); + }; + + /** + * Encodes the specified ReqStartCalibration message. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartCalibration message, length delimited. Does not implicitly {@link ReqStartCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {IReqStartCalibration} message ReqStartCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartCalibration} ReqStartCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartCalibration message. + * @function verify + * @memberof ReqStartCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStartCalibration} ReqStartCalibration + */ + ReqStartCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartCalibration) return object; + return new $root.ReqStartCalibration(); + }; + + /** + * Creates a plain object from a ReqStartCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartCalibration + * @static + * @param {ReqStartCalibration} message ReqStartCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartCalibration.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartCalibration to JSON. + * @function toJSON + * @memberof ReqStartCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStartCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartCalibration + * @function getTypeUrl + * @memberof ReqStartCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartCalibration"; + }; + + return ReqStartCalibration; +})(); + +$root.ReqStopCalibration = (function () { + /** + * Properties of a ReqStopCalibration. + * @exports IReqStopCalibration + * @interface IReqStopCalibration + */ + + /** + * Constructs a new ReqStopCalibration. + * @exports ReqStopCalibration + * @classdesc Represents a ReqStopCalibration. + * @implements IReqStopCalibration + * @constructor + * @param {IReqStopCalibration=} [properties] Properties to set + */ + function ReqStopCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCalibration instance using the specified properties. + * @function create + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration=} [properties] Properties to set + * @returns {ReqStopCalibration} ReqStopCalibration instance + */ + ReqStopCalibration.create = function create(properties) { + return new ReqStopCalibration(properties); + }; + + /** + * Encodes the specified ReqStopCalibration message. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encode + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCalibration message, length delimited. Does not implicitly {@link ReqStopCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {IReqStopCalibration} message ReqStopCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCalibration} ReqStopCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCalibration.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCalibration message. + * @function verify + * @memberof ReqStopCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCalibration + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCalibration} ReqStopCalibration + */ + ReqStopCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCalibration) return object; + return new $root.ReqStopCalibration(); + }; + + /** + * Creates a plain object from a ReqStopCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCalibration + * @static + * @param {ReqStopCalibration} message ReqStopCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCalibration.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCalibration to JSON. + * @function toJSON + * @memberof ReqStopCalibration + * @instance + * @returns {Object.} JSON object + */ + ReqStopCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCalibration + * @function getTypeUrl + * @memberof ReqStopCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCalibration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCalibration"; + }; + + return ReqStopCalibration; +})(); + +$root.ReqGotoDSO = (function () { + /** + * Properties of a ReqGotoDSO. + * @exports IReqGotoDSO + * @interface IReqGotoDSO + * @property {number|null} [ra] ReqGotoDSO ra + * @property {number|null} [dec] ReqGotoDSO dec + * @property {string|null} [targetName] ReqGotoDSO targetName + */ + + /** + * Constructs a new ReqGotoDSO. + * @exports ReqGotoDSO + * @classdesc Represents a ReqGotoDSO. + * @implements IReqGotoDSO + * @constructor + * @param {IReqGotoDSO=} [properties] Properties to set + */ + function ReqGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGotoDSO ra. + * @member {number} ra + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.ra = 0; + + /** + * ReqGotoDSO dec. + * @member {number} dec + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.dec = 0; + + /** + * ReqGotoDSO targetName. + * @member {string} targetName + * @memberof ReqGotoDSO + * @instance + */ + ReqGotoDSO.prototype.targetName = ""; + + /** + * Creates a new ReqGotoDSO instance using the specified properties. + * @function create + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO=} [properties] Properties to set + * @returns {ReqGotoDSO} ReqGotoDSO instance + */ + ReqGotoDSO.create = function create(properties) { + return new ReqGotoDSO(properties); + }; + + /** + * Encodes the specified ReqGotoDSO message. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqGotoDSO message, length delimited. Does not implicitly {@link ReqGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {IReqGotoDSO} message ReqGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoDSO.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoDSO} ReqGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGotoDSO message. + * @function verify + * @memberof ReqGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoDSO} ReqGotoDSO + */ + ReqGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoDSO) return object; + var message = new $root.ReqGotoDSO(); + if (object.ra != null) message.ra = Number(object.ra); + if (object.dec != null) message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoDSO + * @static + * @param {ReqGotoDSO} message ReqGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoDSO.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqGotoDSO to JSON. + * @function toJSON + * @memberof ReqGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGotoDSO + * @function getTypeUrl + * @memberof ReqGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoDSO"; + }; + + return ReqGotoDSO; +})(); + +$root.ReqGotoSolarSystem = (function () { + /** + * Properties of a ReqGotoSolarSystem. + * @exports IReqGotoSolarSystem + * @interface IReqGotoSolarSystem + * @property {number|null} [index] ReqGotoSolarSystem index + * @property {number|null} [lon] ReqGotoSolarSystem lon + * @property {number|null} [lat] ReqGotoSolarSystem lat + * @property {string|null} [targetName] ReqGotoSolarSystem targetName + */ + + /** + * Constructs a new ReqGotoSolarSystem. + * @exports ReqGotoSolarSystem + * @classdesc Represents a ReqGotoSolarSystem. + * @implements IReqGotoSolarSystem + * @constructor + * @param {IReqGotoSolarSystem=} [properties] Properties to set + */ + function ReqGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGotoSolarSystem index. + * @member {number} index + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.index = 0; + + /** + * ReqGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lon = 0; + + /** + * ReqGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.lat = 0; + + /** + * ReqGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqGotoSolarSystem + * @instance + */ + ReqGotoSolarSystem.prototype.targetName = ""; + + /** + * Creates a new ReqGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem=} [properties] Properties to set + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem instance + */ + ReqGotoSolarSystem.create = function create(properties) { + return new ReqGotoSolarSystem(properties); + }; + + /** + * Encodes the specified ReqGotoSolarSystem message. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqGotoSolarSystem message, length delimited. Does not implicitly {@link ReqGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {IReqGotoSolarSystem} message ReqGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGotoSolarSystem.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGotoSolarSystem.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGotoSolarSystem message. + * @function verify + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqGotoSolarSystem} ReqGotoSolarSystem + */ + ReqGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGotoSolarSystem) return object; + var message = new $root.ReqGotoSolarSystem(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGotoSolarSystem + * @static + * @param {ReqGotoSolarSystem} message ReqGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGotoSolarSystem + * @function getTypeUrl + * @memberof ReqGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGotoSolarSystem"; + }; + + return ReqGotoSolarSystem; +})(); + +$root.ReqStopGoto = (function () { + /** + * Properties of a ReqStopGoto. + * @exports IReqStopGoto + * @interface IReqStopGoto + */ + + /** + * Constructs a new ReqStopGoto. + * @exports ReqStopGoto + * @classdesc Represents a ReqStopGoto. + * @implements IReqStopGoto + * @constructor + * @param {IReqStopGoto=} [properties] Properties to set + */ + function ReqStopGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopGoto instance using the specified properties. + * @function create + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto=} [properties] Properties to set + * @returns {ReqStopGoto} ReqStopGoto instance + */ + ReqStopGoto.create = function create(properties) { + return new ReqStopGoto(properties); + }; + + /** + * Encodes the specified ReqStopGoto message. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopGoto message, length delimited. Does not implicitly {@link ReqStopGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopGoto + * @static + * @param {IReqStopGoto} message ReqStopGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopGoto} ReqStopGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopGoto message. + * @function verify + * @memberof ReqStopGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopGoto} ReqStopGoto + */ + ReqStopGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopGoto) return object; + return new $root.ReqStopGoto(); + }; + + /** + * Creates a plain object from a ReqStopGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopGoto + * @static + * @param {ReqStopGoto} message ReqStopGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopGoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopGoto to JSON. + * @function toJSON + * @memberof ReqStopGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopGoto + * @function getTypeUrl + * @memberof ReqStopGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopGoto"; + }; + + return ReqStopGoto; +})(); + +$root.ReqCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureRawLiveStacking. + * @exports IReqCaptureRawLiveStacking + * @interface IReqCaptureRawLiveStacking + */ + + /** + * Constructs a new ReqCaptureRawLiveStacking. + * @exports ReqCaptureRawLiveStacking + * @classdesc Represents a ReqCaptureRawLiveStacking. + * @implements IReqCaptureRawLiveStacking + * @constructor + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking instance + */ + ReqCaptureRawLiveStacking.create = function create(properties) { + return new ReqCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {IReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureRawLiveStacking.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureRawLiveStacking message. + * @function verify + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureRawLiveStacking} ReqCaptureRawLiveStacking + */ + ReqCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureRawLiveStacking) return object; + return new $root.ReqCaptureRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {ReqCaptureRawLiveStacking} message ReqCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureRawLiveStacking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureRawLiveStacking"; + }; + + return ReqCaptureRawLiveStacking; +})(); + +$root.ReqStopCaptureRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureRawLiveStacking. + * @exports IReqStopCaptureRawLiveStacking + * @interface IReqStopCaptureRawLiveStacking + */ + + /** + * Constructs a new ReqStopCaptureRawLiveStacking. + * @exports ReqStopCaptureRawLiveStacking + * @classdesc Represents a ReqStopCaptureRawLiveStacking. + * @implements IReqStopCaptureRawLiveStacking + * @constructor + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking instance + */ + ReqStopCaptureRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {IReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureRawLiveStacking} ReqStopCaptureRawLiveStacking + */ + ReqStopCaptureRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureRawLiveStacking) return object; + return new $root.ReqStopCaptureRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqStopCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {ReqStopCaptureRawLiveStacking} message ReqStopCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureRawLiveStacking"; + }; + + return ReqStopCaptureRawLiveStacking; +})(); + +$root.ReqCheckDarkFrame = (function () { + /** + * Properties of a ReqCheckDarkFrame. + * @exports IReqCheckDarkFrame + * @interface IReqCheckDarkFrame + */ + + /** + * Constructs a new ReqCheckDarkFrame. + * @exports ReqCheckDarkFrame + * @classdesc Represents a ReqCheckDarkFrame. + * @implements IReqCheckDarkFrame + * @constructor + * @param {IReqCheckDarkFrame=} [properties] Properties to set + */ + function ReqCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame=} [properties] Properties to set + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame instance + */ + ReqCheckDarkFrame.create = function create(properties) { + return new ReqCheckDarkFrame(properties); + }; + + /** + * Encodes the specified ReqCheckDarkFrame message. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCheckDarkFrame message, length delimited. Does not implicitly {@link ReqCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {IReqCheckDarkFrame} message ReqCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCheckDarkFrame message. + * @function verify + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckDarkFrame} ReqCheckDarkFrame + */ + ReqCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckDarkFrame) return object; + return new $root.ReqCheckDarkFrame(); + }; + + /** + * Creates a plain object from a ReqCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckDarkFrame + * @static + * @param {ReqCheckDarkFrame} message ReqCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckDarkFrame.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCheckDarkFrame to JSON. + * @function toJSON + * @memberof ReqCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCheckDarkFrame + * @function getTypeUrl + * @memberof ReqCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckDarkFrame"; + }; + + return ReqCheckDarkFrame; +})(); + +$root.ResCheckDarkFrame = (function () { + /** + * Properties of a ResCheckDarkFrame. + * @exports IResCheckDarkFrame + * @interface IResCheckDarkFrame + * @property {number|null} [progress] ResCheckDarkFrame progress + * @property {number|null} [code] ResCheckDarkFrame code + */ + + /** + * Constructs a new ResCheckDarkFrame. + * @exports ResCheckDarkFrame + * @classdesc Represents a ResCheckDarkFrame. + * @implements IResCheckDarkFrame + * @constructor + * @param {IResCheckDarkFrame=} [properties] Properties to set + */ + function ResCheckDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCheckDarkFrame progress. + * @member {number} progress + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.progress = 0; + + /** + * ResCheckDarkFrame code. + * @member {number} code + * @memberof ResCheckDarkFrame + * @instance + */ + ResCheckDarkFrame.prototype.code = 0; + + /** + * Creates a new ResCheckDarkFrame instance using the specified properties. + * @function create + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame=} [properties] Properties to set + * @returns {ResCheckDarkFrame} ResCheckDarkFrame instance + */ + ResCheckDarkFrame.create = function create(properties) { + return new ResCheckDarkFrame(properties); + }; + + /** + * Encodes the specified ResCheckDarkFrame message. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encode + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.progress != null && + Object.hasOwnProperty.call(message, "progress") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCheckDarkFrame message, length delimited. Does not implicitly {@link ResCheckDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {IResCheckDarkFrame} message ResCheckDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCheckDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCheckDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCheckDarkFrame message. + * @function verify + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCheckDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ResCheckDarkFrame} ResCheckDarkFrame + */ + ResCheckDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckDarkFrame) return object; + var message = new $root.ResCheckDarkFrame(); + if (object.progress != null) message.progress = object.progress | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCheckDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckDarkFrame + * @static + * @param {ResCheckDarkFrame} message ResCheckDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.code = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCheckDarkFrame to JSON. + * @function toJSON + * @memberof ResCheckDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ResCheckDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCheckDarkFrame + * @function getTypeUrl + * @memberof ResCheckDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckDarkFrame"; + }; + + return ResCheckDarkFrame; +})(); + +$root.ReqCaptureDarkFrame = (function () { + /** + * Properties of a ReqCaptureDarkFrame. + * @exports IReqCaptureDarkFrame + * @interface IReqCaptureDarkFrame + * @property {number|null} [reshoot] ReqCaptureDarkFrame reshoot + */ + + /** + * Constructs a new ReqCaptureDarkFrame. + * @exports ReqCaptureDarkFrame + * @classdesc Represents a ReqCaptureDarkFrame. + * @implements IReqCaptureDarkFrame + * @constructor + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + */ + function ReqCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureDarkFrame reshoot. + * @member {number} reshoot + * @memberof ReqCaptureDarkFrame + * @instance + */ + ReqCaptureDarkFrame.prototype.reshoot = 0; + + /** + * Creates a new ReqCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame instance + */ + ReqCaptureDarkFrame.create = function create(properties) { + return new ReqCaptureDarkFrame(properties); + }; + + /** + * Encodes the specified ReqCaptureDarkFrame message. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.reshoot != null && + Object.hasOwnProperty.call(message, "reshoot") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.reshoot); + return writer; + }; + + /** + * Encodes the specified ReqCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {IReqCaptureDarkFrame} message ReqCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.reshoot = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureDarkFrame message. + * @function verify + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + if (!$util.isInteger(message.reshoot)) return "reshoot: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrame} ReqCaptureDarkFrame + */ + ReqCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrame) return object; + var message = new $root.ReqCaptureDarkFrame(); + if (object.reshoot != null) message.reshoot = object.reshoot | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrame + * @static + * @param {ReqCaptureDarkFrame} message ReqCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.reshoot = 0; + if (message.reshoot != null && message.hasOwnProperty("reshoot")) + object.reshoot = message.reshoot; + return object; + }; + + /** + * Converts this ReqCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrame"; + }; + + return ReqCaptureDarkFrame; +})(); + +$root.ReqStopCaptureDarkFrame = (function () { + /** + * Properties of a ReqStopCaptureDarkFrame. + * @exports IReqStopCaptureDarkFrame + * @interface IReqStopCaptureDarkFrame + */ + + /** + * Constructs a new ReqStopCaptureDarkFrame. + * @exports ReqStopCaptureDarkFrame + * @classdesc Represents a ReqStopCaptureDarkFrame. + * @implements IReqStopCaptureDarkFrame + * @constructor + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureDarkFrame instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame instance + */ + ReqStopCaptureDarkFrame.create = function create(properties) { + return new ReqStopCaptureDarkFrame(properties); + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrame message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {IReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureDarkFrame message. + * @function verify + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrame} ReqStopCaptureDarkFrame + */ + ReqStopCaptureDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrame) return object; + return new $root.ReqStopCaptureDarkFrame(); + }; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {ReqStopCaptureDarkFrame} message ReqStopCaptureDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrame.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureDarkFrame to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrame + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrame"; + }; + + return ReqStopCaptureDarkFrame; +})(); + +$root.ReqCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureDarkFrameWithParam. + * @exports IReqCaptureDarkFrameWithParam + * @interface IReqCaptureDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureDarkFrameWithParam capSize + */ + + /** + * Constructs a new ReqCaptureDarkFrameWithParam. + * @exports ReqCaptureDarkFrameWithParam + * @classdesc Represents a ReqCaptureDarkFrameWithParam. + * @implements IReqCaptureDarkFrameWithParam + * @constructor + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.expIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.gainIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.binIndex = 0; + + /** + * ReqCaptureDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureDarkFrameWithParam + * @instance + */ + ReqCaptureDarkFrameWithParam.prototype.capSize = 0; + + /** + * Creates a new ReqCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam instance + */ + ReqCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.capSize != null && + Object.hasOwnProperty.call(message, "capSize") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + + /** + * Encodes the specified ReqCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {IReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) return "capSize: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureDarkFrameWithParam} ReqCaptureDarkFrameWithParam + */ + ReqCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureDarkFrameWithParam) return object; + var message = new $root.ReqCaptureDarkFrameWithParam(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.capSize != null) message.capSize = object.capSize | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {ReqCaptureDarkFrameWithParam} message ReqCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureDarkFrameWithParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + + /** + * Converts this ReqCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureDarkFrameWithParam"; + }; + + return ReqCaptureDarkFrameWithParam; +})(); + +$root.ReqStopCaptureDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureDarkFrameWithParam. + * @exports IReqStopCaptureDarkFrameWithParam + * @interface IReqStopCaptureDarkFrameWithParam + */ + + /** + * Constructs a new ReqStopCaptureDarkFrameWithParam. + * @exports ReqStopCaptureDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureDarkFrameWithParam. + * @implements IReqStopCaptureDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam instance + */ + ReqStopCaptureDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {IReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureDarkFrameWithParam} ReqStopCaptureDarkFrameWithParam + */ + ReqStopCaptureDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureDarkFrameWithParam) return object; + return new $root.ReqStopCaptureDarkFrameWithParam(); + }; + + /** + * Creates a plain object from a ReqStopCaptureDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {ReqStopCaptureDarkFrameWithParam} message ReqStopCaptureDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureDarkFrameWithParam"; + }; + + return ReqStopCaptureDarkFrameWithParam; +})(); + +$root.ReqGetDarkFrameList = (function () { + /** + * Properties of a ReqGetDarkFrameList. + * @exports IReqGetDarkFrameList + * @interface IReqGetDarkFrameList + */ + + /** + * Constructs a new ReqGetDarkFrameList. + * @exports ReqGetDarkFrameList + * @classdesc Represents a ReqGetDarkFrameList. + * @implements IReqGetDarkFrameList + * @constructor + * @param {IReqGetDarkFrameList=} [properties] Properties to set + */ + function ReqGetDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList=} [properties] Properties to set + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList instance + */ + ReqGetDarkFrameList.create = function create(properties) { + return new ReqGetDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqGetDarkFrameList message. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetDarkFrameList message, length delimited. Does not implicitly {@link ReqGetDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {IReqGetDarkFrameList} message ReqGetDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetDarkFrameList message. + * @function verify + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDarkFrameList} ReqGetDarkFrameList + */ + ReqGetDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDarkFrameList) return object; + return new $root.ReqGetDarkFrameList(); + }; + + /** + * Creates a plain object from a ReqGetDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDarkFrameList + * @static + * @param {ReqGetDarkFrameList} message ReqGetDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDarkFrameList.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetDarkFrameList + * @function getTypeUrl + * @memberof ReqGetDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDarkFrameList"; + }; + + return ReqGetDarkFrameList; +})(); + +$root.ResGetDarkFrameInfo = (function () { + /** + * Properties of a ResGetDarkFrameInfo. + * @exports IResGetDarkFrameInfo + * @interface IResGetDarkFrameInfo + * @property {number|null} [expIndex] ResGetDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetDarkFrameInfo expName + * @property {string|null} [gainName] ResGetDarkFrameInfo gainName + * @property {string|null} [binName] ResGetDarkFrameInfo binName + * @property {number|null} [temperature] ResGetDarkFrameInfo temperature + */ + + /** + * Constructs a new ResGetDarkFrameInfo. + * @exports ResGetDarkFrameInfo + * @classdesc Represents a ResGetDarkFrameInfo. + * @implements IResGetDarkFrameInfo + * @constructor + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + */ + function ResGetDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expIndex = 0; + + /** + * ResGetDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainIndex = 0; + + /** + * ResGetDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binIndex = 0; + + /** + * ResGetDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.expName = ""; + + /** + * ResGetDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.gainName = ""; + + /** + * ResGetDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.binName = ""; + + /** + * ResGetDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetDarkFrameInfo + * @instance + */ + ResGetDarkFrameInfo.prototype.temperature = 0; + + /** + * Creates a new ResGetDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo instance + */ + ResGetDarkFrameInfo.create = function create(properties) { + return new ResGetDarkFrameInfo(properties); + }; + + /** + * Encodes the specified ResGetDarkFrameInfo message. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.expName != null && + Object.hasOwnProperty.call(message, "expName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if ( + message.gainName != null && + Object.hasOwnProperty.call(message, "gainName") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if ( + message.binName != null && + Object.hasOwnProperty.call(message, "binName") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResGetDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {IResGetDarkFrameInfo} message ResGetDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetDarkFrameInfo message. + * @function verify + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResGetDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfo} ResGetDarkFrameInfo + */ + ResGetDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfo) return object; + var message = new $root.ResGetDarkFrameInfo(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.expName != null) message.expName = String(object.expName); + if (object.gainName != null) message.gainName = String(object.gainName); + if (object.binName != null) message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfo + * @static + * @param {ResGetDarkFrameInfo} message ResGetDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResGetDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfo"; + }; + + return ResGetDarkFrameInfo; +})(); + +$root.ResGetDarkFrameInfoList = (function () { + /** + * Properties of a ResGetDarkFrameInfoList. + * @exports IResGetDarkFrameInfoList + * @interface IResGetDarkFrameInfoList + * @property {number|null} [code] ResGetDarkFrameInfoList code + * @property {Array.|null} [results] ResGetDarkFrameInfoList results + */ + + /** + * Constructs a new ResGetDarkFrameInfoList. + * @exports ResGetDarkFrameInfoList + * @classdesc Represents a ResGetDarkFrameInfoList. + * @implements IResGetDarkFrameInfoList + * @constructor + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.code = 0; + + /** + * ResGetDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetDarkFrameInfoList + * @instance + */ + ResGetDarkFrameInfoList.prototype.results = $util.emptyArray; + + /** + * Creates a new ResGetDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList instance + */ + ResGetDarkFrameInfoList.create = function create(properties) { + return new ResGetDarkFrameInfoList(properties); + }; + + /** + * Encodes the specified ResGetDarkFrameInfoList message. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode( + message.results[i], + writer.uint32(/* id 2, wireType 2 =*/ 18).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResGetDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {IResGetDarkFrameInfoList} message ResGetDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetDarkFrameInfoList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push( + $root.ResGetDarkFrameInfo.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetDarkFrameInfoList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetDarkFrameInfoList message. + * @function verify + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) return "results." + error; + } + } + return null; + }; + + /** + * Creates a ResGetDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetDarkFrameInfoList} ResGetDarkFrameInfoList + */ + ResGetDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetDarkFrameInfoList) return object; + var message = new $root.ResGetDarkFrameInfoList(); + if (object.code != null) message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError(".ResGetDarkFrameInfoList.results: object expected"); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject( + object.results[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ResGetDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetDarkFrameInfoList + * @static + * @param {ResGetDarkFrameInfoList} message ResGetDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.results = []; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject( + message.results[j], + options + ); + } + return object; + }; + + /** + * Converts this ResGetDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetDarkFrameInfoList"; + }; + + return ResGetDarkFrameInfoList; +})(); + +$root.ReqDelDarkFrame = (function () { + /** + * Properties of a ReqDelDarkFrame. + * @exports IReqDelDarkFrame + * @interface IReqDelDarkFrame + * @property {number|null} [expIndex] ReqDelDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelDarkFrame binIndex + */ + + /** + * Constructs a new ReqDelDarkFrame. + * @exports ReqDelDarkFrame + * @classdesc Represents a ReqDelDarkFrame. + * @implements IReqDelDarkFrame + * @constructor + * @param {IReqDelDarkFrame=} [properties] Properties to set + */ + function ReqDelDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.expIndex = 0; + + /** + * ReqDelDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.gainIndex = 0; + + /** + * ReqDelDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelDarkFrame + * @instance + */ + ReqDelDarkFrame.prototype.binIndex = 0; + + /** + * Creates a new ReqDelDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame=} [properties] Properties to set + * @returns {ReqDelDarkFrame} ReqDelDarkFrame instance + */ + ReqDelDarkFrame.create = function create(properties) { + return new ReqDelDarkFrame(properties); + }; + + /** + * Encodes the specified ReqDelDarkFrame message. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + + /** + * Encodes the specified ReqDelDarkFrame message, length delimited. Does not implicitly {@link ReqDelDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {IReqDelDarkFrame} message ReqDelDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrame.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelDarkFrame message. + * @function verify + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + + /** + * Creates a ReqDelDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrame} ReqDelDarkFrame + */ + ReqDelDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrame) return object; + var message = new $root.ReqDelDarkFrame(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDelDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrame + * @static + * @param {ReqDelDarkFrame} message ReqDelDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + + /** + * Converts this ReqDelDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelDarkFrame + * @function getTypeUrl + * @memberof ReqDelDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrame"; + }; + + return ReqDelDarkFrame; +})(); + +$root.ReqDelDarkFrameList = (function () { + /** + * Properties of a ReqDelDarkFrameList. + * @exports IReqDelDarkFrameList + * @interface IReqDelDarkFrameList + * @property {Array.|null} [darkList] ReqDelDarkFrameList darkList + */ + + /** + * Constructs a new ReqDelDarkFrameList. + * @exports ReqDelDarkFrameList + * @classdesc Represents a ReqDelDarkFrameList. + * @implements IReqDelDarkFrameList + * @constructor + * @param {IReqDelDarkFrameList=} [properties] Properties to set + */ + function ReqDelDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelDarkFrameList + * @instance + */ + ReqDelDarkFrameList.prototype.darkList = $util.emptyArray; + + /** + * Creates a new ReqDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList=} [properties] Properties to set + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList instance + */ + ReqDelDarkFrameList.create = function create(properties) { + return new ReqDelDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqDelDarkFrameList message. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode( + message.darkList[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqDelDarkFrameList message, length delimited. Does not implicitly {@link ReqDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {IReqDelDarkFrameList} message ReqDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push( + $root.ReqDelDarkFrame.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelDarkFrameList message. + * @function verify + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) return "darkList." + error; + } + } + return null; + }; + + /** + * Creates a ReqDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelDarkFrameList} ReqDelDarkFrameList + */ + ReqDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelDarkFrameList) return object; + var message = new $root.ReqDelDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject( + object.darkList[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ReqDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelDarkFrameList + * @static + * @param {ReqDelDarkFrameList} message ReqDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject( + message.darkList[j], + options + ); + } + return object; + }; + + /** + * Converts this ReqDelDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelDarkFrameList + * @function getTypeUrl + * @memberof ReqDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelDarkFrameList"; + }; + + return ReqDelDarkFrameList; +})(); + +$root.ResDelDarkFrameList = (function () { + /** + * Properties of a ResDelDarkFrameList. + * @exports IResDelDarkFrameList + * @interface IResDelDarkFrameList + * @property {number|null} [code] ResDelDarkFrameList code + */ + + /** + * Constructs a new ResDelDarkFrameList. + * @exports ResDelDarkFrameList + * @classdesc Represents a ResDelDarkFrameList. + * @implements IResDelDarkFrameList + * @constructor + * @param {IResDelDarkFrameList=} [properties] Properties to set + */ + function ResDelDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDelDarkFrameList code. + * @member {number} code + * @memberof ResDelDarkFrameList + * @instance + */ + ResDelDarkFrameList.prototype.code = 0; + + /** + * Creates a new ResDelDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList=} [properties] Properties to set + * @returns {ResDelDarkFrameList} ResDelDarkFrameList instance + */ + ResDelDarkFrameList.create = function create(properties) { + return new ResDelDarkFrameList(properties); + }; + + /** + * Encodes the specified ResDelDarkFrameList message. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDelDarkFrameList message, length delimited. Does not implicitly {@link ResDelDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {IResDelDarkFrameList} message ResDelDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDelDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDelDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDelDarkFrameList message. + * @function verify + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDelDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelDarkFrameList} ResDelDarkFrameList + */ + ResDelDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelDarkFrameList) return object; + var message = new $root.ResDelDarkFrameList(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDelDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelDarkFrameList + * @static + * @param {ResDelDarkFrameList} message ResDelDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDelDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDelDarkFrameList + * @function getTypeUrl + * @memberof ResDelDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelDarkFrameList"; + }; + + return ResDelDarkFrameList; +})(); + +$root.ReqGoLive = (function () { + /** + * Properties of a ReqGoLive. + * @exports IReqGoLive + * @interface IReqGoLive + */ + + /** + * Constructs a new ReqGoLive. + * @exports ReqGoLive + * @classdesc Represents a ReqGoLive. + * @implements IReqGoLive + * @constructor + * @param {IReqGoLive=} [properties] Properties to set + */ + function ReqGoLive(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGoLive instance using the specified properties. + * @function create + * @memberof ReqGoLive + * @static + * @param {IReqGoLive=} [properties] Properties to set + * @returns {ReqGoLive} ReqGoLive instance + */ + ReqGoLive.create = function create(properties) { + return new ReqGoLive(properties); + }; + + /** + * Encodes the specified ReqGoLive message. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encode + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGoLive message, length delimited. Does not implicitly {@link ReqGoLive.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGoLive + * @static + * @param {IReqGoLive} message ReqGoLive message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGoLive.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer. + * @function decode + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGoLive(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGoLive message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGoLive + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGoLive} ReqGoLive + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGoLive.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGoLive message. + * @function verify + * @memberof ReqGoLive + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGoLive.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGoLive message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGoLive + * @static + * @param {Object.} object Plain object + * @returns {ReqGoLive} ReqGoLive + */ + ReqGoLive.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGoLive) return object; + return new $root.ReqGoLive(); + }; + + /** + * Creates a plain object from a ReqGoLive message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGoLive + * @static + * @param {ReqGoLive} message ReqGoLive + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGoLive.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGoLive to JSON. + * @function toJSON + * @memberof ReqGoLive + * @instance + * @returns {Object.} JSON object + */ + ReqGoLive.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGoLive + * @function getTypeUrl + * @memberof ReqGoLive + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGoLive.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGoLive"; + }; + + return ReqGoLive; +})(); + +$root.ReqTrackSpecialTarget = (function () { + /** + * Properties of a ReqTrackSpecialTarget. + * @exports IReqTrackSpecialTarget + * @interface IReqTrackSpecialTarget + * @property {number|null} [index] ReqTrackSpecialTarget index + * @property {number|null} [lon] ReqTrackSpecialTarget lon + * @property {number|null} [lat] ReqTrackSpecialTarget lat + */ + + /** + * Constructs a new ReqTrackSpecialTarget. + * @exports ReqTrackSpecialTarget + * @classdesc Represents a ReqTrackSpecialTarget. + * @implements IReqTrackSpecialTarget + * @constructor + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + */ + function ReqTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqTrackSpecialTarget index. + * @member {number} index + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.index = 0; + + /** + * ReqTrackSpecialTarget lon. + * @member {number} lon + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lon = 0; + + /** + * ReqTrackSpecialTarget lat. + * @member {number} lat + * @memberof ReqTrackSpecialTarget + * @instance + */ + ReqTrackSpecialTarget.prototype.lat = 0; + + /** + * Creates a new ReqTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget instance + */ + ReqTrackSpecialTarget.create = function create(properties) { + return new ReqTrackSpecialTarget(properties); + }; + + /** + * Encodes the specified ReqTrackSpecialTarget message. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + return writer; + }; + + /** + * Encodes the specified ReqTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {IReqTrackSpecialTarget} message ReqTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqTrackSpecialTarget.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqTrackSpecialTarget message. + * @function verify + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + return null; + }; + + /** + * Creates a ReqTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqTrackSpecialTarget} ReqTrackSpecialTarget + */ + ReqTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqTrackSpecialTarget) return object; + var message = new $root.ReqTrackSpecialTarget(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + return message; + }; + + /** + * Creates a plain object from a ReqTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqTrackSpecialTarget + * @static + * @param {ReqTrackSpecialTarget} message ReqTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqTrackSpecialTarget.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + + /** + * Converts this ReqTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqTrackSpecialTarget"; + }; + + return ReqTrackSpecialTarget; +})(); + +$root.ReqStopTrackSpecialTarget = (function () { + /** + * Properties of a ReqStopTrackSpecialTarget. + * @exports IReqStopTrackSpecialTarget + * @interface IReqStopTrackSpecialTarget + */ + + /** + * Constructs a new ReqStopTrackSpecialTarget. + * @exports ReqStopTrackSpecialTarget + * @classdesc Represents a ReqStopTrackSpecialTarget. + * @implements IReqStopTrackSpecialTarget + * @constructor + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + */ + function ReqStopTrackSpecialTarget(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTrackSpecialTarget instance using the specified properties. + * @function create + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget=} [properties] Properties to set + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget instance + */ + ReqStopTrackSpecialTarget.create = function create(properties) { + return new ReqStopTrackSpecialTarget(properties); + }; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTrackSpecialTarget message, length delimited. Does not implicitly {@link ReqStopTrackSpecialTarget.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {IReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrackSpecialTarget.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTrackSpecialTarget(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTrackSpecialTarget message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrackSpecialTarget.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTrackSpecialTarget message. + * @function verify + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrackSpecialTarget.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTrackSpecialTarget message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrackSpecialTarget} ReqStopTrackSpecialTarget + */ + ReqStopTrackSpecialTarget.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrackSpecialTarget) return object; + return new $root.ReqStopTrackSpecialTarget(); + }; + + /** + * Creates a plain object from a ReqStopTrackSpecialTarget message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {ReqStopTrackSpecialTarget} message ReqStopTrackSpecialTarget + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrackSpecialTarget.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTrackSpecialTarget to JSON. + * @function toJSON + * @memberof ReqStopTrackSpecialTarget + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrackSpecialTarget.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTrackSpecialTarget + * @function getTypeUrl + * @memberof ReqStopTrackSpecialTarget + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrackSpecialTarget.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrackSpecialTarget"; + }; + + return ReqStopTrackSpecialTarget; +})(); + +$root.ReqOneClickGotoDSO = (function () { + /** + * Properties of a ReqOneClickGotoDSO. + * @exports IReqOneClickGotoDSO + * @interface IReqOneClickGotoDSO + * @property {number|null} [ra] ReqOneClickGotoDSO ra + * @property {number|null} [dec] ReqOneClickGotoDSO dec + * @property {string|null} [targetName] ReqOneClickGotoDSO targetName + */ + + /** + * Constructs a new ReqOneClickGotoDSO. + * @exports ReqOneClickGotoDSO + * @classdesc Represents a ReqOneClickGotoDSO. + * @implements IReqOneClickGotoDSO + * @constructor + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + */ + function ReqOneClickGotoDSO(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOneClickGotoDSO ra. + * @member {number} ra + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.ra = 0; + + /** + * ReqOneClickGotoDSO dec. + * @member {number} dec + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.dec = 0; + + /** + * ReqOneClickGotoDSO targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoDSO + * @instance + */ + ReqOneClickGotoDSO.prototype.targetName = ""; + + /** + * Creates a new ReqOneClickGotoDSO instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO=} [properties] Properties to set + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO instance + */ + ReqOneClickGotoDSO.create = function create(properties) { + return new ReqOneClickGotoDSO(properties); + }; + + /** + * Encodes the specified ReqOneClickGotoDSO message. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.ra != null && Object.hasOwnProperty.call(message, "ra")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.ra); + if (message.dec != null && Object.hasOwnProperty.call(message, "dec")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.dec); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqOneClickGotoDSO message, length delimited. Does not implicitly {@link ReqOneClickGotoDSO.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {IReqOneClickGotoDSO} message ReqOneClickGotoDSO message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoDSO.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOneClickGotoDSO(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.ra = reader.double(); + break; + } + case 2: { + message.dec = reader.double(); + break; + } + case 3: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOneClickGotoDSO message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoDSO + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoDSO.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOneClickGotoDSO message. + * @function verify + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoDSO.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ra != null && message.hasOwnProperty("ra")) + if (typeof message.ra !== "number") return "ra: number expected"; + if (message.dec != null && message.hasOwnProperty("dec")) + if (typeof message.dec !== "number") return "dec: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqOneClickGotoDSO message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoDSO} ReqOneClickGotoDSO + */ + ReqOneClickGotoDSO.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoDSO) return object; + var message = new $root.ReqOneClickGotoDSO(); + if (object.ra != null) message.ra = Number(object.ra); + if (object.dec != null) message.dec = Number(object.dec); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqOneClickGotoDSO message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoDSO + * @static + * @param {ReqOneClickGotoDSO} message ReqOneClickGotoDSO + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoDSO.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.ra = 0; + object.dec = 0; + object.targetName = ""; + } + if (message.ra != null && message.hasOwnProperty("ra")) + object.ra = + options.json && !isFinite(message.ra) ? String(message.ra) : message.ra; + if (message.dec != null && message.hasOwnProperty("dec")) + object.dec = + options.json && !isFinite(message.dec) + ? String(message.dec) + : message.dec; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqOneClickGotoDSO to JSON. + * @function toJSON + * @memberof ReqOneClickGotoDSO + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoDSO.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOneClickGotoDSO + * @function getTypeUrl + * @memberof ReqOneClickGotoDSO + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoDSO.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoDSO"; + }; + + return ReqOneClickGotoDSO; +})(); + +$root.ReqOneClickGotoSolarSystem = (function () { + /** + * Properties of a ReqOneClickGotoSolarSystem. + * @exports IReqOneClickGotoSolarSystem + * @interface IReqOneClickGotoSolarSystem + * @property {number|null} [index] ReqOneClickGotoSolarSystem index + * @property {number|null} [lon] ReqOneClickGotoSolarSystem lon + * @property {number|null} [lat] ReqOneClickGotoSolarSystem lat + * @property {string|null} [targetName] ReqOneClickGotoSolarSystem targetName + */ + + /** + * Constructs a new ReqOneClickGotoSolarSystem. + * @exports ReqOneClickGotoSolarSystem + * @classdesc Represents a ReqOneClickGotoSolarSystem. + * @implements IReqOneClickGotoSolarSystem + * @constructor + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + */ + function ReqOneClickGotoSolarSystem(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOneClickGotoSolarSystem index. + * @member {number} index + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.index = 0; + + /** + * ReqOneClickGotoSolarSystem lon. + * @member {number} lon + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lon = 0; + + /** + * ReqOneClickGotoSolarSystem lat. + * @member {number} lat + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.lat = 0; + + /** + * ReqOneClickGotoSolarSystem targetName. + * @member {string} targetName + * @memberof ReqOneClickGotoSolarSystem + * @instance + */ + ReqOneClickGotoSolarSystem.prototype.targetName = ""; + + /** + * Creates a new ReqOneClickGotoSolarSystem instance using the specified properties. + * @function create + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem=} [properties] Properties to set + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem instance + */ + ReqOneClickGotoSolarSystem.create = function create(properties) { + return new ReqOneClickGotoSolarSystem(properties); + }; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.lat); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ReqOneClickGotoSolarSystem message, length delimited. Does not implicitly {@link ReqOneClickGotoSolarSystem.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {IReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOneClickGotoSolarSystem.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer. + * @function decode + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOneClickGotoSolarSystem(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + case 2: { + message.lon = reader.double(); + break; + } + case 3: { + message.lat = reader.double(); + break; + } + case 4: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOneClickGotoSolarSystem message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOneClickGotoSolarSystem.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOneClickGotoSolarSystem message. + * @function verify + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOneClickGotoSolarSystem.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ReqOneClickGotoSolarSystem message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {Object.} object Plain object + * @returns {ReqOneClickGotoSolarSystem} ReqOneClickGotoSolarSystem + */ + ReqOneClickGotoSolarSystem.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOneClickGotoSolarSystem) return object; + var message = new $root.ReqOneClickGotoSolarSystem(); + if (object.index != null) message.index = object.index | 0; + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ReqOneClickGotoSolarSystem message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {ReqOneClickGotoSolarSystem} message ReqOneClickGotoSolarSystem + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOneClickGotoSolarSystem.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.index = 0; + object.lon = 0; + object.lat = 0; + object.targetName = ""; + } + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ReqOneClickGotoSolarSystem to JSON. + * @function toJSON + * @memberof ReqOneClickGotoSolarSystem + * @instance + * @returns {Object.} JSON object + */ + ReqOneClickGotoSolarSystem.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOneClickGotoSolarSystem + * @function getTypeUrl + * @memberof ReqOneClickGotoSolarSystem + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOneClickGotoSolarSystem.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOneClickGotoSolarSystem"; + }; + + return ReqOneClickGotoSolarSystem; +})(); + +$root.ResOneClickGoto = (function () { + /** + * Properties of a ResOneClickGoto. + * @exports IResOneClickGoto + * @interface IResOneClickGoto + * @property {number|null} [step] ResOneClickGoto step + * @property {number|null} [code] ResOneClickGoto code + * @property {boolean|null} [allEnd] ResOneClickGoto allEnd + */ + + /** + * Constructs a new ResOneClickGoto. + * @exports ResOneClickGoto + * @classdesc Represents a ResOneClickGoto. + * @implements IResOneClickGoto + * @constructor + * @param {IResOneClickGoto=} [properties] Properties to set + */ + function ResOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResOneClickGoto step. + * @member {number} step + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.step = 0; + + /** + * ResOneClickGoto code. + * @member {number} code + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.code = 0; + + /** + * ResOneClickGoto allEnd. + * @member {boolean} allEnd + * @memberof ResOneClickGoto + * @instance + */ + ResOneClickGoto.prototype.allEnd = false; + + /** + * Creates a new ResOneClickGoto instance using the specified properties. + * @function create + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto=} [properties] Properties to set + * @returns {ResOneClickGoto} ResOneClickGoto instance + */ + ResOneClickGoto.create = function create(properties) { + return new ResOneClickGoto(properties); + }; + + /** + * Encodes the specified ResOneClickGoto message. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.allEnd != null && Object.hasOwnProperty.call(message, "allEnd")) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.allEnd); + return writer; + }; + + /** + * Encodes the specified ResOneClickGoto message, length delimited. Does not implicitly {@link ResOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {IResOneClickGoto} message ResOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResOneClickGoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.allEnd = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResOneClickGoto} ResOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResOneClickGoto message. + * @function verify + * @memberof ResOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) return "step: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + if (typeof message.allEnd !== "boolean") + return "allEnd: boolean expected"; + return null; + }; + + /** + * Creates a ResOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ResOneClickGoto} ResOneClickGoto + */ + ResOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResOneClickGoto) return object; + var message = new $root.ResOneClickGoto(); + if (object.step != null) message.step = object.step | 0; + if (object.code != null) message.code = object.code | 0; + if (object.allEnd != null) message.allEnd = Boolean(object.allEnd); + return message; + }; + + /** + * Creates a plain object from a ResOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResOneClickGoto + * @static + * @param {ResOneClickGoto} message ResOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResOneClickGoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.step = 0; + object.code = 0; + object.allEnd = false; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.allEnd != null && message.hasOwnProperty("allEnd")) + object.allEnd = message.allEnd; + return object; + }; + + /** + * Converts this ResOneClickGoto to JSON. + * @function toJSON + * @memberof ResOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ResOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResOneClickGoto + * @function getTypeUrl + * @memberof ResOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResOneClickGoto"; + }; + + return ResOneClickGoto; +})(); + +$root.ReqStopOneClickGoto = (function () { + /** + * Properties of a ReqStopOneClickGoto. + * @exports IReqStopOneClickGoto + * @interface IReqStopOneClickGoto + */ + + /** + * Constructs a new ReqStopOneClickGoto. + * @exports ReqStopOneClickGoto + * @classdesc Represents a ReqStopOneClickGoto. + * @implements IReqStopOneClickGoto + * @constructor + * @param {IReqStopOneClickGoto=} [properties] Properties to set + */ + function ReqStopOneClickGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopOneClickGoto instance using the specified properties. + * @function create + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto=} [properties] Properties to set + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto instance + */ + ReqStopOneClickGoto.create = function create(properties) { + return new ReqStopOneClickGoto(properties); + }; + + /** + * Encodes the specified ReqStopOneClickGoto message. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encode + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopOneClickGoto message, length delimited. Does not implicitly {@link ReqStopOneClickGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {IReqStopOneClickGoto} message ReqStopOneClickGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopOneClickGoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopOneClickGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopOneClickGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopOneClickGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopOneClickGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopOneClickGoto message. + * @function verify + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopOneClickGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopOneClickGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopOneClickGoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopOneClickGoto} ReqStopOneClickGoto + */ + ReqStopOneClickGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopOneClickGoto) return object; + return new $root.ReqStopOneClickGoto(); + }; + + /** + * Creates a plain object from a ReqStopOneClickGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopOneClickGoto + * @static + * @param {ReqStopOneClickGoto} message ReqStopOneClickGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopOneClickGoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopOneClickGoto to JSON. + * @function toJSON + * @memberof ReqStopOneClickGoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopOneClickGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopOneClickGoto + * @function getTypeUrl + * @memberof ReqStopOneClickGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopOneClickGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopOneClickGoto"; + }; + + return ReqStopOneClickGoto; +})(); + +$root.ReqCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqCaptureWideRawLiveStacking. + * @exports IReqCaptureWideRawLiveStacking + * @interface IReqCaptureWideRawLiveStacking + */ + + /** + * Constructs a new ReqCaptureWideRawLiveStacking. + * @exports ReqCaptureWideRawLiveStacking + * @classdesc Represents a ReqCaptureWideRawLiveStacking. + * @implements IReqCaptureWideRawLiveStacking + * @constructor + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking instance + */ + ReqCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqCaptureWideRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {IReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideRawLiveStacking} ReqCaptureWideRawLiveStacking + */ + ReqCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideRawLiveStacking) return object; + return new $root.ReqCaptureWideRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {ReqCaptureWideRawLiveStacking} message ReqCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideRawLiveStacking"; + }; + + return ReqCaptureWideRawLiveStacking; +})(); + +$root.ReqStopCaptureWideRawLiveStacking = (function () { + /** + * Properties of a ReqStopCaptureWideRawLiveStacking. + * @exports IReqStopCaptureWideRawLiveStacking + * @interface IReqStopCaptureWideRawLiveStacking + */ + + /** + * Constructs a new ReqStopCaptureWideRawLiveStacking. + * @exports ReqStopCaptureWideRawLiveStacking + * @classdesc Represents a ReqStopCaptureWideRawLiveStacking. + * @implements IReqStopCaptureWideRawLiveStacking + * @constructor + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + */ + function ReqStopCaptureWideRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureWideRawLiveStacking instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking=} [properties] Properties to set + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking instance + */ + ReqStopCaptureWideRawLiveStacking.create = function create(properties) { + return new ReqStopCaptureWideRawLiveStacking(properties); + }; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureWideRawLiveStacking message, length delimited. Does not implicitly {@link ReqStopCaptureWideRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {IReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideRawLiveStacking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureWideRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureWideRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideRawLiveStacking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureWideRawLiveStacking message. + * @function verify + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureWideRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideRawLiveStacking} ReqStopCaptureWideRawLiveStacking + */ + ReqStopCaptureWideRawLiveStacking.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopCaptureWideRawLiveStacking) + return object; + return new $root.ReqStopCaptureWideRawLiveStacking(); + }; + + /** + * Creates a plain object from a ReqStopCaptureWideRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {ReqStopCaptureWideRawLiveStacking} message ReqStopCaptureWideRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideRawLiveStacking.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureWideRawLiveStacking to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureWideRawLiveStacking + * @function getTypeUrl + * @memberof ReqStopCaptureWideRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideRawLiveStacking"; + }; + + return ReqStopCaptureWideRawLiveStacking; +})(); + +$root.ReqStartEqSolving = (function () { + /** + * Properties of a ReqStartEqSolving. + * @exports IReqStartEqSolving + * @interface IReqStartEqSolving + * @property {number|null} [lon] ReqStartEqSolving lon + * @property {number|null} [lat] ReqStartEqSolving lat + */ + + /** + * Constructs a new ReqStartEqSolving. + * @exports ReqStartEqSolving + * @classdesc Represents a ReqStartEqSolving. + * @implements IReqStartEqSolving + * @constructor + * @param {IReqStartEqSolving=} [properties] Properties to set + */ + function ReqStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartEqSolving lon. + * @member {number} lon + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lon = 0; + + /** + * ReqStartEqSolving lat. + * @member {number} lat + * @memberof ReqStartEqSolving + * @instance + */ + ReqStartEqSolving.prototype.lat = 0; + + /** + * Creates a new ReqStartEqSolving instance using the specified properties. + * @function create + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving=} [properties] Properties to set + * @returns {ReqStartEqSolving} ReqStartEqSolving instance + */ + ReqStartEqSolving.create = function create(properties) { + return new ReqStartEqSolving(properties); + }; + + /** + * Encodes the specified ReqStartEqSolving message. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.lon != null && Object.hasOwnProperty.call(message, "lon")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.lon); + if (message.lat != null && Object.hasOwnProperty.call(message, "lat")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.lat); + return writer; + }; + + /** + * Encodes the specified ReqStartEqSolving message, length delimited. Does not implicitly {@link ReqStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {IReqStartEqSolving} message ReqStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartEqSolving.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lon = reader.double(); + break; + } + case 2: { + message.lat = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartEqSolving} ReqStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartEqSolving message. + * @function verify + * @memberof ReqStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lon != null && message.hasOwnProperty("lon")) + if (typeof message.lon !== "number") return "lon: number expected"; + if (message.lat != null && message.hasOwnProperty("lat")) + if (typeof message.lat !== "number") return "lat: number expected"; + return null; + }; + + /** + * Creates a ReqStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStartEqSolving} ReqStartEqSolving + */ + ReqStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartEqSolving) return object; + var message = new $root.ReqStartEqSolving(); + if (object.lon != null) message.lon = Number(object.lon); + if (object.lat != null) message.lat = Number(object.lat); + return message; + }; + + /** + * Creates a plain object from a ReqStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartEqSolving + * @static + * @param {ReqStartEqSolving} message ReqStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartEqSolving.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.lon = 0; + object.lat = 0; + } + if (message.lon != null && message.hasOwnProperty("lon")) + object.lon = + options.json && !isFinite(message.lon) + ? String(message.lon) + : message.lon; + if (message.lat != null && message.hasOwnProperty("lat")) + object.lat = + options.json && !isFinite(message.lat) + ? String(message.lat) + : message.lat; + return object; + }; + + /** + * Converts this ReqStartEqSolving to JSON. + * @function toJSON + * @memberof ReqStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartEqSolving + * @function getTypeUrl + * @memberof ReqStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartEqSolving"; + }; + + return ReqStartEqSolving; +})(); + +$root.ResStartEqSolving = (function () { + /** + * Properties of a ResStartEqSolving. + * @exports IResStartEqSolving + * @interface IResStartEqSolving + * @property {number|null} [aziErr] ResStartEqSolving aziErr + * @property {number|null} [altErr] ResStartEqSolving altErr + * @property {number|null} [code] ResStartEqSolving code + */ + + /** + * Constructs a new ResStartEqSolving. + * @exports ResStartEqSolving + * @classdesc Represents a ResStartEqSolving. + * @implements IResStartEqSolving + * @constructor + * @param {IResStartEqSolving=} [properties] Properties to set + */ + function ResStartEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResStartEqSolving aziErr. + * @member {number} aziErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.aziErr = 0; + + /** + * ResStartEqSolving altErr. + * @member {number} altErr + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.altErr = 0; + + /** + * ResStartEqSolving code. + * @member {number} code + * @memberof ResStartEqSolving + * @instance + */ + ResStartEqSolving.prototype.code = 0; + + /** + * Creates a new ResStartEqSolving instance using the specified properties. + * @function create + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving=} [properties] Properties to set + * @returns {ResStartEqSolving} ResStartEqSolving instance + */ + ResStartEqSolving.create = function create(properties) { + return new ResStartEqSolving(properties); + }; + + /** + * Encodes the specified ResStartEqSolving message. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encode + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.aziErr != null && Object.hasOwnProperty.call(message, "aziErr")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.aziErr); + if (message.altErr != null && Object.hasOwnProperty.call(message, "altErr")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.altErr); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResStartEqSolving message, length delimited. Does not implicitly {@link ResStartEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {IResStartEqSolving} message ResStartEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResStartEqSolving.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResStartEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.aziErr = reader.double(); + break; + } + case 2: { + message.altErr = reader.double(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResStartEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResStartEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResStartEqSolving} ResStartEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResStartEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResStartEqSolving message. + * @function verify + * @memberof ResStartEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResStartEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + if (typeof message.aziErr !== "number") return "aziErr: number expected"; + if (message.altErr != null && message.hasOwnProperty("altErr")) + if (typeof message.altErr !== "number") return "altErr: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResStartEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResStartEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ResStartEqSolving} ResStartEqSolving + */ + ResStartEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ResStartEqSolving) return object; + var message = new $root.ResStartEqSolving(); + if (object.aziErr != null) message.aziErr = Number(object.aziErr); + if (object.altErr != null) message.altErr = Number(object.altErr); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResStartEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ResStartEqSolving + * @static + * @param {ResStartEqSolving} message ResStartEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResStartEqSolving.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.aziErr = 0; + object.altErr = 0; + object.code = 0; + } + if (message.aziErr != null && message.hasOwnProperty("aziErr")) + object.aziErr = + options.json && !isFinite(message.aziErr) + ? String(message.aziErr) + : message.aziErr; + if (message.altErr != null && message.hasOwnProperty("altErr")) + object.altErr = + options.json && !isFinite(message.altErr) + ? String(message.altErr) + : message.altErr; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResStartEqSolving to JSON. + * @function toJSON + * @memberof ResStartEqSolving + * @instance + * @returns {Object.} JSON object + */ + ResStartEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResStartEqSolving + * @function getTypeUrl + * @memberof ResStartEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResStartEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResStartEqSolving"; + }; + + return ResStartEqSolving; +})(); + +$root.ReqStopEqSolving = (function () { + /** + * Properties of a ReqStopEqSolving. + * @exports IReqStopEqSolving + * @interface IReqStopEqSolving + */ + + /** + * Constructs a new ReqStopEqSolving. + * @exports ReqStopEqSolving + * @classdesc Represents a ReqStopEqSolving. + * @implements IReqStopEqSolving + * @constructor + * @param {IReqStopEqSolving=} [properties] Properties to set + */ + function ReqStopEqSolving(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopEqSolving instance using the specified properties. + * @function create + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving=} [properties] Properties to set + * @returns {ReqStopEqSolving} ReqStopEqSolving instance + */ + ReqStopEqSolving.create = function create(properties) { + return new ReqStopEqSolving(properties); + }; + + /** + * Encodes the specified ReqStopEqSolving message. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encode + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopEqSolving message, length delimited. Does not implicitly {@link ReqStopEqSolving.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {IReqStopEqSolving} message ReqStopEqSolving message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopEqSolving.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer. + * @function decode + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopEqSolving(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopEqSolving message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopEqSolving + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopEqSolving} ReqStopEqSolving + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopEqSolving.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopEqSolving message. + * @function verify + * @memberof ReqStopEqSolving + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopEqSolving.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopEqSolving message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopEqSolving + * @static + * @param {Object.} object Plain object + * @returns {ReqStopEqSolving} ReqStopEqSolving + */ + ReqStopEqSolving.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopEqSolving) return object; + return new $root.ReqStopEqSolving(); + }; + + /** + * Creates a plain object from a ReqStopEqSolving message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopEqSolving + * @static + * @param {ReqStopEqSolving} message ReqStopEqSolving + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopEqSolving.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopEqSolving to JSON. + * @function toJSON + * @memberof ReqStopEqSolving + * @instance + * @returns {Object.} JSON object + */ + ReqStopEqSolving.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopEqSolving + * @function getTypeUrl + * @memberof ReqStopEqSolving + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopEqSolving.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopEqSolving"; + }; + + return ReqStopEqSolving; +})(); + +$root.ReqCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqCaptureWideDarkFrameWithParam. + * @exports IReqCaptureWideDarkFrameWithParam + * @interface IReqCaptureWideDarkFrameWithParam + * @property {number|null} [expIndex] ReqCaptureWideDarkFrameWithParam expIndex + * @property {number|null} [gainIndex] ReqCaptureWideDarkFrameWithParam gainIndex + * @property {number|null} [binIndex] ReqCaptureWideDarkFrameWithParam binIndex + * @property {number|null} [capSize] ReqCaptureWideDarkFrameWithParam capSize + */ + + /** + * Constructs a new ReqCaptureWideDarkFrameWithParam. + * @exports ReqCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqCaptureWideDarkFrameWithParam. + * @implements IReqCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCaptureWideDarkFrameWithParam expIndex. + * @member {number} expIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.expIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam gainIndex. + * @member {number} gainIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.gainIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam binIndex. + * @member {number} binIndex + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.binIndex = 0; + + /** + * ReqCaptureWideDarkFrameWithParam capSize. + * @member {number} capSize + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + */ + ReqCaptureWideDarkFrameWithParam.prototype.capSize = 0; + + /** + * Creates a new ReqCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam instance + */ + ReqCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqCaptureWideDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.capSize != null && + Object.hasOwnProperty.call(message, "capSize") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.capSize); + return writer; + }; + + /** + * Encodes the specified ReqCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {IReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCaptureWideDarkFrameWithParam.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.capSize = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCaptureWideDarkFrameWithParam.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.capSize != null && message.hasOwnProperty("capSize")) + if (!$util.isInteger(message.capSize)) return "capSize: integer expected"; + return null; + }; + + /** + * Creates a ReqCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqCaptureWideDarkFrameWithParam} ReqCaptureWideDarkFrameWithParam + */ + ReqCaptureWideDarkFrameWithParam.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCaptureWideDarkFrameWithParam) return object; + var message = new $root.ReqCaptureWideDarkFrameWithParam(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.capSize != null) message.capSize = object.capSize | 0; + return message; + }; + + /** + * Creates a plain object from a ReqCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {ReqCaptureWideDarkFrameWithParam} message ReqCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCaptureWideDarkFrameWithParam.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.capSize = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.capSize != null && message.hasOwnProperty("capSize")) + object.capSize = message.capSize; + return object; + }; + + /** + * Converts this ReqCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCaptureWideDarkFrameWithParam"; + }; + + return ReqCaptureWideDarkFrameWithParam; +})(); + +$root.ReqStopCaptureWideDarkFrameWithParam = (function () { + /** + * Properties of a ReqStopCaptureWideDarkFrameWithParam. + * @exports IReqStopCaptureWideDarkFrameWithParam + * @interface IReqStopCaptureWideDarkFrameWithParam + */ + + /** + * Constructs a new ReqStopCaptureWideDarkFrameWithParam. + * @exports ReqStopCaptureWideDarkFrameWithParam + * @classdesc Represents a ReqStopCaptureWideDarkFrameWithParam. + * @implements IReqStopCaptureWideDarkFrameWithParam + * @constructor + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + */ + function ReqStopCaptureWideDarkFrameWithParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopCaptureWideDarkFrameWithParam instance using the specified properties. + * @function create + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam=} [properties] Properties to set + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam instance + */ + ReqStopCaptureWideDarkFrameWithParam.create = function create(properties) { + return new ReqStopCaptureWideDarkFrameWithParam(properties); + }; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopCaptureWideDarkFrameWithParam message, length delimited. Does not implicitly {@link ReqStopCaptureWideDarkFrameWithParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {IReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopCaptureWideDarkFrameWithParam.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer. + * @function decode + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopCaptureWideDarkFrameWithParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopCaptureWideDarkFrameWithParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopCaptureWideDarkFrameWithParam.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopCaptureWideDarkFrameWithParam message. + * @function verify + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopCaptureWideDarkFrameWithParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopCaptureWideDarkFrameWithParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {Object.} object Plain object + * @returns {ReqStopCaptureWideDarkFrameWithParam} ReqStopCaptureWideDarkFrameWithParam + */ + ReqStopCaptureWideDarkFrameWithParam.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ReqStopCaptureWideDarkFrameWithParam) + return object; + return new $root.ReqStopCaptureWideDarkFrameWithParam(); + }; + + /** + * Creates a plain object from a ReqStopCaptureWideDarkFrameWithParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {ReqStopCaptureWideDarkFrameWithParam} message ReqStopCaptureWideDarkFrameWithParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopCaptureWideDarkFrameWithParam.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopCaptureWideDarkFrameWithParam to JSON. + * @function toJSON + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @instance + * @returns {Object.} JSON object + */ + ReqStopCaptureWideDarkFrameWithParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopCaptureWideDarkFrameWithParam + * @function getTypeUrl + * @memberof ReqStopCaptureWideDarkFrameWithParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopCaptureWideDarkFrameWithParam.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopCaptureWideDarkFrameWithParam"; + }; + + return ReqStopCaptureWideDarkFrameWithParam; +})(); + +$root.ReqGetWideDarkFrameList = (function () { + /** + * Properties of a ReqGetWideDarkFrameList. + * @exports IReqGetWideDarkFrameList + * @interface IReqGetWideDarkFrameList + */ + + /** + * Constructs a new ReqGetWideDarkFrameList. + * @exports ReqGetWideDarkFrameList + * @classdesc Represents a ReqGetWideDarkFrameList. + * @implements IReqGetWideDarkFrameList + * @constructor + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + */ + function ReqGetWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList=} [properties] Properties to set + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList instance + */ + ReqGetWideDarkFrameList.create = function create(properties) { + return new ReqGetWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqGetWideDarkFrameList message. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWideDarkFrameList message, length delimited. Does not implicitly {@link ReqGetWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {IReqGetWideDarkFrameList} message ReqGetWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWideDarkFrameList message. + * @function verify + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWideDarkFrameList} ReqGetWideDarkFrameList + */ + ReqGetWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWideDarkFrameList) return object; + return new $root.ReqGetWideDarkFrameList(); + }; + + /** + * Creates a plain object from a ReqGetWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWideDarkFrameList + * @static + * @param {ReqGetWideDarkFrameList} message ReqGetWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWideDarkFrameList.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqGetWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqGetWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWideDarkFrameList + * @function getTypeUrl + * @memberof ReqGetWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWideDarkFrameList"; + }; + + return ReqGetWideDarkFrameList; +})(); + +$root.ResGetWideDarkFrameInfo = (function () { + /** + * Properties of a ResGetWideDarkFrameInfo. + * @exports IResGetWideDarkFrameInfo + * @interface IResGetWideDarkFrameInfo + * @property {number|null} [expIndex] ResGetWideDarkFrameInfo expIndex + * @property {number|null} [gainIndex] ResGetWideDarkFrameInfo gainIndex + * @property {number|null} [binIndex] ResGetWideDarkFrameInfo binIndex + * @property {string|null} [expName] ResGetWideDarkFrameInfo expName + * @property {string|null} [gainName] ResGetWideDarkFrameInfo gainName + * @property {string|null} [binName] ResGetWideDarkFrameInfo binName + * @property {number|null} [temperature] ResGetWideDarkFrameInfo temperature + */ + + /** + * Constructs a new ResGetWideDarkFrameInfo. + * @exports ResGetWideDarkFrameInfo + * @classdesc Represents a ResGetWideDarkFrameInfo. + * @implements IResGetWideDarkFrameInfo + * @constructor + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetWideDarkFrameInfo expIndex. + * @member {number} expIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expIndex = 0; + + /** + * ResGetWideDarkFrameInfo gainIndex. + * @member {number} gainIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainIndex = 0; + + /** + * ResGetWideDarkFrameInfo binIndex. + * @member {number} binIndex + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binIndex = 0; + + /** + * ResGetWideDarkFrameInfo expName. + * @member {string} expName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.expName = ""; + + /** + * ResGetWideDarkFrameInfo gainName. + * @member {string} gainName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.gainName = ""; + + /** + * ResGetWideDarkFrameInfo binName. + * @member {string} binName + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.binName = ""; + + /** + * ResGetWideDarkFrameInfo temperature. + * @member {number} temperature + * @memberof ResGetWideDarkFrameInfo + * @instance + */ + ResGetWideDarkFrameInfo.prototype.temperature = 0; + + /** + * Creates a new ResGetWideDarkFrameInfo instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo instance + */ + ResGetWideDarkFrameInfo.create = function create(properties) { + return new ResGetWideDarkFrameInfo(properties); + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + if ( + message.expName != null && + Object.hasOwnProperty.call(message, "expName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.expName); + if ( + message.gainName != null && + Object.hasOwnProperty.call(message, "gainName") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.gainName); + if ( + message.binName != null && + Object.hasOwnProperty.call(message, "binName") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.binName); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfo message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {IResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetWideDarkFrameInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + case 4: { + message.expName = reader.string(); + break; + } + case 5: { + message.gainName = reader.string(); + break; + } + case 6: { + message.binName = reader.string(); + break; + } + case 7: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetWideDarkFrameInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetWideDarkFrameInfo message. + * @function verify + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + if (message.expName != null && message.hasOwnProperty("expName")) + if (!$util.isString(message.expName)) return "expName: string expected"; + if (message.gainName != null && message.hasOwnProperty("gainName")) + if (!$util.isString(message.gainName)) return "gainName: string expected"; + if (message.binName != null && message.hasOwnProperty("binName")) + if (!$util.isString(message.binName)) return "binName: string expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResGetWideDarkFrameInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfo} ResGetWideDarkFrameInfo + */ + ResGetWideDarkFrameInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfo) return object; + var message = new $root.ResGetWideDarkFrameInfo(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + if (object.expName != null) message.expName = String(object.expName); + if (object.gainName != null) message.gainName = String(object.gainName); + if (object.binName != null) message.binName = String(object.binName); + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {ResGetWideDarkFrameInfo} message ResGetWideDarkFrameInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + object.expName = ""; + object.gainName = ""; + object.binName = ""; + object.temperature = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + if (message.expName != null && message.hasOwnProperty("expName")) + object.expName = message.expName; + if (message.gainName != null && message.hasOwnProperty("gainName")) + object.gainName = message.gainName; + if (message.binName != null && message.hasOwnProperty("binName")) + object.binName = message.binName; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResGetWideDarkFrameInfo to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfo + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfo + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfo"; + }; + + return ResGetWideDarkFrameInfo; +})(); + +$root.ResGetWideDarkFrameInfoList = (function () { + /** + * Properties of a ResGetWideDarkFrameInfoList. + * @exports IResGetWideDarkFrameInfoList + * @interface IResGetWideDarkFrameInfoList + * @property {number|null} [code] ResGetWideDarkFrameInfoList code + * @property {Array.|null} [results] ResGetWideDarkFrameInfoList results + */ + + /** + * Constructs a new ResGetWideDarkFrameInfoList. + * @exports ResGetWideDarkFrameInfoList + * @classdesc Represents a ResGetWideDarkFrameInfoList. + * @implements IResGetWideDarkFrameInfoList + * @constructor + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + */ + function ResGetWideDarkFrameInfoList(properties) { + this.results = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetWideDarkFrameInfoList code. + * @member {number} code + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.code = 0; + + /** + * ResGetWideDarkFrameInfoList results. + * @member {Array.} results + * @memberof ResGetWideDarkFrameInfoList + * @instance + */ + ResGetWideDarkFrameInfoList.prototype.results = $util.emptyArray; + + /** + * Creates a new ResGetWideDarkFrameInfoList instance using the specified properties. + * @function create + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList=} [properties] Properties to set + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList instance + */ + ResGetWideDarkFrameInfoList.create = function create(properties) { + return new ResGetWideDarkFrameInfoList(properties); + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.results != null && message.results.length) + for (var i = 0; i < message.results.length; ++i) + $root.ResGetDarkFrameInfo.encode( + message.results[i], + writer.uint32(/* id 2, wireType 2 =*/ 18).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResGetWideDarkFrameInfoList message, length delimited. Does not implicitly {@link ResGetWideDarkFrameInfoList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {IResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetWideDarkFrameInfoList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer. + * @function decode + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetWideDarkFrameInfoList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + if (!(message.results && message.results.length)) + message.results = []; + message.results.push( + $root.ResGetDarkFrameInfo.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetWideDarkFrameInfoList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetWideDarkFrameInfoList.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetWideDarkFrameInfoList message. + * @function verify + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetWideDarkFrameInfoList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.results != null && message.hasOwnProperty("results")) { + if (!Array.isArray(message.results)) return "results: array expected"; + for (var i = 0; i < message.results.length; ++i) { + var error = $root.ResGetDarkFrameInfo.verify(message.results[i]); + if (error) return "results." + error; + } + } + return null; + }; + + /** + * Creates a ResGetWideDarkFrameInfoList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {Object.} object Plain object + * @returns {ResGetWideDarkFrameInfoList} ResGetWideDarkFrameInfoList + */ + ResGetWideDarkFrameInfoList.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetWideDarkFrameInfoList) return object; + var message = new $root.ResGetWideDarkFrameInfoList(); + if (object.code != null) message.code = object.code | 0; + if (object.results) { + if (!Array.isArray(object.results)) + throw TypeError(".ResGetWideDarkFrameInfoList.results: array expected"); + message.results = []; + for (var i = 0; i < object.results.length; ++i) { + if (typeof object.results[i] !== "object") + throw TypeError( + ".ResGetWideDarkFrameInfoList.results: object expected" + ); + message.results[i] = $root.ResGetDarkFrameInfo.fromObject( + object.results[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ResGetWideDarkFrameInfoList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {ResGetWideDarkFrameInfoList} message ResGetWideDarkFrameInfoList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetWideDarkFrameInfoList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.results = []; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.results && message.results.length) { + object.results = []; + for (var j = 0; j < message.results.length; ++j) + object.results[j] = $root.ResGetDarkFrameInfo.toObject( + message.results[j], + options + ); + } + return object; + }; + + /** + * Converts this ResGetWideDarkFrameInfoList to JSON. + * @function toJSON + * @memberof ResGetWideDarkFrameInfoList + * @instance + * @returns {Object.} JSON object + */ + ResGetWideDarkFrameInfoList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetWideDarkFrameInfoList + * @function getTypeUrl + * @memberof ResGetWideDarkFrameInfoList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetWideDarkFrameInfoList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetWideDarkFrameInfoList"; + }; + + return ResGetWideDarkFrameInfoList; +})(); + +$root.ReqDelWideDarkFrame = (function () { + /** + * Properties of a ReqDelWideDarkFrame. + * @exports IReqDelWideDarkFrame + * @interface IReqDelWideDarkFrame + * @property {number|null} [expIndex] ReqDelWideDarkFrame expIndex + * @property {number|null} [gainIndex] ReqDelWideDarkFrame gainIndex + * @property {number|null} [binIndex] ReqDelWideDarkFrame binIndex + */ + + /** + * Constructs a new ReqDelWideDarkFrame. + * @exports ReqDelWideDarkFrame + * @classdesc Represents a ReqDelWideDarkFrame. + * @implements IReqDelWideDarkFrame + * @constructor + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + */ + function ReqDelWideDarkFrame(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelWideDarkFrame expIndex. + * @member {number} expIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.expIndex = 0; + + /** + * ReqDelWideDarkFrame gainIndex. + * @member {number} gainIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.gainIndex = 0; + + /** + * ReqDelWideDarkFrame binIndex. + * @member {number} binIndex + * @memberof ReqDelWideDarkFrame + * @instance + */ + ReqDelWideDarkFrame.prototype.binIndex = 0; + + /** + * Creates a new ReqDelWideDarkFrame instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame=} [properties] Properties to set + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame instance + */ + ReqDelWideDarkFrame.create = function create(properties) { + return new ReqDelWideDarkFrame(properties); + }; + + /** + * Encodes the specified ReqDelWideDarkFrame message. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.gainIndex); + if ( + message.binIndex != null && + Object.hasOwnProperty.call(message, "binIndex") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.binIndex); + return writer; + }; + + /** + * Encodes the specified ReqDelWideDarkFrame message, length delimited. Does not implicitly {@link ReqDelWideDarkFrame.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {IReqDelWideDarkFrame} message ReqDelWideDarkFrame message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrame.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelWideDarkFrame(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expIndex = reader.int32(); + break; + } + case 2: { + message.gainIndex = reader.int32(); + break; + } + case 3: { + message.binIndex = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelWideDarkFrame message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrame + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrame.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelWideDarkFrame message. + * @function verify + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrame.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + if (!$util.isInteger(message.binIndex)) + return "binIndex: integer expected"; + return null; + }; + + /** + * Creates a ReqDelWideDarkFrame message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrame} ReqDelWideDarkFrame + */ + ReqDelWideDarkFrame.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrame) return object; + var message = new $root.ReqDelWideDarkFrame(); + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.binIndex != null) message.binIndex = object.binIndex | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDelWideDarkFrame message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrame + * @static + * @param {ReqDelWideDarkFrame} message ReqDelWideDarkFrame + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrame.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expIndex = 0; + object.gainIndex = 0; + object.binIndex = 0; + } + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.binIndex != null && message.hasOwnProperty("binIndex")) + object.binIndex = message.binIndex; + return object; + }; + + /** + * Converts this ReqDelWideDarkFrame to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrame + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrame.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelWideDarkFrame + * @function getTypeUrl + * @memberof ReqDelWideDarkFrame + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrame.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrame"; + }; + + return ReqDelWideDarkFrame; +})(); + +$root.ReqDelWideDarkFrameList = (function () { + /** + * Properties of a ReqDelWideDarkFrameList. + * @exports IReqDelWideDarkFrameList + * @interface IReqDelWideDarkFrameList + * @property {Array.|null} [darkList] ReqDelWideDarkFrameList darkList + */ + + /** + * Constructs a new ReqDelWideDarkFrameList. + * @exports ReqDelWideDarkFrameList + * @classdesc Represents a ReqDelWideDarkFrameList. + * @implements IReqDelWideDarkFrameList + * @constructor + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + */ + function ReqDelWideDarkFrameList(properties) { + this.darkList = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDelWideDarkFrameList darkList. + * @member {Array.} darkList + * @memberof ReqDelWideDarkFrameList + * @instance + */ + ReqDelWideDarkFrameList.prototype.darkList = $util.emptyArray; + + /** + * Creates a new ReqDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList=} [properties] Properties to set + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList instance + */ + ReqDelWideDarkFrameList.create = function create(properties) { + return new ReqDelWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ReqDelWideDarkFrameList message. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.darkList != null && message.darkList.length) + for (var i = 0; i < message.darkList.length; ++i) + $root.ReqDelDarkFrame.encode( + message.darkList[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqDelWideDarkFrameList message, length delimited. Does not implicitly {@link ReqDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {IReqDelWideDarkFrameList} message ReqDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDelWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.darkList && message.darkList.length)) + message.darkList = []; + message.darkList.push( + $root.ReqDelDarkFrame.decode(reader, reader.uint32()) + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDelWideDarkFrameList message. + * @function verify + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.darkList != null && message.hasOwnProperty("darkList")) { + if (!Array.isArray(message.darkList)) return "darkList: array expected"; + for (var i = 0; i < message.darkList.length; ++i) { + var error = $root.ReqDelDarkFrame.verify(message.darkList[i]); + if (error) return "darkList." + error; + } + } + return null; + }; + + /** + * Creates a ReqDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ReqDelWideDarkFrameList} ReqDelWideDarkFrameList + */ + ReqDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDelWideDarkFrameList) return object; + var message = new $root.ReqDelWideDarkFrameList(); + if (object.darkList) { + if (!Array.isArray(object.darkList)) + throw TypeError(".ReqDelWideDarkFrameList.darkList: array expected"); + message.darkList = []; + for (var i = 0; i < object.darkList.length; ++i) { + if (typeof object.darkList[i] !== "object") + throw TypeError(".ReqDelWideDarkFrameList.darkList: object expected"); + message.darkList[i] = $root.ReqDelDarkFrame.fromObject( + object.darkList[i] + ); + } + } + return message; + }; + + /** + * Creates a plain object from a ReqDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDelWideDarkFrameList + * @static + * @param {ReqDelWideDarkFrameList} message ReqDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.darkList = []; + if (message.darkList && message.darkList.length) { + object.darkList = []; + for (var j = 0; j < message.darkList.length; ++j) + object.darkList[j] = $root.ReqDelDarkFrame.toObject( + message.darkList[j], + options + ); + } + return object; + }; + + /** + * Converts this ReqDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ReqDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ReqDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDelWideDarkFrameList + * @function getTypeUrl + * @memberof ReqDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDelWideDarkFrameList"; + }; + + return ReqDelWideDarkFrameList; +})(); + +$root.ResDelWideDarkFrameList = (function () { + /** + * Properties of a ResDelWideDarkFrameList. + * @exports IResDelWideDarkFrameList + * @interface IResDelWideDarkFrameList + * @property {number|null} [code] ResDelWideDarkFrameList code + */ + + /** + * Constructs a new ResDelWideDarkFrameList. + * @exports ResDelWideDarkFrameList + * @classdesc Represents a ResDelWideDarkFrameList. + * @implements IResDelWideDarkFrameList + * @constructor + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + */ + function ResDelWideDarkFrameList(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDelWideDarkFrameList code. + * @member {number} code + * @memberof ResDelWideDarkFrameList + * @instance + */ + ResDelWideDarkFrameList.prototype.code = 0; + + /** + * Creates a new ResDelWideDarkFrameList instance using the specified properties. + * @function create + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList=} [properties] Properties to set + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList instance + */ + ResDelWideDarkFrameList.create = function create(properties) { + return new ResDelWideDarkFrameList(properties); + }; + + /** + * Encodes the specified ResDelWideDarkFrameList message. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encode + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDelWideDarkFrameList message, length delimited. Does not implicitly {@link ResDelWideDarkFrameList.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {IResDelWideDarkFrameList} message ResDelWideDarkFrameList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDelWideDarkFrameList.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer. + * @function decode + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDelWideDarkFrameList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDelWideDarkFrameList message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDelWideDarkFrameList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDelWideDarkFrameList.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDelWideDarkFrameList message. + * @function verify + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDelWideDarkFrameList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDelWideDarkFrameList message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {Object.} object Plain object + * @returns {ResDelWideDarkFrameList} ResDelWideDarkFrameList + */ + ResDelWideDarkFrameList.fromObject = function fromObject(object) { + if (object instanceof $root.ResDelWideDarkFrameList) return object; + var message = new $root.ResDelWideDarkFrameList(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDelWideDarkFrameList message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDelWideDarkFrameList + * @static + * @param {ResDelWideDarkFrameList} message ResDelWideDarkFrameList + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDelWideDarkFrameList.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDelWideDarkFrameList to JSON. + * @function toJSON + * @memberof ResDelWideDarkFrameList + * @instance + * @returns {Object.} JSON object + */ + ResDelWideDarkFrameList.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDelWideDarkFrameList + * @function getTypeUrl + * @memberof ResDelWideDarkFrameList + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDelWideDarkFrameList.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDelWideDarkFrameList"; + }; + + return ResDelWideDarkFrameList; +})(); + +/** + * WsMajorVersion enum. + * @exports WsMajorVersion + * @enum {number} + * @property {number} WS_MAJOR_VERSION_UNKNOWN=0 WS_MAJOR_VERSION_UNKNOWN value + * @property {number} WS_MAJOR_VERSION_NUMBER=1 WS_MAJOR_VERSION_NUMBER value + */ +$root.WsMajorVersion = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "WS_MAJOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[1] = "WS_MAJOR_VERSION_NUMBER")] = 1; + return values; +})(); + +/** + * WsMinorVersion enum. + * @exports WsMinorVersion + * @enum {number} + * @property {number} WS_MINOR_VERSION_UNKNOWN=0 WS_MINOR_VERSION_UNKNOWN value + * @property {number} WS_MINOR_VERSION_NUMBER=9 WS_MINOR_VERSION_NUMBER value + */ +$root.WsMinorVersion = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "WS_MINOR_VERSION_UNKNOWN")] = 0; + values[(valuesById[9] = "WS_MINOR_VERSION_NUMBER")] = 9; + return values; +})(); + +$root.WsPacket = (function () { + /** + * Properties of a WsPacket. + * @exports IWsPacket + * @interface IWsPacket + * @property {number|null} [majorVersion] WsPacket majorVersion + * @property {number|null} [minorVersion] WsPacket minorVersion + * @property {number|null} [deviceId] WsPacket deviceId + * @property {number|null} [moduleId] WsPacket moduleId + * @property {number|null} [cmd] WsPacket cmd + * @property {number|null} [type] WsPacket type + * @property {Uint8Array|null} [data] WsPacket data + * @property {string|null} [clientId] WsPacket clientId + */ + + /** + * Constructs a new WsPacket. + * @exports WsPacket + * @classdesc Represents a WsPacket. + * @implements IWsPacket + * @constructor + * @param {IWsPacket=} [properties] Properties to set + */ + function WsPacket(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * WsPacket majorVersion. + * @member {number} majorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.majorVersion = 0; + + /** + * WsPacket minorVersion. + * @member {number} minorVersion + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.minorVersion = 0; + + /** + * WsPacket deviceId. + * @member {number} deviceId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.deviceId = 0; + + /** + * WsPacket moduleId. + * @member {number} moduleId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.moduleId = 0; + + /** + * WsPacket cmd. + * @member {number} cmd + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.cmd = 0; + + /** + * WsPacket type. + * @member {number} type + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.type = 0; + + /** + * WsPacket data. + * @member {Uint8Array} data + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.data = $util.newBuffer([]); + + /** + * WsPacket clientId. + * @member {string} clientId + * @memberof WsPacket + * @instance + */ + WsPacket.prototype.clientId = ""; + + /** + * Creates a new WsPacket instance using the specified properties. + * @function create + * @memberof WsPacket + * @static + * @param {IWsPacket=} [properties] Properties to set + * @returns {WsPacket} WsPacket instance + */ + WsPacket.create = function create(properties) { + return new WsPacket(properties); + }; + + /** + * Encodes the specified WsPacket message. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encode + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.majorVersion != null && + Object.hasOwnProperty.call(message, "majorVersion") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.majorVersion); + if ( + message.minorVersion != null && + Object.hasOwnProperty.call(message, "minorVersion") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.minorVersion); + if ( + message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.deviceId); + if ( + message.moduleId != null && + Object.hasOwnProperty.call(message, "moduleId") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.moduleId); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.cmd); + if (message.type != null && Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.type); + if (message.data != null && Object.hasOwnProperty.call(message, "data")) + writer.uint32(/* id 7, wireType 2 =*/ 58).bytes(message.data); + if ( + message.clientId != null && + Object.hasOwnProperty.call(message, "clientId") + ) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.clientId); + return writer; + }; + + /** + * Encodes the specified WsPacket message, length delimited. Does not implicitly {@link WsPacket.verify|verify} messages. + * @function encodeDelimited + * @memberof WsPacket + * @static + * @param {IWsPacket} message WsPacket message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WsPacket.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a WsPacket message from the specified reader or buffer. + * @function decode + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.WsPacket(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.majorVersion = reader.uint32(); + break; + } + case 2: { + message.minorVersion = reader.uint32(); + break; + } + case 3: { + message.deviceId = reader.uint32(); + break; + } + case 4: { + message.moduleId = reader.uint32(); + break; + } + case 5: { + message.cmd = reader.uint32(); + break; + } + case 6: { + message.type = reader.uint32(); + break; + } + case 7: { + message.data = reader.bytes(); + break; + } + case 8: { + message.clientId = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a WsPacket message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof WsPacket + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {WsPacket} WsPacket + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WsPacket.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a WsPacket message. + * @function verify + * @memberof WsPacket + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WsPacket.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + if (!$util.isInteger(message.majorVersion)) + return "majorVersion: integer expected"; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + if (!$util.isInteger(message.minorVersion)) + return "minorVersion: integer expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + if (!$util.isInteger(message.moduleId)) + return "moduleId: integer expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.type != null && message.hasOwnProperty("type")) + if (!$util.isInteger(message.type)) return "type: integer expected"; + if (message.data != null && message.hasOwnProperty("data")) + if ( + !( + (message.data && typeof message.data.length === "number") || + $util.isString(message.data) + ) + ) + return "data: buffer expected"; + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) return "clientId: string expected"; + return null; + }; + + /** + * Creates a WsPacket message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof WsPacket + * @static + * @param {Object.} object Plain object + * @returns {WsPacket} WsPacket + */ + WsPacket.fromObject = function fromObject(object) { + if (object instanceof $root.WsPacket) return object; + var message = new $root.WsPacket(); + if (object.majorVersion != null) + message.majorVersion = object.majorVersion >>> 0; + if (object.minorVersion != null) + message.minorVersion = object.minorVersion >>> 0; + if (object.deviceId != null) message.deviceId = object.deviceId >>> 0; + if (object.moduleId != null) message.moduleId = object.moduleId >>> 0; + if (object.cmd != null) message.cmd = object.cmd >>> 0; + if (object.type != null) message.type = object.type >>> 0; + if (object.data != null) + if (typeof object.data === "string") + $util.base64.decode( + object.data, + (message.data = $util.newBuffer($util.base64.length(object.data))), + 0 + ); + else if (object.data.length >= 0) message.data = object.data; + if (object.clientId != null) message.clientId = String(object.clientId); + return message; + }; + + /** + * Creates a plain object from a WsPacket message. Also converts values to other types if specified. + * @function toObject + * @memberof WsPacket + * @static + * @param {WsPacket} message WsPacket + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + WsPacket.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.majorVersion = 0; + object.minorVersion = 0; + object.deviceId = 0; + object.moduleId = 0; + object.cmd = 0; + object.type = 0; + if (options.bytes === String) object.data = ""; + else { + object.data = []; + if (options.bytes !== Array) object.data = $util.newBuffer(object.data); + } + object.clientId = ""; + } + if (message.majorVersion != null && message.hasOwnProperty("majorVersion")) + object.majorVersion = message.majorVersion; + if (message.minorVersion != null && message.hasOwnProperty("minorVersion")) + object.minorVersion = message.minorVersion; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.moduleId != null && message.hasOwnProperty("moduleId")) + object.moduleId = message.moduleId; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.type != null && message.hasOwnProperty("type")) + object.type = message.type; + if (message.data != null && message.hasOwnProperty("data")) + object.data = + options.bytes === String + ? $util.base64.encode(message.data, 0, message.data.length) + : options.bytes === Array + ? Array.prototype.slice.call(message.data) + : message.data; + if (message.clientId != null && message.hasOwnProperty("clientId")) + object.clientId = message.clientId; + return object; + }; + + /** + * Converts this WsPacket to JSON. + * @function toJSON + * @memberof WsPacket + * @instance + * @returns {Object.} JSON object + */ + WsPacket.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for WsPacket + * @function getTypeUrl + * @memberof WsPacket + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WsPacket.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/WsPacket"; + }; + + return WsPacket; +})(); + +$root.ComResponse = (function () { + /** + * Properties of a ComResponse. + * @exports IComResponse + * @interface IComResponse + * @property {number|null} [code] ComResponse code + */ + + /** + * Constructs a new ComResponse. + * @exports ComResponse + * @classdesc Represents a ComResponse. + * @implements IComResponse + * @constructor + * @param {IComResponse=} [properties] Properties to set + */ + function ComResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResponse code. + * @member {number} code + * @memberof ComResponse + * @instance + */ + ComResponse.prototype.code = 0; + + /** + * Creates a new ComResponse instance using the specified properties. + * @function create + * @memberof ComResponse + * @static + * @param {IComResponse=} [properties] Properties to set + * @returns {ComResponse} ComResponse instance + */ + ComResponse.create = function create(properties) { + return new ComResponse(properties); + }; + + /** + * Encodes the specified ComResponse message. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encode + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResponse message, length delimited. Does not implicitly {@link ComResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResponse + * @static + * @param {IComResponse} message ComResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResponse message from the specified reader or buffer. + * @function decode + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResponse} ComResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResponse message. + * @function verify + * @memberof ComResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResponse + * @static + * @param {Object.} object Plain object + * @returns {ComResponse} ComResponse + */ + ComResponse.fromObject = function fromObject(object) { + if (object instanceof $root.ComResponse) return object; + var message = new $root.ComResponse(); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResponse + * @static + * @param {ComResponse} message ComResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResponse.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.code = 0; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResponse to JSON. + * @function toJSON + * @memberof ComResponse + * @instance + * @returns {Object.} JSON object + */ + ComResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResponse + * @function getTypeUrl + * @memberof ComResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResponse"; + }; + + return ComResponse; +})(); + +$root.ComResWithInt = (function () { + /** + * Properties of a ComResWithInt. + * @exports IComResWithInt + * @interface IComResWithInt + * @property {number|null} [value] ComResWithInt value + * @property {number|null} [code] ComResWithInt code + */ + + /** + * Constructs a new ComResWithInt. + * @exports ComResWithInt + * @classdesc Represents a ComResWithInt. + * @implements IComResWithInt + * @constructor + * @param {IComResWithInt=} [properties] Properties to set + */ + function ComResWithInt(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithInt value. + * @member {number} value + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.value = 0; + + /** + * ComResWithInt code. + * @member {number} code + * @memberof ComResWithInt + * @instance + */ + ComResWithInt.prototype.code = 0; + + /** + * Creates a new ComResWithInt instance using the specified properties. + * @function create + * @memberof ComResWithInt + * @static + * @param {IComResWithInt=} [properties] Properties to set + * @returns {ComResWithInt} ComResWithInt instance + */ + ComResWithInt.create = function create(properties) { + return new ComResWithInt(properties); + }; + + /** + * Encodes the specified ComResWithInt message. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encode + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithInt message, length delimited. Does not implicitly {@link ComResWithInt.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithInt + * @static + * @param {IComResWithInt} message ComResWithInt message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithInt.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer. + * @function decode + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithInt(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithInt message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithInt + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithInt} ComResWithInt + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithInt.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithInt message. + * @function verify + * @memberof ComResWithInt + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithInt.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithInt message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithInt + * @static + * @param {Object.} object Plain object + * @returns {ComResWithInt} ComResWithInt + */ + ComResWithInt.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithInt) return object; + var message = new $root.ComResWithInt(); + if (object.value != null) message.value = object.value | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithInt message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithInt + * @static + * @param {ComResWithInt} message ComResWithInt + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithInt.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithInt to JSON. + * @function toJSON + * @memberof ComResWithInt + * @instance + * @returns {Object.} JSON object + */ + ComResWithInt.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithInt + * @function getTypeUrl + * @memberof ComResWithInt + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithInt.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithInt"; + }; + + return ComResWithInt; +})(); + +$root.ComResWithDouble = (function () { + /** + * Properties of a ComResWithDouble. + * @exports IComResWithDouble + * @interface IComResWithDouble + * @property {number|null} [value] ComResWithDouble value + * @property {number|null} [code] ComResWithDouble code + */ + + /** + * Constructs a new ComResWithDouble. + * @exports ComResWithDouble + * @classdesc Represents a ComResWithDouble. + * @implements IComResWithDouble + * @constructor + * @param {IComResWithDouble=} [properties] Properties to set + */ + function ComResWithDouble(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithDouble value. + * @member {number} value + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.value = 0; + + /** + * ComResWithDouble code. + * @member {number} code + * @memberof ComResWithDouble + * @instance + */ + ComResWithDouble.prototype.code = 0; + + /** + * Creates a new ComResWithDouble instance using the specified properties. + * @function create + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble=} [properties] Properties to set + * @returns {ComResWithDouble} ComResWithDouble instance + */ + ComResWithDouble.create = function create(properties) { + return new ComResWithDouble(properties); + }; + + /** + * Encodes the specified ComResWithDouble message. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encode + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithDouble message, length delimited. Does not implicitly {@link ComResWithDouble.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithDouble + * @static + * @param {IComResWithDouble} message ComResWithDouble message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithDouble.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer. + * @function decode + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithDouble(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.double(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithDouble message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithDouble + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithDouble} ComResWithDouble + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithDouble.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithDouble message. + * @function verify + * @memberof ComResWithDouble + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithDouble.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithDouble message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithDouble + * @static + * @param {Object.} object Plain object + * @returns {ComResWithDouble} ComResWithDouble + */ + ComResWithDouble.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithDouble) return object; + var message = new $root.ComResWithDouble(); + if (object.value != null) message.value = Number(object.value); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithDouble message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithDouble + * @static + * @param {ComResWithDouble} message ComResWithDouble + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithDouble.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.value = 0; + object.code = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithDouble to JSON. + * @function toJSON + * @memberof ComResWithDouble + * @instance + * @returns {Object.} JSON object + */ + ComResWithDouble.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithDouble + * @function getTypeUrl + * @memberof ComResWithDouble + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithDouble.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithDouble"; + }; + + return ComResWithDouble; +})(); + +$root.ComResWithString = (function () { + /** + * Properties of a ComResWithString. + * @exports IComResWithString + * @interface IComResWithString + * @property {string|null} [str] ComResWithString str + * @property {number|null} [code] ComResWithString code + */ + + /** + * Constructs a new ComResWithString. + * @exports ComResWithString + * @classdesc Represents a ComResWithString. + * @implements IComResWithString + * @constructor + * @param {IComResWithString=} [properties] Properties to set + */ + function ComResWithString(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ComResWithString str. + * @member {string} str + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.str = ""; + + /** + * ComResWithString code. + * @member {number} code + * @memberof ComResWithString + * @instance + */ + ComResWithString.prototype.code = 0; + + /** + * Creates a new ComResWithString instance using the specified properties. + * @function create + * @memberof ComResWithString + * @static + * @param {IComResWithString=} [properties] Properties to set + * @returns {ComResWithString} ComResWithString instance + */ + ComResWithString.create = function create(properties) { + return new ComResWithString(properties); + }; + + /** + * Encodes the specified ComResWithString message. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encode + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.str != null && Object.hasOwnProperty.call(message, "str")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.str); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ComResWithString message, length delimited. Does not implicitly {@link ComResWithString.verify|verify} messages. + * @function encodeDelimited + * @memberof ComResWithString + * @static + * @param {IComResWithString} message ComResWithString message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ComResWithString.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ComResWithString message from the specified reader or buffer. + * @function decode + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ComResWithString(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.str = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ComResWithString message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ComResWithString + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ComResWithString} ComResWithString + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ComResWithString.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ComResWithString message. + * @function verify + * @memberof ComResWithString + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ComResWithString.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.str != null && message.hasOwnProperty("str")) + if (!$util.isString(message.str)) return "str: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ComResWithString message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ComResWithString + * @static + * @param {Object.} object Plain object + * @returns {ComResWithString} ComResWithString + */ + ComResWithString.fromObject = function fromObject(object) { + if (object instanceof $root.ComResWithString) return object; + var message = new $root.ComResWithString(); + if (object.str != null) message.str = String(object.str); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ComResWithString message. Also converts values to other types if specified. + * @function toObject + * @memberof ComResWithString + * @static + * @param {ComResWithString} message ComResWithString + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ComResWithString.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.str = ""; + object.code = 0; + } + if (message.str != null && message.hasOwnProperty("str")) + object.str = message.str; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ComResWithString to JSON. + * @function toJSON + * @memberof ComResWithString + * @instance + * @returns {Object.} JSON object + */ + ComResWithString.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ComResWithString + * @function getTypeUrl + * @memberof ComResWithString + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ComResWithString.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ComResWithString"; + }; + + return ComResWithString; +})(); + +$root.CommonParam = (function () { + /** + * Properties of a CommonParam. + * @exports ICommonParam + * @interface ICommonParam + * @property {boolean|null} [hasAuto] CommonParam hasAuto + * @property {number|null} [autoMode] CommonParam autoMode + * @property {number|null} [id] CommonParam id + * @property {number|null} [modeIndex] CommonParam modeIndex + * @property {number|null} [index] CommonParam index + * @property {number|null} [continueValue] CommonParam continueValue + */ + + /** + * Constructs a new CommonParam. + * @exports CommonParam + * @classdesc Represents a CommonParam. + * @implements ICommonParam + * @constructor + * @param {ICommonParam=} [properties] Properties to set + */ + function CommonParam(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * CommonParam hasAuto. + * @member {boolean} hasAuto + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.hasAuto = false; + + /** + * CommonParam autoMode. + * @member {number} autoMode + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.autoMode = 0; + + /** + * CommonParam id. + * @member {number} id + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.id = 0; + + /** + * CommonParam modeIndex. + * @member {number} modeIndex + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.modeIndex = 0; + + /** + * CommonParam index. + * @member {number} index + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.index = 0; + + /** + * CommonParam continueValue. + * @member {number} continueValue + * @memberof CommonParam + * @instance + */ + CommonParam.prototype.continueValue = 0; + + /** + * Creates a new CommonParam instance using the specified properties. + * @function create + * @memberof CommonParam + * @static + * @param {ICommonParam=} [properties] Properties to set + * @returns {CommonParam} CommonParam instance + */ + CommonParam.create = function create(properties) { + return new CommonParam(properties); + }; + + /** + * Encodes the specified CommonParam message. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encode + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.hasAuto != null && + Object.hasOwnProperty.call(message, "hasAuto") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.hasAuto); + if ( + message.autoMode != null && + Object.hasOwnProperty.call(message, "autoMode") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoMode); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.id); + if ( + message.modeIndex != null && + Object.hasOwnProperty.call(message, "modeIndex") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.modeIndex); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.index); + if ( + message.continueValue != null && + Object.hasOwnProperty.call(message, "continueValue") + ) + writer.uint32(/* id 6, wireType 1 =*/ 49).double(message.continueValue); + return writer; + }; + + /** + * Encodes the specified CommonParam message, length delimited. Does not implicitly {@link CommonParam.verify|verify} messages. + * @function encodeDelimited + * @memberof CommonParam + * @static + * @param {ICommonParam} message CommonParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CommonParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CommonParam message from the specified reader or buffer. + * @function decode + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.CommonParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.hasAuto = reader.bool(); + break; + } + case 2: { + message.autoMode = reader.int32(); + break; + } + case 3: { + message.id = reader.int32(); + break; + } + case 4: { + message.modeIndex = reader.int32(); + break; + } + case 5: { + message.index = reader.int32(); + break; + } + case 6: { + message.continueValue = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a CommonParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof CommonParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {CommonParam} CommonParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CommonParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CommonParam message. + * @function verify + * @memberof CommonParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CommonParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + if (typeof message.hasAuto !== "boolean") + return "hasAuto: boolean expected"; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + if (!$util.isInteger(message.autoMode)) + return "autoMode: integer expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + if (!$util.isInteger(message.modeIndex)) + return "modeIndex: integer expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + if ( + message.continueValue != null && + message.hasOwnProperty("continueValue") + ) + if (typeof message.continueValue !== "number") + return "continueValue: number expected"; + return null; + }; + + /** + * Creates a CommonParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof CommonParam + * @static + * @param {Object.} object Plain object + * @returns {CommonParam} CommonParam + */ + CommonParam.fromObject = function fromObject(object) { + if (object instanceof $root.CommonParam) return object; + var message = new $root.CommonParam(); + if (object.hasAuto != null) message.hasAuto = Boolean(object.hasAuto); + if (object.autoMode != null) message.autoMode = object.autoMode | 0; + if (object.id != null) message.id = object.id | 0; + if (object.modeIndex != null) message.modeIndex = object.modeIndex | 0; + if (object.index != null) message.index = object.index | 0; + if (object.continueValue != null) + message.continueValue = Number(object.continueValue); + return message; + }; + + /** + * Creates a plain object from a CommonParam message. Also converts values to other types if specified. + * @function toObject + * @memberof CommonParam + * @static + * @param {CommonParam} message CommonParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CommonParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.hasAuto = false; + object.autoMode = 0; + object.id = 0; + object.modeIndex = 0; + object.index = 0; + object.continueValue = 0; + } + if (message.hasAuto != null && message.hasOwnProperty("hasAuto")) + object.hasAuto = message.hasAuto; + if (message.autoMode != null && message.hasOwnProperty("autoMode")) + object.autoMode = message.autoMode; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.modeIndex != null && message.hasOwnProperty("modeIndex")) + object.modeIndex = message.modeIndex; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + if ( + message.continueValue != null && + message.hasOwnProperty("continueValue") + ) + object.continueValue = + options.json && !isFinite(message.continueValue) + ? String(message.continueValue) + : message.continueValue; + return object; + }; + + /** + * Converts this CommonParam to JSON. + * @function toJSON + * @memberof CommonParam + * @instance + * @returns {Object.} JSON object + */ + CommonParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CommonParam + * @function getTypeUrl + * @memberof CommonParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommonParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/CommonParam"; + }; + + return CommonParam; +})(); + +/** + * DwarfBleErrorCode enum. + * @exports DwarfBleErrorCode + * @enum {number} + * @property {number} BLE_OK=0 BLE_OK value + * @property {number} BLE_PASSWORD_ERROR=-1 BLE_PASSWORD_ERROR value + * @property {number} BLE_MESSAGE_MALLOC_ERROR=-2 BLE_MESSAGE_MALLOC_ERROR value + * @property {number} BLE_MESSAGE_PARSE_ERROR=-3 BLE_MESSAGE_PARSE_ERROR value + * @property {number} BLE_MESSAGE_CRC_ERROR=-4 BLE_MESSAGE_CRC_ERROR value + * @property {number} BLE_WIFI_CONFIGING=-5 BLE_WIFI_CONFIGING value + * @property {number} BLE_WIFI_CONFIGED=-6 BLE_WIFI_CONFIGED value + * @property {number} BLE_GET_WIFI_LIST_ERROR=-7 BLE_GET_WIFI_LIST_ERROR value + * @property {number} BLE_WIFI_STA_PASSWORD_EMPTY=-8 BLE_WIFI_STA_PASSWORD_EMPTY value + * @property {number} BLE_WIFI_STA_PASSWORD_ERROR=-9 BLE_WIFI_STA_PASSWORD_ERROR value + * @property {number} BLE_WIFI_SET_SSID_PSD_ERROR=-10 BLE_WIFI_SET_SSID_PSD_ERROR value + * @property {number} BLE_WIFI_RESET_WAITING=-11 BLE_WIFI_RESET_WAITING value + * @property {number} BLE_WIFI_RESETED=-12 BLE_WIFI_RESETED value + * @property {number} BLE_GET_SYSTEM_INFO_ERROR=-13 BLE_GET_SYSTEM_INFO_ERROR value + * @property {number} BLE_RECEIVE_FRAME_HEAD_ERROR=-14 BLE_RECEIVE_FRAME_HEAD_ERROR value + * @property {number} BLE_RECEIVE_FRAME_TAIL_ERROR=-15 BLE_RECEIVE_FRAME_TAIL_ERROR value + * @property {number} BLE_CHECK_FILE_NOT_EXIST=-16 BLE_CHECK_FILE_NOT_EXIST value + * @property {number} BLE_CHECK_FILE_MD5_ERROR=-17 BLE_CHECK_FILE_MD5_ERROR value + * @property {number} BLE_WIFI_RESET_FAILED=-18 BLE_WIFI_RESET_FAILED value + */ +$root.DwarfBleErrorCode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "BLE_OK")] = 0; + values[(valuesById[-1] = "BLE_PASSWORD_ERROR")] = -1; + values[(valuesById[-2] = "BLE_MESSAGE_MALLOC_ERROR")] = -2; + values[(valuesById[-3] = "BLE_MESSAGE_PARSE_ERROR")] = -3; + values[(valuesById[-4] = "BLE_MESSAGE_CRC_ERROR")] = -4; + values[(valuesById[-5] = "BLE_WIFI_CONFIGING")] = -5; + values[(valuesById[-6] = "BLE_WIFI_CONFIGED")] = -6; + values[(valuesById[-7] = "BLE_GET_WIFI_LIST_ERROR")] = -7; + values[(valuesById[-8] = "BLE_WIFI_STA_PASSWORD_EMPTY")] = -8; + values[(valuesById[-9] = "BLE_WIFI_STA_PASSWORD_ERROR")] = -9; + values[(valuesById[-10] = "BLE_WIFI_SET_SSID_PSD_ERROR")] = -10; + values[(valuesById[-11] = "BLE_WIFI_RESET_WAITING")] = -11; + values[(valuesById[-12] = "BLE_WIFI_RESETED")] = -12; + values[(valuesById[-13] = "BLE_GET_SYSTEM_INFO_ERROR")] = -13; + values[(valuesById[-14] = "BLE_RECEIVE_FRAME_HEAD_ERROR")] = -14; + values[(valuesById[-15] = "BLE_RECEIVE_FRAME_TAIL_ERROR")] = -15; + values[(valuesById[-16] = "BLE_CHECK_FILE_NOT_EXIST")] = -16; + values[(valuesById[-17] = "BLE_CHECK_FILE_MD5_ERROR")] = -17; + values[(valuesById[-18] = "BLE_WIFI_RESET_FAILED")] = -18; + return values; +})(); + +$root.ReqGetconfig = (function () { + /** + * Properties of a ReqGetconfig. + * @exports IReqGetconfig + * @interface IReqGetconfig + * @property {number|null} [cmd] ReqGetconfig cmd + * @property {string|null} [blePsd] ReqGetconfig blePsd + */ + + /** + * Constructs a new ReqGetconfig. + * @exports ReqGetconfig + * @classdesc Represents a ReqGetconfig. + * @implements IReqGetconfig + * @constructor + * @param {IReqGetconfig=} [properties] Properties to set + */ + function ReqGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetconfig cmd. + * @member {number} cmd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.cmd = 0; + + /** + * ReqGetconfig blePsd. + * @member {string} blePsd + * @memberof ReqGetconfig + * @instance + */ + ReqGetconfig.prototype.blePsd = ""; + + /** + * Creates a new ReqGetconfig instance using the specified properties. + * @function create + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig=} [properties] Properties to set + * @returns {ReqGetconfig} ReqGetconfig instance + */ + ReqGetconfig.create = function create(properties) { + return new ReqGetconfig(properties); + }; + + /** + * Encodes the specified ReqGetconfig message. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encode + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.blePsd); + return writer; + }; + + /** + * Encodes the specified ReqGetconfig message, length delimited. Does not implicitly {@link ReqGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetconfig + * @static + * @param {IReqGetconfig} message ReqGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetconfig} ReqGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetconfig message. + * @function verify + * @memberof ReqGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + return null; + }; + + /** + * Creates a ReqGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ReqGetconfig} ReqGetconfig + */ + ReqGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetconfig) return object; + var message = new $root.ReqGetconfig(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + return message; + }; + + /** + * Creates a plain object from a ReqGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetconfig + * @static + * @param {ReqGetconfig} message ReqGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetconfig.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + + /** + * Converts this ReqGetconfig to JSON. + * @function toJSON + * @memberof ReqGetconfig + * @instance + * @returns {Object.} JSON object + */ + ReqGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetconfig + * @function getTypeUrl + * @memberof ReqGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetconfig"; + }; + + return ReqGetconfig; +})(); + +$root.ReqAp = (function () { + /** + * Properties of a ReqAp. + * @exports IReqAp + * @interface IReqAp + * @property {number|null} [cmd] ReqAp cmd + * @property {number|null} [wifiType] ReqAp wifiType + * @property {number|null} [autoStart] ReqAp autoStart + * @property {number|null} [countryList] ReqAp countryList + * @property {string|null} [country] ReqAp country + * @property {string|null} [blePsd] ReqAp blePsd + */ + + /** + * Constructs a new ReqAp. + * @exports ReqAp + * @classdesc Represents a ReqAp. + * @implements IReqAp + * @constructor + * @param {IReqAp=} [properties] Properties to set + */ + function ReqAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqAp cmd. + * @member {number} cmd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.cmd = 0; + + /** + * ReqAp wifiType. + * @member {number} wifiType + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.wifiType = 0; + + /** + * ReqAp autoStart. + * @member {number} autoStart + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.autoStart = 0; + + /** + * ReqAp countryList. + * @member {number} countryList + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.countryList = 0; + + /** + * ReqAp country. + * @member {string} country + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.country = ""; + + /** + * ReqAp blePsd. + * @member {string} blePsd + * @memberof ReqAp + * @instance + */ + ReqAp.prototype.blePsd = ""; + + /** + * Creates a new ReqAp instance using the specified properties. + * @function create + * @memberof ReqAp + * @static + * @param {IReqAp=} [properties] Properties to set + * @returns {ReqAp} ReqAp instance + */ + ReqAp.create = function create(properties) { + return new ReqAp(properties); + }; + + /** + * Encodes the specified ReqAp message. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encode + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.wifiType != null && + Object.hasOwnProperty.call(message, "wifiType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.wifiType); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.autoStart); + if ( + message.countryList != null && + Object.hasOwnProperty.call(message, "countryList") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.countryList); + if ( + message.country != null && + Object.hasOwnProperty.call(message, "country") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.country); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.blePsd); + return writer; + }; + + /** + * Encodes the specified ReqAp message, length delimited. Does not implicitly {@link ReqAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAp + * @static + * @param {IReqAp} message ReqAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqAp message from the specified reader or buffer. + * @function decode + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.wifiType = reader.int32(); + break; + } + case 3: { + message.autoStart = reader.int32(); + break; + } + case 4: { + message.countryList = reader.int32(); + break; + } + case 5: { + message.country = reader.string(); + break; + } + case 6: { + message.blePsd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAp} ReqAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqAp message. + * @function verify + * @memberof ReqAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + if (!$util.isInteger(message.wifiType)) + return "wifiType: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.countryList != null && message.hasOwnProperty("countryList")) + if (!$util.isInteger(message.countryList)) + return "countryList: integer expected"; + if (message.country != null && message.hasOwnProperty("country")) + if (!$util.isString(message.country)) return "country: string expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + return null; + }; + + /** + * Creates a ReqAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAp + * @static + * @param {Object.} object Plain object + * @returns {ReqAp} ReqAp + */ + ReqAp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAp) return object; + var message = new $root.ReqAp(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.wifiType != null) message.wifiType = object.wifiType | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.countryList != null) + message.countryList = object.countryList | 0; + if (object.country != null) message.country = String(object.country); + if (object.blePsd != null) message.blePsd = String(object.blePsd); + return message; + }; + + /** + * Creates a plain object from a ReqAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAp + * @static + * @param {ReqAp} message ReqAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.wifiType = 0; + object.autoStart = 0; + object.countryList = 0; + object.country = ""; + object.blePsd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.wifiType != null && message.hasOwnProperty("wifiType")) + object.wifiType = message.wifiType; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.countryList != null && message.hasOwnProperty("countryList")) + object.countryList = message.countryList; + if (message.country != null && message.hasOwnProperty("country")) + object.country = message.country; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + return object; + }; + + /** + * Converts this ReqAp to JSON. + * @function toJSON + * @memberof ReqAp + * @instance + * @returns {Object.} JSON object + */ + ReqAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqAp + * @function getTypeUrl + * @memberof ReqAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAp"; + }; + + return ReqAp; +})(); + +$root.ReqSta = (function () { + /** + * Properties of a ReqSta. + * @exports IReqSta + * @interface IReqSta + * @property {number|null} [cmd] ReqSta cmd + * @property {number|null} [autoStart] ReqSta autoStart + * @property {string|null} [blePsd] ReqSta blePsd + * @property {string|null} [ssid] ReqSta ssid + * @property {string|null} [psd] ReqSta psd + */ + + /** + * Constructs a new ReqSta. + * @exports ReqSta + * @classdesc Represents a ReqSta. + * @implements IReqSta + * @constructor + * @param {IReqSta=} [properties] Properties to set + */ + function ReqSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSta cmd. + * @member {number} cmd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.cmd = 0; + + /** + * ReqSta autoStart. + * @member {number} autoStart + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.autoStart = 0; + + /** + * ReqSta blePsd. + * @member {string} blePsd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.blePsd = ""; + + /** + * ReqSta ssid. + * @member {string} ssid + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.ssid = ""; + + /** + * ReqSta psd. + * @member {string} psd + * @memberof ReqSta + * @instance + */ + ReqSta.prototype.psd = ""; + + /** + * Creates a new ReqSta instance using the specified properties. + * @function create + * @memberof ReqSta + * @static + * @param {IReqSta=} [properties] Properties to set + * @returns {ReqSta} ReqSta instance + */ + ReqSta.create = function create(properties) { + return new ReqSta(properties); + }; + + /** + * Encodes the specified ReqSta message. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encode + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.autoStart); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + + /** + * Encodes the specified ReqSta message, length delimited. Does not implicitly {@link ReqSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSta + * @static + * @param {IReqSta} message ReqSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSta message from the specified reader or buffer. + * @function decode + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.autoStart = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSta} ReqSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSta message. + * @function verify + * @memberof ReqSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + return null; + }; + + /** + * Creates a ReqSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSta + * @static + * @param {Object.} object Plain object + * @returns {ReqSta} ReqSta + */ + ReqSta.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSta) return object; + var message = new $root.ReqSta(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + return message; + }; + + /** + * Creates a plain object from a ReqSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSta + * @static + * @param {ReqSta} message ReqSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSta.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.autoStart = 0; + object.blePsd = ""; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + + /** + * Converts this ReqSta to JSON. + * @function toJSON + * @memberof ReqSta + * @instance + * @returns {Object.} JSON object + */ + ReqSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSta + * @function getTypeUrl + * @memberof ReqSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSta"; + }; + + return ReqSta; +})(); + +$root.ReqSetblewifi = (function () { + /** + * Properties of a ReqSetblewifi. + * @exports IReqSetblewifi + * @interface IReqSetblewifi + * @property {number|null} [cmd] ReqSetblewifi cmd + * @property {number|null} [mode] ReqSetblewifi mode + * @property {string|null} [blePsd] ReqSetblewifi blePsd + * @property {string|null} [value] ReqSetblewifi value + */ + + /** + * Constructs a new ReqSetblewifi. + * @exports ReqSetblewifi + * @classdesc Represents a ReqSetblewifi. + * @implements IReqSetblewifi + * @constructor + * @param {IReqSetblewifi=} [properties] Properties to set + */ + function ReqSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetblewifi cmd. + * @member {number} cmd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.cmd = 0; + + /** + * ReqSetblewifi mode. + * @member {number} mode + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.mode = 0; + + /** + * ReqSetblewifi blePsd. + * @member {string} blePsd + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.blePsd = ""; + + /** + * ReqSetblewifi value. + * @member {string} value + * @memberof ReqSetblewifi + * @instance + */ + ReqSetblewifi.prototype.value = ""; + + /** + * Creates a new ReqSetblewifi instance using the specified properties. + * @function create + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi=} [properties] Properties to set + * @returns {ReqSetblewifi} ReqSetblewifi instance + */ + ReqSetblewifi.create = function create(properties) { + return new ReqSetblewifi(properties); + }; + + /** + * Encodes the specified ReqSetblewifi message. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encode + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.mode); + if (message.blePsd != null && Object.hasOwnProperty.call(message, "blePsd")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.blePsd); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetblewifi message, length delimited. Does not implicitly {@link ReqSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {IReqSetblewifi} message ReqSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.mode = reader.int32(); + break; + } + case 3: { + message.blePsd = reader.string(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetblewifi} ReqSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetblewifi message. + * @function verify + * @memberof ReqSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + if (!$util.isString(message.blePsd)) return "blePsd: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) return "value: string expected"; + return null; + }; + + /** + * Creates a ReqSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ReqSetblewifi} ReqSetblewifi + */ + ReqSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetblewifi) return object; + var message = new $root.ReqSetblewifi(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.blePsd != null) message.blePsd = String(object.blePsd); + if (object.value != null) message.value = String(object.value); + return message; + }; + + /** + * Creates a plain object from a ReqSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetblewifi + * @static + * @param {ReqSetblewifi} message ReqSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetblewifi.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.mode = 0; + object.blePsd = ""; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.blePsd != null && message.hasOwnProperty("blePsd")) + object.blePsd = message.blePsd; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetblewifi to JSON. + * @function toJSON + * @memberof ReqSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ReqSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetblewifi + * @function getTypeUrl + * @memberof ReqSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetblewifi"; + }; + + return ReqSetblewifi; +})(); + +$root.ReqReset = (function () { + /** + * Properties of a ReqReset. + * @exports IReqReset + * @interface IReqReset + * @property {number|null} [cmd] ReqReset cmd + */ + + /** + * Constructs a new ReqReset. + * @exports ReqReset + * @classdesc Represents a ReqReset. + * @implements IReqReset + * @constructor + * @param {IReqReset=} [properties] Properties to set + */ + function ReqReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqReset cmd. + * @member {number} cmd + * @memberof ReqReset + * @instance + */ + ReqReset.prototype.cmd = 0; + + /** + * Creates a new ReqReset instance using the specified properties. + * @function create + * @memberof ReqReset + * @static + * @param {IReqReset=} [properties] Properties to set + * @returns {ReqReset} ReqReset instance + */ + ReqReset.create = function create(properties) { + return new ReqReset(properties); + }; + + /** + * Encodes the specified ReqReset message. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encode + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqReset message, length delimited. Does not implicitly {@link ReqReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReset + * @static + * @param {IReqReset} message ReqReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReset message from the specified reader or buffer. + * @function decode + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReset} ReqReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReset message. + * @function verify + * @memberof ReqReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReset + * @static + * @param {Object.} object Plain object + * @returns {ReqReset} ReqReset + */ + ReqReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReset) return object; + var message = new $root.ReqReset(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReset + * @static + * @param {ReqReset} message ReqReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqReset to JSON. + * @function toJSON + * @memberof ReqReset + * @instance + * @returns {Object.} JSON object + */ + ReqReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReset + * @function getTypeUrl + * @memberof ReqReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReset"; + }; + + return ReqReset; +})(); + +$root.ReqGetwifilist = (function () { + /** + * Properties of a ReqGetwifilist. + * @exports IReqGetwifilist + * @interface IReqGetwifilist + * @property {number|null} [cmd] ReqGetwifilist cmd + */ + + /** + * Constructs a new ReqGetwifilist. + * @exports ReqGetwifilist + * @classdesc Represents a ReqGetwifilist. + * @implements IReqGetwifilist + * @constructor + * @param {IReqGetwifilist=} [properties] Properties to set + */ + function ReqGetwifilist(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetwifilist cmd. + * @member {number} cmd + * @memberof ReqGetwifilist + * @instance + */ + ReqGetwifilist.prototype.cmd = 0; + + /** + * Creates a new ReqGetwifilist instance using the specified properties. + * @function create + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist=} [properties] Properties to set + * @returns {ReqGetwifilist} ReqGetwifilist instance + */ + ReqGetwifilist.create = function create(properties) { + return new ReqGetwifilist(properties); + }; + + /** + * Encodes the specified ReqGetwifilist message. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encode + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqGetwifilist message, length delimited. Does not implicitly {@link ReqGetwifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {IReqGetwifilist} message ReqGetwifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetwifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer. + * @function decode + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetwifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetwifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetwifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetwifilist} ReqGetwifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetwifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetwifilist message. + * @function verify + * @memberof ReqGetwifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetwifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqGetwifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetwifilist + * @static + * @param {Object.} object Plain object + * @returns {ReqGetwifilist} ReqGetwifilist + */ + ReqGetwifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetwifilist) return object; + var message = new $root.ReqGetwifilist(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetwifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetwifilist + * @static + * @param {ReqGetwifilist} message ReqGetwifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetwifilist.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqGetwifilist to JSON. + * @function toJSON + * @memberof ReqGetwifilist + * @instance + * @returns {Object.} JSON object + */ + ReqGetwifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetwifilist + * @function getTypeUrl + * @memberof ReqGetwifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetwifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetwifilist"; + }; + + return ReqGetwifilist; +})(); + +$root.ReqGetsysteminfo = (function () { + /** + * Properties of a ReqGetsysteminfo. + * @exports IReqGetsysteminfo + * @interface IReqGetsysteminfo + * @property {number|null} [cmd] ReqGetsysteminfo cmd + */ + + /** + * Constructs a new ReqGetsysteminfo. + * @exports ReqGetsysteminfo + * @classdesc Represents a ReqGetsysteminfo. + * @implements IReqGetsysteminfo + * @constructor + * @param {IReqGetsysteminfo=} [properties] Properties to set + */ + function ReqGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetsysteminfo cmd. + * @member {number} cmd + * @memberof ReqGetsysteminfo + * @instance + */ + ReqGetsysteminfo.prototype.cmd = 0; + + /** + * Creates a new ReqGetsysteminfo instance using the specified properties. + * @function create + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo=} [properties] Properties to set + * @returns {ReqGetsysteminfo} ReqGetsysteminfo instance + */ + ReqGetsysteminfo.create = function create(properties) { + return new ReqGetsysteminfo(properties); + }; + + /** + * Encodes the specified ReqGetsysteminfo message. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + return writer; + }; + + /** + * Encodes the specified ReqGetsysteminfo message, length delimited. Does not implicitly {@link ReqGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {IReqGetsysteminfo} message ReqGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetsysteminfo message. + * @function verify + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + return null; + }; + + /** + * Creates a ReqGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetsysteminfo} ReqGetsysteminfo + */ + ReqGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetsysteminfo) return object; + var message = new $root.ReqGetsysteminfo(); + if (object.cmd != null) message.cmd = object.cmd | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetsysteminfo + * @static + * @param {ReqGetsysteminfo} message ReqGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetsysteminfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.cmd = 0; + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + return object; + }; + + /** + * Converts this ReqGetsysteminfo to JSON. + * @function toJSON + * @memberof ReqGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetsysteminfo + * @function getTypeUrl + * @memberof ReqGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetsysteminfo"; + }; + + return ReqGetsysteminfo; +})(); + +$root.ReqCheckFile = (function () { + /** + * Properties of a ReqCheckFile. + * @exports IReqCheckFile + * @interface IReqCheckFile + * @property {number|null} [cmd] ReqCheckFile cmd + * @property {string|null} [filePath] ReqCheckFile filePath + * @property {string|null} [md5] ReqCheckFile md5 + */ + + /** + * Constructs a new ReqCheckFile. + * @exports ReqCheckFile + * @classdesc Represents a ReqCheckFile. + * @implements IReqCheckFile + * @constructor + * @param {IReqCheckFile=} [properties] Properties to set + */ + function ReqCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCheckFile cmd. + * @member {number} cmd + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.cmd = 0; + + /** + * ReqCheckFile filePath. + * @member {string} filePath + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.filePath = ""; + + /** + * ReqCheckFile md5. + * @member {string} md5 + * @memberof ReqCheckFile + * @instance + */ + ReqCheckFile.prototype.md5 = ""; + + /** + * Creates a new ReqCheckFile instance using the specified properties. + * @function create + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile=} [properties] Properties to set + * @returns {ReqCheckFile} ReqCheckFile instance + */ + ReqCheckFile.create = function create(properties) { + return new ReqCheckFile(properties); + }; + + /** + * Encodes the specified ReqCheckFile message. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encode + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if ( + message.filePath != null && + Object.hasOwnProperty.call(message, "filePath") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.filePath); + if (message.md5 != null && Object.hasOwnProperty.call(message, "md5")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.md5); + return writer; + }; + + /** + * Encodes the specified ReqCheckFile message, length delimited. Does not implicitly {@link ReqCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCheckFile + * @static + * @param {IReqCheckFile} message ReqCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.filePath = reader.string(); + break; + } + case 3: { + message.md5 = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCheckFile} ReqCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCheckFile message. + * @function verify + * @memberof ReqCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.filePath != null && message.hasOwnProperty("filePath")) + if (!$util.isString(message.filePath)) return "filePath: string expected"; + if (message.md5 != null && message.hasOwnProperty("md5")) + if (!$util.isString(message.md5)) return "md5: string expected"; + return null; + }; + + /** + * Creates a ReqCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ReqCheckFile} ReqCheckFile + */ + ReqCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCheckFile) return object; + var message = new $root.ReqCheckFile(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.filePath != null) message.filePath = String(object.filePath); + if (object.md5 != null) message.md5 = String(object.md5); + return message; + }; + + /** + * Creates a plain object from a ReqCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCheckFile + * @static + * @param {ReqCheckFile} message ReqCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCheckFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.filePath = ""; + object.md5 = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.filePath != null && message.hasOwnProperty("filePath")) + object.filePath = message.filePath; + if (message.md5 != null && message.hasOwnProperty("md5")) + object.md5 = message.md5; + return object; + }; + + /** + * Converts this ReqCheckFile to JSON. + * @function toJSON + * @memberof ReqCheckFile + * @instance + * @returns {Object.} JSON object + */ + ReqCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCheckFile + * @function getTypeUrl + * @memberof ReqCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCheckFile"; + }; + + return ReqCheckFile; +})(); + +$root.ResGetconfig = (function () { + /** + * Properties of a ResGetconfig. + * @exports IResGetconfig + * @interface IResGetconfig + * @property {number|null} [cmd] ResGetconfig cmd + * @property {number|null} [code] ResGetconfig code + * @property {number|null} [state] ResGetconfig state + * @property {number|null} [wifiMode] ResGetconfig wifiMode + * @property {number|null} [apMode] ResGetconfig apMode + * @property {number|null} [autoStart] ResGetconfig autoStart + * @property {number|null} [apCountryList] ResGetconfig apCountryList + * @property {string|null} [ssid] ResGetconfig ssid + * @property {string|null} [psd] ResGetconfig psd + * @property {string|null} [ip] ResGetconfig ip + * @property {string|null} [apCountry] ResGetconfig apCountry + */ + + /** + * Constructs a new ResGetconfig. + * @exports ResGetconfig + * @classdesc Represents a ResGetconfig. + * @implements IResGetconfig + * @constructor + * @param {IResGetconfig=} [properties] Properties to set + */ + function ResGetconfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetconfig cmd. + * @member {number} cmd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.cmd = 0; + + /** + * ResGetconfig code. + * @member {number} code + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.code = 0; + + /** + * ResGetconfig state. + * @member {number} state + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.state = 0; + + /** + * ResGetconfig wifiMode. + * @member {number} wifiMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.wifiMode = 0; + + /** + * ResGetconfig apMode. + * @member {number} apMode + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apMode = 0; + + /** + * ResGetconfig autoStart. + * @member {number} autoStart + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.autoStart = 0; + + /** + * ResGetconfig apCountryList. + * @member {number} apCountryList + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountryList = 0; + + /** + * ResGetconfig ssid. + * @member {string} ssid + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ssid = ""; + + /** + * ResGetconfig psd. + * @member {string} psd + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.psd = ""; + + /** + * ResGetconfig ip. + * @member {string} ip + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.ip = ""; + + /** + * ResGetconfig apCountry. + * @member {string} apCountry + * @memberof ResGetconfig + * @instance + */ + ResGetconfig.prototype.apCountry = ""; + + /** + * Creates a new ResGetconfig instance using the specified properties. + * @function create + * @memberof ResGetconfig + * @static + * @param {IResGetconfig=} [properties] Properties to set + * @returns {ResGetconfig} ResGetconfig instance + */ + ResGetconfig.create = function create(properties) { + return new ResGetconfig(properties); + }; + + /** + * Encodes the specified ResGetconfig message. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encode + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if ( + message.wifiMode != null && + Object.hasOwnProperty.call(message, "wifiMode") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.wifiMode); + if (message.apMode != null && Object.hasOwnProperty.call(message, "apMode")) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.apMode); + if ( + message.autoStart != null && + Object.hasOwnProperty.call(message, "autoStart") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.autoStart); + if ( + message.apCountryList != null && + Object.hasOwnProperty.call(message, "apCountryList") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.apCountryList); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 9, wireType 2 =*/ 74).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 10, wireType 2 =*/ 82).string(message.ip); + if ( + message.apCountry != null && + Object.hasOwnProperty.call(message, "apCountry") + ) + writer.uint32(/* id 11, wireType 2 =*/ 90).string(message.apCountry); + return writer; + }; + + /** + * Encodes the specified ResGetconfig message, length delimited. Does not implicitly {@link ResGetconfig.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetconfig + * @static + * @param {IResGetconfig} message ResGetconfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetconfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer. + * @function decode + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetconfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.wifiMode = reader.int32(); + break; + } + case 5: { + message.apMode = reader.int32(); + break; + } + case 6: { + message.autoStart = reader.int32(); + break; + } + case 7: { + message.apCountryList = reader.int32(); + break; + } + case 8: { + message.ssid = reader.string(); + break; + } + case 9: { + message.psd = reader.string(); + break; + } + case 10: { + message.ip = reader.string(); + break; + } + case 11: { + message.apCountry = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetconfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetconfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetconfig} ResGetconfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetconfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetconfig message. + * @function verify + * @memberof ResGetconfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetconfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + if (!$util.isInteger(message.wifiMode)) + return "wifiMode: integer expected"; + if (message.apMode != null && message.hasOwnProperty("apMode")) + if (!$util.isInteger(message.apMode)) return "apMode: integer expected"; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + if (!$util.isInteger(message.autoStart)) + return "autoStart: integer expected"; + if ( + message.apCountryList != null && + message.hasOwnProperty("apCountryList") + ) + if (!$util.isInteger(message.apCountryList)) + return "apCountryList: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) return "ip: string expected"; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + if (!$util.isString(message.apCountry)) + return "apCountry: string expected"; + return null; + }; + + /** + * Creates a ResGetconfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetconfig + * @static + * @param {Object.} object Plain object + * @returns {ResGetconfig} ResGetconfig + */ + ResGetconfig.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetconfig) return object; + var message = new $root.ResGetconfig(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.state != null) message.state = object.state | 0; + if (object.wifiMode != null) message.wifiMode = object.wifiMode | 0; + if (object.apMode != null) message.apMode = object.apMode | 0; + if (object.autoStart != null) message.autoStart = object.autoStart | 0; + if (object.apCountryList != null) + message.apCountryList = object.apCountryList | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + if (object.ip != null) message.ip = String(object.ip); + if (object.apCountry != null) message.apCountry = String(object.apCountry); + return message; + }; + + /** + * Creates a plain object from a ResGetconfig message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetconfig + * @static + * @param {ResGetconfig} message ResGetconfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetconfig.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.state = 0; + object.wifiMode = 0; + object.apMode = 0; + object.autoStart = 0; + object.apCountryList = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + object.apCountry = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.wifiMode != null && message.hasOwnProperty("wifiMode")) + object.wifiMode = message.wifiMode; + if (message.apMode != null && message.hasOwnProperty("apMode")) + object.apMode = message.apMode; + if (message.autoStart != null && message.hasOwnProperty("autoStart")) + object.autoStart = message.autoStart; + if ( + message.apCountryList != null && + message.hasOwnProperty("apCountryList") + ) + object.apCountryList = message.apCountryList; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + if (message.apCountry != null && message.hasOwnProperty("apCountry")) + object.apCountry = message.apCountry; + return object; + }; + + /** + * Converts this ResGetconfig to JSON. + * @function toJSON + * @memberof ResGetconfig + * @instance + * @returns {Object.} JSON object + */ + ResGetconfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetconfig + * @function getTypeUrl + * @memberof ResGetconfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetconfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetconfig"; + }; + + return ResGetconfig; +})(); + +$root.ResAp = (function () { + /** + * Properties of a ResAp. + * @exports IResAp + * @interface IResAp + * @property {number|null} [cmd] ResAp cmd + * @property {number|null} [code] ResAp code + * @property {number|null} [mode] ResAp mode + * @property {string|null} [ssid] ResAp ssid + * @property {string|null} [psd] ResAp psd + */ + + /** + * Constructs a new ResAp. + * @exports ResAp + * @classdesc Represents a ResAp. + * @implements IResAp + * @constructor + * @param {IResAp=} [properties] Properties to set + */ + function ResAp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResAp cmd. + * @member {number} cmd + * @memberof ResAp + * @instance + */ + ResAp.prototype.cmd = 0; + + /** + * ResAp code. + * @member {number} code + * @memberof ResAp + * @instance + */ + ResAp.prototype.code = 0; + + /** + * ResAp mode. + * @member {number} mode + * @memberof ResAp + * @instance + */ + ResAp.prototype.mode = 0; + + /** + * ResAp ssid. + * @member {string} ssid + * @memberof ResAp + * @instance + */ + ResAp.prototype.ssid = ""; + + /** + * ResAp psd. + * @member {string} psd + * @memberof ResAp + * @instance + */ + ResAp.prototype.psd = ""; + + /** + * Creates a new ResAp instance using the specified properties. + * @function create + * @memberof ResAp + * @static + * @param {IResAp=} [properties] Properties to set + * @returns {ResAp} ResAp instance + */ + ResAp.create = function create(properties) { + return new ResAp(properties); + }; + + /** + * Encodes the specified ResAp message. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encode + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.psd); + return writer; + }; + + /** + * Encodes the specified ResAp message, length delimited. Does not implicitly {@link ResAp.verify|verify} messages. + * @function encodeDelimited + * @memberof ResAp + * @static + * @param {IResAp} message ResAp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResAp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResAp message from the specified reader or buffer. + * @function decode + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResAp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.ssid = reader.string(); + break; + } + case 5: { + message.psd = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResAp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResAp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResAp} ResAp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResAp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResAp message. + * @function verify + * @memberof ResAp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResAp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + return null; + }; + + /** + * Creates a ResAp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResAp + * @static + * @param {Object.} object Plain object + * @returns {ResAp} ResAp + */ + ResAp.fromObject = function fromObject(object) { + if (object instanceof $root.ResAp) return object; + var message = new $root.ResAp(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + return message; + }; + + /** + * Creates a plain object from a ResAp message. Also converts values to other types if specified. + * @function toObject + * @memberof ResAp + * @static + * @param {ResAp} message ResAp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResAp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.ssid = ""; + object.psd = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + return object; + }; + + /** + * Converts this ResAp to JSON. + * @function toJSON + * @memberof ResAp + * @instance + * @returns {Object.} JSON object + */ + ResAp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResAp + * @function getTypeUrl + * @memberof ResAp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResAp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResAp"; + }; + + return ResAp; +})(); + +$root.ResSta = (function () { + /** + * Properties of a ResSta. + * @exports IResSta + * @interface IResSta + * @property {number|null} [cmd] ResSta cmd + * @property {number|null} [code] ResSta code + * @property {string|null} [ssid] ResSta ssid + * @property {string|null} [psd] ResSta psd + * @property {string|null} [ip] ResSta ip + */ + + /** + * Constructs a new ResSta. + * @exports ResSta + * @classdesc Represents a ResSta. + * @implements IResSta + * @constructor + * @param {IResSta=} [properties] Properties to set + */ + function ResSta(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSta cmd. + * @member {number} cmd + * @memberof ResSta + * @instance + */ + ResSta.prototype.cmd = 0; + + /** + * ResSta code. + * @member {number} code + * @memberof ResSta + * @instance + */ + ResSta.prototype.code = 0; + + /** + * ResSta ssid. + * @member {string} ssid + * @memberof ResSta + * @instance + */ + ResSta.prototype.ssid = ""; + + /** + * ResSta psd. + * @member {string} psd + * @memberof ResSta + * @instance + */ + ResSta.prototype.psd = ""; + + /** + * ResSta ip. + * @member {string} ip + * @memberof ResSta + * @instance + */ + ResSta.prototype.ip = ""; + + /** + * Creates a new ResSta instance using the specified properties. + * @function create + * @memberof ResSta + * @static + * @param {IResSta=} [properties] Properties to set + * @returns {ResSta} ResSta instance + */ + ResSta.create = function create(properties) { + return new ResSta(properties); + }; + + /** + * Encodes the specified ResSta message. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encode + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && Object.hasOwnProperty.call(message, "ssid")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.ssid); + if (message.psd != null && Object.hasOwnProperty.call(message, "psd")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.psd); + if (message.ip != null && Object.hasOwnProperty.call(message, "ip")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ip); + return writer; + }; + + /** + * Encodes the specified ResSta message, length delimited. Does not implicitly {@link ResSta.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSta + * @static + * @param {IResSta} message ResSta message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSta.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSta message from the specified reader or buffer. + * @function decode + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSta(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.ssid = reader.string(); + break; + } + case 4: { + message.psd = reader.string(); + break; + } + case 5: { + message.ip = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSta message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSta + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSta} ResSta + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSta.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSta message. + * @function verify + * @memberof ResSta + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSta.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) + if (!$util.isString(message.ssid)) return "ssid: string expected"; + if (message.psd != null && message.hasOwnProperty("psd")) + if (!$util.isString(message.psd)) return "psd: string expected"; + if (message.ip != null && message.hasOwnProperty("ip")) + if (!$util.isString(message.ip)) return "ip: string expected"; + return null; + }; + + /** + * Creates a ResSta message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSta + * @static + * @param {Object.} object Plain object + * @returns {ResSta} ResSta + */ + ResSta.fromObject = function fromObject(object) { + if (object instanceof $root.ResSta) return object; + var message = new $root.ResSta(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.ssid != null) message.ssid = String(object.ssid); + if (object.psd != null) message.psd = String(object.psd); + if (object.ip != null) message.ip = String(object.ip); + return message; + }; + + /** + * Creates a plain object from a ResSta message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSta + * @static + * @param {ResSta} message ResSta + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSta.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.ssid = ""; + object.psd = ""; + object.ip = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid != null && message.hasOwnProperty("ssid")) + object.ssid = message.ssid; + if (message.psd != null && message.hasOwnProperty("psd")) + object.psd = message.psd; + if (message.ip != null && message.hasOwnProperty("ip")) + object.ip = message.ip; + return object; + }; + + /** + * Converts this ResSta to JSON. + * @function toJSON + * @memberof ResSta + * @instance + * @returns {Object.} JSON object + */ + ResSta.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSta + * @function getTypeUrl + * @memberof ResSta + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSta.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSta"; + }; + + return ResSta; +})(); + +$root.ResSetblewifi = (function () { + /** + * Properties of a ResSetblewifi. + * @exports IResSetblewifi + * @interface IResSetblewifi + * @property {number|null} [cmd] ResSetblewifi cmd + * @property {number|null} [code] ResSetblewifi code + * @property {number|null} [mode] ResSetblewifi mode + * @property {string|null} [value] ResSetblewifi value + */ + + /** + * Constructs a new ResSetblewifi. + * @exports ResSetblewifi + * @classdesc Represents a ResSetblewifi. + * @implements IResSetblewifi + * @constructor + * @param {IResSetblewifi=} [properties] Properties to set + */ + function ResSetblewifi(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSetblewifi cmd. + * @member {number} cmd + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.cmd = 0; + + /** + * ResSetblewifi code. + * @member {number} code + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.code = 0; + + /** + * ResSetblewifi mode. + * @member {number} mode + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.mode = 0; + + /** + * ResSetblewifi value. + * @member {string} value + * @memberof ResSetblewifi + * @instance + */ + ResSetblewifi.prototype.value = ""; + + /** + * Creates a new ResSetblewifi instance using the specified properties. + * @function create + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi=} [properties] Properties to set + * @returns {ResSetblewifi} ResSetblewifi instance + */ + ResSetblewifi.create = function create(properties) { + return new ResSetblewifi(properties); + }; + + /** + * Encodes the specified ResSetblewifi message. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encode + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.mode); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.value); + return writer; + }; + + /** + * Encodes the specified ResSetblewifi message, length delimited. Does not implicitly {@link ResSetblewifi.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSetblewifi + * @static + * @param {IResSetblewifi} message ResSetblewifi message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSetblewifi.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer. + * @function decode + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSetblewifi(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.mode = reader.int32(); + break; + } + case 4: { + message.value = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSetblewifi message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSetblewifi + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSetblewifi} ResSetblewifi + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSetblewifi.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSetblewifi message. + * @function verify + * @memberof ResSetblewifi + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSetblewifi.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) return "value: string expected"; + return null; + }; + + /** + * Creates a ResSetblewifi message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSetblewifi + * @static + * @param {Object.} object Plain object + * @returns {ResSetblewifi} ResSetblewifi + */ + ResSetblewifi.fromObject = function fromObject(object) { + if (object instanceof $root.ResSetblewifi) return object; + var message = new $root.ResSetblewifi(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.mode != null) message.mode = object.mode | 0; + if (object.value != null) message.value = String(object.value); + return message; + }; + + /** + * Creates a plain object from a ResSetblewifi message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSetblewifi + * @static + * @param {ResSetblewifi} message ResSetblewifi + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSetblewifi.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.mode = 0; + object.value = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ResSetblewifi to JSON. + * @function toJSON + * @memberof ResSetblewifi + * @instance + * @returns {Object.} JSON object + */ + ResSetblewifi.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSetblewifi + * @function getTypeUrl + * @memberof ResSetblewifi + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSetblewifi.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSetblewifi"; + }; + + return ResSetblewifi; +})(); + +$root.ResReset = (function () { + /** + * Properties of a ResReset. + * @exports IResReset + * @interface IResReset + * @property {number|null} [cmd] ResReset cmd + * @property {number|null} [code] ResReset code + */ + + /** + * Constructs a new ResReset. + * @exports ResReset + * @classdesc Represents a ResReset. + * @implements IResReset + * @constructor + * @param {IResReset=} [properties] Properties to set + */ + function ResReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReset cmd. + * @member {number} cmd + * @memberof ResReset + * @instance + */ + ResReset.prototype.cmd = 0; + + /** + * ResReset code. + * @member {number} code + * @memberof ResReset + * @instance + */ + ResReset.prototype.code = 0; + + /** + * Creates a new ResReset instance using the specified properties. + * @function create + * @memberof ResReset + * @static + * @param {IResReset=} [properties] Properties to set + * @returns {ResReset} ResReset instance + */ + ResReset.create = function create(properties) { + return new ResReset(properties); + }; + + /** + * Encodes the specified ResReset message. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encode + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReset message, length delimited. Does not implicitly {@link ResReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReset + * @static + * @param {IResReset} message ResReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReset message from the specified reader or buffer. + * @function decode + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReset} ResReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReset message. + * @function verify + * @memberof ResReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReset + * @static + * @param {Object.} object Plain object + * @returns {ResReset} ResReset + */ + ResReset.fromObject = function fromObject(object) { + if (object instanceof $root.ResReset) return object; + var message = new $root.ResReset(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReset + * @static + * @param {ResReset} message ResReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReset to JSON. + * @function toJSON + * @memberof ResReset + * @instance + * @returns {Object.} JSON object + */ + ResReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReset + * @function getTypeUrl + * @memberof ResReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReset"; + }; + + return ResReset; +})(); + +$root.ResWifilist = (function () { + /** + * Properties of a ResWifilist. + * @exports IResWifilist + * @interface IResWifilist + * @property {number|null} [cmd] ResWifilist cmd + * @property {number|null} [code] ResWifilist code + * @property {Array.|null} [ssid] ResWifilist ssid + */ + + /** + * Constructs a new ResWifilist. + * @exports ResWifilist + * @classdesc Represents a ResWifilist. + * @implements IResWifilist + * @constructor + * @param {IResWifilist=} [properties] Properties to set + */ + function ResWifilist(properties) { + this.ssid = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResWifilist cmd. + * @member {number} cmd + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.cmd = 0; + + /** + * ResWifilist code. + * @member {number} code + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.code = 0; + + /** + * ResWifilist ssid. + * @member {Array.} ssid + * @memberof ResWifilist + * @instance + */ + ResWifilist.prototype.ssid = $util.emptyArray; + + /** + * Creates a new ResWifilist instance using the specified properties. + * @function create + * @memberof ResWifilist + * @static + * @param {IResWifilist=} [properties] Properties to set + * @returns {ResWifilist} ResWifilist instance + */ + ResWifilist.create = function create(properties) { + return new ResWifilist(properties); + }; + + /** + * Encodes the specified ResWifilist message. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encode + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if (message.ssid != null && message.ssid.length) + for (var i = 0; i < message.ssid.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.ssid[i]); + return writer; + }; + + /** + * Encodes the specified ResWifilist message, length delimited. Does not implicitly {@link ResWifilist.verify|verify} messages. + * @function encodeDelimited + * @memberof ResWifilist + * @static + * @param {IResWifilist} message ResWifilist message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResWifilist.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResWifilist message from the specified reader or buffer. + * @function decode + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResWifilist(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 4: { + if (!(message.ssid && message.ssid.length)) message.ssid = []; + message.ssid.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResWifilist message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResWifilist + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResWifilist} ResWifilist + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResWifilist.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResWifilist message. + * @function verify + * @memberof ResWifilist + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResWifilist.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.ssid != null && message.hasOwnProperty("ssid")) { + if (!Array.isArray(message.ssid)) return "ssid: array expected"; + for (var i = 0; i < message.ssid.length; ++i) + if (!$util.isString(message.ssid[i])) return "ssid: string[] expected"; + } + return null; + }; + + /** + * Creates a ResWifilist message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResWifilist + * @static + * @param {Object.} object Plain object + * @returns {ResWifilist} ResWifilist + */ + ResWifilist.fromObject = function fromObject(object) { + if (object instanceof $root.ResWifilist) return object; + var message = new $root.ResWifilist(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.ssid) { + if (!Array.isArray(object.ssid)) + throw TypeError(".ResWifilist.ssid: array expected"); + message.ssid = []; + for (var i = 0; i < object.ssid.length; ++i) + message.ssid[i] = String(object.ssid[i]); + } + return message; + }; + + /** + * Creates a plain object from a ResWifilist message. Also converts values to other types if specified. + * @function toObject + * @memberof ResWifilist + * @static + * @param {ResWifilist} message ResWifilist + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResWifilist.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.ssid = []; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.ssid && message.ssid.length) { + object.ssid = []; + for (var j = 0; j < message.ssid.length; ++j) + object.ssid[j] = message.ssid[j]; + } + return object; + }; + + /** + * Converts this ResWifilist to JSON. + * @function toJSON + * @memberof ResWifilist + * @instance + * @returns {Object.} JSON object + */ + ResWifilist.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResWifilist + * @function getTypeUrl + * @memberof ResWifilist + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResWifilist.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResWifilist"; + }; + + return ResWifilist; +})(); + +$root.ResGetsysteminfo = (function () { + /** + * Properties of a ResGetsysteminfo. + * @exports IResGetsysteminfo + * @interface IResGetsysteminfo + * @property {number|null} [cmd] ResGetsysteminfo cmd + * @property {number|null} [code] ResGetsysteminfo code + * @property {number|null} [protocolVersion] ResGetsysteminfo protocolVersion + * @property {string|null} [device] ResGetsysteminfo device + * @property {string|null} [macAddress] ResGetsysteminfo macAddress + * @property {string|null} [dwarfOtaVersion] ResGetsysteminfo dwarfOtaVersion + */ + + /** + * Constructs a new ResGetsysteminfo. + * @exports ResGetsysteminfo + * @classdesc Represents a ResGetsysteminfo. + * @implements IResGetsysteminfo + * @constructor + * @param {IResGetsysteminfo=} [properties] Properties to set + */ + function ResGetsysteminfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetsysteminfo cmd. + * @member {number} cmd + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.cmd = 0; + + /** + * ResGetsysteminfo code. + * @member {number} code + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.code = 0; + + /** + * ResGetsysteminfo protocolVersion. + * @member {number} protocolVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.protocolVersion = 0; + + /** + * ResGetsysteminfo device. + * @member {string} device + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.device = ""; + + /** + * ResGetsysteminfo macAddress. + * @member {string} macAddress + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.macAddress = ""; + + /** + * ResGetsysteminfo dwarfOtaVersion. + * @member {string} dwarfOtaVersion + * @memberof ResGetsysteminfo + * @instance + */ + ResGetsysteminfo.prototype.dwarfOtaVersion = ""; + + /** + * Creates a new ResGetsysteminfo instance using the specified properties. + * @function create + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo=} [properties] Properties to set + * @returns {ResGetsysteminfo} ResGetsysteminfo instance + */ + ResGetsysteminfo.create = function create(properties) { + return new ResGetsysteminfo(properties); + }; + + /** + * Encodes the specified ResGetsysteminfo message. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encode + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if ( + message.protocolVersion != null && + Object.hasOwnProperty.call(message, "protocolVersion") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.protocolVersion); + if (message.device != null && Object.hasOwnProperty.call(message, "device")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.device); + if ( + message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress") + ) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.macAddress); + if ( + message.dwarfOtaVersion != null && + Object.hasOwnProperty.call(message, "dwarfOtaVersion") + ) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.dwarfOtaVersion); + return writer; + }; + + /** + * Encodes the specified ResGetsysteminfo message, length delimited. Does not implicitly {@link ResGetsysteminfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {IResGetsysteminfo} message ResGetsysteminfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetsysteminfo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer. + * @function decode + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetsysteminfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.protocolVersion = reader.int32(); + break; + } + case 4: { + message.device = reader.string(); + break; + } + case 5: { + message.macAddress = reader.string(); + break; + } + case 6: { + message.dwarfOtaVersion = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetsysteminfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetsysteminfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetsysteminfo} ResGetsysteminfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetsysteminfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetsysteminfo message. + * @function verify + * @memberof ResGetsysteminfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetsysteminfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.protocolVersion != null && + message.hasOwnProperty("protocolVersion") + ) + if (!$util.isInteger(message.protocolVersion)) + return "protocolVersion: integer expected"; + if (message.device != null && message.hasOwnProperty("device")) + if (!$util.isString(message.device)) return "device: string expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if ( + message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion") + ) + if (!$util.isString(message.dwarfOtaVersion)) + return "dwarfOtaVersion: string expected"; + return null; + }; + + /** + * Creates a ResGetsysteminfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetsysteminfo + * @static + * @param {Object.} object Plain object + * @returns {ResGetsysteminfo} ResGetsysteminfo + */ + ResGetsysteminfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetsysteminfo) return object; + var message = new $root.ResGetsysteminfo(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + if (object.protocolVersion != null) + message.protocolVersion = object.protocolVersion | 0; + if (object.device != null) message.device = String(object.device); + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.dwarfOtaVersion != null) + message.dwarfOtaVersion = String(object.dwarfOtaVersion); + return message; + }; + + /** + * Creates a plain object from a ResGetsysteminfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetsysteminfo + * @static + * @param {ResGetsysteminfo} message ResGetsysteminfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetsysteminfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + object.protocolVersion = 0; + object.device = ""; + object.macAddress = ""; + object.dwarfOtaVersion = ""; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.protocolVersion != null && + message.hasOwnProperty("protocolVersion") + ) + object.protocolVersion = message.protocolVersion; + if (message.device != null && message.hasOwnProperty("device")) + object.device = message.device; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if ( + message.dwarfOtaVersion != null && + message.hasOwnProperty("dwarfOtaVersion") + ) + object.dwarfOtaVersion = message.dwarfOtaVersion; + return object; + }; + + /** + * Converts this ResGetsysteminfo to JSON. + * @function toJSON + * @memberof ResGetsysteminfo + * @instance + * @returns {Object.} JSON object + */ + ResGetsysteminfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetsysteminfo + * @function getTypeUrl + * @memberof ResGetsysteminfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetsysteminfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetsysteminfo"; + }; + + return ResGetsysteminfo; +})(); + +$root.ResReceiveDataError = (function () { + /** + * Properties of a ResReceiveDataError. + * @exports IResReceiveDataError + * @interface IResReceiveDataError + * @property {number|null} [cmd] ResReceiveDataError cmd + * @property {number|null} [code] ResReceiveDataError code + */ + + /** + * Constructs a new ResReceiveDataError. + * @exports ResReceiveDataError + * @classdesc Represents a ResReceiveDataError. + * @implements IResReceiveDataError + * @constructor + * @param {IResReceiveDataError=} [properties] Properties to set + */ + function ResReceiveDataError(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReceiveDataError cmd. + * @member {number} cmd + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.cmd = 0; + + /** + * ResReceiveDataError code. + * @member {number} code + * @memberof ResReceiveDataError + * @instance + */ + ResReceiveDataError.prototype.code = 0; + + /** + * Creates a new ResReceiveDataError instance using the specified properties. + * @function create + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError=} [properties] Properties to set + * @returns {ResReceiveDataError} ResReceiveDataError instance + */ + ResReceiveDataError.create = function create(properties) { + return new ResReceiveDataError(properties); + }; + + /** + * Encodes the specified ResReceiveDataError message. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encode + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReceiveDataError message, length delimited. Does not implicitly {@link ResReceiveDataError.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {IResReceiveDataError} message ResReceiveDataError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReceiveDataError.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer. + * @function decode + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReceiveDataError(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReceiveDataError message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReceiveDataError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReceiveDataError} ResReceiveDataError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReceiveDataError.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReceiveDataError message. + * @function verify + * @memberof ResReceiveDataError + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReceiveDataError.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReceiveDataError message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReceiveDataError + * @static + * @param {Object.} object Plain object + * @returns {ResReceiveDataError} ResReceiveDataError + */ + ResReceiveDataError.fromObject = function fromObject(object) { + if (object instanceof $root.ResReceiveDataError) return object; + var message = new $root.ResReceiveDataError(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReceiveDataError message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReceiveDataError + * @static + * @param {ResReceiveDataError} message ResReceiveDataError + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReceiveDataError.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReceiveDataError to JSON. + * @function toJSON + * @memberof ResReceiveDataError + * @instance + * @returns {Object.} JSON object + */ + ResReceiveDataError.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReceiveDataError + * @function getTypeUrl + * @memberof ResReceiveDataError + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReceiveDataError.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReceiveDataError"; + }; + + return ResReceiveDataError; +})(); + +$root.ResCheckFile = (function () { + /** + * Properties of a ResCheckFile. + * @exports IResCheckFile + * @interface IResCheckFile + * @property {number|null} [cmd] ResCheckFile cmd + * @property {number|null} [code] ResCheckFile code + */ + + /** + * Constructs a new ResCheckFile. + * @exports ResCheckFile + * @classdesc Represents a ResCheckFile. + * @implements IResCheckFile + * @constructor + * @param {IResCheckFile=} [properties] Properties to set + */ + function ResCheckFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCheckFile cmd. + * @member {number} cmd + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.cmd = 0; + + /** + * ResCheckFile code. + * @member {number} code + * @memberof ResCheckFile + * @instance + */ + ResCheckFile.prototype.code = 0; + + /** + * Creates a new ResCheckFile instance using the specified properties. + * @function create + * @memberof ResCheckFile + * @static + * @param {IResCheckFile=} [properties] Properties to set + * @returns {ResCheckFile} ResCheckFile instance + */ + ResCheckFile.create = function create(properties) { + return new ResCheckFile(properties); + }; + + /** + * Encodes the specified ResCheckFile message. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encode + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.cmd); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCheckFile message, length delimited. Does not implicitly {@link ResCheckFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCheckFile + * @static + * @param {IResCheckFile} message ResCheckFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCheckFile.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer. + * @function decode + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCheckFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.cmd = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCheckFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCheckFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCheckFile} ResCheckFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCheckFile.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCheckFile message. + * @function verify + * @memberof ResCheckFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCheckFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.cmd != null && message.hasOwnProperty("cmd")) + if (!$util.isInteger(message.cmd)) return "cmd: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCheckFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCheckFile + * @static + * @param {Object.} object Plain object + * @returns {ResCheckFile} ResCheckFile + */ + ResCheckFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResCheckFile) return object; + var message = new $root.ResCheckFile(); + if (object.cmd != null) message.cmd = object.cmd | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCheckFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCheckFile + * @static + * @param {ResCheckFile} message ResCheckFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCheckFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.cmd = 0; + object.code = 0; + } + if (message.cmd != null && message.hasOwnProperty("cmd")) + object.cmd = message.cmd; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCheckFile to JSON. + * @function toJSON + * @memberof ResCheckFile + * @instance + * @returns {Object.} JSON object + */ + ResCheckFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCheckFile + * @function getTypeUrl + * @memberof ResCheckFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCheckFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCheckFile"; + }; + + return ResCheckFile; +})(); + +$root.ReqOpenCamera = (function () { + /** + * Properties of a ReqOpenCamera. + * @exports IReqOpenCamera + * @interface IReqOpenCamera + * @property {boolean|null} [binning] ReqOpenCamera binning + * @property {number|null} [rtspEncodeType] ReqOpenCamera rtspEncodeType + */ + + /** + * Constructs a new ReqOpenCamera. + * @exports ReqOpenCamera + * @classdesc Represents a ReqOpenCamera. + * @implements IReqOpenCamera + * @constructor + * @param {IReqOpenCamera=} [properties] Properties to set + */ + function ReqOpenCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqOpenCamera binning. + * @member {boolean} binning + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.binning = false; + + /** + * ReqOpenCamera rtspEncodeType. + * @member {number} rtspEncodeType + * @memberof ReqOpenCamera + * @instance + */ + ReqOpenCamera.prototype.rtspEncodeType = 0; + + /** + * Creates a new ReqOpenCamera instance using the specified properties. + * @function create + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera=} [properties] Properties to set + * @returns {ReqOpenCamera} ReqOpenCamera instance + */ + ReqOpenCamera.create = function create(properties) { + return new ReqOpenCamera(properties); + }; + + /** + * Encodes the specified ReqOpenCamera message. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encode + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.binning != null && + Object.hasOwnProperty.call(message, "binning") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.binning); + if ( + message.rtspEncodeType != null && + Object.hasOwnProperty.call(message, "rtspEncodeType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.rtspEncodeType); + return writer; + }; + + /** + * Encodes the specified ReqOpenCamera message, length delimited. Does not implicitly {@link ReqOpenCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {IReqOpenCamera} message ReqOpenCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.binning = reader.bool(); + break; + } + case 2: { + message.rtspEncodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenCamera} ReqOpenCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenCamera message. + * @function verify + * @memberof ReqOpenCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.binning != null && message.hasOwnProperty("binning")) + if (typeof message.binning !== "boolean") + return "binning: boolean expected"; + if ( + message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType") + ) + if (!$util.isInteger(message.rtspEncodeType)) + return "rtspEncodeType: integer expected"; + return null; + }; + + /** + * Creates a ReqOpenCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenCamera} ReqOpenCamera + */ + ReqOpenCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenCamera) return object; + var message = new $root.ReqOpenCamera(); + if (object.binning != null) message.binning = Boolean(object.binning); + if (object.rtspEncodeType != null) + message.rtspEncodeType = object.rtspEncodeType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqOpenCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenCamera + * @static + * @param {ReqOpenCamera} message ReqOpenCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenCamera.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.binning = false; + object.rtspEncodeType = 0; + } + if (message.binning != null && message.hasOwnProperty("binning")) + object.binning = message.binning; + if ( + message.rtspEncodeType != null && + message.hasOwnProperty("rtspEncodeType") + ) + object.rtspEncodeType = message.rtspEncodeType; + return object; + }; + + /** + * Converts this ReqOpenCamera to JSON. + * @function toJSON + * @memberof ReqOpenCamera + * @instance + * @returns {Object.} JSON object + */ + ReqOpenCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenCamera + * @function getTypeUrl + * @memberof ReqOpenCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenCamera"; + }; + + return ReqOpenCamera; +})(); + +$root.ReqCloseCamera = (function () { + /** + * Properties of a ReqCloseCamera. + * @exports IReqCloseCamera + * @interface IReqCloseCamera + */ + + /** + * Constructs a new ReqCloseCamera. + * @exports ReqCloseCamera + * @classdesc Represents a ReqCloseCamera. + * @implements IReqCloseCamera + * @constructor + * @param {IReqCloseCamera=} [properties] Properties to set + */ + function ReqCloseCamera(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCloseCamera instance using the specified properties. + * @function create + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera=} [properties] Properties to set + * @returns {ReqCloseCamera} ReqCloseCamera instance + */ + ReqCloseCamera.create = function create(properties) { + return new ReqCloseCamera(properties); + }; + + /** + * Encodes the specified ReqCloseCamera message. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encode + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCloseCamera message, length delimited. Does not implicitly {@link ReqCloseCamera.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {IReqCloseCamera} message ReqCloseCamera message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseCamera.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCloseCamera(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCloseCamera message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseCamera + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseCamera} ReqCloseCamera + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseCamera.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCloseCamera message. + * @function verify + * @memberof ReqCloseCamera + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseCamera.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCloseCamera message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseCamera + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseCamera} ReqCloseCamera + */ + ReqCloseCamera.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseCamera) return object; + return new $root.ReqCloseCamera(); + }; + + /** + * Creates a plain object from a ReqCloseCamera message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseCamera + * @static + * @param {ReqCloseCamera} message ReqCloseCamera + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseCamera.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCloseCamera to JSON. + * @function toJSON + * @memberof ReqCloseCamera + * @instance + * @returns {Object.} JSON object + */ + ReqCloseCamera.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCloseCamera + * @function getTypeUrl + * @memberof ReqCloseCamera + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseCamera.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseCamera"; + }; + + return ReqCloseCamera; +})(); + +$root.ReqPhoto = (function () { + /** + * Properties of a ReqPhoto. + * @exports IReqPhoto + * @interface IReqPhoto + */ + + /** + * Constructs a new ReqPhoto. + * @exports ReqPhoto + * @classdesc Represents a ReqPhoto. + * @implements IReqPhoto + * @constructor + * @param {IReqPhoto=} [properties] Properties to set + */ + function ReqPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPhoto instance using the specified properties. + * @function create + * @memberof ReqPhoto + * @static + * @param {IReqPhoto=} [properties] Properties to set + * @returns {ReqPhoto} ReqPhoto instance + */ + ReqPhoto.create = function create(properties) { + return new ReqPhoto(properties); + }; + + /** + * Encodes the specified ReqPhoto message. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encode + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPhoto message, length delimited. Does not implicitly {@link ReqPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhoto + * @static + * @param {IReqPhoto} message ReqPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhoto} ReqPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPhoto message. + * @function verify + * @memberof ReqPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqPhoto} ReqPhoto + */ + ReqPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhoto) return object; + return new $root.ReqPhoto(); + }; + + /** + * Creates a plain object from a ReqPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhoto + * @static + * @param {ReqPhoto} message ReqPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPhoto to JSON. + * @function toJSON + * @memberof ReqPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPhoto + * @function getTypeUrl + * @memberof ReqPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhoto"; + }; + + return ReqPhoto; +})(); + +$root.ReqBurstPhoto = (function () { + /** + * Properties of a ReqBurstPhoto. + * @exports IReqBurstPhoto + * @interface IReqBurstPhoto + * @property {number|null} [count] ReqBurstPhoto count + */ + + /** + * Constructs a new ReqBurstPhoto. + * @exports ReqBurstPhoto + * @classdesc Represents a ReqBurstPhoto. + * @implements IReqBurstPhoto + * @constructor + * @param {IReqBurstPhoto=} [properties] Properties to set + */ + function ReqBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqBurstPhoto count. + * @member {number} count + * @memberof ReqBurstPhoto + * @instance + */ + ReqBurstPhoto.prototype.count = 0; + + /** + * Creates a new ReqBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto=} [properties] Properties to set + * @returns {ReqBurstPhoto} ReqBurstPhoto instance + */ + ReqBurstPhoto.create = function create(properties) { + return new ReqBurstPhoto(properties); + }; + + /** + * Encodes the specified ReqBurstPhoto message. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.count != null && Object.hasOwnProperty.call(message, "count")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.count); + return writer; + }; + + /** + * Encodes the specified ReqBurstPhoto message, length delimited. Does not implicitly {@link ReqBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {IReqBurstPhoto} message ReqBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqBurstPhoto.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.count = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqBurstPhoto} ReqBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqBurstPhoto message. + * @function verify + * @memberof ReqBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.count != null && message.hasOwnProperty("count")) + if (!$util.isInteger(message.count)) return "count: integer expected"; + return null; + }; + + /** + * Creates a ReqBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqBurstPhoto} ReqBurstPhoto + */ + ReqBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqBurstPhoto) return object; + var message = new $root.ReqBurstPhoto(); + if (object.count != null) message.count = object.count | 0; + return message; + }; + + /** + * Creates a plain object from a ReqBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqBurstPhoto + * @static + * @param {ReqBurstPhoto} message ReqBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqBurstPhoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.count = 0; + if (message.count != null && message.hasOwnProperty("count")) + object.count = message.count; + return object; + }; + + /** + * Converts this ReqBurstPhoto to JSON. + * @function toJSON + * @memberof ReqBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqBurstPhoto + * @function getTypeUrl + * @memberof ReqBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqBurstPhoto"; + }; + + return ReqBurstPhoto; +})(); + +$root.ReqStopBurstPhoto = (function () { + /** + * Properties of a ReqStopBurstPhoto. + * @exports IReqStopBurstPhoto + * @interface IReqStopBurstPhoto + */ + + /** + * Constructs a new ReqStopBurstPhoto. + * @exports ReqStopBurstPhoto + * @classdesc Represents a ReqStopBurstPhoto. + * @implements IReqStopBurstPhoto + * @constructor + * @param {IReqStopBurstPhoto=} [properties] Properties to set + */ + function ReqStopBurstPhoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopBurstPhoto instance using the specified properties. + * @function create + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto=} [properties] Properties to set + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto instance + */ + ReqStopBurstPhoto.create = function create(properties) { + return new ReqStopBurstPhoto(properties); + }; + + /** + * Encodes the specified ReqStopBurstPhoto message. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encode + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopBurstPhoto message, length delimited. Does not implicitly {@link ReqStopBurstPhoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {IReqStopBurstPhoto} message ReqStopBurstPhoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopBurstPhoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer. + * @function decode + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopBurstPhoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopBurstPhoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopBurstPhoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopBurstPhoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopBurstPhoto message. + * @function verify + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopBurstPhoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopBurstPhoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopBurstPhoto + * @static + * @param {Object.} object Plain object + * @returns {ReqStopBurstPhoto} ReqStopBurstPhoto + */ + ReqStopBurstPhoto.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopBurstPhoto) return object; + return new $root.ReqStopBurstPhoto(); + }; + + /** + * Creates a plain object from a ReqStopBurstPhoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopBurstPhoto + * @static + * @param {ReqStopBurstPhoto} message ReqStopBurstPhoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopBurstPhoto.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopBurstPhoto to JSON. + * @function toJSON + * @memberof ReqStopBurstPhoto + * @instance + * @returns {Object.} JSON object + */ + ReqStopBurstPhoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopBurstPhoto + * @function getTypeUrl + * @memberof ReqStopBurstPhoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopBurstPhoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopBurstPhoto"; + }; + + return ReqStopBurstPhoto; +})(); + +$root.ReqStartRecord = (function () { + /** + * Properties of a ReqStartRecord. + * @exports IReqStartRecord + * @interface IReqStartRecord + * @property {number|null} [encodeType] ReqStartRecord encodeType + */ + + /** + * Constructs a new ReqStartRecord. + * @exports ReqStartRecord + * @classdesc Represents a ReqStartRecord. + * @implements IReqStartRecord + * @constructor + * @param {IReqStartRecord=} [properties] Properties to set + */ + function ReqStartRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartRecord encodeType. + * @member {number} encodeType + * @memberof ReqStartRecord + * @instance + */ + ReqStartRecord.prototype.encodeType = 0; + + /** + * Creates a new ReqStartRecord instance using the specified properties. + * @function create + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord=} [properties] Properties to set + * @returns {ReqStartRecord} ReqStartRecord instance + */ + ReqStartRecord.create = function create(properties) { + return new ReqStartRecord(properties); + }; + + /** + * Encodes the specified ReqStartRecord message. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encode + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.encodeType != null && + Object.hasOwnProperty.call(message, "encodeType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.encodeType); + return writer; + }; + + /** + * Encodes the specified ReqStartRecord message, length delimited. Does not implicitly {@link ReqStartRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartRecord + * @static + * @param {IReqStartRecord} message ReqStartRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.encodeType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartRecord} ReqStartRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartRecord message. + * @function verify + * @memberof ReqStartRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + if (!$util.isInteger(message.encodeType)) + return "encodeType: integer expected"; + return null; + }; + + /** + * Creates a ReqStartRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStartRecord} ReqStartRecord + */ + ReqStartRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartRecord) return object; + var message = new $root.ReqStartRecord(); + if (object.encodeType != null) message.encodeType = object.encodeType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartRecord + * @static + * @param {ReqStartRecord} message ReqStartRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartRecord.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.encodeType = 0; + if (message.encodeType != null && message.hasOwnProperty("encodeType")) + object.encodeType = message.encodeType; + return object; + }; + + /** + * Converts this ReqStartRecord to JSON. + * @function toJSON + * @memberof ReqStartRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStartRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartRecord + * @function getTypeUrl + * @memberof ReqStartRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartRecord"; + }; + + return ReqStartRecord; +})(); + +$root.ReqStopRecord = (function () { + /** + * Properties of a ReqStopRecord. + * @exports IReqStopRecord + * @interface IReqStopRecord + */ + + /** + * Constructs a new ReqStopRecord. + * @exports ReqStopRecord + * @classdesc Represents a ReqStopRecord. + * @implements IReqStopRecord + * @constructor + * @param {IReqStopRecord=} [properties] Properties to set + */ + function ReqStopRecord(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopRecord instance using the specified properties. + * @function create + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord=} [properties] Properties to set + * @returns {ReqStopRecord} ReqStopRecord instance + */ + ReqStopRecord.create = function create(properties) { + return new ReqStopRecord(properties); + }; + + /** + * Encodes the specified ReqStopRecord message. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encode + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopRecord message, length delimited. Does not implicitly {@link ReqStopRecord.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopRecord + * @static + * @param {IReqStopRecord} message ReqStopRecord message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopRecord.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer. + * @function decode + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopRecord(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopRecord message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopRecord + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopRecord} ReqStopRecord + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopRecord.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopRecord message. + * @function verify + * @memberof ReqStopRecord + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopRecord.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopRecord message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopRecord + * @static + * @param {Object.} object Plain object + * @returns {ReqStopRecord} ReqStopRecord + */ + ReqStopRecord.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopRecord) return object; + return new $root.ReqStopRecord(); + }; + + /** + * Creates a plain object from a ReqStopRecord message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopRecord + * @static + * @param {ReqStopRecord} message ReqStopRecord + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopRecord.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopRecord to JSON. + * @function toJSON + * @memberof ReqStopRecord + * @instance + * @returns {Object.} JSON object + */ + ReqStopRecord.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopRecord + * @function getTypeUrl + * @memberof ReqStopRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopRecord"; + }; + + return ReqStopRecord; +})(); + +$root.ReqSetExpMode = (function () { + /** + * Properties of a ReqSetExpMode. + * @exports IReqSetExpMode + * @interface IReqSetExpMode + * @property {number|null} [mode] ReqSetExpMode mode + */ + + /** + * Constructs a new ReqSetExpMode. + * @exports ReqSetExpMode + * @classdesc Represents a ReqSetExpMode. + * @implements IReqSetExpMode + * @constructor + * @param {IReqSetExpMode=} [properties] Properties to set + */ + function ReqSetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetExpMode mode. + * @member {number} mode + * @memberof ReqSetExpMode + * @instance + */ + ReqSetExpMode.prototype.mode = 0; + + /** + * Creates a new ReqSetExpMode instance using the specified properties. + * @function create + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode=} [properties] Properties to set + * @returns {ReqSetExpMode} ReqSetExpMode instance + */ + ReqSetExpMode.create = function create(properties) { + return new ReqSetExpMode(properties); + }; + + /** + * Encodes the specified ReqSetExpMode message. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetExpMode message, length delimited. Does not implicitly {@link ReqSetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {IReqSetExpMode} message ReqSetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExpMode} ReqSetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetExpMode message. + * @function verify + * @memberof ReqSetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExpMode} ReqSetExpMode + */ + ReqSetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExpMode) return object; + var message = new $root.ReqSetExpMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExpMode + * @static + * @param {ReqSetExpMode} message ReqSetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExpMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetExpMode to JSON. + * @function toJSON + * @memberof ReqSetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetExpMode + * @function getTypeUrl + * @memberof ReqSetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExpMode"; + }; + + return ReqSetExpMode; +})(); + +$root.ReqGetExpMode = (function () { + /** + * Properties of a ReqGetExpMode. + * @exports IReqGetExpMode + * @interface IReqGetExpMode + */ + + /** + * Constructs a new ReqGetExpMode. + * @exports ReqGetExpMode + * @classdesc Represents a ReqGetExpMode. + * @implements IReqGetExpMode + * @constructor + * @param {IReqGetExpMode=} [properties] Properties to set + */ + function ReqGetExpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetExpMode instance using the specified properties. + * @function create + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode=} [properties] Properties to set + * @returns {ReqGetExpMode} ReqGetExpMode instance + */ + ReqGetExpMode.create = function create(properties) { + return new ReqGetExpMode(properties); + }; + + /** + * Encodes the specified ReqGetExpMode message. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encode + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetExpMode message, length delimited. Does not implicitly {@link ReqGetExpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {IReqGetExpMode} message ReqGetExpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetExpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetExpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExpMode} ReqGetExpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetExpMode message. + * @function verify + * @memberof ReqGetExpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetExpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExpMode} ReqGetExpMode + */ + ReqGetExpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExpMode) return object; + return new $root.ReqGetExpMode(); + }; + + /** + * Creates a plain object from a ReqGetExpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExpMode + * @static + * @param {ReqGetExpMode} message ReqGetExpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExpMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetExpMode to JSON. + * @function toJSON + * @memberof ReqGetExpMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetExpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetExpMode + * @function getTypeUrl + * @memberof ReqGetExpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExpMode"; + }; + + return ReqGetExpMode; +})(); + +$root.ReqSetExp = (function () { + /** + * Properties of a ReqSetExp. + * @exports IReqSetExp + * @interface IReqSetExp + * @property {number|null} [index] ReqSetExp index + */ + + /** + * Constructs a new ReqSetExp. + * @exports ReqSetExp + * @classdesc Represents a ReqSetExp. + * @implements IReqSetExp + * @constructor + * @param {IReqSetExp=} [properties] Properties to set + */ + function ReqSetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetExp index. + * @member {number} index + * @memberof ReqSetExp + * @instance + */ + ReqSetExp.prototype.index = 0; + + /** + * Creates a new ReqSetExp instance using the specified properties. + * @function create + * @memberof ReqSetExp + * @static + * @param {IReqSetExp=} [properties] Properties to set + * @returns {ReqSetExp} ReqSetExp instance + */ + ReqSetExp.create = function create(properties) { + return new ReqSetExp(properties); + }; + + /** + * Encodes the specified ReqSetExp message. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encode + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetExp message, length delimited. Does not implicitly {@link ReqSetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetExp + * @static + * @param {IReqSetExp} message ReqSetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetExp} ReqSetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetExp message. + * @function verify + * @memberof ReqSetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqSetExp} ReqSetExp + */ + ReqSetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetExp) return object; + var message = new $root.ReqSetExp(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetExp + * @static + * @param {ReqSetExp} message ReqSetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetExp.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetExp to JSON. + * @function toJSON + * @memberof ReqSetExp + * @instance + * @returns {Object.} JSON object + */ + ReqSetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetExp + * @function getTypeUrl + * @memberof ReqSetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetExp"; + }; + + return ReqSetExp; +})(); + +$root.ReqGetExp = (function () { + /** + * Properties of a ReqGetExp. + * @exports IReqGetExp + * @interface IReqGetExp + */ + + /** + * Constructs a new ReqGetExp. + * @exports ReqGetExp + * @classdesc Represents a ReqGetExp. + * @implements IReqGetExp + * @constructor + * @param {IReqGetExp=} [properties] Properties to set + */ + function ReqGetExp(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetExp instance using the specified properties. + * @function create + * @memberof ReqGetExp + * @static + * @param {IReqGetExp=} [properties] Properties to set + * @returns {ReqGetExp} ReqGetExp instance + */ + ReqGetExp.create = function create(properties) { + return new ReqGetExp(properties); + }; + + /** + * Encodes the specified ReqGetExp message. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encode + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetExp message, length delimited. Does not implicitly {@link ReqGetExp.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetExp + * @static + * @param {IReqGetExp} message ReqGetExp message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetExp.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer. + * @function decode + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetExp(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetExp message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetExp + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetExp} ReqGetExp + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetExp.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetExp message. + * @function verify + * @memberof ReqGetExp + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetExp.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetExp message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetExp + * @static + * @param {Object.} object Plain object + * @returns {ReqGetExp} ReqGetExp + */ + ReqGetExp.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetExp) return object; + return new $root.ReqGetExp(); + }; + + /** + * Creates a plain object from a ReqGetExp message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetExp + * @static + * @param {ReqGetExp} message ReqGetExp + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetExp.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetExp to JSON. + * @function toJSON + * @memberof ReqGetExp + * @instance + * @returns {Object.} JSON object + */ + ReqGetExp.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetExp + * @function getTypeUrl + * @memberof ReqGetExp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetExp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetExp"; + }; + + return ReqGetExp; +})(); + +$root.ReqSetGainMode = (function () { + /** + * Properties of a ReqSetGainMode. + * @exports IReqSetGainMode + * @interface IReqSetGainMode + * @property {number|null} [mode] ReqSetGainMode mode + */ + + /** + * Constructs a new ReqSetGainMode. + * @exports ReqSetGainMode + * @classdesc Represents a ReqSetGainMode. + * @implements IReqSetGainMode + * @constructor + * @param {IReqSetGainMode=} [properties] Properties to set + */ + function ReqSetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetGainMode mode. + * @member {number} mode + * @memberof ReqSetGainMode + * @instance + */ + ReqSetGainMode.prototype.mode = 0; + + /** + * Creates a new ReqSetGainMode instance using the specified properties. + * @function create + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode=} [properties] Properties to set + * @returns {ReqSetGainMode} ReqSetGainMode instance + */ + ReqSetGainMode.create = function create(properties) { + return new ReqSetGainMode(properties); + }; + + /** + * Encodes the specified ReqSetGainMode message. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetGainMode message, length delimited. Does not implicitly {@link ReqSetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {IReqSetGainMode} message ReqSetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGainMode} ReqSetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetGainMode message. + * @function verify + * @memberof ReqSetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGainMode} ReqSetGainMode + */ + ReqSetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGainMode) return object; + var message = new $root.ReqSetGainMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGainMode + * @static + * @param {ReqSetGainMode} message ReqSetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGainMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetGainMode to JSON. + * @function toJSON + * @memberof ReqSetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetGainMode + * @function getTypeUrl + * @memberof ReqSetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGainMode"; + }; + + return ReqSetGainMode; +})(); + +$root.ReqGetGainMode = (function () { + /** + * Properties of a ReqGetGainMode. + * @exports IReqGetGainMode + * @interface IReqGetGainMode + */ + + /** + * Constructs a new ReqGetGainMode. + * @exports ReqGetGainMode + * @classdesc Represents a ReqGetGainMode. + * @implements IReqGetGainMode + * @constructor + * @param {IReqGetGainMode=} [properties] Properties to set + */ + function ReqGetGainMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetGainMode instance using the specified properties. + * @function create + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode=} [properties] Properties to set + * @returns {ReqGetGainMode} ReqGetGainMode instance + */ + ReqGetGainMode.create = function create(properties) { + return new ReqGetGainMode(properties); + }; + + /** + * Encodes the specified ReqGetGainMode message. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encode + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetGainMode message, length delimited. Does not implicitly {@link ReqGetGainMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {IReqGetGainMode} message ReqGetGainMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGainMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetGainMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetGainMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGainMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGainMode} ReqGetGainMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGainMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetGainMode message. + * @function verify + * @memberof ReqGetGainMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGainMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetGainMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGainMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGainMode} ReqGetGainMode + */ + ReqGetGainMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGainMode) return object; + return new $root.ReqGetGainMode(); + }; + + /** + * Creates a plain object from a ReqGetGainMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGainMode + * @static + * @param {ReqGetGainMode} message ReqGetGainMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGainMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetGainMode to JSON. + * @function toJSON + * @memberof ReqGetGainMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetGainMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetGainMode + * @function getTypeUrl + * @memberof ReqGetGainMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGainMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGainMode"; + }; + + return ReqGetGainMode; +})(); + +$root.ReqSetGain = (function () { + /** + * Properties of a ReqSetGain. + * @exports IReqSetGain + * @interface IReqSetGain + * @property {number|null} [index] ReqSetGain index + */ + + /** + * Constructs a new ReqSetGain. + * @exports ReqSetGain + * @classdesc Represents a ReqSetGain. + * @implements IReqSetGain + * @constructor + * @param {IReqSetGain=} [properties] Properties to set + */ + function ReqSetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetGain index. + * @member {number} index + * @memberof ReqSetGain + * @instance + */ + ReqSetGain.prototype.index = 0; + + /** + * Creates a new ReqSetGain instance using the specified properties. + * @function create + * @memberof ReqSetGain + * @static + * @param {IReqSetGain=} [properties] Properties to set + * @returns {ReqSetGain} ReqSetGain instance + */ + ReqSetGain.create = function create(properties) { + return new ReqSetGain(properties); + }; + + /** + * Encodes the specified ReqSetGain message. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encode + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetGain message, length delimited. Does not implicitly {@link ReqSetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetGain + * @static + * @param {IReqSetGain} message ReqSetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetGain} ReqSetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetGain message. + * @function verify + * @memberof ReqSetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqSetGain} ReqSetGain + */ + ReqSetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetGain) return object; + var message = new $root.ReqSetGain(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetGain + * @static + * @param {ReqSetGain} message ReqSetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetGain.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetGain to JSON. + * @function toJSON + * @memberof ReqSetGain + * @instance + * @returns {Object.} JSON object + */ + ReqSetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetGain + * @function getTypeUrl + * @memberof ReqSetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetGain"; + }; + + return ReqSetGain; +})(); + +$root.ReqGetGain = (function () { + /** + * Properties of a ReqGetGain. + * @exports IReqGetGain + * @interface IReqGetGain + */ + + /** + * Constructs a new ReqGetGain. + * @exports ReqGetGain + * @classdesc Represents a ReqGetGain. + * @implements IReqGetGain + * @constructor + * @param {IReqGetGain=} [properties] Properties to set + */ + function ReqGetGain(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetGain instance using the specified properties. + * @function create + * @memberof ReqGetGain + * @static + * @param {IReqGetGain=} [properties] Properties to set + * @returns {ReqGetGain} ReqGetGain instance + */ + ReqGetGain.create = function create(properties) { + return new ReqGetGain(properties); + }; + + /** + * Encodes the specified ReqGetGain message. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encode + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetGain message, length delimited. Does not implicitly {@link ReqGetGain.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetGain + * @static + * @param {IReqGetGain} message ReqGetGain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetGain.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer. + * @function decode + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetGain(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetGain message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetGain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetGain} ReqGetGain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetGain.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetGain message. + * @function verify + * @memberof ReqGetGain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetGain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetGain message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetGain + * @static + * @param {Object.} object Plain object + * @returns {ReqGetGain} ReqGetGain + */ + ReqGetGain.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetGain) return object; + return new $root.ReqGetGain(); + }; + + /** + * Creates a plain object from a ReqGetGain message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetGain + * @static + * @param {ReqGetGain} message ReqGetGain + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetGain.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetGain to JSON. + * @function toJSON + * @memberof ReqGetGain + * @instance + * @returns {Object.} JSON object + */ + ReqGetGain.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetGain + * @function getTypeUrl + * @memberof ReqGetGain + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetGain.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetGain"; + }; + + return ReqGetGain; +})(); + +$root.ReqSetBrightness = (function () { + /** + * Properties of a ReqSetBrightness. + * @exports IReqSetBrightness + * @interface IReqSetBrightness + * @property {number|null} [value] ReqSetBrightness value + */ + + /** + * Constructs a new ReqSetBrightness. + * @exports ReqSetBrightness + * @classdesc Represents a ReqSetBrightness. + * @implements IReqSetBrightness + * @constructor + * @param {IReqSetBrightness=} [properties] Properties to set + */ + function ReqSetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetBrightness value. + * @member {number} value + * @memberof ReqSetBrightness + * @instance + */ + ReqSetBrightness.prototype.value = 0; + + /** + * Creates a new ReqSetBrightness instance using the specified properties. + * @function create + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness=} [properties] Properties to set + * @returns {ReqSetBrightness} ReqSetBrightness instance + */ + ReqSetBrightness.create = function create(properties) { + return new ReqSetBrightness(properties); + }; + + /** + * Encodes the specified ReqSetBrightness message. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetBrightness message, length delimited. Does not implicitly {@link ReqSetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {IReqSetBrightness} message ReqSetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetBrightness} ReqSetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetBrightness message. + * @function verify + * @memberof ReqSetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetBrightness} ReqSetBrightness + */ + ReqSetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetBrightness) return object; + var message = new $root.ReqSetBrightness(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetBrightness + * @static + * @param {ReqSetBrightness} message ReqSetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetBrightness.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetBrightness to JSON. + * @function toJSON + * @memberof ReqSetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqSetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetBrightness + * @function getTypeUrl + * @memberof ReqSetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetBrightness"; + }; + + return ReqSetBrightness; +})(); + +$root.ReqGetBrightness = (function () { + /** + * Properties of a ReqGetBrightness. + * @exports IReqGetBrightness + * @interface IReqGetBrightness + */ + + /** + * Constructs a new ReqGetBrightness. + * @exports ReqGetBrightness + * @classdesc Represents a ReqGetBrightness. + * @implements IReqGetBrightness + * @constructor + * @param {IReqGetBrightness=} [properties] Properties to set + */ + function ReqGetBrightness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetBrightness instance using the specified properties. + * @function create + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness=} [properties] Properties to set + * @returns {ReqGetBrightness} ReqGetBrightness instance + */ + ReqGetBrightness.create = function create(properties) { + return new ReqGetBrightness(properties); + }; + + /** + * Encodes the specified ReqGetBrightness message. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encode + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetBrightness message, length delimited. Does not implicitly {@link ReqGetBrightness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {IReqGetBrightness} message ReqGetBrightness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetBrightness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetBrightness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetBrightness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetBrightness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetBrightness} ReqGetBrightness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetBrightness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetBrightness message. + * @function verify + * @memberof ReqGetBrightness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetBrightness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetBrightness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetBrightness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetBrightness} ReqGetBrightness + */ + ReqGetBrightness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetBrightness) return object; + return new $root.ReqGetBrightness(); + }; + + /** + * Creates a plain object from a ReqGetBrightness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetBrightness + * @static + * @param {ReqGetBrightness} message ReqGetBrightness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetBrightness.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetBrightness to JSON. + * @function toJSON + * @memberof ReqGetBrightness + * @instance + * @returns {Object.} JSON object + */ + ReqGetBrightness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetBrightness + * @function getTypeUrl + * @memberof ReqGetBrightness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetBrightness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetBrightness"; + }; + + return ReqGetBrightness; +})(); + +$root.ReqSetContrast = (function () { + /** + * Properties of a ReqSetContrast. + * @exports IReqSetContrast + * @interface IReqSetContrast + * @property {number|null} [value] ReqSetContrast value + */ + + /** + * Constructs a new ReqSetContrast. + * @exports ReqSetContrast + * @classdesc Represents a ReqSetContrast. + * @implements IReqSetContrast + * @constructor + * @param {IReqSetContrast=} [properties] Properties to set + */ + function ReqSetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetContrast value. + * @member {number} value + * @memberof ReqSetContrast + * @instance + */ + ReqSetContrast.prototype.value = 0; + + /** + * Creates a new ReqSetContrast instance using the specified properties. + * @function create + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast=} [properties] Properties to set + * @returns {ReqSetContrast} ReqSetContrast instance + */ + ReqSetContrast.create = function create(properties) { + return new ReqSetContrast(properties); + }; + + /** + * Encodes the specified ReqSetContrast message. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encode + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetContrast message, length delimited. Does not implicitly {@link ReqSetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetContrast + * @static + * @param {IReqSetContrast} message ReqSetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetContrast} ReqSetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetContrast message. + * @function verify + * @memberof ReqSetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqSetContrast} ReqSetContrast + */ + ReqSetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetContrast) return object; + var message = new $root.ReqSetContrast(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetContrast + * @static + * @param {ReqSetContrast} message ReqSetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetContrast.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetContrast to JSON. + * @function toJSON + * @memberof ReqSetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqSetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetContrast + * @function getTypeUrl + * @memberof ReqSetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetContrast"; + }; + + return ReqSetContrast; +})(); + +$root.ReqGetContrast = (function () { + /** + * Properties of a ReqGetContrast. + * @exports IReqGetContrast + * @interface IReqGetContrast + */ + + /** + * Constructs a new ReqGetContrast. + * @exports ReqGetContrast + * @classdesc Represents a ReqGetContrast. + * @implements IReqGetContrast + * @constructor + * @param {IReqGetContrast=} [properties] Properties to set + */ + function ReqGetContrast(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetContrast instance using the specified properties. + * @function create + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast=} [properties] Properties to set + * @returns {ReqGetContrast} ReqGetContrast instance + */ + ReqGetContrast.create = function create(properties) { + return new ReqGetContrast(properties); + }; + + /** + * Encodes the specified ReqGetContrast message. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encode + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetContrast message, length delimited. Does not implicitly {@link ReqGetContrast.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetContrast + * @static + * @param {IReqGetContrast} message ReqGetContrast message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetContrast.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer. + * @function decode + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetContrast(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetContrast message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetContrast + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetContrast} ReqGetContrast + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetContrast.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetContrast message. + * @function verify + * @memberof ReqGetContrast + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetContrast.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetContrast message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetContrast + * @static + * @param {Object.} object Plain object + * @returns {ReqGetContrast} ReqGetContrast + */ + ReqGetContrast.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetContrast) return object; + return new $root.ReqGetContrast(); + }; + + /** + * Creates a plain object from a ReqGetContrast message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetContrast + * @static + * @param {ReqGetContrast} message ReqGetContrast + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetContrast.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetContrast to JSON. + * @function toJSON + * @memberof ReqGetContrast + * @instance + * @returns {Object.} JSON object + */ + ReqGetContrast.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetContrast + * @function getTypeUrl + * @memberof ReqGetContrast + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetContrast.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetContrast"; + }; + + return ReqGetContrast; +})(); + +$root.ReqSetHue = (function () { + /** + * Properties of a ReqSetHue. + * @exports IReqSetHue + * @interface IReqSetHue + * @property {number|null} [value] ReqSetHue value + */ + + /** + * Constructs a new ReqSetHue. + * @exports ReqSetHue + * @classdesc Represents a ReqSetHue. + * @implements IReqSetHue + * @constructor + * @param {IReqSetHue=} [properties] Properties to set + */ + function ReqSetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetHue value. + * @member {number} value + * @memberof ReqSetHue + * @instance + */ + ReqSetHue.prototype.value = 0; + + /** + * Creates a new ReqSetHue instance using the specified properties. + * @function create + * @memberof ReqSetHue + * @static + * @param {IReqSetHue=} [properties] Properties to set + * @returns {ReqSetHue} ReqSetHue instance + */ + ReqSetHue.create = function create(properties) { + return new ReqSetHue(properties); + }; + + /** + * Encodes the specified ReqSetHue message. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encode + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetHue message, length delimited. Does not implicitly {@link ReqSetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetHue + * @static + * @param {IReqSetHue} message ReqSetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetHue} ReqSetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetHue message. + * @function verify + * @memberof ReqSetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqSetHue} ReqSetHue + */ + ReqSetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetHue) return object; + var message = new $root.ReqSetHue(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetHue + * @static + * @param {ReqSetHue} message ReqSetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetHue.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetHue to JSON. + * @function toJSON + * @memberof ReqSetHue + * @instance + * @returns {Object.} JSON object + */ + ReqSetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetHue + * @function getTypeUrl + * @memberof ReqSetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetHue"; + }; + + return ReqSetHue; +})(); + +$root.ReqGetHue = (function () { + /** + * Properties of a ReqGetHue. + * @exports IReqGetHue + * @interface IReqGetHue + */ + + /** + * Constructs a new ReqGetHue. + * @exports ReqGetHue + * @classdesc Represents a ReqGetHue. + * @implements IReqGetHue + * @constructor + * @param {IReqGetHue=} [properties] Properties to set + */ + function ReqGetHue(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetHue instance using the specified properties. + * @function create + * @memberof ReqGetHue + * @static + * @param {IReqGetHue=} [properties] Properties to set + * @returns {ReqGetHue} ReqGetHue instance + */ + ReqGetHue.create = function create(properties) { + return new ReqGetHue(properties); + }; + + /** + * Encodes the specified ReqGetHue message. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encode + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetHue message, length delimited. Does not implicitly {@link ReqGetHue.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetHue + * @static + * @param {IReqGetHue} message ReqGetHue message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetHue.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer. + * @function decode + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetHue(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetHue message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetHue + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetHue} ReqGetHue + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetHue.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetHue message. + * @function verify + * @memberof ReqGetHue + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetHue.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetHue message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetHue + * @static + * @param {Object.} object Plain object + * @returns {ReqGetHue} ReqGetHue + */ + ReqGetHue.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetHue) return object; + return new $root.ReqGetHue(); + }; + + /** + * Creates a plain object from a ReqGetHue message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetHue + * @static + * @param {ReqGetHue} message ReqGetHue + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetHue.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetHue to JSON. + * @function toJSON + * @memberof ReqGetHue + * @instance + * @returns {Object.} JSON object + */ + ReqGetHue.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetHue + * @function getTypeUrl + * @memberof ReqGetHue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetHue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetHue"; + }; + + return ReqGetHue; +})(); + +$root.ReqSetSaturation = (function () { + /** + * Properties of a ReqSetSaturation. + * @exports IReqSetSaturation + * @interface IReqSetSaturation + * @property {number|null} [value] ReqSetSaturation value + */ + + /** + * Constructs a new ReqSetSaturation. + * @exports ReqSetSaturation + * @classdesc Represents a ReqSetSaturation. + * @implements IReqSetSaturation + * @constructor + * @param {IReqSetSaturation=} [properties] Properties to set + */ + function ReqSetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetSaturation value. + * @member {number} value + * @memberof ReqSetSaturation + * @instance + */ + ReqSetSaturation.prototype.value = 0; + + /** + * Creates a new ReqSetSaturation instance using the specified properties. + * @function create + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation=} [properties] Properties to set + * @returns {ReqSetSaturation} ReqSetSaturation instance + */ + ReqSetSaturation.create = function create(properties) { + return new ReqSetSaturation(properties); + }; + + /** + * Encodes the specified ReqSetSaturation message. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetSaturation message, length delimited. Does not implicitly {@link ReqSetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {IReqSetSaturation} message ReqSetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSaturation} ReqSetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetSaturation message. + * @function verify + * @memberof ReqSetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSaturation} ReqSetSaturation + */ + ReqSetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSaturation) return object; + var message = new $root.ReqSetSaturation(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSaturation + * @static + * @param {ReqSetSaturation} message ReqSetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSaturation.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetSaturation to JSON. + * @function toJSON + * @memberof ReqSetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqSetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetSaturation + * @function getTypeUrl + * @memberof ReqSetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSaturation"; + }; + + return ReqSetSaturation; +})(); + +$root.ReqGetSaturation = (function () { + /** + * Properties of a ReqGetSaturation. + * @exports IReqGetSaturation + * @interface IReqGetSaturation + */ + + /** + * Constructs a new ReqGetSaturation. + * @exports ReqGetSaturation + * @classdesc Represents a ReqGetSaturation. + * @implements IReqGetSaturation + * @constructor + * @param {IReqGetSaturation=} [properties] Properties to set + */ + function ReqGetSaturation(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSaturation instance using the specified properties. + * @function create + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation=} [properties] Properties to set + * @returns {ReqGetSaturation} ReqGetSaturation instance + */ + ReqGetSaturation.create = function create(properties) { + return new ReqGetSaturation(properties); + }; + + /** + * Encodes the specified ReqGetSaturation message. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encode + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSaturation message, length delimited. Does not implicitly {@link ReqGetSaturation.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {IReqGetSaturation} message ReqGetSaturation message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSaturation.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSaturation(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSaturation message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSaturation + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSaturation} ReqGetSaturation + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSaturation.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSaturation message. + * @function verify + * @memberof ReqGetSaturation + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSaturation.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSaturation message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSaturation + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSaturation} ReqGetSaturation + */ + ReqGetSaturation.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSaturation) return object; + return new $root.ReqGetSaturation(); + }; + + /** + * Creates a plain object from a ReqGetSaturation message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSaturation + * @static + * @param {ReqGetSaturation} message ReqGetSaturation + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSaturation.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSaturation to JSON. + * @function toJSON + * @memberof ReqGetSaturation + * @instance + * @returns {Object.} JSON object + */ + ReqGetSaturation.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSaturation + * @function getTypeUrl + * @memberof ReqGetSaturation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSaturation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSaturation"; + }; + + return ReqGetSaturation; +})(); + +$root.ReqSetSharpness = (function () { + /** + * Properties of a ReqSetSharpness. + * @exports IReqSetSharpness + * @interface IReqSetSharpness + * @property {number|null} [value] ReqSetSharpness value + */ + + /** + * Constructs a new ReqSetSharpness. + * @exports ReqSetSharpness + * @classdesc Represents a ReqSetSharpness. + * @implements IReqSetSharpness + * @constructor + * @param {IReqSetSharpness=} [properties] Properties to set + */ + function ReqSetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetSharpness value. + * @member {number} value + * @memberof ReqSetSharpness + * @instance + */ + ReqSetSharpness.prototype.value = 0; + + /** + * Creates a new ReqSetSharpness instance using the specified properties. + * @function create + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness=} [properties] Properties to set + * @returns {ReqSetSharpness} ReqSetSharpness instance + */ + ReqSetSharpness.create = function create(properties) { + return new ReqSetSharpness(properties); + }; + + /** + * Encodes the specified ReqSetSharpness message. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetSharpness message, length delimited. Does not implicitly {@link ReqSetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {IReqSetSharpness} message ReqSetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetSharpness} ReqSetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetSharpness message. + * @function verify + * @memberof ReqSetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqSetSharpness} ReqSetSharpness + */ + ReqSetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetSharpness) return object; + var message = new $root.ReqSetSharpness(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetSharpness + * @static + * @param {ReqSetSharpness} message ReqSetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetSharpness.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetSharpness to JSON. + * @function toJSON + * @memberof ReqSetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqSetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetSharpness + * @function getTypeUrl + * @memberof ReqSetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetSharpness"; + }; + + return ReqSetSharpness; +})(); + +$root.ReqGetSharpness = (function () { + /** + * Properties of a ReqGetSharpness. + * @exports IReqGetSharpness + * @interface IReqGetSharpness + */ + + /** + * Constructs a new ReqGetSharpness. + * @exports ReqGetSharpness + * @classdesc Represents a ReqGetSharpness. + * @implements IReqGetSharpness + * @constructor + * @param {IReqGetSharpness=} [properties] Properties to set + */ + function ReqGetSharpness(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSharpness instance using the specified properties. + * @function create + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness=} [properties] Properties to set + * @returns {ReqGetSharpness} ReqGetSharpness instance + */ + ReqGetSharpness.create = function create(properties) { + return new ReqGetSharpness(properties); + }; + + /** + * Encodes the specified ReqGetSharpness message. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encode + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSharpness message, length delimited. Does not implicitly {@link ReqGetSharpness.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {IReqGetSharpness} message ReqGetSharpness message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSharpness.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSharpness(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSharpness message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSharpness + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSharpness} ReqGetSharpness + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSharpness.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSharpness message. + * @function verify + * @memberof ReqGetSharpness + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSharpness.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSharpness message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSharpness + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSharpness} ReqGetSharpness + */ + ReqGetSharpness.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSharpness) return object; + return new $root.ReqGetSharpness(); + }; + + /** + * Creates a plain object from a ReqGetSharpness message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSharpness + * @static + * @param {ReqGetSharpness} message ReqGetSharpness + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSharpness.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSharpness to JSON. + * @function toJSON + * @memberof ReqGetSharpness + * @instance + * @returns {Object.} JSON object + */ + ReqGetSharpness.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSharpness + * @function getTypeUrl + * @memberof ReqGetSharpness + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSharpness.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSharpness"; + }; + + return ReqGetSharpness; +})(); + +$root.ReqSetWBMode = (function () { + /** + * Properties of a ReqSetWBMode. + * @exports IReqSetWBMode + * @interface IReqSetWBMode + * @property {number|null} [mode] ReqSetWBMode mode + */ + + /** + * Constructs a new ReqSetWBMode. + * @exports ReqSetWBMode + * @classdesc Represents a ReqSetWBMode. + * @implements IReqSetWBMode + * @constructor + * @param {IReqSetWBMode=} [properties] Properties to set + */ + function ReqSetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBMode mode. + * @member {number} mode + * @memberof ReqSetWBMode + * @instance + */ + ReqSetWBMode.prototype.mode = 0; + + /** + * Creates a new ReqSetWBMode instance using the specified properties. + * @function create + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode=} [properties] Properties to set + * @returns {ReqSetWBMode} ReqSetWBMode instance + */ + ReqSetWBMode.create = function create(properties) { + return new ReqSetWBMode(properties); + }; + + /** + * Encodes the specified ReqSetWBMode message. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetWBMode message, length delimited. Does not implicitly {@link ReqSetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {IReqSetWBMode} message ReqSetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBMode} ReqSetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBMode message. + * @function verify + * @memberof ReqSetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBMode} ReqSetWBMode + */ + ReqSetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBMode) return object; + var message = new $root.ReqSetWBMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBMode + * @static + * @param {ReqSetWBMode} message ReqSetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetWBMode to JSON. + * @function toJSON + * @memberof ReqSetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBMode + * @function getTypeUrl + * @memberof ReqSetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBMode"; + }; + + return ReqSetWBMode; +})(); + +$root.ReqGetWBMode = (function () { + /** + * Properties of a ReqGetWBMode. + * @exports IReqGetWBMode + * @interface IReqGetWBMode + */ + + /** + * Constructs a new ReqGetWBMode. + * @exports ReqGetWBMode + * @classdesc Represents a ReqGetWBMode. + * @implements IReqGetWBMode + * @constructor + * @param {IReqGetWBMode=} [properties] Properties to set + */ + function ReqGetWBMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBMode instance using the specified properties. + * @function create + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode=} [properties] Properties to set + * @returns {ReqGetWBMode} ReqGetWBMode instance + */ + ReqGetWBMode.create = function create(properties) { + return new ReqGetWBMode(properties); + }; + + /** + * Encodes the specified ReqGetWBMode message. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encode + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBMode message, length delimited. Does not implicitly {@link ReqGetWBMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {IReqGetWBMode} message ReqGetWBMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBMode} ReqGetWBMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBMode message. + * @function verify + * @memberof ReqGetWBMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBMode + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBMode} ReqGetWBMode + */ + ReqGetWBMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBMode) return object; + return new $root.ReqGetWBMode(); + }; + + /** + * Creates a plain object from a ReqGetWBMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBMode + * @static + * @param {ReqGetWBMode} message ReqGetWBMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBMode to JSON. + * @function toJSON + * @memberof ReqGetWBMode + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBMode + * @function getTypeUrl + * @memberof ReqGetWBMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBMode"; + }; + + return ReqGetWBMode; +})(); + +$root.ReqSetWBSence = (function () { + /** + * Properties of a ReqSetWBSence. + * @exports IReqSetWBSence + * @interface IReqSetWBSence + * @property {number|null} [value] ReqSetWBSence value + */ + + /** + * Constructs a new ReqSetWBSence. + * @exports ReqSetWBSence + * @classdesc Represents a ReqSetWBSence. + * @implements IReqSetWBSence + * @constructor + * @param {IReqSetWBSence=} [properties] Properties to set + */ + function ReqSetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBSence value. + * @member {number} value + * @memberof ReqSetWBSence + * @instance + */ + ReqSetWBSence.prototype.value = 0; + + /** + * Creates a new ReqSetWBSence instance using the specified properties. + * @function create + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence=} [properties] Properties to set + * @returns {ReqSetWBSence} ReqSetWBSence instance + */ + ReqSetWBSence.create = function create(properties) { + return new ReqSetWBSence(properties); + }; + + /** + * Encodes the specified ReqSetWBSence message. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetWBSence message, length delimited. Does not implicitly {@link ReqSetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {IReqSetWBSence} message ReqSetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBSence} ReqSetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBSence message. + * @function verify + * @memberof ReqSetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBSence} ReqSetWBSence + */ + ReqSetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBSence) return object; + var message = new $root.ReqSetWBSence(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBSence + * @static + * @param {ReqSetWBSence} message ReqSetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBSence.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetWBSence to JSON. + * @function toJSON + * @memberof ReqSetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBSence + * @function getTypeUrl + * @memberof ReqSetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBSence"; + }; + + return ReqSetWBSence; +})(); + +$root.ReqGetWBSence = (function () { + /** + * Properties of a ReqGetWBSence. + * @exports IReqGetWBSence + * @interface IReqGetWBSence + */ + + /** + * Constructs a new ReqGetWBSence. + * @exports ReqGetWBSence + * @classdesc Represents a ReqGetWBSence. + * @implements IReqGetWBSence + * @constructor + * @param {IReqGetWBSence=} [properties] Properties to set + */ + function ReqGetWBSence(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBSence instance using the specified properties. + * @function create + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence=} [properties] Properties to set + * @returns {ReqGetWBSence} ReqGetWBSence instance + */ + ReqGetWBSence.create = function create(properties) { + return new ReqGetWBSence(properties); + }; + + /** + * Encodes the specified ReqGetWBSence message. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encode + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBSence message, length delimited. Does not implicitly {@link ReqGetWBSence.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {IReqGetWBSence} message ReqGetWBSence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBSence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBSence(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBSence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBSence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBSence} ReqGetWBSence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBSence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBSence message. + * @function verify + * @memberof ReqGetWBSence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBSence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBSence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBSence + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBSence} ReqGetWBSence + */ + ReqGetWBSence.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBSence) return object; + return new $root.ReqGetWBSence(); + }; + + /** + * Creates a plain object from a ReqGetWBSence message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBSence + * @static + * @param {ReqGetWBSence} message ReqGetWBSence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBSence.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBSence to JSON. + * @function toJSON + * @memberof ReqGetWBSence + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBSence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBSence + * @function getTypeUrl + * @memberof ReqGetWBSence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBSence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBSence"; + }; + + return ReqGetWBSence; +})(); + +$root.ReqSetWBCT = (function () { + /** + * Properties of a ReqSetWBCT. + * @exports IReqSetWBCT + * @interface IReqSetWBCT + * @property {number|null} [index] ReqSetWBCT index + */ + + /** + * Constructs a new ReqSetWBCT. + * @exports ReqSetWBCT + * @classdesc Represents a ReqSetWBCT. + * @implements IReqSetWBCT + * @constructor + * @param {IReqSetWBCT=} [properties] Properties to set + */ + function ReqSetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetWBCT index. + * @member {number} index + * @memberof ReqSetWBCT + * @instance + */ + ReqSetWBCT.prototype.index = 0; + + /** + * Creates a new ReqSetWBCT instance using the specified properties. + * @function create + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT=} [properties] Properties to set + * @returns {ReqSetWBCT} ReqSetWBCT instance + */ + ReqSetWBCT.create = function create(properties) { + return new ReqSetWBCT(properties); + }; + + /** + * Encodes the specified ReqSetWBCT message. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ReqSetWBCT message, length delimited. Does not implicitly {@link ReqSetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {IReqSetWBCT} message ReqSetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetWBCT} ReqSetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetWBCT message. + * @function verify + * @memberof ReqSetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ReqSetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqSetWBCT} ReqSetWBCT + */ + ReqSetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetWBCT) return object; + var message = new $root.ReqSetWBCT(); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetWBCT + * @static + * @param {ReqSetWBCT} message ReqSetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetWBCT.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.index = 0; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ReqSetWBCT to JSON. + * @function toJSON + * @memberof ReqSetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqSetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetWBCT + * @function getTypeUrl + * @memberof ReqSetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetWBCT"; + }; + + return ReqSetWBCT; +})(); + +$root.ReqGetWBCT = (function () { + /** + * Properties of a ReqGetWBCT. + * @exports IReqGetWBCT + * @interface IReqGetWBCT + */ + + /** + * Constructs a new ReqGetWBCT. + * @exports ReqGetWBCT + * @classdesc Represents a ReqGetWBCT. + * @implements IReqGetWBCT + * @constructor + * @param {IReqGetWBCT=} [properties] Properties to set + */ + function ReqGetWBCT(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetWBCT instance using the specified properties. + * @function create + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT=} [properties] Properties to set + * @returns {ReqGetWBCT} ReqGetWBCT instance + */ + ReqGetWBCT.create = function create(properties) { + return new ReqGetWBCT(properties); + }; + + /** + * Encodes the specified ReqGetWBCT message. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encode + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetWBCT message, length delimited. Does not implicitly {@link ReqGetWBCT.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {IReqGetWBCT} message ReqGetWBCT message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetWBCT.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer. + * @function decode + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetWBCT(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetWBCT message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetWBCT + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetWBCT} ReqGetWBCT + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetWBCT.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetWBCT message. + * @function verify + * @memberof ReqGetWBCT + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetWBCT.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetWBCT message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetWBCT + * @static + * @param {Object.} object Plain object + * @returns {ReqGetWBCT} ReqGetWBCT + */ + ReqGetWBCT.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetWBCT) return object; + return new $root.ReqGetWBCT(); + }; + + /** + * Creates a plain object from a ReqGetWBCT message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetWBCT + * @static + * @param {ReqGetWBCT} message ReqGetWBCT + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetWBCT.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetWBCT to JSON. + * @function toJSON + * @memberof ReqGetWBCT + * @instance + * @returns {Object.} JSON object + */ + ReqGetWBCT.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetWBCT + * @function getTypeUrl + * @memberof ReqGetWBCT + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetWBCT.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetWBCT"; + }; + + return ReqGetWBCT; +})(); + +$root.ReqSetIrCut = (function () { + /** + * Properties of a ReqSetIrCut. + * @exports IReqSetIrCut + * @interface IReqSetIrCut + * @property {number|null} [value] ReqSetIrCut value + */ + + /** + * Constructs a new ReqSetIrCut. + * @exports ReqSetIrCut + * @classdesc Represents a ReqSetIrCut. + * @implements IReqSetIrCut + * @constructor + * @param {IReqSetIrCut=} [properties] Properties to set + */ + function ReqSetIrCut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetIrCut value. + * @member {number} value + * @memberof ReqSetIrCut + * @instance + */ + ReqSetIrCut.prototype.value = 0; + + /** + * Creates a new ReqSetIrCut instance using the specified properties. + * @function create + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut=} [properties] Properties to set + * @returns {ReqSetIrCut} ReqSetIrCut instance + */ + ReqSetIrCut.create = function create(properties) { + return new ReqSetIrCut(properties); + }; + + /** + * Encodes the specified ReqSetIrCut message. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encode + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.value); + return writer; + }; + + /** + * Encodes the specified ReqSetIrCut message, length delimited. Does not implicitly {@link ReqSetIrCut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {IReqSetIrCut} message ReqSetIrCut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetIrCut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer. + * @function decode + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetIrCut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.value = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetIrCut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetIrCut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetIrCut} ReqSetIrCut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetIrCut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetIrCut message. + * @function verify + * @memberof ReqSetIrCut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetIrCut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) return "value: integer expected"; + return null; + }; + + /** + * Creates a ReqSetIrCut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetIrCut + * @static + * @param {Object.} object Plain object + * @returns {ReqSetIrCut} ReqSetIrCut + */ + ReqSetIrCut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetIrCut) return object; + var message = new $root.ReqSetIrCut(); + if (object.value != null) message.value = object.value | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetIrCut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetIrCut + * @static + * @param {ReqSetIrCut} message ReqSetIrCut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetIrCut.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + return object; + }; + + /** + * Converts this ReqSetIrCut to JSON. + * @function toJSON + * @memberof ReqSetIrCut + * @instance + * @returns {Object.} JSON object + */ + ReqSetIrCut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetIrCut + * @function getTypeUrl + * @memberof ReqSetIrCut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetIrCut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetIrCut"; + }; + + return ReqSetIrCut; +})(); + +$root.ReqGetIrcut = (function () { + /** + * Properties of a ReqGetIrcut. + * @exports IReqGetIrcut + * @interface IReqGetIrcut + */ + + /** + * Constructs a new ReqGetIrcut. + * @exports ReqGetIrcut + * @classdesc Represents a ReqGetIrcut. + * @implements IReqGetIrcut + * @constructor + * @param {IReqGetIrcut=} [properties] Properties to set + */ + function ReqGetIrcut(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetIrcut instance using the specified properties. + * @function create + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut=} [properties] Properties to set + * @returns {ReqGetIrcut} ReqGetIrcut instance + */ + ReqGetIrcut.create = function create(properties) { + return new ReqGetIrcut(properties); + }; + + /** + * Encodes the specified ReqGetIrcut message. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encode + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetIrcut message, length delimited. Does not implicitly {@link ReqGetIrcut.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {IReqGetIrcut} message ReqGetIrcut message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetIrcut.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer. + * @function decode + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetIrcut(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetIrcut message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetIrcut + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetIrcut} ReqGetIrcut + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetIrcut.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetIrcut message. + * @function verify + * @memberof ReqGetIrcut + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetIrcut.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetIrcut message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetIrcut + * @static + * @param {Object.} object Plain object + * @returns {ReqGetIrcut} ReqGetIrcut + */ + ReqGetIrcut.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetIrcut) return object; + return new $root.ReqGetIrcut(); + }; + + /** + * Creates a plain object from a ReqGetIrcut message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetIrcut + * @static + * @param {ReqGetIrcut} message ReqGetIrcut + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetIrcut.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetIrcut to JSON. + * @function toJSON + * @memberof ReqGetIrcut + * @instance + * @returns {Object.} JSON object + */ + ReqGetIrcut.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetIrcut + * @function getTypeUrl + * @memberof ReqGetIrcut + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetIrcut.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetIrcut"; + }; + + return ReqGetIrcut; +})(); + +$root.ReqStartTimeLapse = (function () { + /** + * Properties of a ReqStartTimeLapse. + * @exports IReqStartTimeLapse + * @interface IReqStartTimeLapse + */ + + /** + * Constructs a new ReqStartTimeLapse. + * @exports ReqStartTimeLapse + * @classdesc Represents a ReqStartTimeLapse. + * @implements IReqStartTimeLapse + * @constructor + * @param {IReqStartTimeLapse=} [properties] Properties to set + */ + function ReqStartTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse=} [properties] Properties to set + * @returns {ReqStartTimeLapse} ReqStartTimeLapse instance + */ + ReqStartTimeLapse.create = function create(properties) { + return new ReqStartTimeLapse(properties); + }; + + /** + * Encodes the specified ReqStartTimeLapse message. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartTimeLapse message, length delimited. Does not implicitly {@link ReqStartTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {IReqStartTimeLapse} message ReqStartTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTimeLapse.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartTimeLapse message. + * @function verify + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTimeLapse} ReqStartTimeLapse + */ + ReqStartTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTimeLapse) return object; + return new $root.ReqStartTimeLapse(); + }; + + /** + * Creates a plain object from a ReqStartTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTimeLapse + * @static + * @param {ReqStartTimeLapse} message ReqStartTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTimeLapse.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartTimeLapse to JSON. + * @function toJSON + * @memberof ReqStartTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStartTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartTimeLapse + * @function getTypeUrl + * @memberof ReqStartTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTimeLapse"; + }; + + return ReqStartTimeLapse; +})(); + +$root.ReqStopTimeLapse = (function () { + /** + * Properties of a ReqStopTimeLapse. + * @exports IReqStopTimeLapse + * @interface IReqStopTimeLapse + */ + + /** + * Constructs a new ReqStopTimeLapse. + * @exports ReqStopTimeLapse + * @classdesc Represents a ReqStopTimeLapse. + * @implements IReqStopTimeLapse + * @constructor + * @param {IReqStopTimeLapse=} [properties] Properties to set + */ + function ReqStopTimeLapse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTimeLapse instance using the specified properties. + * @function create + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse=} [properties] Properties to set + * @returns {ReqStopTimeLapse} ReqStopTimeLapse instance + */ + ReqStopTimeLapse.create = function create(properties) { + return new ReqStopTimeLapse(properties); + }; + + /** + * Encodes the specified ReqStopTimeLapse message. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encode + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTimeLapse message, length delimited. Does not implicitly {@link ReqStopTimeLapse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {IReqStopTimeLapse} message ReqStopTimeLapse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTimeLapse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTimeLapse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTimeLapse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTimeLapse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTimeLapse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTimeLapse message. + * @function verify + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTimeLapse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTimeLapse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTimeLapse + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTimeLapse} ReqStopTimeLapse + */ + ReqStopTimeLapse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTimeLapse) return object; + return new $root.ReqStopTimeLapse(); + }; + + /** + * Creates a plain object from a ReqStopTimeLapse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTimeLapse + * @static + * @param {ReqStopTimeLapse} message ReqStopTimeLapse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTimeLapse.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTimeLapse to JSON. + * @function toJSON + * @memberof ReqStopTimeLapse + * @instance + * @returns {Object.} JSON object + */ + ReqStopTimeLapse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTimeLapse + * @function getTypeUrl + * @memberof ReqStopTimeLapse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTimeLapse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTimeLapse"; + }; + + return ReqStopTimeLapse; +})(); + +$root.ReqSetAllParams = (function () { + /** + * Properties of a ReqSetAllParams. + * @exports IReqSetAllParams + * @interface IReqSetAllParams + * @property {number|null} [expMode] ReqSetAllParams expMode + * @property {number|null} [expIndex] ReqSetAllParams expIndex + * @property {number|null} [gainMode] ReqSetAllParams gainMode + * @property {number|null} [gainIndex] ReqSetAllParams gainIndex + * @property {number|null} [ircutValue] ReqSetAllParams ircutValue + * @property {number|null} [wbMode] ReqSetAllParams wbMode + * @property {number|null} [wbIndexType] ReqSetAllParams wbIndexType + * @property {number|null} [wbIndex] ReqSetAllParams wbIndex + * @property {number|null} [brightness] ReqSetAllParams brightness + * @property {number|null} [contrast] ReqSetAllParams contrast + * @property {number|null} [hue] ReqSetAllParams hue + * @property {number|null} [saturation] ReqSetAllParams saturation + * @property {number|null} [sharpness] ReqSetAllParams sharpness + * @property {number|null} [jpgQuality] ReqSetAllParams jpgQuality + */ + + /** + * Constructs a new ReqSetAllParams. + * @exports ReqSetAllParams + * @classdesc Represents a ReqSetAllParams. + * @implements IReqSetAllParams + * @constructor + * @param {IReqSetAllParams=} [properties] Properties to set + */ + function ReqSetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetAllParams expMode. + * @member {number} expMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expMode = 0; + + /** + * ReqSetAllParams expIndex. + * @member {number} expIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.expIndex = 0; + + /** + * ReqSetAllParams gainMode. + * @member {number} gainMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainMode = 0; + + /** + * ReqSetAllParams gainIndex. + * @member {number} gainIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.gainIndex = 0; + + /** + * ReqSetAllParams ircutValue. + * @member {number} ircutValue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.ircutValue = 0; + + /** + * ReqSetAllParams wbMode. + * @member {number} wbMode + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbMode = 0; + + /** + * ReqSetAllParams wbIndexType. + * @member {number} wbIndexType + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndexType = 0; + + /** + * ReqSetAllParams wbIndex. + * @member {number} wbIndex + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.wbIndex = 0; + + /** + * ReqSetAllParams brightness. + * @member {number} brightness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.brightness = 0; + + /** + * ReqSetAllParams contrast. + * @member {number} contrast + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.contrast = 0; + + /** + * ReqSetAllParams hue. + * @member {number} hue + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.hue = 0; + + /** + * ReqSetAllParams saturation. + * @member {number} saturation + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.saturation = 0; + + /** + * ReqSetAllParams sharpness. + * @member {number} sharpness + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.sharpness = 0; + + /** + * ReqSetAllParams jpgQuality. + * @member {number} jpgQuality + * @memberof ReqSetAllParams + * @instance + */ + ReqSetAllParams.prototype.jpgQuality = 0; + + /** + * Creates a new ReqSetAllParams instance using the specified properties. + * @function create + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams=} [properties] Properties to set + * @returns {ReqSetAllParams} ReqSetAllParams instance + */ + ReqSetAllParams.create = function create(properties) { + return new ReqSetAllParams(properties); + }; + + /** + * Encodes the specified ReqSetAllParams message. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.expMode != null && + Object.hasOwnProperty.call(message, "expMode") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.expMode); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.expIndex); + if ( + message.gainMode != null && + Object.hasOwnProperty.call(message, "gainMode") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.gainMode); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.gainIndex); + if ( + message.ircutValue != null && + Object.hasOwnProperty.call(message, "ircutValue") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.ircutValue); + if (message.wbMode != null && Object.hasOwnProperty.call(message, "wbMode")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.wbMode); + if ( + message.wbIndexType != null && + Object.hasOwnProperty.call(message, "wbIndexType") + ) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.wbIndexType); + if ( + message.wbIndex != null && + Object.hasOwnProperty.call(message, "wbIndex") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.wbIndex); + if ( + message.brightness != null && + Object.hasOwnProperty.call(message, "brightness") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.brightness); + if ( + message.contrast != null && + Object.hasOwnProperty.call(message, "contrast") + ) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.contrast); + if (message.hue != null && Object.hasOwnProperty.call(message, "hue")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.hue); + if ( + message.saturation != null && + Object.hasOwnProperty.call(message, "saturation") + ) + writer.uint32(/* id 12, wireType 0 =*/ 96).int32(message.saturation); + if ( + message.sharpness != null && + Object.hasOwnProperty.call(message, "sharpness") + ) + writer.uint32(/* id 13, wireType 0 =*/ 104).int32(message.sharpness); + if ( + message.jpgQuality != null && + Object.hasOwnProperty.call(message, "jpgQuality") + ) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.jpgQuality); + return writer; + }; + + /** + * Encodes the specified ReqSetAllParams message, length delimited. Does not implicitly {@link ReqSetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {IReqSetAllParams} message ReqSetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.expMode = reader.int32(); + break; + } + case 2: { + message.expIndex = reader.int32(); + break; + } + case 3: { + message.gainMode = reader.int32(); + break; + } + case 4: { + message.gainIndex = reader.int32(); + break; + } + case 5: { + message.ircutValue = reader.int32(); + break; + } + case 6: { + message.wbMode = reader.int32(); + break; + } + case 7: { + message.wbIndexType = reader.int32(); + break; + } + case 8: { + message.wbIndex = reader.int32(); + break; + } + case 9: { + message.brightness = reader.int32(); + break; + } + case 10: { + message.contrast = reader.int32(); + break; + } + case 11: { + message.hue = reader.int32(); + break; + } + case 12: { + message.saturation = reader.int32(); + break; + } + case 13: { + message.sharpness = reader.int32(); + break; + } + case 14: { + message.jpgQuality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetAllParams} ReqSetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetAllParams message. + * @function verify + * @memberof ReqSetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.expMode != null && message.hasOwnProperty("expMode")) + if (!$util.isInteger(message.expMode)) return "expMode: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + if (!$util.isInteger(message.gainMode)) + return "gainMode: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + if (!$util.isInteger(message.ircutValue)) + return "ircutValue: integer expected"; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + if (!$util.isInteger(message.wbMode)) return "wbMode: integer expected"; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + if (!$util.isInteger(message.wbIndexType)) + return "wbIndexType: integer expected"; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + if (!$util.isInteger(message.wbIndex)) return "wbIndex: integer expected"; + if (message.brightness != null && message.hasOwnProperty("brightness")) + if (!$util.isInteger(message.brightness)) + return "brightness: integer expected"; + if (message.contrast != null && message.hasOwnProperty("contrast")) + if (!$util.isInteger(message.contrast)) + return "contrast: integer expected"; + if (message.hue != null && message.hasOwnProperty("hue")) + if (!$util.isInteger(message.hue)) return "hue: integer expected"; + if (message.saturation != null && message.hasOwnProperty("saturation")) + if (!$util.isInteger(message.saturation)) + return "saturation: integer expected"; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + if (!$util.isInteger(message.sharpness)) + return "sharpness: integer expected"; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + if (!$util.isInteger(message.jpgQuality)) + return "jpgQuality: integer expected"; + return null; + }; + + /** + * Creates a ReqSetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetAllParams} ReqSetAllParams + */ + ReqSetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetAllParams) return object; + var message = new $root.ReqSetAllParams(); + if (object.expMode != null) message.expMode = object.expMode | 0; + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainMode != null) message.gainMode = object.gainMode | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.ircutValue != null) message.ircutValue = object.ircutValue | 0; + if (object.wbMode != null) message.wbMode = object.wbMode | 0; + if (object.wbIndexType != null) + message.wbIndexType = object.wbIndexType | 0; + if (object.wbIndex != null) message.wbIndex = object.wbIndex | 0; + if (object.brightness != null) message.brightness = object.brightness | 0; + if (object.contrast != null) message.contrast = object.contrast | 0; + if (object.hue != null) message.hue = object.hue | 0; + if (object.saturation != null) message.saturation = object.saturation | 0; + if (object.sharpness != null) message.sharpness = object.sharpness | 0; + if (object.jpgQuality != null) message.jpgQuality = object.jpgQuality | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetAllParams + * @static + * @param {ReqSetAllParams} message ReqSetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetAllParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.expMode = 0; + object.expIndex = 0; + object.gainMode = 0; + object.gainIndex = 0; + object.ircutValue = 0; + object.wbMode = 0; + object.wbIndexType = 0; + object.wbIndex = 0; + object.brightness = 0; + object.contrast = 0; + object.hue = 0; + object.saturation = 0; + object.sharpness = 0; + object.jpgQuality = 0; + } + if (message.expMode != null && message.hasOwnProperty("expMode")) + object.expMode = message.expMode; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainMode != null && message.hasOwnProperty("gainMode")) + object.gainMode = message.gainMode; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.ircutValue != null && message.hasOwnProperty("ircutValue")) + object.ircutValue = message.ircutValue; + if (message.wbMode != null && message.hasOwnProperty("wbMode")) + object.wbMode = message.wbMode; + if (message.wbIndexType != null && message.hasOwnProperty("wbIndexType")) + object.wbIndexType = message.wbIndexType; + if (message.wbIndex != null && message.hasOwnProperty("wbIndex")) + object.wbIndex = message.wbIndex; + if (message.brightness != null && message.hasOwnProperty("brightness")) + object.brightness = message.brightness; + if (message.contrast != null && message.hasOwnProperty("contrast")) + object.contrast = message.contrast; + if (message.hue != null && message.hasOwnProperty("hue")) + object.hue = message.hue; + if (message.saturation != null && message.hasOwnProperty("saturation")) + object.saturation = message.saturation; + if (message.sharpness != null && message.hasOwnProperty("sharpness")) + object.sharpness = message.sharpness; + if (message.jpgQuality != null && message.hasOwnProperty("jpgQuality")) + object.jpgQuality = message.jpgQuality; + return object; + }; + + /** + * Converts this ReqSetAllParams to JSON. + * @function toJSON + * @memberof ReqSetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetAllParams + * @function getTypeUrl + * @memberof ReqSetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetAllParams"; + }; + + return ReqSetAllParams; +})(); + +$root.ReqGetAllParams = (function () { + /** + * Properties of a ReqGetAllParams. + * @exports IReqGetAllParams + * @interface IReqGetAllParams + */ + + /** + * Constructs a new ReqGetAllParams. + * @exports ReqGetAllParams + * @classdesc Represents a ReqGetAllParams. + * @implements IReqGetAllParams + * @constructor + * @param {IReqGetAllParams=} [properties] Properties to set + */ + function ReqGetAllParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllParams instance using the specified properties. + * @function create + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams=} [properties] Properties to set + * @returns {ReqGetAllParams} ReqGetAllParams instance + */ + ReqGetAllParams.create = function create(properties) { + return new ReqGetAllParams(properties); + }; + + /** + * Encodes the specified ReqGetAllParams message. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllParams message, length delimited. Does not implicitly {@link ReqGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {IReqGetAllParams} message ReqGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllParams} ReqGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllParams message. + * @function verify + * @memberof ReqGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllParams} ReqGetAllParams + */ + ReqGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllParams) return object; + return new $root.ReqGetAllParams(); + }; + + /** + * Creates a plain object from a ReqGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllParams + * @static + * @param {ReqGetAllParams} message ReqGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllParams.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllParams to JSON. + * @function toJSON + * @memberof ReqGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllParams + * @function getTypeUrl + * @memberof ReqGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllParams"; + }; + + return ReqGetAllParams; +})(); + +$root.ResGetAllParams = (function () { + /** + * Properties of a ResGetAllParams. + * @exports IResGetAllParams + * @interface IResGetAllParams + * @property {Array.|null} [allParams] ResGetAllParams allParams + * @property {number|null} [code] ResGetAllParams code + */ + + /** + * Constructs a new ResGetAllParams. + * @exports ResGetAllParams + * @classdesc Represents a ResGetAllParams. + * @implements IResGetAllParams + * @constructor + * @param {IResGetAllParams=} [properties] Properties to set + */ + function ResGetAllParams(properties) { + this.allParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllParams allParams. + * @member {Array.} allParams + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.allParams = $util.emptyArray; + + /** + * ResGetAllParams code. + * @member {number} code + * @memberof ResGetAllParams + * @instance + */ + ResGetAllParams.prototype.code = 0; + + /** + * Creates a new ResGetAllParams instance using the specified properties. + * @function create + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams=} [properties] Properties to set + * @returns {ResGetAllParams} ResGetAllParams instance + */ + ResGetAllParams.create = function create(properties) { + return new ResGetAllParams(properties); + }; + + /** + * Encodes the specified ResGetAllParams message. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.allParams != null && message.allParams.length) + for (var i = 0; i < message.allParams.length; ++i) + $root.CommonParam.encode( + message.allParams[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllParams message, length delimited. Does not implicitly {@link ResGetAllParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllParams + * @static + * @param {IResGetAllParams} message ResGetAllParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllParams.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allParams && message.allParams.length)) + message.allParams = []; + message.allParams.push( + $root.CommonParam.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllParams} ResGetAllParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllParams message. + * @function verify + * @memberof ResGetAllParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.allParams != null && message.hasOwnProperty("allParams")) { + if (!Array.isArray(message.allParams)) return "allParams: array expected"; + for (var i = 0; i < message.allParams.length; ++i) { + var error = $root.CommonParam.verify(message.allParams[i]); + if (error) return "allParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllParams} ResGetAllParams + */ + ResGetAllParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllParams) return object; + var message = new $root.ResGetAllParams(); + if (object.allParams) { + if (!Array.isArray(object.allParams)) + throw TypeError(".ResGetAllParams.allParams: array expected"); + message.allParams = []; + for (var i = 0; i < object.allParams.length; ++i) { + if (typeof object.allParams[i] !== "object") + throw TypeError(".ResGetAllParams.allParams: object expected"); + message.allParams[i] = $root.CommonParam.fromObject( + object.allParams[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllParams + * @static + * @param {ResGetAllParams} message ResGetAllParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.allParams = []; + if (options.defaults) object.code = 0; + if (message.allParams && message.allParams.length) { + object.allParams = []; + for (var j = 0; j < message.allParams.length; ++j) + object.allParams[j] = $root.CommonParam.toObject( + message.allParams[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllParams to JSON. + * @function toJSON + * @memberof ResGetAllParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllParams + * @function getTypeUrl + * @memberof ResGetAllParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllParams"; + }; + + return ResGetAllParams; +})(); + +$root.ReqSetFeatureParams = (function () { + /** + * Properties of a ReqSetFeatureParams. + * @exports IReqSetFeatureParams + * @interface IReqSetFeatureParams + * @property {ICommonParam|null} [param] ReqSetFeatureParams param + */ + + /** + * Constructs a new ReqSetFeatureParams. + * @exports ReqSetFeatureParams + * @classdesc Represents a ReqSetFeatureParams. + * @implements IReqSetFeatureParams + * @constructor + * @param {IReqSetFeatureParams=} [properties] Properties to set + */ + function ReqSetFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetFeatureParams param. + * @member {ICommonParam|null|undefined} param + * @memberof ReqSetFeatureParams + * @instance + */ + ReqSetFeatureParams.prototype.param = null; + + /** + * Creates a new ReqSetFeatureParams instance using the specified properties. + * @function create + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams=} [properties] Properties to set + * @returns {ReqSetFeatureParams} ReqSetFeatureParams instance + */ + ReqSetFeatureParams.create = function create(properties) { + return new ReqSetFeatureParams(properties); + }; + + /** + * Encodes the specified ReqSetFeatureParams message. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.param != null && Object.hasOwnProperty.call(message, "param")) + $root.CommonParam.encode( + message.param, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqSetFeatureParams message, length delimited. Does not implicitly {@link ReqSetFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {IReqSetFeatureParams} message ReqSetFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.param = $root.CommonParam.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetFeatureParams message. + * @function verify + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + var error = $root.CommonParam.verify(message.param); + if (error) return "param." + error; + } + return null; + }; + + /** + * Creates a ReqSetFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqSetFeatureParams} ReqSetFeatureParams + */ + ReqSetFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetFeatureParams) return object; + var message = new $root.ReqSetFeatureParams(); + if (object.param != null) { + if (typeof object.param !== "object") + throw TypeError(".ReqSetFeatureParams.param: object expected"); + message.param = $root.CommonParam.fromObject(object.param); + } + return message; + }; + + /** + * Creates a plain object from a ReqSetFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetFeatureParams + * @static + * @param {ReqSetFeatureParams} message ReqSetFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetFeatureParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.param = null; + if (message.param != null && message.hasOwnProperty("param")) + object.param = $root.CommonParam.toObject(message.param, options); + return object; + }; + + /** + * Converts this ReqSetFeatureParams to JSON. + * @function toJSON + * @memberof ReqSetFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqSetFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetFeatureParams + * @function getTypeUrl + * @memberof ReqSetFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetFeatureParams"; + }; + + return ReqSetFeatureParams; +})(); + +$root.ReqGetAllFeatureParams = (function () { + /** + * Properties of a ReqGetAllFeatureParams. + * @exports IReqGetAllFeatureParams + * @interface IReqGetAllFeatureParams + */ + + /** + * Constructs a new ReqGetAllFeatureParams. + * @exports ReqGetAllFeatureParams + * @classdesc Represents a ReqGetAllFeatureParams. + * @implements IReqGetAllFeatureParams + * @constructor + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + */ + function ReqGetAllFeatureParams(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams=} [properties] Properties to set + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams instance + */ + ReqGetAllFeatureParams.create = function create(properties) { + return new ReqGetAllFeatureParams(properties); + }; + + /** + * Encodes the specified ReqGetAllFeatureParams message. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllFeatureParams message, length delimited. Does not implicitly {@link ReqGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {IReqGetAllFeatureParams} message ReqGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllFeatureParams message. + * @function verify + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllFeatureParams} ReqGetAllFeatureParams + */ + ReqGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllFeatureParams) return object; + return new $root.ReqGetAllFeatureParams(); + }; + + /** + * Creates a plain object from a ReqGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllFeatureParams + * @static + * @param {ReqGetAllFeatureParams} message ReqGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllFeatureParams.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ReqGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllFeatureParams + * @function getTypeUrl + * @memberof ReqGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllFeatureParams"; + }; + + return ReqGetAllFeatureParams; +})(); + +$root.ResGetAllFeatureParams = (function () { + /** + * Properties of a ResGetAllFeatureParams. + * @exports IResGetAllFeatureParams + * @interface IResGetAllFeatureParams + * @property {Array.|null} [allFeatureParams] ResGetAllFeatureParams allFeatureParams + * @property {number|null} [code] ResGetAllFeatureParams code + */ + + /** + * Constructs a new ResGetAllFeatureParams. + * @exports ResGetAllFeatureParams + * @classdesc Represents a ResGetAllFeatureParams. + * @implements IResGetAllFeatureParams + * @constructor + * @param {IResGetAllFeatureParams=} [properties] Properties to set + */ + function ResGetAllFeatureParams(properties) { + this.allFeatureParams = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllFeatureParams allFeatureParams. + * @member {Array.} allFeatureParams + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.allFeatureParams = $util.emptyArray; + + /** + * ResGetAllFeatureParams code. + * @member {number} code + * @memberof ResGetAllFeatureParams + * @instance + */ + ResGetAllFeatureParams.prototype.code = 0; + + /** + * Creates a new ResGetAllFeatureParams instance using the specified properties. + * @function create + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams=} [properties] Properties to set + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams instance + */ + ResGetAllFeatureParams.create = function create(properties) { + return new ResGetAllFeatureParams(properties); + }; + + /** + * Encodes the specified ResGetAllFeatureParams message. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encode + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.allFeatureParams != null && message.allFeatureParams.length) + for (var i = 0; i < message.allFeatureParams.length; ++i) + $root.CommonParam.encode( + message.allFeatureParams[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllFeatureParams message, length delimited. Does not implicitly {@link ResGetAllFeatureParams.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {IResGetAllFeatureParams} message ResGetAllFeatureParams message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllFeatureParams.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllFeatureParams(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.allFeatureParams && message.allFeatureParams.length)) + message.allFeatureParams = []; + message.allFeatureParams.push( + $root.CommonParam.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllFeatureParams message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllFeatureParams + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllFeatureParams.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllFeatureParams message. + * @function verify + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllFeatureParams.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.allFeatureParams != null && + message.hasOwnProperty("allFeatureParams") + ) { + if (!Array.isArray(message.allFeatureParams)) + return "allFeatureParams: array expected"; + for (var i = 0; i < message.allFeatureParams.length; ++i) { + var error = $root.CommonParam.verify(message.allFeatureParams[i]); + if (error) return "allFeatureParams." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllFeatureParams message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllFeatureParams + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllFeatureParams} ResGetAllFeatureParams + */ + ResGetAllFeatureParams.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllFeatureParams) return object; + var message = new $root.ResGetAllFeatureParams(); + if (object.allFeatureParams) { + if (!Array.isArray(object.allFeatureParams)) + throw TypeError( + ".ResGetAllFeatureParams.allFeatureParams: array expected" + ); + message.allFeatureParams = []; + for (var i = 0; i < object.allFeatureParams.length; ++i) { + if (typeof object.allFeatureParams[i] !== "object") + throw TypeError( + ".ResGetAllFeatureParams.allFeatureParams: object expected" + ); + message.allFeatureParams[i] = $root.CommonParam.fromObject( + object.allFeatureParams[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllFeatureParams message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllFeatureParams + * @static + * @param {ResGetAllFeatureParams} message ResGetAllFeatureParams + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllFeatureParams.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.allFeatureParams = []; + if (options.defaults) object.code = 0; + if (message.allFeatureParams && message.allFeatureParams.length) { + object.allFeatureParams = []; + for (var j = 0; j < message.allFeatureParams.length; ++j) + object.allFeatureParams[j] = $root.CommonParam.toObject( + message.allFeatureParams[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllFeatureParams to JSON. + * @function toJSON + * @memberof ResGetAllFeatureParams + * @instance + * @returns {Object.} JSON object + */ + ResGetAllFeatureParams.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllFeatureParams + * @function getTypeUrl + * @memberof ResGetAllFeatureParams + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllFeatureParams.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllFeatureParams"; + }; + + return ResGetAllFeatureParams; +})(); + +$root.ReqGetSystemWorkingState = (function () { + /** + * Properties of a ReqGetSystemWorkingState. + * @exports IReqGetSystemWorkingState + * @interface IReqGetSystemWorkingState + */ + + /** + * Constructs a new ReqGetSystemWorkingState. + * @exports ReqGetSystemWorkingState + * @classdesc Represents a ReqGetSystemWorkingState. + * @implements IReqGetSystemWorkingState + * @constructor + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + */ + function ReqGetSystemWorkingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetSystemWorkingState instance using the specified properties. + * @function create + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState=} [properties] Properties to set + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState instance + */ + ReqGetSystemWorkingState.create = function create(properties) { + return new ReqGetSystemWorkingState(properties); + }; + + /** + * Encodes the specified ReqGetSystemWorkingState message. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encode + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetSystemWorkingState message, length delimited. Does not implicitly {@link ReqGetSystemWorkingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {IReqGetSystemWorkingState} message ReqGetSystemWorkingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetSystemWorkingState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer. + * @function decode + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetSystemWorkingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetSystemWorkingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetSystemWorkingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetSystemWorkingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetSystemWorkingState message. + * @function verify + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetSystemWorkingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetSystemWorkingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {Object.} object Plain object + * @returns {ReqGetSystemWorkingState} ReqGetSystemWorkingState + */ + ReqGetSystemWorkingState.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetSystemWorkingState) return object; + return new $root.ReqGetSystemWorkingState(); + }; + + /** + * Creates a plain object from a ReqGetSystemWorkingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetSystemWorkingState + * @static + * @param {ReqGetSystemWorkingState} message ReqGetSystemWorkingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetSystemWorkingState.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetSystemWorkingState to JSON. + * @function toJSON + * @memberof ReqGetSystemWorkingState + * @instance + * @returns {Object.} JSON object + */ + ReqGetSystemWorkingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetSystemWorkingState + * @function getTypeUrl + * @memberof ReqGetSystemWorkingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetSystemWorkingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetSystemWorkingState"; + }; + + return ReqGetSystemWorkingState; +})(); + +$root.ReqSetJpgQuality = (function () { + /** + * Properties of a ReqSetJpgQuality. + * @exports IReqSetJpgQuality + * @interface IReqSetJpgQuality + * @property {number|null} [quality] ReqSetJpgQuality quality + */ + + /** + * Constructs a new ReqSetJpgQuality. + * @exports ReqSetJpgQuality + * @classdesc Represents a ReqSetJpgQuality. + * @implements IReqSetJpgQuality + * @constructor + * @param {IReqSetJpgQuality=} [properties] Properties to set + */ + function ReqSetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetJpgQuality quality. + * @member {number} quality + * @memberof ReqSetJpgQuality + * @instance + */ + ReqSetJpgQuality.prototype.quality = 0; + + /** + * Creates a new ReqSetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality=} [properties] Properties to set + * @returns {ReqSetJpgQuality} ReqSetJpgQuality instance + */ + ReqSetJpgQuality.create = function create(properties) { + return new ReqSetJpgQuality(properties); + }; + + /** + * Encodes the specified ReqSetJpgQuality message. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.quality != null && + Object.hasOwnProperty.call(message, "quality") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.quality); + return writer; + }; + + /** + * Encodes the specified ReqSetJpgQuality message, length delimited. Does not implicitly {@link ReqSetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {IReqSetJpgQuality} message ReqSetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.quality = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetJpgQuality message. + * @function verify + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.quality != null && message.hasOwnProperty("quality")) + if (!$util.isInteger(message.quality)) return "quality: integer expected"; + return null; + }; + + /** + * Creates a ReqSetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqSetJpgQuality} ReqSetJpgQuality + */ + ReqSetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetJpgQuality) return object; + var message = new $root.ReqSetJpgQuality(); + if (object.quality != null) message.quality = object.quality | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetJpgQuality + * @static + * @param {ReqSetJpgQuality} message ReqSetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetJpgQuality.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.quality = 0; + if (message.quality != null && message.hasOwnProperty("quality")) + object.quality = message.quality; + return object; + }; + + /** + * Converts this ReqSetJpgQuality to JSON. + * @function toJSON + * @memberof ReqSetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqSetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetJpgQuality + * @function getTypeUrl + * @memberof ReqSetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetJpgQuality"; + }; + + return ReqSetJpgQuality; +})(); + +$root.ReqGetJpgQuality = (function () { + /** + * Properties of a ReqGetJpgQuality. + * @exports IReqGetJpgQuality + * @interface IReqGetJpgQuality + */ + + /** + * Constructs a new ReqGetJpgQuality. + * @exports ReqGetJpgQuality + * @classdesc Represents a ReqGetJpgQuality. + * @implements IReqGetJpgQuality + * @constructor + * @param {IReqGetJpgQuality=} [properties] Properties to set + */ + function ReqGetJpgQuality(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetJpgQuality instance using the specified properties. + * @function create + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality=} [properties] Properties to set + * @returns {ReqGetJpgQuality} ReqGetJpgQuality instance + */ + ReqGetJpgQuality.create = function create(properties) { + return new ReqGetJpgQuality(properties); + }; + + /** + * Encodes the specified ReqGetJpgQuality message. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encode + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetJpgQuality message, length delimited. Does not implicitly {@link ReqGetJpgQuality.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {IReqGetJpgQuality} message ReqGetJpgQuality message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetJpgQuality.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer. + * @function decode + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetJpgQuality(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetJpgQuality message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetJpgQuality + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetJpgQuality.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetJpgQuality message. + * @function verify + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetJpgQuality.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetJpgQuality message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetJpgQuality + * @static + * @param {Object.} object Plain object + * @returns {ReqGetJpgQuality} ReqGetJpgQuality + */ + ReqGetJpgQuality.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetJpgQuality) return object; + return new $root.ReqGetJpgQuality(); + }; + + /** + * Creates a plain object from a ReqGetJpgQuality message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetJpgQuality + * @static + * @param {ReqGetJpgQuality} message ReqGetJpgQuality + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetJpgQuality.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetJpgQuality to JSON. + * @function toJSON + * @memberof ReqGetJpgQuality + * @instance + * @returns {Object.} JSON object + */ + ReqGetJpgQuality.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetJpgQuality + * @function getTypeUrl + * @memberof ReqGetJpgQuality + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetJpgQuality.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetJpgQuality"; + }; + + return ReqGetJpgQuality; +})(); + +$root.ReqPhotoRaw = (function () { + /** + * Properties of a ReqPhotoRaw. + * @exports IReqPhotoRaw + * @interface IReqPhotoRaw + */ + + /** + * Constructs a new ReqPhotoRaw. + * @exports ReqPhotoRaw + * @classdesc Represents a ReqPhotoRaw. + * @implements IReqPhotoRaw + * @constructor + * @param {IReqPhotoRaw=} [properties] Properties to set + */ + function ReqPhotoRaw(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPhotoRaw instance using the specified properties. + * @function create + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw=} [properties] Properties to set + * @returns {ReqPhotoRaw} ReqPhotoRaw instance + */ + ReqPhotoRaw.create = function create(properties) { + return new ReqPhotoRaw(properties); + }; + + /** + * Encodes the specified ReqPhotoRaw message. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encode + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPhotoRaw message, length delimited. Does not implicitly {@link ReqPhotoRaw.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {IReqPhotoRaw} message ReqPhotoRaw message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPhotoRaw.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer. + * @function decode + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPhotoRaw(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPhotoRaw message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPhotoRaw + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPhotoRaw} ReqPhotoRaw + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPhotoRaw.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPhotoRaw message. + * @function verify + * @memberof ReqPhotoRaw + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPhotoRaw.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPhotoRaw message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPhotoRaw + * @static + * @param {Object.} object Plain object + * @returns {ReqPhotoRaw} ReqPhotoRaw + */ + ReqPhotoRaw.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPhotoRaw) return object; + return new $root.ReqPhotoRaw(); + }; + + /** + * Creates a plain object from a ReqPhotoRaw message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPhotoRaw + * @static + * @param {ReqPhotoRaw} message ReqPhotoRaw + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPhotoRaw.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPhotoRaw to JSON. + * @function toJSON + * @memberof ReqPhotoRaw + * @instance + * @returns {Object.} JSON object + */ + ReqPhotoRaw.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPhotoRaw + * @function getTypeUrl + * @memberof ReqPhotoRaw + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPhotoRaw.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPhotoRaw"; + }; + + return ReqPhotoRaw; +})(); + +$root.ReqSetRtspBitRateType = (function () { + /** + * Properties of a ReqSetRtspBitRateType. + * @exports IReqSetRtspBitRateType + * @interface IReqSetRtspBitRateType + * @property {number|null} [bitrateType] ReqSetRtspBitRateType bitrateType + */ + + /** + * Constructs a new ReqSetRtspBitRateType. + * @exports ReqSetRtspBitRateType + * @classdesc Represents a ReqSetRtspBitRateType. + * @implements IReqSetRtspBitRateType + * @constructor + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + */ + function ReqSetRtspBitRateType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetRtspBitRateType bitrateType. + * @member {number} bitrateType + * @memberof ReqSetRtspBitRateType + * @instance + */ + ReqSetRtspBitRateType.prototype.bitrateType = 0; + + /** + * Creates a new ReqSetRtspBitRateType instance using the specified properties. + * @function create + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType=} [properties] Properties to set + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType instance + */ + ReqSetRtspBitRateType.create = function create(properties) { + return new ReqSetRtspBitRateType(properties); + }; + + /** + * Encodes the specified ReqSetRtspBitRateType message. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encode + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.bitrateType != null && + Object.hasOwnProperty.call(message, "bitrateType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.bitrateType); + return writer; + }; + + /** + * Encodes the specified ReqSetRtspBitRateType message, length delimited. Does not implicitly {@link ReqSetRtspBitRateType.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {IReqSetRtspBitRateType} message ReqSetRtspBitRateType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetRtspBitRateType.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer. + * @function decode + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetRtspBitRateType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.bitrateType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetRtspBitRateType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetRtspBitRateType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetRtspBitRateType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetRtspBitRateType message. + * @function verify + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetRtspBitRateType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + if (!$util.isInteger(message.bitrateType)) + return "bitrateType: integer expected"; + return null; + }; + + /** + * Creates a ReqSetRtspBitRateType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {Object.} object Plain object + * @returns {ReqSetRtspBitRateType} ReqSetRtspBitRateType + */ + ReqSetRtspBitRateType.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetRtspBitRateType) return object; + var message = new $root.ReqSetRtspBitRateType(); + if (object.bitrateType != null) + message.bitrateType = object.bitrateType | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetRtspBitRateType message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetRtspBitRateType + * @static + * @param {ReqSetRtspBitRateType} message ReqSetRtspBitRateType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetRtspBitRateType.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.bitrateType = 0; + if (message.bitrateType != null && message.hasOwnProperty("bitrateType")) + object.bitrateType = message.bitrateType; + return object; + }; + + /** + * Converts this ReqSetRtspBitRateType to JSON. + * @function toJSON + * @memberof ReqSetRtspBitRateType + * @instance + * @returns {Object.} JSON object + */ + ReqSetRtspBitRateType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetRtspBitRateType + * @function getTypeUrl + * @memberof ReqSetRtspBitRateType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetRtspBitRateType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetRtspBitRateType"; + }; + + return ReqSetRtspBitRateType; +})(); + +$root.ReqDisableAllIspProcessing = (function () { + /** + * Properties of a ReqDisableAllIspProcessing. + * @exports IReqDisableAllIspProcessing + * @interface IReqDisableAllIspProcessing + */ + + /** + * Constructs a new ReqDisableAllIspProcessing. + * @exports ReqDisableAllIspProcessing + * @classdesc Represents a ReqDisableAllIspProcessing. + * @implements IReqDisableAllIspProcessing + * @constructor + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + */ + function ReqDisableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqDisableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing=} [properties] Properties to set + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing instance + */ + ReqDisableAllIspProcessing.create = function create(properties) { + return new ReqDisableAllIspProcessing(properties); + }; + + /** + * Encodes the specified ReqDisableAllIspProcessing message. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqDisableAllIspProcessing message, length delimited. Does not implicitly {@link ReqDisableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {IReqDisableAllIspProcessing} message ReqDisableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableAllIspProcessing.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDisableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDisableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableAllIspProcessing.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDisableAllIspProcessing message. + * @function verify + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqDisableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableAllIspProcessing} ReqDisableAllIspProcessing + */ + ReqDisableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableAllIspProcessing) return object; + return new $root.ReqDisableAllIspProcessing(); + }; + + /** + * Creates a plain object from a ReqDisableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableAllIspProcessing + * @static + * @param {ReqDisableAllIspProcessing} message ReqDisableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableAllIspProcessing.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqDisableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqDisableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqDisableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDisableAllIspProcessing + * @function getTypeUrl + * @memberof ReqDisableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableAllIspProcessing"; + }; + + return ReqDisableAllIspProcessing; +})(); + +$root.ReqEnableAllIspProcessing = (function () { + /** + * Properties of a ReqEnableAllIspProcessing. + * @exports IReqEnableAllIspProcessing + * @interface IReqEnableAllIspProcessing + */ + + /** + * Constructs a new ReqEnableAllIspProcessing. + * @exports ReqEnableAllIspProcessing + * @classdesc Represents a ReqEnableAllIspProcessing. + * @implements IReqEnableAllIspProcessing + * @constructor + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + */ + function ReqEnableAllIspProcessing(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqEnableAllIspProcessing instance using the specified properties. + * @function create + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing=} [properties] Properties to set + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing instance + */ + ReqEnableAllIspProcessing.create = function create(properties) { + return new ReqEnableAllIspProcessing(properties); + }; + + /** + * Encodes the specified ReqEnableAllIspProcessing message. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqEnableAllIspProcessing message, length delimited. Does not implicitly {@link ReqEnableAllIspProcessing.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {IReqEnableAllIspProcessing} message ReqEnableAllIspProcessing message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqEnableAllIspProcessing.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer. + * @function decode + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqEnableAllIspProcessing(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqEnableAllIspProcessing message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqEnableAllIspProcessing + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqEnableAllIspProcessing.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqEnableAllIspProcessing message. + * @function verify + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqEnableAllIspProcessing.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqEnableAllIspProcessing message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {Object.} object Plain object + * @returns {ReqEnableAllIspProcessing} ReqEnableAllIspProcessing + */ + ReqEnableAllIspProcessing.fromObject = function fromObject(object) { + if (object instanceof $root.ReqEnableAllIspProcessing) return object; + return new $root.ReqEnableAllIspProcessing(); + }; + + /** + * Creates a plain object from a ReqEnableAllIspProcessing message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqEnableAllIspProcessing + * @static + * @param {ReqEnableAllIspProcessing} message ReqEnableAllIspProcessing + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqEnableAllIspProcessing.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqEnableAllIspProcessing to JSON. + * @function toJSON + * @memberof ReqEnableAllIspProcessing + * @instance + * @returns {Object.} JSON object + */ + ReqEnableAllIspProcessing.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqEnableAllIspProcessing + * @function getTypeUrl + * @memberof ReqEnableAllIspProcessing + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqEnableAllIspProcessing.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqEnableAllIspProcessing"; + }; + + return ReqEnableAllIspProcessing; +})(); + +$root.ReqManualSingleStepFocus = (function () { + /** + * Properties of a ReqManualSingleStepFocus. + * @exports IReqManualSingleStepFocus + * @interface IReqManualSingleStepFocus + * @property {number|null} [direction] ReqManualSingleStepFocus direction + */ + + /** + * Constructs a new ReqManualSingleStepFocus. + * @exports ReqManualSingleStepFocus + * @classdesc Represents a ReqManualSingleStepFocus. + * @implements IReqManualSingleStepFocus + * @constructor + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + */ + function ReqManualSingleStepFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqManualSingleStepFocus direction. + * @member {number} direction + * @memberof ReqManualSingleStepFocus + * @instance + */ + ReqManualSingleStepFocus.prototype.direction = 0; + + /** + * Creates a new ReqManualSingleStepFocus instance using the specified properties. + * @function create + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus=} [properties] Properties to set + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus instance + */ + ReqManualSingleStepFocus.create = function create(properties) { + return new ReqManualSingleStepFocus(properties); + }; + + /** + * Encodes the specified ReqManualSingleStepFocus message. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqManualSingleStepFocus message, length delimited. Does not implicitly {@link ReqManualSingleStepFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {IReqManualSingleStepFocus} message ReqManualSingleStepFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualSingleStepFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqManualSingleStepFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqManualSingleStepFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualSingleStepFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualSingleStepFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqManualSingleStepFocus message. + * @function verify + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualSingleStepFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + + /** + * Creates a ReqManualSingleStepFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualSingleStepFocus} ReqManualSingleStepFocus + */ + ReqManualSingleStepFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualSingleStepFocus) return object; + var message = new $root.ReqManualSingleStepFocus(); + if (object.direction != null) message.direction = object.direction >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqManualSingleStepFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualSingleStepFocus + * @static + * @param {ReqManualSingleStepFocus} message ReqManualSingleStepFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualSingleStepFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqManualSingleStepFocus to JSON. + * @function toJSON + * @memberof ReqManualSingleStepFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualSingleStepFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqManualSingleStepFocus + * @function getTypeUrl + * @memberof ReqManualSingleStepFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualSingleStepFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualSingleStepFocus"; + }; + + return ReqManualSingleStepFocus; +})(); + +$root.ReqManualContinuFocus = (function () { + /** + * Properties of a ReqManualContinuFocus. + * @exports IReqManualContinuFocus + * @interface IReqManualContinuFocus + * @property {number|null} [direction] ReqManualContinuFocus direction + */ + + /** + * Constructs a new ReqManualContinuFocus. + * @exports ReqManualContinuFocus + * @classdesc Represents a ReqManualContinuFocus. + * @implements IReqManualContinuFocus + * @constructor + * @param {IReqManualContinuFocus=} [properties] Properties to set + */ + function ReqManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqManualContinuFocus direction. + * @member {number} direction + * @memberof ReqManualContinuFocus + * @instance + */ + ReqManualContinuFocus.prototype.direction = 0; + + /** + * Creates a new ReqManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus=} [properties] Properties to set + * @returns {ReqManualContinuFocus} ReqManualContinuFocus instance + */ + ReqManualContinuFocus.create = function create(properties) { + return new ReqManualContinuFocus(properties); + }; + + /** + * Encodes the specified ReqManualContinuFocus message. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqManualContinuFocus message, length delimited. Does not implicitly {@link ReqManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {IReqManualContinuFocus} message ReqManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqManualContinuFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.direction = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqManualContinuFocus message. + * @function verify + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (!$util.isInteger(message.direction)) + return "direction: integer expected"; + return null; + }; + + /** + * Creates a ReqManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqManualContinuFocus} ReqManualContinuFocus + */ + ReqManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqManualContinuFocus) return object; + var message = new $root.ReqManualContinuFocus(); + if (object.direction != null) message.direction = object.direction >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqManualContinuFocus + * @static + * @param {ReqManualContinuFocus} message ReqManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqManualContinuFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.direction = 0; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqManualContinuFocus + * @function getTypeUrl + * @memberof ReqManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqManualContinuFocus"; + }; + + return ReqManualContinuFocus; +})(); + +$root.ReqStopManualContinuFocus = (function () { + /** + * Properties of a ReqStopManualContinuFocus. + * @exports IReqStopManualContinuFocus + * @interface IReqStopManualContinuFocus + */ + + /** + * Constructs a new ReqStopManualContinuFocus. + * @exports ReqStopManualContinuFocus + * @classdesc Represents a ReqStopManualContinuFocus. + * @implements IReqStopManualContinuFocus + * @constructor + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + */ + function ReqStopManualContinuFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopManualContinuFocus instance using the specified properties. + * @function create + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus=} [properties] Properties to set + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus instance + */ + ReqStopManualContinuFocus.create = function create(properties) { + return new ReqStopManualContinuFocus(properties); + }; + + /** + * Encodes the specified ReqStopManualContinuFocus message. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopManualContinuFocus message, length delimited. Does not implicitly {@link ReqStopManualContinuFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {IReqStopManualContinuFocus} message ReqStopManualContinuFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopManualContinuFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopManualContinuFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopManualContinuFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopManualContinuFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopManualContinuFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopManualContinuFocus message. + * @function verify + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopManualContinuFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopManualContinuFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopManualContinuFocus} ReqStopManualContinuFocus + */ + ReqStopManualContinuFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopManualContinuFocus) return object; + return new $root.ReqStopManualContinuFocus(); + }; + + /** + * Creates a plain object from a ReqStopManualContinuFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopManualContinuFocus + * @static + * @param {ReqStopManualContinuFocus} message ReqStopManualContinuFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopManualContinuFocus.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopManualContinuFocus to JSON. + * @function toJSON + * @memberof ReqStopManualContinuFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopManualContinuFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopManualContinuFocus + * @function getTypeUrl + * @memberof ReqStopManualContinuFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopManualContinuFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopManualContinuFocus"; + }; + + return ReqStopManualContinuFocus; +})(); + +$root.ReqNormalAutoFocus = (function () { + /** + * Properties of a ReqNormalAutoFocus. + * @exports IReqNormalAutoFocus + * @interface IReqNormalAutoFocus + * @property {number|null} [mode] ReqNormalAutoFocus mode + * @property {number|null} [centerX] ReqNormalAutoFocus centerX + * @property {number|null} [centerY] ReqNormalAutoFocus centerY + */ + + /** + * Constructs a new ReqNormalAutoFocus. + * @exports ReqNormalAutoFocus + * @classdesc Represents a ReqNormalAutoFocus. + * @implements IReqNormalAutoFocus + * @constructor + * @param {IReqNormalAutoFocus=} [properties] Properties to set + */ + function ReqNormalAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqNormalAutoFocus mode. + * @member {number} mode + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.mode = 0; + + /** + * ReqNormalAutoFocus centerX. + * @member {number} centerX + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerX = 0; + + /** + * ReqNormalAutoFocus centerY. + * @member {number} centerY + * @memberof ReqNormalAutoFocus + * @instance + */ + ReqNormalAutoFocus.prototype.centerY = 0; + + /** + * Creates a new ReqNormalAutoFocus instance using the specified properties. + * @function create + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus=} [properties] Properties to set + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus instance + */ + ReqNormalAutoFocus.create = function create(properties) { + return new ReqNormalAutoFocus(properties); + }; + + /** + * Encodes the specified ReqNormalAutoFocus message. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + if ( + message.centerX != null && + Object.hasOwnProperty.call(message, "centerX") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.centerX); + if ( + message.centerY != null && + Object.hasOwnProperty.call(message, "centerY") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.centerY); + return writer; + }; + + /** + * Encodes the specified ReqNormalAutoFocus message, length delimited. Does not implicitly {@link ReqNormalAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {IReqNormalAutoFocus} message ReqNormalAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqNormalAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqNormalAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + case 2: { + message.centerX = reader.uint32(); + break; + } + case 3: { + message.centerY = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqNormalAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqNormalAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqNormalAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqNormalAutoFocus message. + * @function verify + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqNormalAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.centerX != null && message.hasOwnProperty("centerX")) + if (!$util.isInteger(message.centerX)) return "centerX: integer expected"; + if (message.centerY != null && message.hasOwnProperty("centerY")) + if (!$util.isInteger(message.centerY)) return "centerY: integer expected"; + return null; + }; + + /** + * Creates a ReqNormalAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqNormalAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqNormalAutoFocus} ReqNormalAutoFocus + */ + ReqNormalAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqNormalAutoFocus) return object; + var message = new $root.ReqNormalAutoFocus(); + if (object.mode != null) message.mode = object.mode >>> 0; + if (object.centerX != null) message.centerX = object.centerX >>> 0; + if (object.centerY != null) message.centerY = object.centerY >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqNormalAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqNormalAutoFocus + * @static + * @param {ReqNormalAutoFocus} message ReqNormalAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqNormalAutoFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.centerX = 0; + object.centerY = 0; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.centerX != null && message.hasOwnProperty("centerX")) + object.centerX = message.centerX; + if (message.centerY != null && message.hasOwnProperty("centerY")) + object.centerY = message.centerY; + return object; + }; + + /** + * Converts this ReqNormalAutoFocus to JSON. + * @function toJSON + * @memberof ReqNormalAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqNormalAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqNormalAutoFocus + * @function getTypeUrl + * @memberof ReqNormalAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqNormalAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqNormalAutoFocus"; + }; + + return ReqNormalAutoFocus; +})(); + +$root.ReqAstroAutoFocus = (function () { + /** + * Properties of a ReqAstroAutoFocus. + * @exports IReqAstroAutoFocus + * @interface IReqAstroAutoFocus + * @property {number|null} [mode] ReqAstroAutoFocus mode + */ + + /** + * Constructs a new ReqAstroAutoFocus. + * @exports ReqAstroAutoFocus + * @classdesc Represents a ReqAstroAutoFocus. + * @implements IReqAstroAutoFocus + * @constructor + * @param {IReqAstroAutoFocus=} [properties] Properties to set + */ + function ReqAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqAstroAutoFocus mode. + * @member {number} mode + * @memberof ReqAstroAutoFocus + * @instance + */ + ReqAstroAutoFocus.prototype.mode = 0; + + /** + * Creates a new ReqAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus=} [properties] Properties to set + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus instance + */ + ReqAstroAutoFocus.create = function create(properties) { + return new ReqAstroAutoFocus(properties); + }; + + /** + * Encodes the specified ReqAstroAutoFocus message. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqAstroAutoFocus message, length delimited. Does not implicitly {@link ReqAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {IReqAstroAutoFocus} message ReqAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqAstroAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqAstroAutoFocus message. + * @function verify + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqAstroAutoFocus} ReqAstroAutoFocus + */ + ReqAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqAstroAutoFocus) return object; + var message = new $root.ReqAstroAutoFocus(); + if (object.mode != null) message.mode = object.mode >>> 0; + return message; + }; + + /** + * Creates a plain object from a ReqAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqAstroAutoFocus + * @static + * @param {ReqAstroAutoFocus} message ReqAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqAstroAutoFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqAstroAutoFocus + * @function getTypeUrl + * @memberof ReqAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqAstroAutoFocus"; + }; + + return ReqAstroAutoFocus; +})(); + +$root.ReqStopAstroAutoFocus = (function () { + /** + * Properties of a ReqStopAstroAutoFocus. + * @exports IReqStopAstroAutoFocus + * @interface IReqStopAstroAutoFocus + */ + + /** + * Constructs a new ReqStopAstroAutoFocus. + * @exports ReqStopAstroAutoFocus + * @classdesc Represents a ReqStopAstroAutoFocus. + * @implements IReqStopAstroAutoFocus + * @constructor + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + */ + function ReqStopAstroAutoFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopAstroAutoFocus instance using the specified properties. + * @function create + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus=} [properties] Properties to set + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus instance + */ + ReqStopAstroAutoFocus.create = function create(properties) { + return new ReqStopAstroAutoFocus(properties); + }; + + /** + * Encodes the specified ReqStopAstroAutoFocus message. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopAstroAutoFocus message, length delimited. Does not implicitly {@link ReqStopAstroAutoFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {IReqStopAstroAutoFocus} message ReqStopAstroAutoFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopAstroAutoFocus.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer. + * @function decode + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopAstroAutoFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopAstroAutoFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopAstroAutoFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopAstroAutoFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopAstroAutoFocus message. + * @function verify + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopAstroAutoFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopAstroAutoFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {Object.} object Plain object + * @returns {ReqStopAstroAutoFocus} ReqStopAstroAutoFocus + */ + ReqStopAstroAutoFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopAstroAutoFocus) return object; + return new $root.ReqStopAstroAutoFocus(); + }; + + /** + * Creates a plain object from a ReqStopAstroAutoFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopAstroAutoFocus + * @static + * @param {ReqStopAstroAutoFocus} message ReqStopAstroAutoFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopAstroAutoFocus.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopAstroAutoFocus to JSON. + * @function toJSON + * @memberof ReqStopAstroAutoFocus + * @instance + * @returns {Object.} JSON object + */ + ReqStopAstroAutoFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopAstroAutoFocus + * @function getTypeUrl + * @memberof ReqStopAstroAutoFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopAstroAutoFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopAstroAutoFocus"; + }; + + return ReqStopAstroAutoFocus; +})(); + +$root.ReqMotorServiceJoystick = (function () { + /** + * Properties of a ReqMotorServiceJoystick. + * @exports IReqMotorServiceJoystick + * @interface IReqMotorServiceJoystick + * @property {number|null} [vectorAngle] ReqMotorServiceJoystick vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystick vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystick speed + */ + + /** + * Constructs a new ReqMotorServiceJoystick. + * @exports ReqMotorServiceJoystick + * @classdesc Represents a ReqMotorServiceJoystick. + * @implements IReqMotorServiceJoystick + * @constructor + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + */ + function ReqMotorServiceJoystick(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorServiceJoystick vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorAngle = 0; + + /** + * ReqMotorServiceJoystick vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.vectorLength = 0; + + /** + * ReqMotorServiceJoystick speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystick + * @instance + */ + ReqMotorServiceJoystick.prototype.speed = 0; + + /** + * Creates a new ReqMotorServiceJoystick instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick=} [properties] Properties to set + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick instance + */ + ReqMotorServiceJoystick.create = function create(properties) { + return new ReqMotorServiceJoystick(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystick message. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle") + ) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if ( + message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystick message, length delimited. Does not implicitly {@link ReqMotorServiceJoystick.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {IReqMotorServiceJoystick} message ReqMotorServiceJoystick message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystick.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystick(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystick message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystick + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystick.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystick message. + * @function verify + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystick.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystick message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystick} ReqMotorServiceJoystick + */ + ReqMotorServiceJoystick.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystick) return object; + var message = new $root.ReqMotorServiceJoystick(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystick message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystick + * @static + * @param {ReqMotorServiceJoystick} message ReqMotorServiceJoystick + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystick.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorServiceJoystick to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystick + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystick.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystick + * @function getTypeUrl + * @memberof ReqMotorServiceJoystick + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystick.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystick"; + }; + + return ReqMotorServiceJoystick; +})(); + +$root.ReqMotorServiceJoystickFixedAngle = (function () { + /** + * Properties of a ReqMotorServiceJoystickFixedAngle. + * @exports IReqMotorServiceJoystickFixedAngle + * @interface IReqMotorServiceJoystickFixedAngle + * @property {number|null} [vectorAngle] ReqMotorServiceJoystickFixedAngle vectorAngle + * @property {number|null} [vectorLength] ReqMotorServiceJoystickFixedAngle vectorLength + * @property {number|null} [speed] ReqMotorServiceJoystickFixedAngle speed + */ + + /** + * Constructs a new ReqMotorServiceJoystickFixedAngle. + * @exports ReqMotorServiceJoystickFixedAngle + * @classdesc Represents a ReqMotorServiceJoystickFixedAngle. + * @implements IReqMotorServiceJoystickFixedAngle + * @constructor + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + */ + function ReqMotorServiceJoystickFixedAngle(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorServiceJoystickFixedAngle vectorAngle. + * @member {number} vectorAngle + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorAngle = 0; + + /** + * ReqMotorServiceJoystickFixedAngle vectorLength. + * @member {number} vectorLength + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.vectorLength = 0; + + /** + * ReqMotorServiceJoystickFixedAngle speed. + * @member {number} speed + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + */ + ReqMotorServiceJoystickFixedAngle.prototype.speed = 0; + + /** + * Creates a new ReqMotorServiceJoystickFixedAngle instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle instance + */ + ReqMotorServiceJoystickFixedAngle.create = function create(properties) { + return new ReqMotorServiceJoystickFixedAngle(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.vectorAngle != null && + Object.hasOwnProperty.call(message, "vectorAngle") + ) + writer.uint32(/* id 1, wireType 1 =*/ 9).double(message.vectorAngle); + if ( + message.vectorLength != null && + Object.hasOwnProperty.call(message, "vectorLength") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.vectorLength); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystickFixedAngle message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickFixedAngle.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {IReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickFixedAngle.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystickFixedAngle(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.vectorAngle = reader.double(); + break; + } + case 2: { + message.vectorLength = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystickFixedAngle message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickFixedAngle.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystickFixedAngle message. + * @function verify + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickFixedAngle.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + if (typeof message.vectorAngle !== "number") + return "vectorAngle: number expected"; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + if (typeof message.vectorLength !== "number") + return "vectorLength: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystickFixedAngle message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickFixedAngle} ReqMotorServiceJoystickFixedAngle + */ + ReqMotorServiceJoystickFixedAngle.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickFixedAngle) + return object; + var message = new $root.ReqMotorServiceJoystickFixedAngle(); + if (object.vectorAngle != null) + message.vectorAngle = Number(object.vectorAngle); + if (object.vectorLength != null) + message.vectorLength = Number(object.vectorLength); + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystickFixedAngle message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {ReqMotorServiceJoystickFixedAngle} message ReqMotorServiceJoystickFixedAngle + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickFixedAngle.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.vectorAngle = 0; + object.vectorLength = 0; + object.speed = 0; + } + if (message.vectorAngle != null && message.hasOwnProperty("vectorAngle")) + object.vectorAngle = + options.json && !isFinite(message.vectorAngle) + ? String(message.vectorAngle) + : message.vectorAngle; + if (message.vectorLength != null && message.hasOwnProperty("vectorLength")) + object.vectorLength = + options.json && !isFinite(message.vectorLength) + ? String(message.vectorLength) + : message.vectorLength; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorServiceJoystickFixedAngle to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickFixedAngle + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickFixedAngle.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystickFixedAngle + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickFixedAngle + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickFixedAngle.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickFixedAngle"; + }; + + return ReqMotorServiceJoystickFixedAngle; +})(); + +$root.ReqMotorServiceJoystickStop = (function () { + /** + * Properties of a ReqMotorServiceJoystickStop. + * @exports IReqMotorServiceJoystickStop + * @interface IReqMotorServiceJoystickStop + */ + + /** + * Constructs a new ReqMotorServiceJoystickStop. + * @exports ReqMotorServiceJoystickStop + * @classdesc Represents a ReqMotorServiceJoystickStop. + * @implements IReqMotorServiceJoystickStop + * @constructor + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + */ + function ReqMotorServiceJoystickStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqMotorServiceJoystickStop instance using the specified properties. + * @function create + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop=} [properties] Properties to set + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop instance + */ + ReqMotorServiceJoystickStop.create = function create(properties) { + return new ReqMotorServiceJoystickStop(properties); + }; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqMotorServiceJoystickStop message, length delimited. Does not implicitly {@link ReqMotorServiceJoystickStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {IReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorServiceJoystickStop.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorServiceJoystickStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorServiceJoystickStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorServiceJoystickStop.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorServiceJoystickStop message. + * @function verify + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorServiceJoystickStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqMotorServiceJoystickStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorServiceJoystickStop} ReqMotorServiceJoystickStop + */ + ReqMotorServiceJoystickStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorServiceJoystickStop) return object; + return new $root.ReqMotorServiceJoystickStop(); + }; + + /** + * Creates a plain object from a ReqMotorServiceJoystickStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {ReqMotorServiceJoystickStop} message ReqMotorServiceJoystickStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorServiceJoystickStop.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqMotorServiceJoystickStop to JSON. + * @function toJSON + * @memberof ReqMotorServiceJoystickStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorServiceJoystickStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorServiceJoystickStop + * @function getTypeUrl + * @memberof ReqMotorServiceJoystickStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorServiceJoystickStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorServiceJoystickStop"; + }; + + return ReqMotorServiceJoystickStop; +})(); + +$root.ReqMotorRun = (function () { + /** + * Properties of a ReqMotorRun. + * @exports IReqMotorRun + * @interface IReqMotorRun + * @property {number|null} [id] ReqMotorRun id + * @property {number|null} [speed] ReqMotorRun speed + * @property {boolean|null} [direction] ReqMotorRun direction + * @property {number|null} [speedRamping] ReqMotorRun speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRun resolutionLevel + */ + + /** + * Constructs a new ReqMotorRun. + * @exports ReqMotorRun + * @classdesc Represents a ReqMotorRun. + * @implements IReqMotorRun + * @constructor + * @param {IReqMotorRun=} [properties] Properties to set + */ + function ReqMotorRun(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRun id. + * @member {number} id + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.id = 0; + + /** + * ReqMotorRun speed. + * @member {number} speed + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speed = 0; + + /** + * ReqMotorRun direction. + * @member {boolean} direction + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.direction = false; + + /** + * ReqMotorRun speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.speedRamping = 0; + + /** + * ReqMotorRun resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRun + * @instance + */ + ReqMotorRun.prototype.resolutionLevel = 0; + + /** + * Creates a new ReqMotorRun instance using the specified properties. + * @function create + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun=} [properties] Properties to set + * @returns {ReqMotorRun} ReqMotorRun instance + */ + ReqMotorRun.create = function create(properties) { + return new ReqMotorRun(properties); + }; + + /** + * Encodes the specified ReqMotorRun message. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encode + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + + /** + * Encodes the specified ReqMotorRun message, length delimited. Does not implicitly {@link ReqMotorRun.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRun + * @static + * @param {IReqMotorRun} message ReqMotorRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRun.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRun(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRun message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRun} ReqMotorRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRun.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRun message. + * @function verify + * @memberof ReqMotorRun + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRun.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorRun message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRun + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRun} ReqMotorRun + */ + ReqMotorRun.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRun) return object; + var message = new $root.ReqMotorRun(); + if (object.id != null) message.id = object.id | 0; + if (object.speed != null) message.speed = Number(object.speed); + if (object.direction != null) message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorRun message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRun + * @static + * @param {ReqMotorRun} message ReqMotorRun + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRun.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + object.direction = false; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + + /** + * Converts this ReqMotorRun to JSON. + * @function toJSON + * @memberof ReqMotorRun + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRun.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRun + * @function getTypeUrl + * @memberof ReqMotorRun + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRun"; + }; + + return ReqMotorRun; +})(); + +$root.ReqMotorRunInPulse = (function () { + /** + * Properties of a ReqMotorRunInPulse. + * @exports IReqMotorRunInPulse + * @interface IReqMotorRunInPulse + * @property {number|null} [id] ReqMotorRunInPulse id + * @property {number|null} [frequency] ReqMotorRunInPulse frequency + * @property {boolean|null} [direction] ReqMotorRunInPulse direction + * @property {number|null} [speedRamping] ReqMotorRunInPulse speedRamping + * @property {number|null} [resolution] ReqMotorRunInPulse resolution + * @property {number|null} [pulse] ReqMotorRunInPulse pulse + * @property {boolean|null} [mode] ReqMotorRunInPulse mode + */ + + /** + * Constructs a new ReqMotorRunInPulse. + * @exports ReqMotorRunInPulse + * @classdesc Represents a ReqMotorRunInPulse. + * @implements IReqMotorRunInPulse + * @constructor + * @param {IReqMotorRunInPulse=} [properties] Properties to set + */ + function ReqMotorRunInPulse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRunInPulse id. + * @member {number} id + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.id = 0; + + /** + * ReqMotorRunInPulse frequency. + * @member {number} frequency + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.frequency = 0; + + /** + * ReqMotorRunInPulse direction. + * @member {boolean} direction + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.direction = false; + + /** + * ReqMotorRunInPulse speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.speedRamping = 0; + + /** + * ReqMotorRunInPulse resolution. + * @member {number} resolution + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.resolution = 0; + + /** + * ReqMotorRunInPulse pulse. + * @member {number} pulse + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.pulse = 0; + + /** + * ReqMotorRunInPulse mode. + * @member {boolean} mode + * @memberof ReqMotorRunInPulse + * @instance + */ + ReqMotorRunInPulse.prototype.mode = false; + + /** + * Creates a new ReqMotorRunInPulse instance using the specified properties. + * @function create + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse=} [properties] Properties to set + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse instance + */ + ReqMotorRunInPulse.create = function create(properties) { + return new ReqMotorRunInPulse(properties); + }; + + /** + * Encodes the specified ReqMotorRunInPulse message. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.frequency != null && + Object.hasOwnProperty.call(message, "frequency") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.frequency); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).bool(message.direction); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolution != null && + Object.hasOwnProperty.call(message, "resolution") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolution); + if (message.pulse != null && Object.hasOwnProperty.call(message, "pulse")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.pulse); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 7, wireType 0 =*/ 56).bool(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqMotorRunInPulse message, length delimited. Does not implicitly {@link ReqMotorRunInPulse.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {IReqMotorRunInPulse} message ReqMotorRunInPulse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunInPulse.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRunInPulse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.frequency = reader.int32(); + break; + } + case 3: { + message.direction = reader.bool(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolution = reader.int32(); + break; + } + case 6: { + message.pulse = reader.int32(); + break; + } + case 7: { + message.mode = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRunInPulse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunInPulse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunInPulse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRunInPulse message. + * @function verify + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunInPulse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.frequency != null && message.hasOwnProperty("frequency")) + if (!$util.isInteger(message.frequency)) + return "frequency: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if (message.resolution != null && message.hasOwnProperty("resolution")) + if (!$util.isInteger(message.resolution)) + return "resolution: integer expected"; + if (message.pulse != null && message.hasOwnProperty("pulse")) + if (!$util.isInteger(message.pulse)) return "pulse: integer expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (typeof message.mode !== "boolean") return "mode: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorRunInPulse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunInPulse + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunInPulse} ReqMotorRunInPulse + */ + ReqMotorRunInPulse.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunInPulse) return object; + var message = new $root.ReqMotorRunInPulse(); + if (object.id != null) message.id = object.id | 0; + if (object.frequency != null) message.frequency = object.frequency | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolution != null) message.resolution = object.resolution | 0; + if (object.pulse != null) message.pulse = object.pulse | 0; + if (object.mode != null) message.mode = Boolean(object.mode); + return message; + }; + + /** + * Creates a plain object from a ReqMotorRunInPulse message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunInPulse + * @static + * @param {ReqMotorRunInPulse} message ReqMotorRunInPulse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunInPulse.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.frequency = 0; + object.direction = false; + object.speedRamping = 0; + object.resolution = 0; + object.pulse = 0; + object.mode = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.frequency != null && message.hasOwnProperty("frequency")) + object.frequency = message.frequency; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if (message.resolution != null && message.hasOwnProperty("resolution")) + object.resolution = message.resolution; + if (message.pulse != null && message.hasOwnProperty("pulse")) + object.pulse = message.pulse; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqMotorRunInPulse to JSON. + * @function toJSON + * @memberof ReqMotorRunInPulse + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunInPulse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRunInPulse + * @function getTypeUrl + * @memberof ReqMotorRunInPulse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunInPulse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunInPulse"; + }; + + return ReqMotorRunInPulse; +})(); + +$root.ReqMotorRunTo = (function () { + /** + * Properties of a ReqMotorRunTo. + * @exports IReqMotorRunTo + * @interface IReqMotorRunTo + * @property {number|null} [id] ReqMotorRunTo id + * @property {number|null} [endPosition] ReqMotorRunTo endPosition + * @property {number|null} [speed] ReqMotorRunTo speed + * @property {number|null} [speedRamping] ReqMotorRunTo speedRamping + * @property {number|null} [resolutionLevel] ReqMotorRunTo resolutionLevel + */ + + /** + * Constructs a new ReqMotorRunTo. + * @exports ReqMotorRunTo + * @classdesc Represents a ReqMotorRunTo. + * @implements IReqMotorRunTo + * @constructor + * @param {IReqMotorRunTo=} [properties] Properties to set + */ + function ReqMotorRunTo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorRunTo id. + * @member {number} id + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.id = 0; + + /** + * ReqMotorRunTo endPosition. + * @member {number} endPosition + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.endPosition = 0; + + /** + * ReqMotorRunTo speed. + * @member {number} speed + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speed = 0; + + /** + * ReqMotorRunTo speedRamping. + * @member {number} speedRamping + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.speedRamping = 0; + + /** + * ReqMotorRunTo resolutionLevel. + * @member {number} resolutionLevel + * @memberof ReqMotorRunTo + * @instance + */ + ReqMotorRunTo.prototype.resolutionLevel = 0; + + /** + * Creates a new ReqMotorRunTo instance using the specified properties. + * @function create + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo=} [properties] Properties to set + * @returns {ReqMotorRunTo} ReqMotorRunTo instance + */ + ReqMotorRunTo.create = function create(properties) { + return new ReqMotorRunTo(properties); + }; + + /** + * Encodes the specified ReqMotorRunTo message. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encode + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.endPosition != null && + Object.hasOwnProperty.call(message, "endPosition") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.endPosition); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.speed); + if ( + message.speedRamping != null && + Object.hasOwnProperty.call(message, "speedRamping") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.speedRamping); + if ( + message.resolutionLevel != null && + Object.hasOwnProperty.call(message, "resolutionLevel") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.resolutionLevel); + return writer; + }; + + /** + * Encodes the specified ReqMotorRunTo message, length delimited. Does not implicitly {@link ReqMotorRunTo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {IReqMotorRunTo} message ReqMotorRunTo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorRunTo.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorRunTo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.endPosition = reader.double(); + break; + } + case 3: { + message.speed = reader.double(); + break; + } + case 4: { + message.speedRamping = reader.int32(); + break; + } + case 5: { + message.resolutionLevel = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorRunTo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorRunTo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorRunTo} ReqMotorRunTo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorRunTo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorRunTo message. + * @function verify + * @memberof ReqMotorRunTo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorRunTo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + if (typeof message.endPosition !== "number") + return "endPosition: number expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + if (!$util.isInteger(message.speedRamping)) + return "speedRamping: integer expected"; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + if (!$util.isInteger(message.resolutionLevel)) + return "resolutionLevel: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorRunTo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorRunTo + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorRunTo} ReqMotorRunTo + */ + ReqMotorRunTo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorRunTo) return object; + var message = new $root.ReqMotorRunTo(); + if (object.id != null) message.id = object.id | 0; + if (object.endPosition != null) + message.endPosition = Number(object.endPosition); + if (object.speed != null) message.speed = Number(object.speed); + if (object.speedRamping != null) + message.speedRamping = object.speedRamping | 0; + if (object.resolutionLevel != null) + message.resolutionLevel = object.resolutionLevel | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorRunTo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorRunTo + * @static + * @param {ReqMotorRunTo} message ReqMotorRunTo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorRunTo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.endPosition = 0; + object.speed = 0; + object.speedRamping = 0; + object.resolutionLevel = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.endPosition != null && message.hasOwnProperty("endPosition")) + object.endPosition = + options.json && !isFinite(message.endPosition) + ? String(message.endPosition) + : message.endPosition; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + if (message.speedRamping != null && message.hasOwnProperty("speedRamping")) + object.speedRamping = message.speedRamping; + if ( + message.resolutionLevel != null && + message.hasOwnProperty("resolutionLevel") + ) + object.resolutionLevel = message.resolutionLevel; + return object; + }; + + /** + * Converts this ReqMotorRunTo to JSON. + * @function toJSON + * @memberof ReqMotorRunTo + * @instance + * @returns {Object.} JSON object + */ + ReqMotorRunTo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorRunTo + * @function getTypeUrl + * @memberof ReqMotorRunTo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorRunTo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorRunTo"; + }; + + return ReqMotorRunTo; +})(); + +$root.ReqMotorGetPosition = (function () { + /** + * Properties of a ReqMotorGetPosition. + * @exports IReqMotorGetPosition + * @interface IReqMotorGetPosition + * @property {number|null} [id] ReqMotorGetPosition id + */ + + /** + * Constructs a new ReqMotorGetPosition. + * @exports ReqMotorGetPosition + * @classdesc Represents a ReqMotorGetPosition. + * @implements IReqMotorGetPosition + * @constructor + * @param {IReqMotorGetPosition=} [properties] Properties to set + */ + function ReqMotorGetPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorGetPosition id. + * @member {number} id + * @memberof ReqMotorGetPosition + * @instance + */ + ReqMotorGetPosition.prototype.id = 0; + + /** + * Creates a new ReqMotorGetPosition instance using the specified properties. + * @function create + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition=} [properties] Properties to set + * @returns {ReqMotorGetPosition} ReqMotorGetPosition instance + */ + ReqMotorGetPosition.create = function create(properties) { + return new ReqMotorGetPosition(properties); + }; + + /** + * Encodes the specified ReqMotorGetPosition message. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encode + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMotorGetPosition message, length delimited. Does not implicitly {@link ReqMotorGetPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {IReqMotorGetPosition} message ReqMotorGetPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorGetPosition.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorGetPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorGetPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorGetPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorGetPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorGetPosition message. + * @function verify + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorGetPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorGetPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorGetPosition + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorGetPosition} ReqMotorGetPosition + */ + ReqMotorGetPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorGetPosition) return object; + var message = new $root.ReqMotorGetPosition(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorGetPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorGetPosition + * @static + * @param {ReqMotorGetPosition} message ReqMotorGetPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorGetPosition.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMotorGetPosition to JSON. + * @function toJSON + * @memberof ReqMotorGetPosition + * @instance + * @returns {Object.} JSON object + */ + ReqMotorGetPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorGetPosition + * @function getTypeUrl + * @memberof ReqMotorGetPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorGetPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorGetPosition"; + }; + + return ReqMotorGetPosition; +})(); + +$root.ReqMotorStop = (function () { + /** + * Properties of a ReqMotorStop. + * @exports IReqMotorStop + * @interface IReqMotorStop + * @property {number|null} [id] ReqMotorStop id + */ + + /** + * Constructs a new ReqMotorStop. + * @exports ReqMotorStop + * @classdesc Represents a ReqMotorStop. + * @implements IReqMotorStop + * @constructor + * @param {IReqMotorStop=} [properties] Properties to set + */ + function ReqMotorStop(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorStop id. + * @member {number} id + * @memberof ReqMotorStop + * @instance + */ + ReqMotorStop.prototype.id = 0; + + /** + * Creates a new ReqMotorStop instance using the specified properties. + * @function create + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop=} [properties] Properties to set + * @returns {ReqMotorStop} ReqMotorStop instance + */ + ReqMotorStop.create = function create(properties) { + return new ReqMotorStop(properties); + }; + + /** + * Encodes the specified ReqMotorStop message. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encode + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMotorStop message, length delimited. Does not implicitly {@link ReqMotorStop.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorStop + * @static + * @param {IReqMotorStop} message ReqMotorStop message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorStop.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorStop(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorStop message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorStop + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorStop} ReqMotorStop + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorStop.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorStop message. + * @function verify + * @memberof ReqMotorStop + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorStop.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMotorStop message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorStop + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorStop} ReqMotorStop + */ + ReqMotorStop.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorStop) return object; + var message = new $root.ReqMotorStop(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMotorStop message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorStop + * @static + * @param {ReqMotorStop} message ReqMotorStop + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorStop.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMotorStop to JSON. + * @function toJSON + * @memberof ReqMotorStop + * @instance + * @returns {Object.} JSON object + */ + ReqMotorStop.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorStop + * @function getTypeUrl + * @memberof ReqMotorStop + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorStop.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorStop"; + }; + + return ReqMotorStop; +})(); + +$root.ReqMotorReset = (function () { + /** + * Properties of a ReqMotorReset. + * @exports IReqMotorReset + * @interface IReqMotorReset + * @property {number|null} [id] ReqMotorReset id + * @property {boolean|null} [direction] ReqMotorReset direction + */ + + /** + * Constructs a new ReqMotorReset. + * @exports ReqMotorReset + * @classdesc Represents a ReqMotorReset. + * @implements IReqMotorReset + * @constructor + * @param {IReqMotorReset=} [properties] Properties to set + */ + function ReqMotorReset(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorReset id. + * @member {number} id + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.id = 0; + + /** + * ReqMotorReset direction. + * @member {boolean} direction + * @memberof ReqMotorReset + * @instance + */ + ReqMotorReset.prototype.direction = false; + + /** + * Creates a new ReqMotorReset instance using the specified properties. + * @function create + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset=} [properties] Properties to set + * @returns {ReqMotorReset} ReqMotorReset instance + */ + ReqMotorReset.create = function create(properties) { + return new ReqMotorReset(properties); + }; + + /** + * Encodes the specified ReqMotorReset message. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encode + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqMotorReset message, length delimited. Does not implicitly {@link ReqMotorReset.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorReset + * @static + * @param {IReqMotorReset} message ReqMotorReset message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorReset.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorReset(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorReset message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorReset + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorReset} ReqMotorReset + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorReset.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorReset message. + * @function verify + * @memberof ReqMotorReset + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorReset.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorReset message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorReset + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorReset} ReqMotorReset + */ + ReqMotorReset.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorReset) return object; + var message = new $root.ReqMotorReset(); + if (object.id != null) message.id = object.id | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + return message; + }; + + /** + * Creates a plain object from a ReqMotorReset message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorReset + * @static + * @param {ReqMotorReset} message ReqMotorReset + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorReset.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqMotorReset to JSON. + * @function toJSON + * @memberof ReqMotorReset + * @instance + * @returns {Object.} JSON object + */ + ReqMotorReset.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorReset + * @function getTypeUrl + * @memberof ReqMotorReset + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorReset.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorReset"; + }; + + return ReqMotorReset; +})(); + +$root.ReqMotorChangeSpeed = (function () { + /** + * Properties of a ReqMotorChangeSpeed. + * @exports IReqMotorChangeSpeed + * @interface IReqMotorChangeSpeed + * @property {number|null} [id] ReqMotorChangeSpeed id + * @property {number|null} [speed] ReqMotorChangeSpeed speed + */ + + /** + * Constructs a new ReqMotorChangeSpeed. + * @exports ReqMotorChangeSpeed + * @classdesc Represents a ReqMotorChangeSpeed. + * @implements IReqMotorChangeSpeed + * @constructor + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + */ + function ReqMotorChangeSpeed(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorChangeSpeed id. + * @member {number} id + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.id = 0; + + /** + * ReqMotorChangeSpeed speed. + * @member {number} speed + * @memberof ReqMotorChangeSpeed + * @instance + */ + ReqMotorChangeSpeed.prototype.speed = 0; + + /** + * Creates a new ReqMotorChangeSpeed instance using the specified properties. + * @function create + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed=} [properties] Properties to set + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed instance + */ + ReqMotorChangeSpeed.create = function create(properties) { + return new ReqMotorChangeSpeed(properties); + }; + + /** + * Encodes the specified ReqMotorChangeSpeed message. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.speed != null && Object.hasOwnProperty.call(message, "speed")) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.speed); + return writer; + }; + + /** + * Encodes the specified ReqMotorChangeSpeed message, length delimited. Does not implicitly {@link ReqMotorChangeSpeed.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {IReqMotorChangeSpeed} message ReqMotorChangeSpeed message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeSpeed.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorChangeSpeed(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.speed = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorChangeSpeed message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeSpeed + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeSpeed.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorChangeSpeed message. + * @function verify + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeSpeed.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.speed != null && message.hasOwnProperty("speed")) + if (typeof message.speed !== "number") return "speed: number expected"; + return null; + }; + + /** + * Creates a ReqMotorChangeSpeed message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeSpeed} ReqMotorChangeSpeed + */ + ReqMotorChangeSpeed.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeSpeed) return object; + var message = new $root.ReqMotorChangeSpeed(); + if (object.id != null) message.id = object.id | 0; + if (object.speed != null) message.speed = Number(object.speed); + return message; + }; + + /** + * Creates a plain object from a ReqMotorChangeSpeed message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeSpeed + * @static + * @param {ReqMotorChangeSpeed} message ReqMotorChangeSpeed + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeSpeed.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.speed = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.speed != null && message.hasOwnProperty("speed")) + object.speed = + options.json && !isFinite(message.speed) + ? String(message.speed) + : message.speed; + return object; + }; + + /** + * Converts this ReqMotorChangeSpeed to JSON. + * @function toJSON + * @memberof ReqMotorChangeSpeed + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeSpeed.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorChangeSpeed + * @function getTypeUrl + * @memberof ReqMotorChangeSpeed + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeSpeed.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeSpeed"; + }; + + return ReqMotorChangeSpeed; +})(); + +$root.ReqMotorChangeDirection = (function () { + /** + * Properties of a ReqMotorChangeDirection. + * @exports IReqMotorChangeDirection + * @interface IReqMotorChangeDirection + * @property {number|null} [id] ReqMotorChangeDirection id + * @property {boolean|null} [direction] ReqMotorChangeDirection direction + */ + + /** + * Constructs a new ReqMotorChangeDirection. + * @exports ReqMotorChangeDirection + * @classdesc Represents a ReqMotorChangeDirection. + * @implements IReqMotorChangeDirection + * @constructor + * @param {IReqMotorChangeDirection=} [properties] Properties to set + */ + function ReqMotorChangeDirection(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMotorChangeDirection id. + * @member {number} id + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.id = 0; + + /** + * ReqMotorChangeDirection direction. + * @member {boolean} direction + * @memberof ReqMotorChangeDirection + * @instance + */ + ReqMotorChangeDirection.prototype.direction = false; + + /** + * Creates a new ReqMotorChangeDirection instance using the specified properties. + * @function create + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection=} [properties] Properties to set + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection instance + */ + ReqMotorChangeDirection.create = function create(properties) { + return new ReqMotorChangeDirection(properties); + }; + + /** + * Encodes the specified ReqMotorChangeDirection message. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encode + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if ( + message.direction != null && + Object.hasOwnProperty.call(message, "direction") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.direction); + return writer; + }; + + /** + * Encodes the specified ReqMotorChangeDirection message, length delimited. Does not implicitly {@link ReqMotorChangeDirection.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {IReqMotorChangeDirection} message ReqMotorChangeDirection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMotorChangeDirection.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer. + * @function decode + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMotorChangeDirection(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.direction = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMotorChangeDirection message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMotorChangeDirection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMotorChangeDirection.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMotorChangeDirection message. + * @function verify + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMotorChangeDirection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + if (typeof message.direction !== "boolean") + return "direction: boolean expected"; + return null; + }; + + /** + * Creates a ReqMotorChangeDirection message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMotorChangeDirection + * @static + * @param {Object.} object Plain object + * @returns {ReqMotorChangeDirection} ReqMotorChangeDirection + */ + ReqMotorChangeDirection.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMotorChangeDirection) return object; + var message = new $root.ReqMotorChangeDirection(); + if (object.id != null) message.id = object.id | 0; + if (object.direction != null) message.direction = Boolean(object.direction); + return message; + }; + + /** + * Creates a plain object from a ReqMotorChangeDirection message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMotorChangeDirection + * @static + * @param {ReqMotorChangeDirection} message ReqMotorChangeDirection + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMotorChangeDirection.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.direction = false; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.direction != null && message.hasOwnProperty("direction")) + object.direction = message.direction; + return object; + }; + + /** + * Converts this ReqMotorChangeDirection to JSON. + * @function toJSON + * @memberof ReqMotorChangeDirection + * @instance + * @returns {Object.} JSON object + */ + ReqMotorChangeDirection.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMotorChangeDirection + * @function getTypeUrl + * @memberof ReqMotorChangeDirection + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMotorChangeDirection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMotorChangeDirection"; + }; + + return ReqMotorChangeDirection; +})(); + +$root.ResMotor = (function () { + /** + * Properties of a ResMotor. + * @exports IResMotor + * @interface IResMotor + * @property {number|null} [id] ResMotor id + * @property {number|null} [code] ResMotor code + */ + + /** + * Constructs a new ResMotor. + * @exports ResMotor + * @classdesc Represents a ResMotor. + * @implements IResMotor + * @constructor + * @param {IResMotor=} [properties] Properties to set + */ + function ResMotor(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResMotor id. + * @member {number} id + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.id = 0; + + /** + * ResMotor code. + * @member {number} code + * @memberof ResMotor + * @instance + */ + ResMotor.prototype.code = 0; + + /** + * Creates a new ResMotor instance using the specified properties. + * @function create + * @memberof ResMotor + * @static + * @param {IResMotor=} [properties] Properties to set + * @returns {ResMotor} ResMotor instance + */ + ResMotor.create = function create(properties) { + return new ResMotor(properties); + }; + + /** + * Encodes the specified ResMotor message. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encode + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResMotor message, length delimited. Does not implicitly {@link ResMotor.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotor + * @static + * @param {IResMotor} message ResMotor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotor.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResMotor message from the specified reader or buffer. + * @function decode + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResMotor(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResMotor message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotor} ResMotor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotor.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResMotor message. + * @function verify + * @memberof ResMotor + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotor.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResMotor message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotor + * @static + * @param {Object.} object Plain object + * @returns {ResMotor} ResMotor + */ + ResMotor.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotor) return object; + var message = new $root.ResMotor(); + if (object.id != null) message.id = object.id | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResMotor message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotor + * @static + * @param {ResMotor} message ResMotor + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotor.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResMotor to JSON. + * @function toJSON + * @memberof ResMotor + * @instance + * @returns {Object.} JSON object + */ + ResMotor.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResMotor + * @function getTypeUrl + * @memberof ResMotor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotor"; + }; + + return ResMotor; +})(); + +$root.ResMotorPosition = (function () { + /** + * Properties of a ResMotorPosition. + * @exports IResMotorPosition + * @interface IResMotorPosition + * @property {number|null} [id] ResMotorPosition id + * @property {number|null} [code] ResMotorPosition code + * @property {number|null} [position] ResMotorPosition position + */ + + /** + * Constructs a new ResMotorPosition. + * @exports ResMotorPosition + * @classdesc Represents a ResMotorPosition. + * @implements IResMotorPosition + * @constructor + * @param {IResMotorPosition=} [properties] Properties to set + */ + function ResMotorPosition(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResMotorPosition id. + * @member {number} id + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.id = 0; + + /** + * ResMotorPosition code. + * @member {number} code + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.code = 0; + + /** + * ResMotorPosition position. + * @member {number} position + * @memberof ResMotorPosition + * @instance + */ + ResMotorPosition.prototype.position = 0; + + /** + * Creates a new ResMotorPosition instance using the specified properties. + * @function create + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition=} [properties] Properties to set + * @returns {ResMotorPosition} ResMotorPosition instance + */ + ResMotorPosition.create = function create(properties) { + return new ResMotorPosition(properties); + }; + + /** + * Encodes the specified ResMotorPosition message. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encode + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + if ( + message.position != null && + Object.hasOwnProperty.call(message, "position") + ) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.position); + return writer; + }; + + /** + * Encodes the specified ResMotorPosition message, length delimited. Does not implicitly {@link ResMotorPosition.verify|verify} messages. + * @function encodeDelimited + * @memberof ResMotorPosition + * @static + * @param {IResMotorPosition} message ResMotorPosition message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResMotorPosition.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer. + * @function decode + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResMotorPosition(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + case 3: { + message.position = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResMotorPosition message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResMotorPosition + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResMotorPosition} ResMotorPosition + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResMotorPosition.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResMotorPosition message. + * @function verify + * @memberof ResMotorPosition + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResMotorPosition.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.position != null && message.hasOwnProperty("position")) + if (typeof message.position !== "number") + return "position: number expected"; + return null; + }; + + /** + * Creates a ResMotorPosition message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResMotorPosition + * @static + * @param {Object.} object Plain object + * @returns {ResMotorPosition} ResMotorPosition + */ + ResMotorPosition.fromObject = function fromObject(object) { + if (object instanceof $root.ResMotorPosition) return object; + var message = new $root.ResMotorPosition(); + if (object.id != null) message.id = object.id | 0; + if (object.code != null) message.code = object.code | 0; + if (object.position != null) message.position = Number(object.position); + return message; + }; + + /** + * Creates a plain object from a ResMotorPosition message. Also converts values to other types if specified. + * @function toObject + * @memberof ResMotorPosition + * @static + * @param {ResMotorPosition} message ResMotorPosition + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResMotorPosition.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = 0; + object.code = 0; + object.position = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.position != null && message.hasOwnProperty("position")) + object.position = + options.json && !isFinite(message.position) + ? String(message.position) + : message.position; + return object; + }; + + /** + * Converts this ResMotorPosition to JSON. + * @function toJSON + * @memberof ResMotorPosition + * @instance + * @returns {Object.} JSON object + */ + ResMotorPosition.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResMotorPosition + * @function getTypeUrl + * @memberof ResMotorPosition + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResMotorPosition.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResMotorPosition"; + }; + + return ResMotorPosition; +})(); + +$root.ReqDualCameraLinkage = (function () { + /** + * Properties of a ReqDualCameraLinkage. + * @exports IReqDualCameraLinkage + * @interface IReqDualCameraLinkage + * @property {number|null} [x] ReqDualCameraLinkage x + * @property {number|null} [y] ReqDualCameraLinkage y + */ + + /** + * Constructs a new ReqDualCameraLinkage. + * @exports ReqDualCameraLinkage + * @classdesc Represents a ReqDualCameraLinkage. + * @implements IReqDualCameraLinkage + * @constructor + * @param {IReqDualCameraLinkage=} [properties] Properties to set + */ + function ReqDualCameraLinkage(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDualCameraLinkage x. + * @member {number} x + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.x = 0; + + /** + * ReqDualCameraLinkage y. + * @member {number} y + * @memberof ReqDualCameraLinkage + * @instance + */ + ReqDualCameraLinkage.prototype.y = 0; + + /** + * Creates a new ReqDualCameraLinkage instance using the specified properties. + * @function create + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage=} [properties] Properties to set + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage instance + */ + ReqDualCameraLinkage.create = function create(properties) { + return new ReqDualCameraLinkage(properties); + }; + + /** + * Encodes the specified ReqDualCameraLinkage message. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encode + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + return writer; + }; + + /** + * Encodes the specified ReqDualCameraLinkage message, length delimited. Does not implicitly {@link ReqDualCameraLinkage.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {IReqDualCameraLinkage} message ReqDualCameraLinkage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDualCameraLinkage.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer. + * @function decode + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDualCameraLinkage(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDualCameraLinkage message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDualCameraLinkage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDualCameraLinkage.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDualCameraLinkage message. + * @function verify + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDualCameraLinkage.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + return null; + }; + + /** + * Creates a ReqDualCameraLinkage message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDualCameraLinkage + * @static + * @param {Object.} object Plain object + * @returns {ReqDualCameraLinkage} ReqDualCameraLinkage + */ + ReqDualCameraLinkage.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDualCameraLinkage) return object; + var message = new $root.ReqDualCameraLinkage(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + return message; + }; + + /** + * Creates a plain object from a ReqDualCameraLinkage message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDualCameraLinkage + * @static + * @param {ReqDualCameraLinkage} message ReqDualCameraLinkage + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDualCameraLinkage.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + return object; + }; + + /** + * Converts this ReqDualCameraLinkage to JSON. + * @function toJSON + * @memberof ReqDualCameraLinkage + * @instance + * @returns {Object.} JSON object + */ + ReqDualCameraLinkage.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDualCameraLinkage + * @function getTypeUrl + * @memberof ReqDualCameraLinkage + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDualCameraLinkage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDualCameraLinkage"; + }; + + return ReqDualCameraLinkage; +})(); + +/** + * State enum. + * @exports State + * @enum {number} + * @property {number} STATE_IDLE=0 STATE_IDLE value + * @property {number} STATE_RUNNING=1 STATE_RUNNING value + * @property {number} STATE_STOPPING=2 STATE_STOPPING value + * @property {number} STATE_STOPPED=3 STATE_STOPPED value + * @property {number} STATE_SUCCESS=4 STATE_SUCCESS value + * @property {number} STATE_FAILED=5 STATE_FAILED value + * @property {number} STATE_ASTRO_PLATE_SOLVING=6 STATE_ASTRO_PLATE_SOLVING value + */ +$root.State = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "STATE_IDLE")] = 0; + values[(valuesById[1] = "STATE_RUNNING")] = 1; + values[(valuesById[2] = "STATE_STOPPING")] = 2; + values[(valuesById[3] = "STATE_STOPPED")] = 3; + values[(valuesById[4] = "STATE_SUCCESS")] = 4; + values[(valuesById[5] = "STATE_FAILED")] = 5; + values[(valuesById[6] = "STATE_ASTRO_PLATE_SOLVING")] = 6; + return values; +})(); + +/** + * OperationState enum. + * @exports OperationState + * @enum {number} + * @property {number} OPERATION_STATE_IDLE=0 OPERATION_STATE_IDLE value + * @property {number} OPERATION_STATE_RUNNING=1 OPERATION_STATE_RUNNING value + * @property {number} OPERATION_STATE_STOPPING=2 OPERATION_STATE_STOPPING value + * @property {number} OPERATION_STATE_STOPPED=3 OPERATION_STATE_STOPPED value + */ +$root.OperationState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "OPERATION_STATE_IDLE")] = 0; + values[(valuesById[1] = "OPERATION_STATE_RUNNING")] = 1; + values[(valuesById[2] = "OPERATION_STATE_STOPPING")] = 2; + values[(valuesById[3] = "OPERATION_STATE_STOPPED")] = 3; + return values; +})(); + +/** + * AstroState enum. + * @exports AstroState + * @enum {number} + * @property {number} ASTRO_STATE_IDLE=0 ASTRO_STATE_IDLE value + * @property {number} ASTRO_STATE_RUNNING=1 ASTRO_STATE_RUNNING value + * @property {number} ASTRO_STATE_STOPPING=2 ASTRO_STATE_STOPPING value + * @property {number} ASTRO_STATE_STOPPED=3 ASTRO_STATE_STOPPED value + * @property {number} ASTRO_STATE_PLATE_SOLVING=4 ASTRO_STATE_PLATE_SOLVING value + */ +$root.AstroState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "ASTRO_STATE_IDLE")] = 0; + values[(valuesById[1] = "ASTRO_STATE_RUNNING")] = 1; + values[(valuesById[2] = "ASTRO_STATE_STOPPING")] = 2; + values[(valuesById[3] = "ASTRO_STATE_STOPPED")] = 3; + values[(valuesById[4] = "ASTRO_STATE_PLATE_SOLVING")] = 4; + return values; +})(); + +/** + * SentryModeState enum. + * @exports SentryModeState + * @enum {number} + * @property {number} SENTRY_MODE_STATE_IDLE=0 SENTRY_MODE_STATE_IDLE value + * @property {number} SENTRY_MODE_STATE_INIT=1 SENTRY_MODE_STATE_INIT value + * @property {number} SENTRY_MODE_STATE_DETECT=2 SENTRY_MODE_STATE_DETECT value + * @property {number} SENTRY_MODE_STATE_TRACK=3 SENTRY_MODE_STATE_TRACK value + * @property {number} SENTRY_MODE_STATE_TRACK_FINISH=4 SENTRY_MODE_STATE_TRACK_FINISH value + * @property {number} SENTRY_MODE_STATE_STOPPING=5 SENTRY_MODE_STATE_STOPPING value + */ +$root.SentryModeState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SENTRY_MODE_STATE_IDLE")] = 0; + values[(valuesById[1] = "SENTRY_MODE_STATE_INIT")] = 1; + values[(valuesById[2] = "SENTRY_MODE_STATE_DETECT")] = 2; + values[(valuesById[3] = "SENTRY_MODE_STATE_TRACK")] = 3; + values[(valuesById[4] = "SENTRY_MODE_STATE_TRACK_FINISH")] = 4; + values[(valuesById[5] = "SENTRY_MODE_STATE_STOPPING")] = 5; + return values; +})(); + +$root.ResNotifyPictureMatching = (function () { + /** + * Properties of a ResNotifyPictureMatching. + * @exports IResNotifyPictureMatching + * @interface IResNotifyPictureMatching + * @property {number|null} [x] ResNotifyPictureMatching x + * @property {number|null} [y] ResNotifyPictureMatching y + * @property {number|null} [width] ResNotifyPictureMatching width + * @property {number|null} [height] ResNotifyPictureMatching height + * @property {number|null} [value] ResNotifyPictureMatching value + * @property {number|null} [code] ResNotifyPictureMatching code + */ + + /** + * Constructs a new ResNotifyPictureMatching. + * @exports ResNotifyPictureMatching + * @classdesc Represents a ResNotifyPictureMatching. + * @implements IResNotifyPictureMatching + * @constructor + * @param {IResNotifyPictureMatching=} [properties] Properties to set + */ + function ResNotifyPictureMatching(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPictureMatching x. + * @member {number} x + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.x = 0; + + /** + * ResNotifyPictureMatching y. + * @member {number} y + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.y = 0; + + /** + * ResNotifyPictureMatching width. + * @member {number} width + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.width = 0; + + /** + * ResNotifyPictureMatching height. + * @member {number} height + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.height = 0; + + /** + * ResNotifyPictureMatching value. + * @member {number} value + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.value = 0; + + /** + * ResNotifyPictureMatching code. + * @member {number} code + * @memberof ResNotifyPictureMatching + * @instance + */ + ResNotifyPictureMatching.prototype.code = 0; + + /** + * Creates a new ResNotifyPictureMatching instance using the specified properties. + * @function create + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching=} [properties] Properties to set + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching instance + */ + ResNotifyPictureMatching.create = function create(properties) { + return new ResNotifyPictureMatching(properties); + }; + + /** + * Encodes the specified ResNotifyPictureMatching message. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encode + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.y); + if (message.width != null && Object.hasOwnProperty.call(message, "width")) + writer.uint32(/* id 3, wireType 0 =*/ 24).uint32(message.width); + if (message.height != null && Object.hasOwnProperty.call(message, "height")) + writer.uint32(/* id 4, wireType 0 =*/ 32).uint32(message.height); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 5, wireType 1 =*/ 41).double(message.value); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifyPictureMatching message, length delimited. Does not implicitly {@link ResNotifyPictureMatching.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {IResNotifyPictureMatching} message ResNotifyPictureMatching message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPictureMatching.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPictureMatching(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.uint32(); + break; + } + case 2: { + message.y = reader.uint32(); + break; + } + case 3: { + message.width = reader.uint32(); + break; + } + case 4: { + message.height = reader.uint32(); + break; + } + case 5: { + message.value = reader.double(); + break; + } + case 6: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPictureMatching message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPictureMatching + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPictureMatching.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPictureMatching message. + * @function verify + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPictureMatching.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.width != null && message.hasOwnProperty("width")) + if (!$util.isInteger(message.width)) return "width: integer expected"; + if (message.height != null && message.hasOwnProperty("height")) + if (!$util.isInteger(message.height)) return "height: integer expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") return "value: number expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPictureMatching message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPictureMatching + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPictureMatching} ResNotifyPictureMatching + */ + ResNotifyPictureMatching.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPictureMatching) return object; + var message = new $root.ResNotifyPictureMatching(); + if (object.x != null) message.x = object.x >>> 0; + if (object.y != null) message.y = object.y >>> 0; + if (object.width != null) message.width = object.width >>> 0; + if (object.height != null) message.height = object.height >>> 0; + if (object.value != null) message.value = Number(object.value); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPictureMatching message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPictureMatching + * @static + * @param {ResNotifyPictureMatching} message ResNotifyPictureMatching + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPictureMatching.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.width = 0; + object.height = 0; + object.value = 0; + object.code = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.width != null && message.hasOwnProperty("width")) + object.width = message.width; + if (message.height != null && message.hasOwnProperty("height")) + object.height = message.height; + if (message.value != null && message.hasOwnProperty("value")) + object.value = + options.json && !isFinite(message.value) + ? String(message.value) + : message.value; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifyPictureMatching to JSON. + * @function toJSON + * @memberof ResNotifyPictureMatching + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPictureMatching.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPictureMatching + * @function getTypeUrl + * @memberof ResNotifyPictureMatching + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPictureMatching.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPictureMatching"; + }; + + return ResNotifyPictureMatching; +})(); + +$root.ResNotifySDcardInfo = (function () { + /** + * Properties of a ResNotifySDcardInfo. + * @exports IResNotifySDcardInfo + * @interface IResNotifySDcardInfo + * @property {number|null} [availableSize] ResNotifySDcardInfo availableSize + * @property {number|null} [totalSize] ResNotifySDcardInfo totalSize + * @property {number|null} [code] ResNotifySDcardInfo code + */ + + /** + * Constructs a new ResNotifySDcardInfo. + * @exports ResNotifySDcardInfo + * @classdesc Represents a ResNotifySDcardInfo. + * @implements IResNotifySDcardInfo + * @constructor + * @param {IResNotifySDcardInfo=} [properties] Properties to set + */ + function ResNotifySDcardInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifySDcardInfo availableSize. + * @member {number} availableSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.availableSize = 0; + + /** + * ResNotifySDcardInfo totalSize. + * @member {number} totalSize + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.totalSize = 0; + + /** + * ResNotifySDcardInfo code. + * @member {number} code + * @memberof ResNotifySDcardInfo + * @instance + */ + ResNotifySDcardInfo.prototype.code = 0; + + /** + * Creates a new ResNotifySDcardInfo instance using the specified properties. + * @function create + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo=} [properties] Properties to set + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo instance + */ + ResNotifySDcardInfo.create = function create(properties) { + return new ResNotifySDcardInfo(properties); + }; + + /** + * Encodes the specified ResNotifySDcardInfo message. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encode + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.availableSize != null && + Object.hasOwnProperty.call(message, "availableSize") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.availableSize); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.totalSize); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifySDcardInfo message, length delimited. Does not implicitly {@link ResNotifySDcardInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {IResNotifySDcardInfo} message ResNotifySDcardInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySDcardInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifySDcardInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.availableSize = reader.uint32(); + break; + } + case 2: { + message.totalSize = reader.uint32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifySDcardInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySDcardInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySDcardInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifySDcardInfo message. + * @function verify + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySDcardInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.availableSize != null && + message.hasOwnProperty("availableSize") + ) + if (!$util.isInteger(message.availableSize)) + return "availableSize: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (!$util.isInteger(message.totalSize)) + return "totalSize: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifySDcardInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySDcardInfo + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySDcardInfo} ResNotifySDcardInfo + */ + ResNotifySDcardInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySDcardInfo) return object; + var message = new $root.ResNotifySDcardInfo(); + if (object.availableSize != null) + message.availableSize = object.availableSize >>> 0; + if (object.totalSize != null) message.totalSize = object.totalSize >>> 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifySDcardInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySDcardInfo + * @static + * @param {ResNotifySDcardInfo} message ResNotifySDcardInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySDcardInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.availableSize = 0; + object.totalSize = 0; + object.code = 0; + } + if ( + message.availableSize != null && + message.hasOwnProperty("availableSize") + ) + object.availableSize = message.availableSize; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + object.totalSize = message.totalSize; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifySDcardInfo to JSON. + * @function toJSON + * @memberof ResNotifySDcardInfo + * @instance + * @returns {Object.} JSON object + */ + ResNotifySDcardInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifySDcardInfo + * @function getTypeUrl + * @memberof ResNotifySDcardInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySDcardInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySDcardInfo"; + }; + + return ResNotifySDcardInfo; +})(); + +$root.ResNotifyTemperature = (function () { + /** + * Properties of a ResNotifyTemperature. + * @exports IResNotifyTemperature + * @interface IResNotifyTemperature + * @property {number|null} [code] ResNotifyTemperature code + * @property {number|null} [temperature] ResNotifyTemperature temperature + */ + + /** + * Constructs a new ResNotifyTemperature. + * @exports ResNotifyTemperature + * @classdesc Represents a ResNotifyTemperature. + * @implements IResNotifyTemperature + * @constructor + * @param {IResNotifyTemperature=} [properties] Properties to set + */ + function ResNotifyTemperature(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTemperature code. + * @member {number} code + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.code = 0; + + /** + * ResNotifyTemperature temperature. + * @member {number} temperature + * @memberof ResNotifyTemperature + * @instance + */ + ResNotifyTemperature.prototype.temperature = 0; + + /** + * Creates a new ResNotifyTemperature instance using the specified properties. + * @function create + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature=} [properties] Properties to set + * @returns {ResNotifyTemperature} ResNotifyTemperature instance + */ + ResNotifyTemperature.create = function create(properties) { + return new ResNotifyTemperature(properties); + }; + + /** + * Encodes the specified ResNotifyTemperature message. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encode + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.temperature != null && + Object.hasOwnProperty.call(message, "temperature") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.temperature); + return writer; + }; + + /** + * Encodes the specified ResNotifyTemperature message, length delimited. Does not implicitly {@link ResNotifyTemperature.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {IResNotifyTemperature} message ResNotifyTemperature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTemperature.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTemperature(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.temperature = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTemperature message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTemperature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTemperature} ResNotifyTemperature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTemperature.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTemperature message. + * @function verify + * @memberof ResNotifyTemperature + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTemperature.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.temperature != null && message.hasOwnProperty("temperature")) + if (!$util.isInteger(message.temperature)) + return "temperature: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTemperature message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTemperature + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTemperature} ResNotifyTemperature + */ + ResNotifyTemperature.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTemperature) return object; + var message = new $root.ResNotifyTemperature(); + if (object.code != null) message.code = object.code | 0; + if (object.temperature != null) + message.temperature = object.temperature | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTemperature message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTemperature + * @static + * @param {ResNotifyTemperature} message ResNotifyTemperature + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTemperature.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.temperature = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.temperature != null && message.hasOwnProperty("temperature")) + object.temperature = message.temperature; + return object; + }; + + /** + * Converts this ResNotifyTemperature to JSON. + * @function toJSON + * @memberof ResNotifyTemperature + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTemperature.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTemperature + * @function getTypeUrl + * @memberof ResNotifyTemperature + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTemperature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTemperature"; + }; + + return ResNotifyTemperature; +})(); + +$root.ResNotifyRecordTime = (function () { + /** + * Properties of a ResNotifyRecordTime. + * @exports IResNotifyRecordTime + * @interface IResNotifyRecordTime + * @property {number|null} [recordTime] ResNotifyRecordTime recordTime + */ + + /** + * Constructs a new ResNotifyRecordTime. + * @exports ResNotifyRecordTime + * @classdesc Represents a ResNotifyRecordTime. + * @implements IResNotifyRecordTime + * @constructor + * @param {IResNotifyRecordTime=} [properties] Properties to set + */ + function ResNotifyRecordTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyRecordTime recordTime. + * @member {number} recordTime + * @memberof ResNotifyRecordTime + * @instance + */ + ResNotifyRecordTime.prototype.recordTime = 0; + + /** + * Creates a new ResNotifyRecordTime instance using the specified properties. + * @function create + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime=} [properties] Properties to set + * @returns {ResNotifyRecordTime} ResNotifyRecordTime instance + */ + ResNotifyRecordTime.create = function create(properties) { + return new ResNotifyRecordTime(properties); + }; + + /** + * Encodes the specified ResNotifyRecordTime message. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.recordTime != null && + Object.hasOwnProperty.call(message, "recordTime") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.recordTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyRecordTime message, length delimited. Does not implicitly {@link ResNotifyRecordTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {IResNotifyRecordTime} message ResNotifyRecordTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRecordTime.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyRecordTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.recordTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyRecordTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRecordTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRecordTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyRecordTime message. + * @function verify + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRecordTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + if (!$util.isInteger(message.recordTime)) + return "recordTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyRecordTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRecordTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRecordTime} ResNotifyRecordTime + */ + ResNotifyRecordTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRecordTime) return object; + var message = new $root.ResNotifyRecordTime(); + if (object.recordTime != null) message.recordTime = object.recordTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyRecordTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRecordTime + * @static + * @param {ResNotifyRecordTime} message ResNotifyRecordTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRecordTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.recordTime = 0; + if (message.recordTime != null && message.hasOwnProperty("recordTime")) + object.recordTime = message.recordTime; + return object; + }; + + /** + * Converts this ResNotifyRecordTime to JSON. + * @function toJSON + * @memberof ResNotifyRecordTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRecordTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyRecordTime + * @function getTypeUrl + * @memberof ResNotifyRecordTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRecordTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRecordTime"; + }; + + return ResNotifyRecordTime; +})(); + +$root.ResNotifyTimeLapseOutTime = (function () { + /** + * Properties of a ResNotifyTimeLapseOutTime. + * @exports IResNotifyTimeLapseOutTime + * @interface IResNotifyTimeLapseOutTime + * @property {number|null} [interval] ResNotifyTimeLapseOutTime interval + * @property {number|null} [outTime] ResNotifyTimeLapseOutTime outTime + * @property {number|null} [totalTime] ResNotifyTimeLapseOutTime totalTime + */ + + /** + * Constructs a new ResNotifyTimeLapseOutTime. + * @exports ResNotifyTimeLapseOutTime + * @classdesc Represents a ResNotifyTimeLapseOutTime. + * @implements IResNotifyTimeLapseOutTime + * @constructor + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + */ + function ResNotifyTimeLapseOutTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTimeLapseOutTime interval. + * @member {number} interval + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.interval = 0; + + /** + * ResNotifyTimeLapseOutTime outTime. + * @member {number} outTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.outTime = 0; + + /** + * ResNotifyTimeLapseOutTime totalTime. + * @member {number} totalTime + * @memberof ResNotifyTimeLapseOutTime + * @instance + */ + ResNotifyTimeLapseOutTime.prototype.totalTime = 0; + + /** + * Creates a new ResNotifyTimeLapseOutTime instance using the specified properties. + * @function create + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime=} [properties] Properties to set + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime instance + */ + ResNotifyTimeLapseOutTime.create = function create(properties) { + return new ResNotifyTimeLapseOutTime(properties); + }; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.interval != null && + Object.hasOwnProperty.call(message, "interval") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.interval); + if ( + message.outTime != null && + Object.hasOwnProperty.call(message, "outTime") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.outTime); + if ( + message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.totalTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyTimeLapseOutTime message, length delimited. Does not implicitly {@link ResNotifyTimeLapseOutTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {IResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTimeLapseOutTime.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTimeLapseOutTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.interval = reader.int32(); + break; + } + case 2: { + message.outTime = reader.int32(); + break; + } + case 3: { + message.totalTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTimeLapseOutTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTimeLapseOutTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTimeLapseOutTime message. + * @function verify + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTimeLapseOutTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.interval != null && message.hasOwnProperty("interval")) + if (!$util.isInteger(message.interval)) + return "interval: integer expected"; + if (message.outTime != null && message.hasOwnProperty("outTime")) + if (!$util.isInteger(message.outTime)) return "outTime: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (!$util.isInteger(message.totalTime)) + return "totalTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTimeLapseOutTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTimeLapseOutTime} ResNotifyTimeLapseOutTime + */ + ResNotifyTimeLapseOutTime.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTimeLapseOutTime) return object; + var message = new $root.ResNotifyTimeLapseOutTime(); + if (object.interval != null) message.interval = object.interval | 0; + if (object.outTime != null) message.outTime = object.outTime | 0; + if (object.totalTime != null) message.totalTime = object.totalTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTimeLapseOutTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {ResNotifyTimeLapseOutTime} message ResNotifyTimeLapseOutTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTimeLapseOutTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.interval = 0; + object.outTime = 0; + object.totalTime = 0; + } + if (message.interval != null && message.hasOwnProperty("interval")) + object.interval = message.interval; + if (message.outTime != null && message.hasOwnProperty("outTime")) + object.outTime = message.outTime; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = message.totalTime; + return object; + }; + + /** + * Converts this ResNotifyTimeLapseOutTime to JSON. + * @function toJSON + * @memberof ResNotifyTimeLapseOutTime + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTimeLapseOutTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTimeLapseOutTime + * @function getTypeUrl + * @memberof ResNotifyTimeLapseOutTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTimeLapseOutTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTimeLapseOutTime"; + }; + + return ResNotifyTimeLapseOutTime; +})(); + +$root.ResNotifyOperationState = (function () { + /** + * Properties of a ResNotifyOperationState. + * @exports IResNotifyOperationState + * @interface IResNotifyOperationState + * @property {OperationState|null} [state] ResNotifyOperationState state + */ + + /** + * Constructs a new ResNotifyOperationState. + * @exports ResNotifyOperationState + * @classdesc Represents a ResNotifyOperationState. + * @implements IResNotifyOperationState + * @constructor + * @param {IResNotifyOperationState=} [properties] Properties to set + */ + function ResNotifyOperationState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyOperationState state. + * @member {OperationState} state + * @memberof ResNotifyOperationState + * @instance + */ + ResNotifyOperationState.prototype.state = 0; + + /** + * Creates a new ResNotifyOperationState instance using the specified properties. + * @function create + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState=} [properties] Properties to set + * @returns {ResNotifyOperationState} ResNotifyOperationState instance + */ + ResNotifyOperationState.create = function create(properties) { + return new ResNotifyOperationState(properties); + }; + + /** + * Encodes the specified ResNotifyOperationState message. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyOperationState message, length delimited. Does not implicitly {@link ResNotifyOperationState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {IResNotifyOperationState} message ResNotifyOperationState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOperationState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyOperationState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyOperationState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOperationState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOperationState} ResNotifyOperationState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOperationState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyOperationState message. + * @function verify + * @memberof ResNotifyOperationState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOperationState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyOperationState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOperationState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOperationState} ResNotifyOperationState + */ + ResNotifyOperationState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOperationState) return object; + var message = new $root.ResNotifyOperationState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyOperationState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOperationState + * @static + * @param {ResNotifyOperationState} message ResNotifyOperationState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOperationState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyOperationState to JSON. + * @function toJSON + * @memberof ResNotifyOperationState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOperationState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyOperationState + * @function getTypeUrl + * @memberof ResNotifyOperationState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOperationState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOperationState"; + }; + + return ResNotifyOperationState; +})(); + +$root.ResNotifyStateAstroCalibration = (function () { + /** + * Properties of a ResNotifyStateAstroCalibration. + * @exports IResNotifyStateAstroCalibration + * @interface IResNotifyStateAstroCalibration + * @property {AstroState|null} [state] ResNotifyStateAstroCalibration state + * @property {number|null} [plateSolvingTimes] ResNotifyStateAstroCalibration plateSolvingTimes + */ + + /** + * Constructs a new ResNotifyStateAstroCalibration. + * @exports ResNotifyStateAstroCalibration + * @classdesc Represents a ResNotifyStateAstroCalibration. + * @implements IResNotifyStateAstroCalibration + * @constructor + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + */ + function ResNotifyStateAstroCalibration(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroCalibration state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.state = 0; + + /** + * ResNotifyStateAstroCalibration plateSolvingTimes. + * @member {number} plateSolvingTimes + * @memberof ResNotifyStateAstroCalibration + * @instance + */ + ResNotifyStateAstroCalibration.prototype.plateSolvingTimes = 0; + + /** + * Creates a new ResNotifyStateAstroCalibration instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration=} [properties] Properties to set + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration instance + */ + ResNotifyStateAstroCalibration.create = function create(properties) { + return new ResNotifyStateAstroCalibration(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.plateSolvingTimes != null && + Object.hasOwnProperty.call(message, "plateSolvingTimes") + ) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.plateSolvingTimes); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroCalibration message, length delimited. Does not implicitly {@link ResNotifyStateAstroCalibration.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {IResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroCalibration.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroCalibration(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.plateSolvingTimes = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroCalibration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroCalibration.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroCalibration message. + * @function verify + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroCalibration.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if ( + message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes") + ) + if (!$util.isInteger(message.plateSolvingTimes)) + return "plateSolvingTimes: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroCalibration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroCalibration} ResNotifyStateAstroCalibration + */ + ResNotifyStateAstroCalibration.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroCalibration) return object; + var message = new $root.ResNotifyStateAstroCalibration(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + if (object.plateSolvingTimes != null) + message.plateSolvingTimes = object.plateSolvingTimes | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroCalibration message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {ResNotifyStateAstroCalibration} message ResNotifyStateAstroCalibration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroCalibration.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + object.plateSolvingTimes = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + if ( + message.plateSolvingTimes != null && + message.hasOwnProperty("plateSolvingTimes") + ) + object.plateSolvingTimes = message.plateSolvingTimes; + return object; + }; + + /** + * Converts this ResNotifyStateAstroCalibration to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroCalibration + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroCalibration.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroCalibration + * @function getTypeUrl + * @memberof ResNotifyStateAstroCalibration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroCalibration.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroCalibration"; + }; + + return ResNotifyStateAstroCalibration; +})(); + +$root.ResNotifyStateAstroGoto = (function () { + /** + * Properties of a ResNotifyStateAstroGoto. + * @exports IResNotifyStateAstroGoto + * @interface IResNotifyStateAstroGoto + * @property {AstroState|null} [state] ResNotifyStateAstroGoto state + */ + + /** + * Constructs a new ResNotifyStateAstroGoto. + * @exports ResNotifyStateAstroGoto + * @classdesc Represents a ResNotifyStateAstroGoto. + * @implements IResNotifyStateAstroGoto + * @constructor + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + */ + function ResNotifyStateAstroGoto(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroGoto state. + * @member {AstroState} state + * @memberof ResNotifyStateAstroGoto + * @instance + */ + ResNotifyStateAstroGoto.prototype.state = 0; + + /** + * Creates a new ResNotifyStateAstroGoto instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto=} [properties] Properties to set + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto instance + */ + ResNotifyStateAstroGoto.create = function create(properties) { + return new ResNotifyStateAstroGoto(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroGoto message. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroGoto message, length delimited. Does not implicitly {@link ResNotifyStateAstroGoto.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {IResNotifyStateAstroGoto} message ResNotifyStateAstroGoto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroGoto.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroGoto(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroGoto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroGoto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroGoto.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroGoto message. + * @function verify + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroGoto.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + return null; + }; + + /** + * Creates a ResNotifyStateAstroGoto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroGoto} ResNotifyStateAstroGoto + */ + ResNotifyStateAstroGoto.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroGoto) return object; + var message = new $root.ResNotifyStateAstroGoto(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "ASTRO_STATE_IDLE": + case 0: + message.state = 0; + break; + case "ASTRO_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "ASTRO_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "ASTRO_STATE_STOPPED": + case 3: + message.state = 3; + break; + case "ASTRO_STATE_PLATE_SOLVING": + case 4: + message.state = 4; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroGoto message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroGoto + * @static + * @param {ResNotifyStateAstroGoto} message ResNotifyStateAstroGoto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroGoto.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "ASTRO_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.AstroState[message.state] === undefined + ? message.state + : $root.AstroState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyStateAstroGoto to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroGoto + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroGoto.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroGoto + * @function getTypeUrl + * @memberof ResNotifyStateAstroGoto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroGoto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroGoto"; + }; + + return ResNotifyStateAstroGoto; +})(); + +$root.ResNotifyStateAstroTracking = (function () { + /** + * Properties of a ResNotifyStateAstroTracking. + * @exports IResNotifyStateAstroTracking + * @interface IResNotifyStateAstroTracking + * @property {OperationState|null} [state] ResNotifyStateAstroTracking state + * @property {string|null} [targetName] ResNotifyStateAstroTracking targetName + */ + + /** + * Constructs a new ResNotifyStateAstroTracking. + * @exports ResNotifyStateAstroTracking + * @classdesc Represents a ResNotifyStateAstroTracking. + * @implements IResNotifyStateAstroTracking + * @constructor + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + */ + function ResNotifyStateAstroTracking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroTracking state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.state = 0; + + /** + * ResNotifyStateAstroTracking targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTracking + * @instance + */ + ResNotifyStateAstroTracking.prototype.targetName = ""; + + /** + * Creates a new ResNotifyStateAstroTracking instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking=} [properties] Properties to set + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking instance + */ + ResNotifyStateAstroTracking.create = function create(properties) { + return new ResNotifyStateAstroTracking(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroTracking message. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroTracking message, length delimited. Does not implicitly {@link ResNotifyStateAstroTracking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {IResNotifyStateAstroTracking} message ResNotifyStateAstroTracking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTracking.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroTracking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroTracking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTracking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTracking.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroTracking message. + * @function verify + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTracking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroTracking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTracking} ResNotifyStateAstroTracking + */ + ResNotifyStateAstroTracking.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTracking) return object; + var message = new $root.ResNotifyStateAstroTracking(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroTracking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTracking + * @static + * @param {ResNotifyStateAstroTracking} message ResNotifyStateAstroTracking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTracking.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ResNotifyStateAstroTracking to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTracking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTracking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroTracking + * @function getTypeUrl + * @memberof ResNotifyStateAstroTracking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTracking.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTracking"; + }; + + return ResNotifyStateAstroTracking; +})(); + +$root.ResNotifyProgressCaptureRawDark = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawDark. + * @exports IResNotifyProgressCaptureRawDark + * @interface IResNotifyProgressCaptureRawDark + * @property {number|null} [progress] ResNotifyProgressCaptureRawDark progress + * @property {number|null} [remainingTime] ResNotifyProgressCaptureRawDark remainingTime + */ + + /** + * Constructs a new ResNotifyProgressCaptureRawDark. + * @exports ResNotifyProgressCaptureRawDark + * @classdesc Represents a ResNotifyProgressCaptureRawDark. + * @implements IResNotifyProgressCaptureRawDark + * @constructor + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawDark(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyProgressCaptureRawDark progress. + * @member {number} progress + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.progress = 0; + + /** + * ResNotifyProgressCaptureRawDark remainingTime. + * @member {number} remainingTime + * @memberof ResNotifyProgressCaptureRawDark + * @instance + */ + ResNotifyProgressCaptureRawDark.prototype.remainingTime = 0; + + /** + * Creates a new ResNotifyProgressCaptureRawDark instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark instance + */ + ResNotifyProgressCaptureRawDark.create = function create(properties) { + return new ResNotifyProgressCaptureRawDark(properties); + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.progress != null && + Object.hasOwnProperty.call(message, "progress") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.progress); + if ( + message.remainingTime != null && + Object.hasOwnProperty.call(message, "remainingTime") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.remainingTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawDark message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawDark.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {IResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawDark.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyProgressCaptureRawDark(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.progress = reader.int32(); + break; + } + case 2: { + message.remainingTime = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyProgressCaptureRawDark message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawDark.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyProgressCaptureRawDark message. + * @function verify + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawDark.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.progress != null && message.hasOwnProperty("progress")) + if (!$util.isInteger(message.progress)) + return "progress: integer expected"; + if ( + message.remainingTime != null && + message.hasOwnProperty("remainingTime") + ) + if (!$util.isInteger(message.remainingTime)) + return "remainingTime: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyProgressCaptureRawDark message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawDark} ResNotifyProgressCaptureRawDark + */ + ResNotifyProgressCaptureRawDark.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyProgressCaptureRawDark) return object; + var message = new $root.ResNotifyProgressCaptureRawDark(); + if (object.progress != null) message.progress = object.progress | 0; + if (object.remainingTime != null) + message.remainingTime = object.remainingTime | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawDark message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {ResNotifyProgressCaptureRawDark} message ResNotifyProgressCaptureRawDark + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawDark.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.progress = 0; + object.remainingTime = 0; + } + if (message.progress != null && message.hasOwnProperty("progress")) + object.progress = message.progress; + if ( + message.remainingTime != null && + message.hasOwnProperty("remainingTime") + ) + object.remainingTime = message.remainingTime; + return object; + }; + + /** + * Converts this ResNotifyProgressCaptureRawDark to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawDark + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawDark.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawDark + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawDark + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawDark.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawDark"; + }; + + return ResNotifyProgressCaptureRawDark; +})(); + +$root.ResNotifyProgressCaptureRawLiveStacking = (function () { + /** + * Properties of a ResNotifyProgressCaptureRawLiveStacking. + * @exports IResNotifyProgressCaptureRawLiveStacking + * @interface IResNotifyProgressCaptureRawLiveStacking + * @property {number|null} [totalCount] ResNotifyProgressCaptureRawLiveStacking totalCount + * @property {number|null} [updateCountType] ResNotifyProgressCaptureRawLiveStacking updateCountType + * @property {number|null} [currentCount] ResNotifyProgressCaptureRawLiveStacking currentCount + * @property {number|null} [stackedCount] ResNotifyProgressCaptureRawLiveStacking stackedCount + * @property {number|null} [expIndex] ResNotifyProgressCaptureRawLiveStacking expIndex + * @property {number|null} [gainIndex] ResNotifyProgressCaptureRawLiveStacking gainIndex + * @property {string|null} [targetName] ResNotifyProgressCaptureRawLiveStacking targetName + */ + + /** + * Constructs a new ResNotifyProgressCaptureRawLiveStacking. + * @exports ResNotifyProgressCaptureRawLiveStacking + * @classdesc Represents a ResNotifyProgressCaptureRawLiveStacking. + * @implements IResNotifyProgressCaptureRawLiveStacking + * @constructor + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + */ + function ResNotifyProgressCaptureRawLiveStacking(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyProgressCaptureRawLiveStacking totalCount. + * @member {number} totalCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.totalCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking updateCountType. + * @member {number} updateCountType + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.updateCountType = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking currentCount. + * @member {number} currentCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.currentCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking stackedCount. + * @member {number} stackedCount + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.stackedCount = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking expIndex. + * @member {number} expIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.expIndex = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking gainIndex. + * @member {number} gainIndex + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.gainIndex = 0; + + /** + * ResNotifyProgressCaptureRawLiveStacking targetName. + * @member {string} targetName + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.targetName = ""; + + /** + * Creates a new ResNotifyProgressCaptureRawLiveStacking instance using the specified properties. + * @function create + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking=} [properties] Properties to set + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking instance + */ + ResNotifyProgressCaptureRawLiveStacking.create = function create(properties) { + return new ResNotifyProgressCaptureRawLiveStacking(properties); + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if ( + message.updateCountType != null && + Object.hasOwnProperty.call(message, "updateCountType") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.updateCountType); + if ( + message.currentCount != null && + Object.hasOwnProperty.call(message, "currentCount") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.currentCount); + if ( + message.stackedCount != null && + Object.hasOwnProperty.call(message, "stackedCount") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.stackedCount); + if ( + message.expIndex != null && + Object.hasOwnProperty.call(message, "expIndex") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int32(message.expIndex); + if ( + message.gainIndex != null && + Object.hasOwnProperty.call(message, "gainIndex") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int32(message.gainIndex); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.targetName); + return writer; + }; + + /** + * Encodes the specified ResNotifyProgressCaptureRawLiveStacking message, length delimited. Does not implicitly {@link ResNotifyProgressCaptureRawLiveStacking.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {IResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyProgressCaptureRawLiveStacking.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.updateCountType = reader.int32(); + break; + } + case 3: { + message.currentCount = reader.int32(); + break; + } + case 4: { + message.stackedCount = reader.int32(); + break; + } + case 5: { + message.expIndex = reader.int32(); + break; + } + case 6: { + message.gainIndex = reader.int32(); + break; + } + case 7: { + message.targetName = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyProgressCaptureRawLiveStacking message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyProgressCaptureRawLiveStacking.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyProgressCaptureRawLiveStacking message. + * @function verify + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyProgressCaptureRawLiveStacking.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.updateCountType != null && + message.hasOwnProperty("updateCountType") + ) + if (!$util.isInteger(message.updateCountType)) + return "updateCountType: integer expected"; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + if (!$util.isInteger(message.currentCount)) + return "currentCount: integer expected"; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + if (!$util.isInteger(message.stackedCount)) + return "stackedCount: integer expected"; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + if (!$util.isInteger(message.expIndex)) + return "expIndex: integer expected"; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + if (!$util.isInteger(message.gainIndex)) + return "gainIndex: integer expected"; + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + return null; + }; + + /** + * Creates a ResNotifyProgressCaptureRawLiveStacking message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyProgressCaptureRawLiveStacking} ResNotifyProgressCaptureRawLiveStacking + */ + ResNotifyProgressCaptureRawLiveStacking.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyProgressCaptureRawLiveStacking) + return object; + var message = new $root.ResNotifyProgressCaptureRawLiveStacking(); + if (object.totalCount != null) message.totalCount = object.totalCount | 0; + if (object.updateCountType != null) + message.updateCountType = object.updateCountType | 0; + if (object.currentCount != null) + message.currentCount = object.currentCount | 0; + if (object.stackedCount != null) + message.stackedCount = object.stackedCount | 0; + if (object.expIndex != null) message.expIndex = object.expIndex | 0; + if (object.gainIndex != null) message.gainIndex = object.gainIndex | 0; + if (object.targetName != null) + message.targetName = String(object.targetName); + return message; + }; + + /** + * Creates a plain object from a ResNotifyProgressCaptureRawLiveStacking message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {ResNotifyProgressCaptureRawLiveStacking} message ResNotifyProgressCaptureRawLiveStacking + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyProgressCaptureRawLiveStacking.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.updateCountType = 0; + object.currentCount = 0; + object.stackedCount = 0; + object.expIndex = 0; + object.gainIndex = 0; + object.targetName = ""; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.updateCountType != null && + message.hasOwnProperty("updateCountType") + ) + object.updateCountType = message.updateCountType; + if (message.currentCount != null && message.hasOwnProperty("currentCount")) + object.currentCount = message.currentCount; + if (message.stackedCount != null && message.hasOwnProperty("stackedCount")) + object.stackedCount = message.stackedCount; + if (message.expIndex != null && message.hasOwnProperty("expIndex")) + object.expIndex = message.expIndex; + if (message.gainIndex != null && message.hasOwnProperty("gainIndex")) + object.gainIndex = message.gainIndex; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + return object; + }; + + /** + * Converts this ResNotifyProgressCaptureRawLiveStacking to JSON. + * @function toJSON + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @instance + * @returns {Object.} JSON object + */ + ResNotifyProgressCaptureRawLiveStacking.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyProgressCaptureRawLiveStacking + * @function getTypeUrl + * @memberof ResNotifyProgressCaptureRawLiveStacking + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyProgressCaptureRawLiveStacking.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyProgressCaptureRawLiveStacking"; + }; + + return ResNotifyProgressCaptureRawLiveStacking; +})(); + +$root.ResNotifyParam = (function () { + /** + * Properties of a ResNotifyParam. + * @exports IResNotifyParam + * @interface IResNotifyParam + * @property {Array.|null} [param] ResNotifyParam param + */ + + /** + * Constructs a new ResNotifyParam. + * @exports ResNotifyParam + * @classdesc Represents a ResNotifyParam. + * @implements IResNotifyParam + * @constructor + * @param {IResNotifyParam=} [properties] Properties to set + */ + function ResNotifyParam(properties) { + this.param = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyParam param. + * @member {Array.} param + * @memberof ResNotifyParam + * @instance + */ + ResNotifyParam.prototype.param = $util.emptyArray; + + /** + * Creates a new ResNotifyParam instance using the specified properties. + * @function create + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam=} [properties] Properties to set + * @returns {ResNotifyParam} ResNotifyParam instance + */ + ResNotifyParam.create = function create(properties) { + return new ResNotifyParam(properties); + }; + + /** + * Encodes the specified ResNotifyParam message. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encode + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.param != null && message.param.length) + for (var i = 0; i < message.param.length; ++i) + $root.CommonParam.encode( + message.param[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ResNotifyParam message, length delimited. Does not implicitly {@link ResNotifyParam.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyParam + * @static + * @param {IResNotifyParam} message ResNotifyParam message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyParam.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyParam(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.param && message.param.length)) message.param = []; + message.param.push($root.CommonParam.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyParam message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyParam + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyParam} ResNotifyParam + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyParam.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyParam message. + * @function verify + * @memberof ResNotifyParam + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyParam.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.param != null && message.hasOwnProperty("param")) { + if (!Array.isArray(message.param)) return "param: array expected"; + for (var i = 0; i < message.param.length; ++i) { + var error = $root.CommonParam.verify(message.param[i]); + if (error) return "param." + error; + } + } + return null; + }; + + /** + * Creates a ResNotifyParam message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyParam + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyParam} ResNotifyParam + */ + ResNotifyParam.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyParam) return object; + var message = new $root.ResNotifyParam(); + if (object.param) { + if (!Array.isArray(object.param)) + throw TypeError(".ResNotifyParam.param: array expected"); + message.param = []; + for (var i = 0; i < object.param.length; ++i) { + if (typeof object.param[i] !== "object") + throw TypeError(".ResNotifyParam.param: object expected"); + message.param[i] = $root.CommonParam.fromObject(object.param[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyParam message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyParam + * @static + * @param {ResNotifyParam} message ResNotifyParam + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyParam.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.param = []; + if (message.param && message.param.length) { + object.param = []; + for (var j = 0; j < message.param.length; ++j) + object.param[j] = $root.CommonParam.toObject(message.param[j], options); + } + return object; + }; + + /** + * Converts this ResNotifyParam to JSON. + * @function toJSON + * @memberof ResNotifyParam + * @instance + * @returns {Object.} JSON object + */ + ResNotifyParam.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyParam + * @function getTypeUrl + * @memberof ResNotifyParam + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyParam.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyParam"; + }; + + return ResNotifyParam; +})(); + +$root.ResNotifyCamFunctionState = (function () { + /** + * Properties of a ResNotifyCamFunctionState. + * @exports IResNotifyCamFunctionState + * @interface IResNotifyCamFunctionState + * @property {OperationState|null} [state] ResNotifyCamFunctionState state + * @property {number|null} [functionId] ResNotifyCamFunctionState functionId + */ + + /** + * Constructs a new ResNotifyCamFunctionState. + * @exports ResNotifyCamFunctionState + * @classdesc Represents a ResNotifyCamFunctionState. + * @implements IResNotifyCamFunctionState + * @constructor + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + */ + function ResNotifyCamFunctionState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyCamFunctionState state. + * @member {OperationState} state + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.state = 0; + + /** + * ResNotifyCamFunctionState functionId. + * @member {number} functionId + * @memberof ResNotifyCamFunctionState + * @instance + */ + ResNotifyCamFunctionState.prototype.functionId = 0; + + /** + * Creates a new ResNotifyCamFunctionState instance using the specified properties. + * @function create + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState=} [properties] Properties to set + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState instance + */ + ResNotifyCamFunctionState.create = function create(properties) { + return new ResNotifyCamFunctionState(properties); + }; + + /** + * Encodes the specified ResNotifyCamFunctionState message. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encode + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.functionId != null && + Object.hasOwnProperty.call(message, "functionId") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.functionId); + return writer; + }; + + /** + * Encodes the specified ResNotifyCamFunctionState message, length delimited. Does not implicitly {@link ResNotifyCamFunctionState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {IResNotifyCamFunctionState} message ResNotifyCamFunctionState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCamFunctionState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyCamFunctionState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.functionId = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyCamFunctionState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCamFunctionState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCamFunctionState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyCamFunctionState message. + * @function verify + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCamFunctionState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyCamFunctionState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCamFunctionState} ResNotifyCamFunctionState + */ + ResNotifyCamFunctionState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCamFunctionState) return object; + var message = new $root.ResNotifyCamFunctionState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.functionId != null) message.functionId = object.functionId >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyCamFunctionState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCamFunctionState + * @static + * @param {ResNotifyCamFunctionState} message ResNotifyCamFunctionState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCamFunctionState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.functionId = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + return object; + }; + + /** + * Converts this ResNotifyCamFunctionState to JSON. + * @function toJSON + * @memberof ResNotifyCamFunctionState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCamFunctionState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyCamFunctionState + * @function getTypeUrl + * @memberof ResNotifyCamFunctionState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCamFunctionState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCamFunctionState"; + }; + + return ResNotifyCamFunctionState; +})(); + +$root.ResNotifyBurstProgress = (function () { + /** + * Properties of a ResNotifyBurstProgress. + * @exports IResNotifyBurstProgress + * @interface IResNotifyBurstProgress + * @property {number|null} [totalCount] ResNotifyBurstProgress totalCount + * @property {number|null} [completedCount] ResNotifyBurstProgress completedCount + */ + + /** + * Constructs a new ResNotifyBurstProgress. + * @exports ResNotifyBurstProgress + * @classdesc Represents a ResNotifyBurstProgress. + * @implements IResNotifyBurstProgress + * @constructor + * @param {IResNotifyBurstProgress=} [properties] Properties to set + */ + function ResNotifyBurstProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyBurstProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.totalCount = 0; + + /** + * ResNotifyBurstProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyBurstProgress + * @instance + */ + ResNotifyBurstProgress.prototype.completedCount = 0; + + /** + * Creates a new ResNotifyBurstProgress instance using the specified properties. + * @function create + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress=} [properties] Properties to set + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress instance + */ + ResNotifyBurstProgress.create = function create(properties) { + return new ResNotifyBurstProgress(properties); + }; + + /** + * Encodes the specified ResNotifyBurstProgress message. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.totalCount); + if ( + message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).uint32(message.completedCount); + return writer; + }; + + /** + * Encodes the specified ResNotifyBurstProgress message, length delimited. Does not implicitly {@link ResNotifyBurstProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {IResNotifyBurstProgress} message ResNotifyBurstProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyBurstProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyBurstProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.uint32(); + break; + } + case 2: { + message.completedCount = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyBurstProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyBurstProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyBurstProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyBurstProgress message. + * @function verify + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyBurstProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyBurstProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyBurstProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyBurstProgress} ResNotifyBurstProgress + */ + ResNotifyBurstProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyBurstProgress) return object; + var message = new $root.ResNotifyBurstProgress(); + if (object.totalCount != null) message.totalCount = object.totalCount >>> 0; + if (object.completedCount != null) + message.completedCount = object.completedCount >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyBurstProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyBurstProgress + * @static + * @param {ResNotifyBurstProgress} message ResNotifyBurstProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyBurstProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + object.completedCount = message.completedCount; + return object; + }; + + /** + * Converts this ResNotifyBurstProgress to JSON. + * @function toJSON + * @memberof ResNotifyBurstProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyBurstProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyBurstProgress + * @function getTypeUrl + * @memberof ResNotifyBurstProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyBurstProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyBurstProgress"; + }; + + return ResNotifyBurstProgress; +})(); + +$root.ResNotifyPanoramaProgress = (function () { + /** + * Properties of a ResNotifyPanoramaProgress. + * @exports IResNotifyPanoramaProgress + * @interface IResNotifyPanoramaProgress + * @property {number|null} [totalCount] ResNotifyPanoramaProgress totalCount + * @property {number|null} [completedCount] ResNotifyPanoramaProgress completedCount + */ + + /** + * Constructs a new ResNotifyPanoramaProgress. + * @exports ResNotifyPanoramaProgress + * @classdesc Represents a ResNotifyPanoramaProgress. + * @implements IResNotifyPanoramaProgress + * @constructor + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaProgress totalCount. + * @member {number} totalCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.totalCount = 0; + + /** + * ResNotifyPanoramaProgress completedCount. + * @member {number} completedCount + * @memberof ResNotifyPanoramaProgress + * @instance + */ + ResNotifyPanoramaProgress.prototype.completedCount = 0; + + /** + * Creates a new ResNotifyPanoramaProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress instance + */ + ResNotifyPanoramaProgress.create = function create(properties) { + return new ResNotifyPanoramaProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaProgress message. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.totalCount != null && + Object.hasOwnProperty.call(message, "totalCount") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.totalCount); + if ( + message.completedCount != null && + Object.hasOwnProperty.call(message, "completedCount") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.completedCount); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {IResNotifyPanoramaProgress} message ResNotifyPanoramaProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.totalCount = reader.int32(); + break; + } + case 2: { + message.completedCount = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaProgress.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaProgress message. + * @function verify + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + if (!$util.isInteger(message.totalCount)) + return "totalCount: integer expected"; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + if (!$util.isInteger(message.completedCount)) + return "completedCount: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaProgress} ResNotifyPanoramaProgress + */ + ResNotifyPanoramaProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaProgress) return object; + var message = new $root.ResNotifyPanoramaProgress(); + if (object.totalCount != null) message.totalCount = object.totalCount | 0; + if (object.completedCount != null) + message.completedCount = object.completedCount | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaProgress + * @static + * @param {ResNotifyPanoramaProgress} message ResNotifyPanoramaProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.totalCount = 0; + object.completedCount = 0; + } + if (message.totalCount != null && message.hasOwnProperty("totalCount")) + object.totalCount = message.totalCount; + if ( + message.completedCount != null && + message.hasOwnProperty("completedCount") + ) + object.completedCount = message.completedCount; + return object; + }; + + /** + * Converts this ResNotifyPanoramaProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaProgress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaProgress"; + }; + + return ResNotifyPanoramaProgress; +})(); + +$root.ResNotifyRgbState = (function () { + /** + * Properties of a ResNotifyRgbState. + * @exports IResNotifyRgbState + * @interface IResNotifyRgbState + * @property {number|null} [state] ResNotifyRgbState state + */ + + /** + * Constructs a new ResNotifyRgbState. + * @exports ResNotifyRgbState + * @classdesc Represents a ResNotifyRgbState. + * @implements IResNotifyRgbState + * @constructor + * @param {IResNotifyRgbState=} [properties] Properties to set + */ + function ResNotifyRgbState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyRgbState state. + * @member {number} state + * @memberof ResNotifyRgbState + * @instance + */ + ResNotifyRgbState.prototype.state = 0; + + /** + * Creates a new ResNotifyRgbState instance using the specified properties. + * @function create + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState=} [properties] Properties to set + * @returns {ResNotifyRgbState} ResNotifyRgbState instance + */ + ResNotifyRgbState.create = function create(properties) { + return new ResNotifyRgbState(properties); + }; + + /** + * Encodes the specified ResNotifyRgbState message. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encode + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyRgbState message, length delimited. Does not implicitly {@link ResNotifyRgbState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {IResNotifyRgbState} message ResNotifyRgbState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyRgbState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyRgbState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyRgbState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyRgbState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyRgbState} ResNotifyRgbState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyRgbState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyRgbState message. + * @function verify + * @memberof ResNotifyRgbState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyRgbState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyRgbState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyRgbState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyRgbState} ResNotifyRgbState + */ + ResNotifyRgbState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyRgbState) return object; + var message = new $root.ResNotifyRgbState(); + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyRgbState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyRgbState + * @static + * @param {ResNotifyRgbState} message ResNotifyRgbState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyRgbState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyRgbState to JSON. + * @function toJSON + * @memberof ResNotifyRgbState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyRgbState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyRgbState + * @function getTypeUrl + * @memberof ResNotifyRgbState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyRgbState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyRgbState"; + }; + + return ResNotifyRgbState; +})(); + +$root.ResNotifyPowerIndState = (function () { + /** + * Properties of a ResNotifyPowerIndState. + * @exports IResNotifyPowerIndState + * @interface IResNotifyPowerIndState + * @property {number|null} [state] ResNotifyPowerIndState state + */ + + /** + * Constructs a new ResNotifyPowerIndState. + * @exports ResNotifyPowerIndState + * @classdesc Represents a ResNotifyPowerIndState. + * @implements IResNotifyPowerIndState + * @constructor + * @param {IResNotifyPowerIndState=} [properties] Properties to set + */ + function ResNotifyPowerIndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPowerIndState state. + * @member {number} state + * @memberof ResNotifyPowerIndState + * @instance + */ + ResNotifyPowerIndState.prototype.state = 0; + + /** + * Creates a new ResNotifyPowerIndState instance using the specified properties. + * @function create + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState=} [properties] Properties to set + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState instance + */ + ResNotifyPowerIndState.create = function create(properties) { + return new ResNotifyPowerIndState(properties); + }; + + /** + * Encodes the specified ResNotifyPowerIndState message. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyPowerIndState message, length delimited. Does not implicitly {@link ResNotifyPowerIndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {IResNotifyPowerIndState} message ResNotifyPowerIndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerIndState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPowerIndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPowerIndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerIndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerIndState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPowerIndState message. + * @function verify + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerIndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPowerIndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerIndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerIndState} ResNotifyPowerIndState + */ + ResNotifyPowerIndState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerIndState) return object; + var message = new $root.ResNotifyPowerIndState(); + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPowerIndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerIndState + * @static + * @param {ResNotifyPowerIndState} message ResNotifyPowerIndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerIndState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.state = 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyPowerIndState to JSON. + * @function toJSON + * @memberof ResNotifyPowerIndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerIndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPowerIndState + * @function getTypeUrl + * @memberof ResNotifyPowerIndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerIndState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerIndState"; + }; + + return ResNotifyPowerIndState; +})(); + +$root.ResNotifyHostSlaveMode = (function () { + /** + * Properties of a ResNotifyHostSlaveMode. + * @exports IResNotifyHostSlaveMode + * @interface IResNotifyHostSlaveMode + * @property {number|null} [mode] ResNotifyHostSlaveMode mode + * @property {boolean|null} [lock] ResNotifyHostSlaveMode lock + */ + + /** + * Constructs a new ResNotifyHostSlaveMode. + * @exports ResNotifyHostSlaveMode + * @classdesc Represents a ResNotifyHostSlaveMode. + * @implements IResNotifyHostSlaveMode + * @constructor + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + */ + function ResNotifyHostSlaveMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyHostSlaveMode mode. + * @member {number} mode + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.mode = 0; + + /** + * ResNotifyHostSlaveMode lock. + * @member {boolean} lock + * @memberof ResNotifyHostSlaveMode + * @instance + */ + ResNotifyHostSlaveMode.prototype.lock = false; + + /** + * Creates a new ResNotifyHostSlaveMode instance using the specified properties. + * @function create + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode=} [properties] Properties to set + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode instance + */ + ResNotifyHostSlaveMode.create = function create(properties) { + return new ResNotifyHostSlaveMode(properties); + }; + + /** + * Encodes the specified ResNotifyHostSlaveMode message. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 2, wireType 0 =*/ 16).bool(message.lock); + return writer; + }; + + /** + * Encodes the specified ResNotifyHostSlaveMode message, length delimited. Does not implicitly {@link ResNotifyHostSlaveMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {IResNotifyHostSlaveMode} message ResNotifyHostSlaveMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyHostSlaveMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyHostSlaveMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + case 2: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyHostSlaveMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyHostSlaveMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyHostSlaveMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyHostSlaveMode message. + * @function verify + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyHostSlaveMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") return "lock: boolean expected"; + return null; + }; + + /** + * Creates a ResNotifyHostSlaveMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyHostSlaveMode} ResNotifyHostSlaveMode + */ + ResNotifyHostSlaveMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyHostSlaveMode) return object; + var message = new $root.ResNotifyHostSlaveMode(); + if (object.mode != null) message.mode = object.mode | 0; + if (object.lock != null) message.lock = Boolean(object.lock); + return message; + }; + + /** + * Creates a plain object from a ResNotifyHostSlaveMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyHostSlaveMode + * @static + * @param {ResNotifyHostSlaveMode} message ResNotifyHostSlaveMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyHostSlaveMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.mode = 0; + object.lock = false; + } + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + + /** + * Converts this ResNotifyHostSlaveMode to JSON. + * @function toJSON + * @memberof ResNotifyHostSlaveMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyHostSlaveMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyHostSlaveMode + * @function getTypeUrl + * @memberof ResNotifyHostSlaveMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyHostSlaveMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyHostSlaveMode"; + }; + + return ResNotifyHostSlaveMode; +})(); + +$root.ResNotifyMTPState = (function () { + /** + * Properties of a ResNotifyMTPState. + * @exports IResNotifyMTPState + * @interface IResNotifyMTPState + * @property {number|null} [mode] ResNotifyMTPState mode + */ + + /** + * Constructs a new ResNotifyMTPState. + * @exports ResNotifyMTPState + * @classdesc Represents a ResNotifyMTPState. + * @implements IResNotifyMTPState + * @constructor + * @param {IResNotifyMTPState=} [properties] Properties to set + */ + function ResNotifyMTPState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyMTPState mode. + * @member {number} mode + * @memberof ResNotifyMTPState + * @instance + */ + ResNotifyMTPState.prototype.mode = 0; + + /** + * Creates a new ResNotifyMTPState instance using the specified properties. + * @function create + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState=} [properties] Properties to set + * @returns {ResNotifyMTPState} ResNotifyMTPState instance + */ + ResNotifyMTPState.create = function create(properties) { + return new ResNotifyMTPState(properties); + }; + + /** + * Encodes the specified ResNotifyMTPState message. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encode + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ResNotifyMTPState message, length delimited. Does not implicitly {@link ResNotifyMTPState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {IResNotifyMTPState} message ResNotifyMTPState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyMTPState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyMTPState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyMTPState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyMTPState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyMTPState} ResNotifyMTPState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyMTPState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyMTPState message. + * @function verify + * @memberof ResNotifyMTPState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyMTPState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyMTPState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyMTPState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyMTPState} ResNotifyMTPState + */ + ResNotifyMTPState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyMTPState) return object; + var message = new $root.ResNotifyMTPState(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyMTPState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyMTPState + * @static + * @param {ResNotifyMTPState} message ResNotifyMTPState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyMTPState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ResNotifyMTPState to JSON. + * @function toJSON + * @memberof ResNotifyMTPState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyMTPState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyMTPState + * @function getTypeUrl + * @memberof ResNotifyMTPState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyMTPState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyMTPState"; + }; + + return ResNotifyMTPState; +})(); + +$root.ResNotifyTrackResult = (function () { + /** + * Properties of a ResNotifyTrackResult. + * @exports IResNotifyTrackResult + * @interface IResNotifyTrackResult + * @property {number|null} [x] ResNotifyTrackResult x + * @property {number|null} [y] ResNotifyTrackResult y + * @property {number|null} [w] ResNotifyTrackResult w + * @property {number|null} [h] ResNotifyTrackResult h + */ + + /** + * Constructs a new ResNotifyTrackResult. + * @exports ResNotifyTrackResult + * @classdesc Represents a ResNotifyTrackResult. + * @implements IResNotifyTrackResult + * @constructor + * @param {IResNotifyTrackResult=} [properties] Properties to set + */ + function ResNotifyTrackResult(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyTrackResult x. + * @member {number} x + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.x = 0; + + /** + * ResNotifyTrackResult y. + * @member {number} y + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.y = 0; + + /** + * ResNotifyTrackResult w. + * @member {number} w + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.w = 0; + + /** + * ResNotifyTrackResult h. + * @member {number} h + * @memberof ResNotifyTrackResult + * @instance + */ + ResNotifyTrackResult.prototype.h = 0; + + /** + * Creates a new ResNotifyTrackResult instance using the specified properties. + * @function create + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult=} [properties] Properties to set + * @returns {ResNotifyTrackResult} ResNotifyTrackResult instance + */ + ResNotifyTrackResult.create = function create(properties) { + return new ResNotifyTrackResult(properties); + }; + + /** + * Encodes the specified ResNotifyTrackResult message. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encode + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + + /** + * Encodes the specified ResNotifyTrackResult message, length delimited. Does not implicitly {@link ResNotifyTrackResult.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {IResNotifyTrackResult} message ResNotifyTrackResult message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyTrackResult.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyTrackResult(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyTrackResult message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyTrackResult + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyTrackResult.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyTrackResult message. + * @function verify + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyTrackResult.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) return "h: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyTrackResult message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyTrackResult + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyTrackResult} ResNotifyTrackResult + */ + ResNotifyTrackResult.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyTrackResult) return object; + var message = new $root.ResNotifyTrackResult(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + if (object.w != null) message.w = object.w | 0; + if (object.h != null) message.h = object.h | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyTrackResult message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyTrackResult + * @static + * @param {ResNotifyTrackResult} message ResNotifyTrackResult + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyTrackResult.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) object.h = message.h; + return object; + }; + + /** + * Converts this ResNotifyTrackResult to JSON. + * @function toJSON + * @memberof ResNotifyTrackResult + * @instance + * @returns {Object.} JSON object + */ + ResNotifyTrackResult.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyTrackResult + * @function getTypeUrl + * @memberof ResNotifyTrackResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyTrackResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyTrackResult"; + }; + + return ResNotifyTrackResult; +})(); + +$root.ResNotifyCPUMode = (function () { + /** + * Properties of a ResNotifyCPUMode. + * @exports IResNotifyCPUMode + * @interface IResNotifyCPUMode + * @property {number|null} [mode] ResNotifyCPUMode mode + */ + + /** + * Constructs a new ResNotifyCPUMode. + * @exports ResNotifyCPUMode + * @classdesc Represents a ResNotifyCPUMode. + * @implements IResNotifyCPUMode + * @constructor + * @param {IResNotifyCPUMode=} [properties] Properties to set + */ + function ResNotifyCPUMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyCPUMode mode. + * @member {number} mode + * @memberof ResNotifyCPUMode + * @instance + */ + ResNotifyCPUMode.prototype.mode = 0; + + /** + * Creates a new ResNotifyCPUMode instance using the specified properties. + * @function create + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode=} [properties] Properties to set + * @returns {ResNotifyCPUMode} ResNotifyCPUMode instance + */ + ResNotifyCPUMode.create = function create(properties) { + return new ResNotifyCPUMode(properties); + }; + + /** + * Encodes the specified ResNotifyCPUMode message. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ResNotifyCPUMode message, length delimited. Does not implicitly {@link ResNotifyCPUMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {IResNotifyCPUMode} message ResNotifyCPUMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyCPUMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyCPUMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyCPUMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyCPUMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyCPUMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyCPUMode message. + * @function verify + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyCPUMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyCPUMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyCPUMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyCPUMode} ResNotifyCPUMode + */ + ResNotifyCPUMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyCPUMode) return object; + var message = new $root.ResNotifyCPUMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyCPUMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyCPUMode + * @static + * @param {ResNotifyCPUMode} message ResNotifyCPUMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyCPUMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ResNotifyCPUMode to JSON. + * @function toJSON + * @memberof ResNotifyCPUMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyCPUMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyCPUMode + * @function getTypeUrl + * @memberof ResNotifyCPUMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyCPUMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyCPUMode"; + }; + + return ResNotifyCPUMode; +})(); + +$root.ResNotifyStateAstroTrackingSpecial = (function () { + /** + * Properties of a ResNotifyStateAstroTrackingSpecial. + * @exports IResNotifyStateAstroTrackingSpecial + * @interface IResNotifyStateAstroTrackingSpecial + * @property {OperationState|null} [state] ResNotifyStateAstroTrackingSpecial state + * @property {string|null} [targetName] ResNotifyStateAstroTrackingSpecial targetName + * @property {number|null} [index] ResNotifyStateAstroTrackingSpecial index + */ + + /** + * Constructs a new ResNotifyStateAstroTrackingSpecial. + * @exports ResNotifyStateAstroTrackingSpecial + * @classdesc Represents a ResNotifyStateAstroTrackingSpecial. + * @implements IResNotifyStateAstroTrackingSpecial + * @constructor + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + */ + function ResNotifyStateAstroTrackingSpecial(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateAstroTrackingSpecial state. + * @member {OperationState} state + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.state = 0; + + /** + * ResNotifyStateAstroTrackingSpecial targetName. + * @member {string} targetName + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.targetName = ""; + + /** + * ResNotifyStateAstroTrackingSpecial index. + * @member {number} index + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + */ + ResNotifyStateAstroTrackingSpecial.prototype.index = 0; + + /** + * Creates a new ResNotifyStateAstroTrackingSpecial instance using the specified properties. + * @function create + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial=} [properties] Properties to set + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial instance + */ + ResNotifyStateAstroTrackingSpecial.create = function create(properties) { + return new ResNotifyStateAstroTrackingSpecial(properties); + }; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + if ( + message.targetName != null && + Object.hasOwnProperty.call(message, "targetName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.targetName); + if (message.index != null && Object.hasOwnProperty.call(message, "index")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.index); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateAstroTrackingSpecial message, length delimited. Does not implicitly {@link ResNotifyStateAstroTrackingSpecial.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {IResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateAstroTrackingSpecial.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateAstroTrackingSpecial(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.targetName = reader.string(); + break; + } + case 3: { + message.index = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateAstroTrackingSpecial message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateAstroTrackingSpecial.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateAstroTrackingSpecial message. + * @function verify + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateAstroTrackingSpecial.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.targetName != null && message.hasOwnProperty("targetName")) + if (!$util.isString(message.targetName)) + return "targetName: string expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) return "index: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStateAstroTrackingSpecial message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateAstroTrackingSpecial} ResNotifyStateAstroTrackingSpecial + */ + ResNotifyStateAstroTrackingSpecial.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateAstroTrackingSpecial) + return object; + var message = new $root.ResNotifyStateAstroTrackingSpecial(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + if (object.targetName != null) + message.targetName = String(object.targetName); + if (object.index != null) message.index = object.index | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateAstroTrackingSpecial message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {ResNotifyStateAstroTrackingSpecial} message ResNotifyStateAstroTrackingSpecial + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateAstroTrackingSpecial.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + object.targetName = ""; + object.index = 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + if (message.targetName != null && message.hasOwnProperty("targetName")) + object.targetName = message.targetName; + if (message.index != null && message.hasOwnProperty("index")) + object.index = message.index; + return object; + }; + + /** + * Converts this ResNotifyStateAstroTrackingSpecial to JSON. + * @function toJSON + * @memberof ResNotifyStateAstroTrackingSpecial + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateAstroTrackingSpecial.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateAstroTrackingSpecial + * @function getTypeUrl + * @memberof ResNotifyStateAstroTrackingSpecial + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateAstroTrackingSpecial.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateAstroTrackingSpecial"; + }; + + return ResNotifyStateAstroTrackingSpecial; +})(); + +$root.ResNotifyPowerOff = (function () { + /** + * Properties of a ResNotifyPowerOff. + * @exports IResNotifyPowerOff + * @interface IResNotifyPowerOff + */ + + /** + * Constructs a new ResNotifyPowerOff. + * @exports ResNotifyPowerOff + * @classdesc Represents a ResNotifyPowerOff. + * @implements IResNotifyPowerOff + * @constructor + * @param {IResNotifyPowerOff=} [properties] Properties to set + */ + function ResNotifyPowerOff(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ResNotifyPowerOff instance using the specified properties. + * @function create + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff=} [properties] Properties to set + * @returns {ResNotifyPowerOff} ResNotifyPowerOff instance + */ + ResNotifyPowerOff.create = function create(properties) { + return new ResNotifyPowerOff(properties); + }; + + /** + * Encodes the specified ResNotifyPowerOff message. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encode + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ResNotifyPowerOff message, length delimited. Does not implicitly {@link ResNotifyPowerOff.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {IResNotifyPowerOff} message ResNotifyPowerOff message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPowerOff.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPowerOff(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPowerOff message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPowerOff + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPowerOff.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPowerOff message. + * @function verify + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPowerOff.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ResNotifyPowerOff message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPowerOff + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPowerOff} ResNotifyPowerOff + */ + ResNotifyPowerOff.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPowerOff) return object; + return new $root.ResNotifyPowerOff(); + }; + + /** + * Creates a plain object from a ResNotifyPowerOff message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPowerOff + * @static + * @param {ResNotifyPowerOff} message ResNotifyPowerOff + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPowerOff.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ResNotifyPowerOff to JSON. + * @function toJSON + * @memberof ResNotifyPowerOff + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPowerOff.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPowerOff + * @function getTypeUrl + * @memberof ResNotifyPowerOff + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPowerOff.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPowerOff"; + }; + + return ResNotifyPowerOff; +})(); + +$root.ResNotifyAlbumUpdate = (function () { + /** + * Properties of a ResNotifyAlbumUpdate. + * @exports IResNotifyAlbumUpdate + * @interface IResNotifyAlbumUpdate + * @property {number|null} [mediaType] ResNotifyAlbumUpdate mediaType + */ + + /** + * Constructs a new ResNotifyAlbumUpdate. + * @exports ResNotifyAlbumUpdate + * @classdesc Represents a ResNotifyAlbumUpdate. + * @implements IResNotifyAlbumUpdate + * @constructor + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + */ + function ResNotifyAlbumUpdate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyAlbumUpdate mediaType. + * @member {number} mediaType + * @memberof ResNotifyAlbumUpdate + * @instance + */ + ResNotifyAlbumUpdate.prototype.mediaType = 0; + + /** + * Creates a new ResNotifyAlbumUpdate instance using the specified properties. + * @function create + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate=} [properties] Properties to set + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate instance + */ + ResNotifyAlbumUpdate.create = function create(properties) { + return new ResNotifyAlbumUpdate(properties); + }; + + /** + * Encodes the specified ResNotifyAlbumUpdate message. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.mediaType != null && + Object.hasOwnProperty.call(message, "mediaType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mediaType); + return writer; + }; + + /** + * Encodes the specified ResNotifyAlbumUpdate message, length delimited. Does not implicitly {@link ResNotifyAlbumUpdate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {IResNotifyAlbumUpdate} message ResNotifyAlbumUpdate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyAlbumUpdate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyAlbumUpdate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mediaType = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyAlbumUpdate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyAlbumUpdate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyAlbumUpdate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyAlbumUpdate message. + * @function verify + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyAlbumUpdate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + if (!$util.isInteger(message.mediaType)) + return "mediaType: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyAlbumUpdate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyAlbumUpdate} ResNotifyAlbumUpdate + */ + ResNotifyAlbumUpdate.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyAlbumUpdate) return object; + var message = new $root.ResNotifyAlbumUpdate(); + if (object.mediaType != null) message.mediaType = object.mediaType | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyAlbumUpdate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyAlbumUpdate + * @static + * @param {ResNotifyAlbumUpdate} message ResNotifyAlbumUpdate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyAlbumUpdate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mediaType = 0; + if (message.mediaType != null && message.hasOwnProperty("mediaType")) + object.mediaType = message.mediaType; + return object; + }; + + /** + * Converts this ResNotifyAlbumUpdate to JSON. + * @function toJSON + * @memberof ResNotifyAlbumUpdate + * @instance + * @returns {Object.} JSON object + */ + ResNotifyAlbumUpdate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyAlbumUpdate + * @function getTypeUrl + * @memberof ResNotifyAlbumUpdate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyAlbumUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyAlbumUpdate"; + }; + + return ResNotifyAlbumUpdate; +})(); + +$root.ResNotifyStateSentryMode = (function () { + /** + * Properties of a ResNotifyStateSentryMode. + * @exports IResNotifyStateSentryMode + * @interface IResNotifyStateSentryMode + * @property {SentryModeState|null} [state] ResNotifyStateSentryMode state + */ + + /** + * Constructs a new ResNotifyStateSentryMode. + * @exports ResNotifyStateSentryMode + * @classdesc Represents a ResNotifyStateSentryMode. + * @implements IResNotifyStateSentryMode + * @constructor + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + */ + function ResNotifyStateSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStateSentryMode state. + * @member {SentryModeState} state + * @memberof ResNotifyStateSentryMode + * @instance + */ + ResNotifyStateSentryMode.prototype.state = 0; + + /** + * Creates a new ResNotifyStateSentryMode instance using the specified properties. + * @function create + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode=} [properties] Properties to set + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode instance + */ + ResNotifyStateSentryMode.create = function create(properties) { + return new ResNotifyStateSentryMode(properties); + }; + + /** + * Encodes the specified ResNotifyStateSentryMode message. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encode + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyStateSentryMode message, length delimited. Does not implicitly {@link ResNotifyStateSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {IResNotifyStateSentryMode} message ResNotifyStateSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStateSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStateSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStateSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStateSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStateSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStateSentryMode message. + * @function verify + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStateSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + return null; + }; + + /** + * Creates a ResNotifyStateSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStateSentryMode} ResNotifyStateSentryMode + */ + ResNotifyStateSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStateSentryMode) return object; + var message = new $root.ResNotifyStateSentryMode(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SENTRY_MODE_STATE_IDLE": + case 0: + message.state = 0; + break; + case "SENTRY_MODE_STATE_INIT": + case 1: + message.state = 1; + break; + case "SENTRY_MODE_STATE_DETECT": + case 2: + message.state = 2; + break; + case "SENTRY_MODE_STATE_TRACK": + case 3: + message.state = 3; + break; + case "SENTRY_MODE_STATE_TRACK_FINISH": + case 4: + message.state = 4; + break; + case "SENTRY_MODE_STATE_STOPPING": + case 5: + message.state = 5; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyStateSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStateSentryMode + * @static + * @param {ResNotifyStateSentryMode} message ResNotifyStateSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStateSentryMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "SENTRY_MODE_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.SentryModeState[message.state] === undefined + ? message.state + : $root.SentryModeState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyStateSentryMode to JSON. + * @function toJSON + * @memberof ResNotifyStateSentryMode + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStateSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStateSentryMode + * @function getTypeUrl + * @memberof ResNotifyStateSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStateSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStateSentryMode"; + }; + + return ResNotifyStateSentryMode; +})(); + +$root.ResNotifyOneClickGotoState = (function () { + /** + * Properties of a ResNotifyOneClickGotoState. + * @exports IResNotifyOneClickGotoState + * @interface IResNotifyOneClickGotoState + * @property {OperationState|null} [state] ResNotifyOneClickGotoState state + */ + + /** + * Constructs a new ResNotifyOneClickGotoState. + * @exports ResNotifyOneClickGotoState + * @classdesc Represents a ResNotifyOneClickGotoState. + * @implements IResNotifyOneClickGotoState + * @constructor + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + */ + function ResNotifyOneClickGotoState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyOneClickGotoState state. + * @member {OperationState} state + * @memberof ResNotifyOneClickGotoState + * @instance + */ + ResNotifyOneClickGotoState.prototype.state = 0; + + /** + * Creates a new ResNotifyOneClickGotoState instance using the specified properties. + * @function create + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState=} [properties] Properties to set + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState instance + */ + ResNotifyOneClickGotoState.create = function create(properties) { + return new ResNotifyOneClickGotoState(properties); + }; + + /** + * Encodes the specified ResNotifyOneClickGotoState message. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyOneClickGotoState message, length delimited. Does not implicitly {@link ResNotifyOneClickGotoState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {IResNotifyOneClickGotoState} message ResNotifyOneClickGotoState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyOneClickGotoState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyOneClickGotoState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyOneClickGotoState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyOneClickGotoState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyOneClickGotoState.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyOneClickGotoState message. + * @function verify + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyOneClickGotoState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyOneClickGotoState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyOneClickGotoState} ResNotifyOneClickGotoState + */ + ResNotifyOneClickGotoState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyOneClickGotoState) return object; + var message = new $root.ResNotifyOneClickGotoState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyOneClickGotoState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyOneClickGotoState + * @static + * @param {ResNotifyOneClickGotoState} message ResNotifyOneClickGotoState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyOneClickGotoState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyOneClickGotoState to JSON. + * @function toJSON + * @memberof ResNotifyOneClickGotoState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyOneClickGotoState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyOneClickGotoState + * @function getTypeUrl + * @memberof ResNotifyOneClickGotoState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyOneClickGotoState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyOneClickGotoState"; + }; + + return ResNotifyOneClickGotoState; +})(); + +$root.ResNotifyStreamType = (function () { + /** + * Properties of a ResNotifyStreamType. + * @exports IResNotifyStreamType + * @interface IResNotifyStreamType + * @property {number|null} [streamType] ResNotifyStreamType streamType + * @property {number|null} [camId] ResNotifyStreamType camId + */ + + /** + * Constructs a new ResNotifyStreamType. + * @exports ResNotifyStreamType + * @classdesc Represents a ResNotifyStreamType. + * @implements IResNotifyStreamType + * @constructor + * @param {IResNotifyStreamType=} [properties] Properties to set + */ + function ResNotifyStreamType(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyStreamType streamType. + * @member {number} streamType + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.streamType = 0; + + /** + * ResNotifyStreamType camId. + * @member {number} camId + * @memberof ResNotifyStreamType + * @instance + */ + ResNotifyStreamType.prototype.camId = 0; + + /** + * Creates a new ResNotifyStreamType instance using the specified properties. + * @function create + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType=} [properties] Properties to set + * @returns {ResNotifyStreamType} ResNotifyStreamType instance + */ + ResNotifyStreamType.create = function create(properties) { + return new ResNotifyStreamType(properties); + }; + + /** + * Encodes the specified ResNotifyStreamType message. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encode + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.streamType != null && + Object.hasOwnProperty.call(message, "streamType") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.streamType); + if (message.camId != null && Object.hasOwnProperty.call(message, "camId")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.camId); + return writer; + }; + + /** + * Encodes the specified ResNotifyStreamType message, length delimited. Does not implicitly {@link ResNotifyStreamType.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {IResNotifyStreamType} message ResNotifyStreamType message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyStreamType.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyStreamType(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.streamType = reader.int32(); + break; + } + case 2: { + message.camId = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyStreamType message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyStreamType + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyStreamType} ResNotifyStreamType + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyStreamType.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyStreamType message. + * @function verify + * @memberof ResNotifyStreamType + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyStreamType.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.streamType != null && message.hasOwnProperty("streamType")) + if (!$util.isInteger(message.streamType)) + return "streamType: integer expected"; + if (message.camId != null && message.hasOwnProperty("camId")) + if (!$util.isInteger(message.camId)) return "camId: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyStreamType message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyStreamType + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyStreamType} ResNotifyStreamType + */ + ResNotifyStreamType.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyStreamType) return object; + var message = new $root.ResNotifyStreamType(); + if (object.streamType != null) message.streamType = object.streamType | 0; + if (object.camId != null) message.camId = object.camId | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyStreamType message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyStreamType + * @static + * @param {ResNotifyStreamType} message ResNotifyStreamType + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyStreamType.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.streamType = 0; + object.camId = 0; + } + if (message.streamType != null && message.hasOwnProperty("streamType")) + object.streamType = message.streamType; + if (message.camId != null && message.hasOwnProperty("camId")) + object.camId = message.camId; + return object; + }; + + /** + * Converts this ResNotifyStreamType to JSON. + * @function toJSON + * @memberof ResNotifyStreamType + * @instance + * @returns {Object.} JSON object + */ + ResNotifyStreamType.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyStreamType + * @function getTypeUrl + * @memberof ResNotifyStreamType + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyStreamType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyStreamType"; + }; + + return ResNotifyStreamType; +})(); + +$root.ResNotifyEqSolvingState = (function () { + /** + * Properties of a ResNotifyEqSolvingState. + * @exports IResNotifyEqSolvingState + * @interface IResNotifyEqSolvingState + * @property {ResNotifyEqSolvingState.Action|null} [step] ResNotifyEqSolvingState step + * @property {OperationState|null} [state] ResNotifyEqSolvingState state + */ + + /** + * Constructs a new ResNotifyEqSolvingState. + * @exports ResNotifyEqSolvingState + * @classdesc Represents a ResNotifyEqSolvingState. + * @implements IResNotifyEqSolvingState + * @constructor + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + */ + function ResNotifyEqSolvingState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyEqSolvingState step. + * @member {ResNotifyEqSolvingState.Action} step + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.step = 0; + + /** + * ResNotifyEqSolvingState state. + * @member {OperationState} state + * @memberof ResNotifyEqSolvingState + * @instance + */ + ResNotifyEqSolvingState.prototype.state = 0; + + /** + * Creates a new ResNotifyEqSolvingState instance using the specified properties. + * @function create + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState=} [properties] Properties to set + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState instance + */ + ResNotifyEqSolvingState.create = function create(properties) { + return new ResNotifyEqSolvingState(properties); + }; + + /** + * Encodes the specified ResNotifyEqSolvingState message. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encode + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.step); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyEqSolvingState message, length delimited. Does not implicitly {@link ResNotifyEqSolvingState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {IResNotifyEqSolvingState} message ResNotifyEqSolvingState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyEqSolvingState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyEqSolvingState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.step = reader.int32(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyEqSolvingState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyEqSolvingState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyEqSolvingState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyEqSolvingState message. + * @function verify + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyEqSolvingState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.step != null && message.hasOwnProperty("step")) + switch (message.step) { + default: + return "step: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifyEqSolvingState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyEqSolvingState} ResNotifyEqSolvingState + */ + ResNotifyEqSolvingState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyEqSolvingState) return object; + var message = new $root.ResNotifyEqSolvingState(); + switch (object.step) { + default: + if (typeof object.step === "number") { + message.step = object.step; + break; + } + break; + case "UNSPECIFIED": + case 0: + message.step = 0; + break; + case "FOCUS": + case 1: + message.step = 1; + break; + case "SOLVING": + case 2: + message.step = 2; + break; + } + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifyEqSolvingState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyEqSolvingState + * @static + * @param {ResNotifyEqSolvingState} message ResNotifyEqSolvingState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyEqSolvingState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.step = options.enums === String ? "UNSPECIFIED" : 0; + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + } + if (message.step != null && message.hasOwnProperty("step")) + object.step = + options.enums === String + ? $root.ResNotifyEqSolvingState.Action[message.step] === undefined + ? message.step + : $root.ResNotifyEqSolvingState.Action[message.step] + : message.step; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifyEqSolvingState to JSON. + * @function toJSON + * @memberof ResNotifyEqSolvingState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyEqSolvingState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyEqSolvingState + * @function getTypeUrl + * @memberof ResNotifyEqSolvingState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyEqSolvingState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyEqSolvingState"; + }; + + /** + * Action enum. + * @name ResNotifyEqSolvingState.Action + * @enum {number} + * @property {number} UNSPECIFIED=0 UNSPECIFIED value + * @property {number} FOCUS=1 FOCUS value + * @property {number} SOLVING=2 SOLVING value + */ + ResNotifyEqSolvingState.Action = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "UNSPECIFIED")] = 0; + values[(valuesById[1] = "FOCUS")] = 1; + values[(valuesById[2] = "SOLVING")] = 2; + return values; + })(); + + return ResNotifyEqSolvingState; +})(); + +$root.ResNotifyLongExpPhotoProgress = (function () { + /** + * Properties of a ResNotifyLongExpPhotoProgress. + * @exports IResNotifyLongExpPhotoProgress + * @interface IResNotifyLongExpPhotoProgress + * @property {number|null} [functionId] ResNotifyLongExpPhotoProgress functionId + * @property {number|null} [totalTime] ResNotifyLongExpPhotoProgress totalTime + * @property {number|null} [exposuredTime] ResNotifyLongExpPhotoProgress exposuredTime + */ + + /** + * Constructs a new ResNotifyLongExpPhotoProgress. + * @exports ResNotifyLongExpPhotoProgress + * @classdesc Represents a ResNotifyLongExpPhotoProgress. + * @implements IResNotifyLongExpPhotoProgress + * @constructor + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + */ + function ResNotifyLongExpPhotoProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyLongExpPhotoProgress functionId. + * @member {number} functionId + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.functionId = 0; + + /** + * ResNotifyLongExpPhotoProgress totalTime. + * @member {number} totalTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.totalTime = 0; + + /** + * ResNotifyLongExpPhotoProgress exposuredTime. + * @member {number} exposuredTime + * @memberof ResNotifyLongExpPhotoProgress + * @instance + */ + ResNotifyLongExpPhotoProgress.prototype.exposuredTime = 0; + + /** + * Creates a new ResNotifyLongExpPhotoProgress instance using the specified properties. + * @function create + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress=} [properties] Properties to set + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress instance + */ + ResNotifyLongExpPhotoProgress.create = function create(properties) { + return new ResNotifyLongExpPhotoProgress(properties); + }; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.functionId != null && + Object.hasOwnProperty.call(message, "functionId") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint32(message.functionId); + if ( + message.totalTime != null && + Object.hasOwnProperty.call(message, "totalTime") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.totalTime); + if ( + message.exposuredTime != null && + Object.hasOwnProperty.call(message, "exposuredTime") + ) + writer.uint32(/* id 3, wireType 1 =*/ 25).double(message.exposuredTime); + return writer; + }; + + /** + * Encodes the specified ResNotifyLongExpPhotoProgress message, length delimited. Does not implicitly {@link ResNotifyLongExpPhotoProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {IResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyLongExpPhotoProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyLongExpPhotoProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.functionId = reader.uint32(); + break; + } + case 2: { + message.totalTime = reader.double(); + break; + } + case 3: { + message.exposuredTime = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyLongExpPhotoProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyLongExpPhotoProgress.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyLongExpPhotoProgress message. + * @function verify + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyLongExpPhotoProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.functionId != null && message.hasOwnProperty("functionId")) + if (!$util.isInteger(message.functionId)) + return "functionId: integer expected"; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + if (typeof message.totalTime !== "number") + return "totalTime: number expected"; + if ( + message.exposuredTime != null && + message.hasOwnProperty("exposuredTime") + ) + if (typeof message.exposuredTime !== "number") + return "exposuredTime: number expected"; + return null; + }; + + /** + * Creates a ResNotifyLongExpPhotoProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyLongExpPhotoProgress} ResNotifyLongExpPhotoProgress + */ + ResNotifyLongExpPhotoProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyLongExpPhotoProgress) return object; + var message = new $root.ResNotifyLongExpPhotoProgress(); + if (object.functionId != null) message.functionId = object.functionId >>> 0; + if (object.totalTime != null) message.totalTime = Number(object.totalTime); + if (object.exposuredTime != null) + message.exposuredTime = Number(object.exposuredTime); + return message; + }; + + /** + * Creates a plain object from a ResNotifyLongExpPhotoProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {ResNotifyLongExpPhotoProgress} message ResNotifyLongExpPhotoProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyLongExpPhotoProgress.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.functionId = 0; + object.totalTime = 0; + object.exposuredTime = 0; + } + if (message.functionId != null && message.hasOwnProperty("functionId")) + object.functionId = message.functionId; + if (message.totalTime != null && message.hasOwnProperty("totalTime")) + object.totalTime = + options.json && !isFinite(message.totalTime) + ? String(message.totalTime) + : message.totalTime; + if ( + message.exposuredTime != null && + message.hasOwnProperty("exposuredTime") + ) + object.exposuredTime = + options.json && !isFinite(message.exposuredTime) + ? String(message.exposuredTime) + : message.exposuredTime; + return object; + }; + + /** + * Converts this ResNotifyLongExpPhotoProgress to JSON. + * @function toJSON + * @memberof ResNotifyLongExpPhotoProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyLongExpPhotoProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyLongExpPhotoProgress + * @function getTypeUrl + * @memberof ResNotifyLongExpPhotoProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyLongExpPhotoProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyLongExpPhotoProgress"; + }; + + return ResNotifyLongExpPhotoProgress; +})(); + +$root.ResNotifyShootingScheduleResultAndState = (function () { + /** + * Properties of a ResNotifyShootingScheduleResultAndState. + * @exports IResNotifyShootingScheduleResultAndState + * @interface IResNotifyShootingScheduleResultAndState + * @property {string|null} [scheduleId] ResNotifyShootingScheduleResultAndState scheduleId + * @property {number|null} [result] ResNotifyShootingScheduleResultAndState result + * @property {number|null} [state] ResNotifyShootingScheduleResultAndState state + */ + + /** + * Constructs a new ResNotifyShootingScheduleResultAndState. + * @exports ResNotifyShootingScheduleResultAndState + * @classdesc Represents a ResNotifyShootingScheduleResultAndState. + * @implements IResNotifyShootingScheduleResultAndState + * @constructor + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + */ + function ResNotifyShootingScheduleResultAndState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyShootingScheduleResultAndState scheduleId. + * @member {string} scheduleId + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.scheduleId = ""; + + /** + * ResNotifyShootingScheduleResultAndState result. + * @member {number} result + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.result = 0; + + /** + * ResNotifyShootingScheduleResultAndState state. + * @member {number} state + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + */ + ResNotifyShootingScheduleResultAndState.prototype.state = 0; + + /** + * Creates a new ResNotifyShootingScheduleResultAndState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState=} [properties] Properties to set + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState instance + */ + ResNotifyShootingScheduleResultAndState.create = function create(properties) { + return new ResNotifyShootingScheduleResultAndState(properties); + }; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.result); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifyShootingScheduleResultAndState message, length delimited. Does not implicitly {@link ResNotifyShootingScheduleResultAndState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {IResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingScheduleResultAndState.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyShootingScheduleResultAndState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyShootingScheduleResultAndState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingScheduleResultAndState.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyShootingScheduleResultAndState message. + * @function verify + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingScheduleResultAndState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.result != null && message.hasOwnProperty("result")) + if (!$util.isInteger(message.result)) return "result: integer expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyShootingScheduleResultAndState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingScheduleResultAndState} ResNotifyShootingScheduleResultAndState + */ + ResNotifyShootingScheduleResultAndState.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyShootingScheduleResultAndState) + return object; + var message = new $root.ResNotifyShootingScheduleResultAndState(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.result != null) message.result = object.result | 0; + if (object.state != null) message.state = object.state | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyShootingScheduleResultAndState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {ResNotifyShootingScheduleResultAndState} message ResNotifyShootingScheduleResultAndState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingScheduleResultAndState.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.result = 0; + object.state = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.result != null && message.hasOwnProperty("result")) + object.result = message.result; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + return object; + }; + + /** + * Converts this ResNotifyShootingScheduleResultAndState to JSON. + * @function toJSON + * @memberof ResNotifyShootingScheduleResultAndState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingScheduleResultAndState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyShootingScheduleResultAndState + * @function getTypeUrl + * @memberof ResNotifyShootingScheduleResultAndState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingScheduleResultAndState.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingScheduleResultAndState"; + }; + + return ResNotifyShootingScheduleResultAndState; +})(); + +$root.ResNotifyShootingTaskState = (function () { + /** + * Properties of a ResNotifyShootingTaskState. + * @exports IResNotifyShootingTaskState + * @interface IResNotifyShootingTaskState + * @property {string|null} [scheduleTaskId] ResNotifyShootingTaskState scheduleTaskId + * @property {number|null} [state] ResNotifyShootingTaskState state + * @property {number|null} [code] ResNotifyShootingTaskState code + */ + + /** + * Constructs a new ResNotifyShootingTaskState. + * @exports ResNotifyShootingTaskState + * @classdesc Represents a ResNotifyShootingTaskState. + * @implements IResNotifyShootingTaskState + * @constructor + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + */ + function ResNotifyShootingTaskState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyShootingTaskState scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.scheduleTaskId = ""; + + /** + * ResNotifyShootingTaskState state. + * @member {number} state + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.state = 0; + + /** + * ResNotifyShootingTaskState code. + * @member {number} code + * @memberof ResNotifyShootingTaskState + * @instance + */ + ResNotifyShootingTaskState.prototype.code = 0; + + /** + * Creates a new ResNotifyShootingTaskState instance using the specified properties. + * @function create + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState=} [properties] Properties to set + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState instance + */ + ResNotifyShootingTaskState.create = function create(properties) { + return new ResNotifyShootingTaskState(properties); + }; + + /** + * Encodes the specified ResNotifyShootingTaskState message. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encode + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleTaskId); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResNotifyShootingTaskState message, length delimited. Does not implicitly {@link ResNotifyShootingTaskState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {IResNotifyShootingTaskState} message ResNotifyShootingTaskState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyShootingTaskState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyShootingTaskState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleTaskId = reader.string(); + break; + } + case 2: { + message.state = reader.int32(); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyShootingTaskState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyShootingTaskState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyShootingTaskState.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyShootingTaskState message. + * @function verify + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyShootingTaskState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + if (!$util.isInteger(message.state)) return "state: integer expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyShootingTaskState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyShootingTaskState} ResNotifyShootingTaskState + */ + ResNotifyShootingTaskState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyShootingTaskState) return object; + var message = new $root.ResNotifyShootingTaskState(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.state != null) message.state = object.state | 0; + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyShootingTaskState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyShootingTaskState + * @static + * @param {ResNotifyShootingTaskState} message ResNotifyShootingTaskState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyShootingTaskState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleTaskId = ""; + object.state = 0; + object.code = 0; + } + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + object.scheduleTaskId = message.scheduleTaskId; + if (message.state != null && message.hasOwnProperty("state")) + object.state = message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResNotifyShootingTaskState to JSON. + * @function toJSON + * @memberof ResNotifyShootingTaskState + * @instance + * @returns {Object.} JSON object + */ + ResNotifyShootingTaskState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyShootingTaskState + * @function getTypeUrl + * @memberof ResNotifyShootingTaskState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyShootingTaskState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyShootingTaskState"; + }; + + return ResNotifyShootingTaskState; +})(); + +$root.ResNotifySkySeacherState = (function () { + /** + * Properties of a ResNotifySkySeacherState. + * @exports IResNotifySkySeacherState + * @interface IResNotifySkySeacherState + * @property {OperationState|null} [state] ResNotifySkySeacherState state + */ + + /** + * Constructs a new ResNotifySkySeacherState. + * @exports ResNotifySkySeacherState + * @classdesc Represents a ResNotifySkySeacherState. + * @implements IResNotifySkySeacherState + * @constructor + * @param {IResNotifySkySeacherState=} [properties] Properties to set + */ + function ResNotifySkySeacherState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifySkySeacherState state. + * @member {OperationState} state + * @memberof ResNotifySkySeacherState + * @instance + */ + ResNotifySkySeacherState.prototype.state = 0; + + /** + * Creates a new ResNotifySkySeacherState instance using the specified properties. + * @function create + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState=} [properties] Properties to set + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState instance + */ + ResNotifySkySeacherState.create = function create(properties) { + return new ResNotifySkySeacherState(properties); + }; + + /** + * Encodes the specified ResNotifySkySeacherState message. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encode + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.state); + return writer; + }; + + /** + * Encodes the specified ResNotifySkySeacherState message, length delimited. Does not implicitly {@link ResNotifySkySeacherState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {IResNotifySkySeacherState} message ResNotifySkySeacherState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifySkySeacherState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer. + * @function decode + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifySkySeacherState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.state = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifySkySeacherState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifySkySeacherState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifySkySeacherState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifySkySeacherState message. + * @function verify + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifySkySeacherState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates a ResNotifySkySeacherState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifySkySeacherState + * @static + * @param {Object.} object Plain object + * @returns {ResNotifySkySeacherState} ResNotifySkySeacherState + */ + ResNotifySkySeacherState.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifySkySeacherState) return object; + var message = new $root.ResNotifySkySeacherState(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "OPERATION_STATE_IDLE": + case 0: + message.state = 0; + break; + case "OPERATION_STATE_RUNNING": + case 1: + message.state = 1; + break; + case "OPERATION_STATE_STOPPING": + case 2: + message.state = 2; + break; + case "OPERATION_STATE_STOPPED": + case 3: + message.state = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from a ResNotifySkySeacherState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifySkySeacherState + * @static + * @param {ResNotifySkySeacherState} message ResNotifySkySeacherState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifySkySeacherState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) + object.state = options.enums === String ? "OPERATION_STATE_IDLE" : 0; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.OperationState[message.state] === undefined + ? message.state + : $root.OperationState[message.state] + : message.state; + return object; + }; + + /** + * Converts this ResNotifySkySeacherState to JSON. + * @function toJSON + * @memberof ResNotifySkySeacherState + * @instance + * @returns {Object.} JSON object + */ + ResNotifySkySeacherState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifySkySeacherState + * @function getTypeUrl + * @memberof ResNotifySkySeacherState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifySkySeacherState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifySkySeacherState"; + }; + + return ResNotifySkySeacherState; +})(); + +$root.ResNotifyFocus = (function () { + /** + * Properties of a ResNotifyFocus. + * @exports IResNotifyFocus + * @interface IResNotifyFocus + * @property {number|null} [focus] ResNotifyFocus focus + */ + + /** + * Constructs a new ResNotifyFocus. + * @exports ResNotifyFocus + * @classdesc Represents a ResNotifyFocus. + * @implements IResNotifyFocus + * @constructor + * @param {IResNotifyFocus=} [properties] Properties to set + */ + function ResNotifyFocus(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyFocus focus. + * @member {number} focus + * @memberof ResNotifyFocus + * @instance + */ + ResNotifyFocus.prototype.focus = 0; + + /** + * Creates a new ResNotifyFocus instance using the specified properties. + * @function create + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus=} [properties] Properties to set + * @returns {ResNotifyFocus} ResNotifyFocus instance + */ + ResNotifyFocus.create = function create(properties) { + return new ResNotifyFocus(properties); + }; + + /** + * Encodes the specified ResNotifyFocus message. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encode + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.focus != null && Object.hasOwnProperty.call(message, "focus")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.focus); + return writer; + }; + + /** + * Encodes the specified ResNotifyFocus message, length delimited. Does not implicitly {@link ResNotifyFocus.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {IResNotifyFocus} message ResNotifyFocus message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyFocus.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyFocus(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.focus = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyFocus message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyFocus + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyFocus} ResNotifyFocus + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyFocus.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyFocus message. + * @function verify + * @memberof ResNotifyFocus + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyFocus.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.focus != null && message.hasOwnProperty("focus")) + if (!$util.isInteger(message.focus)) return "focus: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyFocus message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyFocus + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyFocus} ResNotifyFocus + */ + ResNotifyFocus.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyFocus) return object; + var message = new $root.ResNotifyFocus(); + if (object.focus != null) message.focus = object.focus | 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyFocus message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyFocus + * @static + * @param {ResNotifyFocus} message ResNotifyFocus + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyFocus.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.focus = 0; + if (message.focus != null && message.hasOwnProperty("focus")) + object.focus = message.focus; + return object; + }; + + /** + * Converts this ResNotifyFocus to JSON. + * @function toJSON + * @memberof ResNotifyFocus + * @instance + * @returns {Object.} JSON object + */ + ResNotifyFocus.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyFocus + * @function getTypeUrl + * @memberof ResNotifyFocus + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyFocus.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyFocus"; + }; + + return ResNotifyFocus; +})(); + +$root.ReqStartPanoramaByGrid = (function () { + /** + * Properties of a ReqStartPanoramaByGrid. + * @exports IReqStartPanoramaByGrid + * @interface IReqStartPanoramaByGrid + */ + + /** + * Constructs a new ReqStartPanoramaByGrid. + * @exports ReqStartPanoramaByGrid + * @classdesc Represents a ReqStartPanoramaByGrid. + * @implements IReqStartPanoramaByGrid + * @constructor + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + */ + function ReqStartPanoramaByGrid(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStartPanoramaByGrid instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid=} [properties] Properties to set + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid instance + */ + ReqStartPanoramaByGrid.create = function create(properties) { + return new ReqStartPanoramaByGrid(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaByGrid message. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaByGrid message, length delimited. Does not implicitly {@link ReqStartPanoramaByGrid.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {IReqStartPanoramaByGrid} message ReqStartPanoramaByGrid message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByGrid.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaByGrid(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaByGrid message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByGrid + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByGrid.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaByGrid message. + * @function verify + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByGrid.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaByGrid message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByGrid} ReqStartPanoramaByGrid + */ + ReqStartPanoramaByGrid.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByGrid) return object; + return new $root.ReqStartPanoramaByGrid(); + }; + + /** + * Creates a plain object from a ReqStartPanoramaByGrid message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByGrid + * @static + * @param {ReqStartPanoramaByGrid} message ReqStartPanoramaByGrid + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByGrid.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStartPanoramaByGrid to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByGrid + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByGrid.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaByGrid + * @function getTypeUrl + * @memberof ReqStartPanoramaByGrid + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByGrid.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByGrid"; + }; + + return ReqStartPanoramaByGrid; +})(); + +$root.ReqStartPanoramaByEulerRange = (function () { + /** + * Properties of a ReqStartPanoramaByEulerRange. + * @exports IReqStartPanoramaByEulerRange + * @interface IReqStartPanoramaByEulerRange + * @property {number|null} [yawRange] ReqStartPanoramaByEulerRange yawRange + * @property {number|null} [pitchRange] ReqStartPanoramaByEulerRange pitchRange + */ + + /** + * Constructs a new ReqStartPanoramaByEulerRange. + * @exports ReqStartPanoramaByEulerRange + * @classdesc Represents a ReqStartPanoramaByEulerRange. + * @implements IReqStartPanoramaByEulerRange + * @constructor + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + */ + function ReqStartPanoramaByEulerRange(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartPanoramaByEulerRange yawRange. + * @member {number} yawRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.yawRange = 0; + + /** + * ReqStartPanoramaByEulerRange pitchRange. + * @member {number} pitchRange + * @memberof ReqStartPanoramaByEulerRange + * @instance + */ + ReqStartPanoramaByEulerRange.prototype.pitchRange = 0; + + /** + * Creates a new ReqStartPanoramaByEulerRange instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange=} [properties] Properties to set + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange instance + */ + ReqStartPanoramaByEulerRange.create = function create(properties) { + return new ReqStartPanoramaByEulerRange(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.yawRange != null && + Object.hasOwnProperty.call(message, "yawRange") + ) + writer.uint32(/* id 1, wireType 5 =*/ 13).float(message.yawRange); + if ( + message.pitchRange != null && + Object.hasOwnProperty.call(message, "pitchRange") + ) + writer.uint32(/* id 2, wireType 5 =*/ 21).float(message.pitchRange); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaByEulerRange message, length delimited. Does not implicitly {@link ReqStartPanoramaByEulerRange.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {IReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaByEulerRange.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaByEulerRange(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.yawRange = reader.float(); + break; + } + case 2: { + message.pitchRange = reader.float(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaByEulerRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaByEulerRange.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaByEulerRange message. + * @function verify + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaByEulerRange.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + if (typeof message.yawRange !== "number") + return "yawRange: number expected"; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + if (typeof message.pitchRange !== "number") + return "pitchRange: number expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaByEulerRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaByEulerRange} ReqStartPanoramaByEulerRange + */ + ReqStartPanoramaByEulerRange.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaByEulerRange) return object; + var message = new $root.ReqStartPanoramaByEulerRange(); + if (object.yawRange != null) message.yawRange = Number(object.yawRange); + if (object.pitchRange != null) + message.pitchRange = Number(object.pitchRange); + return message; + }; + + /** + * Creates a plain object from a ReqStartPanoramaByEulerRange message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {ReqStartPanoramaByEulerRange} message ReqStartPanoramaByEulerRange + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaByEulerRange.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.yawRange = 0; + object.pitchRange = 0; + } + if (message.yawRange != null && message.hasOwnProperty("yawRange")) + object.yawRange = + options.json && !isFinite(message.yawRange) + ? String(message.yawRange) + : message.yawRange; + if (message.pitchRange != null && message.hasOwnProperty("pitchRange")) + object.pitchRange = + options.json && !isFinite(message.pitchRange) + ? String(message.pitchRange) + : message.pitchRange; + return object; + }; + + /** + * Converts this ReqStartPanoramaByEulerRange to JSON. + * @function toJSON + * @memberof ReqStartPanoramaByEulerRange + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaByEulerRange.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaByEulerRange + * @function getTypeUrl + * @memberof ReqStartPanoramaByEulerRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaByEulerRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaByEulerRange"; + }; + + return ReqStartPanoramaByEulerRange; +})(); + +$root.ReqStartPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStartPanoramaStitchUpload. + * @exports IReqStartPanoramaStitchUpload + * @interface IReqStartPanoramaStitchUpload + * @property {string|null} [userId] ReqStartPanoramaStitchUpload userId + * @property {string|null} [busiNo] ReqStartPanoramaStitchUpload busiNo + * @property {number|null} [appPlatform] ReqStartPanoramaStitchUpload appPlatform + * @property {string|null} [panoramaName] ReqStartPanoramaStitchUpload panoramaName + * @property {string|null} [ak] ReqStartPanoramaStitchUpload ak + * @property {string|null} [sk] ReqStartPanoramaStitchUpload sk + * @property {string|null} [token] ReqStartPanoramaStitchUpload token + */ + + /** + * Constructs a new ReqStartPanoramaStitchUpload. + * @exports ReqStartPanoramaStitchUpload + * @classdesc Represents a ReqStartPanoramaStitchUpload. + * @implements IReqStartPanoramaStitchUpload + * @constructor + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStartPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartPanoramaStitchUpload userId. + * @member {string} userId + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.userId = ""; + + /** + * ReqStartPanoramaStitchUpload busiNo. + * @member {string} busiNo + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.busiNo = ""; + + /** + * ReqStartPanoramaStitchUpload appPlatform. + * @member {number} appPlatform + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.appPlatform = 0; + + /** + * ReqStartPanoramaStitchUpload panoramaName. + * @member {string} panoramaName + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.panoramaName = ""; + + /** + * ReqStartPanoramaStitchUpload ak. + * @member {string} ak + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.ak = ""; + + /** + * ReqStartPanoramaStitchUpload sk. + * @member {string} sk + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.sk = ""; + + /** + * ReqStartPanoramaStitchUpload token. + * @member {string} token + * @memberof ReqStartPanoramaStitchUpload + * @instance + */ + ReqStartPanoramaStitchUpload.prototype.token = ""; + + /** + * Creates a new ReqStartPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload instance + */ + ReqStartPanoramaStitchUpload.create = function create(properties) { + return new ReqStartPanoramaStitchUpload(properties); + }; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.appPlatform != null && + Object.hasOwnProperty.call(message, "appPlatform") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.appPlatform); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.ak != null && Object.hasOwnProperty.call(message, "ak")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.ak); + if (message.sk != null && Object.hasOwnProperty.call(message, "sk")) + writer.uint32(/* id 6, wireType 2 =*/ 50).string(message.sk); + if (message.token != null && Object.hasOwnProperty.call(message, "token")) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.token); + return writer; + }; + + /** + * Encodes the specified ReqStartPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStartPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {IReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartPanoramaStitchUpload.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.appPlatform = reader.int32(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.ak = reader.string(); + break; + } + case 6: { + message.sk = reader.string(); + break; + } + case 7: { + message.token = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartPanoramaStitchUpload.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartPanoramaStitchUpload message. + * @function verify + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + if (!$util.isInteger(message.appPlatform)) + return "appPlatform: integer expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.ak != null && message.hasOwnProperty("ak")) + if (!$util.isString(message.ak)) return "ak: string expected"; + if (message.sk != null && message.hasOwnProperty("sk")) + if (!$util.isString(message.sk)) return "sk: string expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) return "token: string expected"; + return null; + }; + + /** + * Creates a ReqStartPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStartPanoramaStitchUpload} ReqStartPanoramaStitchUpload + */ + ReqStartPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartPanoramaStitchUpload) return object; + var message = new $root.ReqStartPanoramaStitchUpload(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.appPlatform != null) + message.appPlatform = object.appPlatform | 0; + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.ak != null) message.ak = String(object.ak); + if (object.sk != null) message.sk = String(object.sk); + if (object.token != null) message.token = String(object.token); + return message; + }; + + /** + * Creates a plain object from a ReqStartPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {ReqStartPanoramaStitchUpload} message ReqStartPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartPanoramaStitchUpload.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.appPlatform = 0; + object.panoramaName = ""; + object.ak = ""; + object.sk = ""; + object.token = ""; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.appPlatform != null && message.hasOwnProperty("appPlatform")) + object.appPlatform = message.appPlatform; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.ak != null && message.hasOwnProperty("ak")) + object.ak = message.ak; + if (message.sk != null && message.hasOwnProperty("sk")) + object.sk = message.sk; + if (message.token != null && message.hasOwnProperty("token")) + object.token = message.token; + return object; + }; + + /** + * Converts this ReqStartPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStartPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStartPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStartPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartPanoramaStitchUpload"; + }; + + return ReqStartPanoramaStitchUpload; +})(); + +$root.ReqStopPanorama = (function () { + /** + * Properties of a ReqStopPanorama. + * @exports IReqStopPanorama + * @interface IReqStopPanorama + */ + + /** + * Constructs a new ReqStopPanorama. + * @exports ReqStopPanorama + * @classdesc Represents a ReqStopPanorama. + * @implements IReqStopPanorama + * @constructor + * @param {IReqStopPanorama=} [properties] Properties to set + */ + function ReqStopPanorama(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopPanorama instance using the specified properties. + * @function create + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama=} [properties] Properties to set + * @returns {ReqStopPanorama} ReqStopPanorama instance + */ + ReqStopPanorama.create = function create(properties) { + return new ReqStopPanorama(properties); + }; + + /** + * Encodes the specified ReqStopPanorama message. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encode + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopPanorama message, length delimited. Does not implicitly {@link ReqStopPanorama.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {IReqStopPanorama} message ReqStopPanorama message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanorama.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopPanorama(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopPanorama message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanorama + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanorama} ReqStopPanorama + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanorama.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopPanorama message. + * @function verify + * @memberof ReqStopPanorama + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanorama.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopPanorama message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanorama + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanorama} ReqStopPanorama + */ + ReqStopPanorama.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanorama) return object; + return new $root.ReqStopPanorama(); + }; + + /** + * Creates a plain object from a ReqStopPanorama message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanorama + * @static + * @param {ReqStopPanorama} message ReqStopPanorama + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanorama.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopPanorama to JSON. + * @function toJSON + * @memberof ReqStopPanorama + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanorama.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopPanorama + * @function getTypeUrl + * @memberof ReqStopPanorama + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanorama.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanorama"; + }; + + return ReqStopPanorama; +})(); + +$root.ReqStopPanoramaStitchUpload = (function () { + /** + * Properties of a ReqStopPanoramaStitchUpload. + * @exports IReqStopPanoramaStitchUpload + * @interface IReqStopPanoramaStitchUpload + */ + + /** + * Constructs a new ReqStopPanoramaStitchUpload. + * @exports ReqStopPanoramaStitchUpload + * @classdesc Represents a ReqStopPanoramaStitchUpload. + * @implements IReqStopPanoramaStitchUpload + * @constructor + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + */ + function ReqStopPanoramaStitchUpload(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopPanoramaStitchUpload instance using the specified properties. + * @function create + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload=} [properties] Properties to set + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload instance + */ + ReqStopPanoramaStitchUpload.create = function create(properties) { + return new ReqStopPanoramaStitchUpload(properties); + }; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopPanoramaStitchUpload message, length delimited. Does not implicitly {@link ReqStopPanoramaStitchUpload.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {IReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopPanoramaStitchUpload.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer. + * @function decode + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopPanoramaStitchUpload(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopPanoramaStitchUpload message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopPanoramaStitchUpload.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopPanoramaStitchUpload message. + * @function verify + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopPanoramaStitchUpload.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopPanoramaStitchUpload message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {Object.} object Plain object + * @returns {ReqStopPanoramaStitchUpload} ReqStopPanoramaStitchUpload + */ + ReqStopPanoramaStitchUpload.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopPanoramaStitchUpload) return object; + return new $root.ReqStopPanoramaStitchUpload(); + }; + + /** + * Creates a plain object from a ReqStopPanoramaStitchUpload message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {ReqStopPanoramaStitchUpload} message ReqStopPanoramaStitchUpload + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopPanoramaStitchUpload.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopPanoramaStitchUpload to JSON. + * @function toJSON + * @memberof ReqStopPanoramaStitchUpload + * @instance + * @returns {Object.} JSON object + */ + ReqStopPanoramaStitchUpload.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopPanoramaStitchUpload + * @function getTypeUrl + * @memberof ReqStopPanoramaStitchUpload + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopPanoramaStitchUpload.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopPanoramaStitchUpload"; + }; + + return ReqStopPanoramaStitchUpload; +})(); + +$root.ResNotifyPanoramaStitchUploadComplete = (function () { + /** + * Properties of a ResNotifyPanoramaStitchUploadComplete. + * @exports IResNotifyPanoramaStitchUploadComplete + * @interface IResNotifyPanoramaStitchUploadComplete + * @property {string|null} [userId] ResNotifyPanoramaStitchUploadComplete userId + * @property {string|null} [busiNo] ResNotifyPanoramaStitchUploadComplete busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaStitchUploadComplete panoramaName + * @property {string|null} [mac] ResNotifyPanoramaStitchUploadComplete mac + * @property {boolean|null} [uploadRes] ResNotifyPanoramaStitchUploadComplete uploadRes + */ + + /** + * Constructs a new ResNotifyPanoramaStitchUploadComplete. + * @exports ResNotifyPanoramaStitchUploadComplete + * @classdesc Represents a ResNotifyPanoramaStitchUploadComplete. + * @implements IResNotifyPanoramaStitchUploadComplete + * @constructor + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + */ + function ResNotifyPanoramaStitchUploadComplete(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaStitchUploadComplete userId. + * @member {string} userId + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.userId = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete mac. + * @member {string} mac + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.mac = ""; + + /** + * ResNotifyPanoramaStitchUploadComplete uploadRes. + * @member {boolean} uploadRes + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + */ + ResNotifyPanoramaStitchUploadComplete.prototype.uploadRes = false; + + /** + * Creates a new ResNotifyPanoramaStitchUploadComplete instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete=} [properties] Properties to set + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete instance + */ + ResNotifyPanoramaStitchUploadComplete.create = function create(properties) { + return new ResNotifyPanoramaStitchUploadComplete(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.uploadRes != null && + Object.hasOwnProperty.call(message, "uploadRes") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).bool(message.uploadRes); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaStitchUploadComplete message, length delimited. Does not implicitly {@link ResNotifyPanoramaStitchUploadComplete.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {IResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaStitchUploadComplete.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaStitchUploadComplete(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.uploadRes = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaStitchUploadComplete message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaStitchUploadComplete.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaStitchUploadComplete message. + * @function verify + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaStitchUploadComplete.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + if (typeof message.uploadRes !== "boolean") + return "uploadRes: boolean expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaStitchUploadComplete message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaStitchUploadComplete} ResNotifyPanoramaStitchUploadComplete + */ + ResNotifyPanoramaStitchUploadComplete.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyPanoramaStitchUploadComplete) + return object; + var message = new $root.ResNotifyPanoramaStitchUploadComplete(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.uploadRes != null) message.uploadRes = Boolean(object.uploadRes); + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaStitchUploadComplete message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {ResNotifyPanoramaStitchUploadComplete} message ResNotifyPanoramaStitchUploadComplete + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaStitchUploadComplete.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.uploadRes = false; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.uploadRes != null && message.hasOwnProperty("uploadRes")) + object.uploadRes = message.uploadRes; + return object; + }; + + /** + * Converts this ResNotifyPanoramaStitchUploadComplete to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaStitchUploadComplete + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaStitchUploadComplete.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaStitchUploadComplete + * @function getTypeUrl + * @memberof ResNotifyPanoramaStitchUploadComplete + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaStitchUploadComplete.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaStitchUploadComplete"; + }; + + return ResNotifyPanoramaStitchUploadComplete; +})(); + +$root.ResNotifyPanoramaCompressionProgress = (function () { + /** + * Properties of a ResNotifyPanoramaCompressionProgress. + * @exports IResNotifyPanoramaCompressionProgress + * @interface IResNotifyPanoramaCompressionProgress + * @property {string|null} [userId] ResNotifyPanoramaCompressionProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaCompressionProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaCompressionProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaCompressionProgress mac + * @property {number|null} [totalFilesNum] ResNotifyPanoramaCompressionProgress totalFilesNum + * @property {number|null} [compressedFilesNum] ResNotifyPanoramaCompressionProgress compressedFilesNum + */ + + /** + * Constructs a new ResNotifyPanoramaCompressionProgress. + * @exports ResNotifyPanoramaCompressionProgress + * @classdesc Represents a ResNotifyPanoramaCompressionProgress. + * @implements IResNotifyPanoramaCompressionProgress + * @constructor + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaCompressionProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaCompressionProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.userId = ""; + + /** + * ResNotifyPanoramaCompressionProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaCompressionProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaCompressionProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.mac = ""; + + /** + * ResNotifyPanoramaCompressionProgress totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.totalFilesNum = 0; + + /** + * ResNotifyPanoramaCompressionProgress compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + */ + ResNotifyPanoramaCompressionProgress.prototype.compressedFilesNum = 0; + + /** + * Creates a new ResNotifyPanoramaCompressionProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress instance + */ + ResNotifyPanoramaCompressionProgress.create = function create(properties) { + return new ResNotifyPanoramaCompressionProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encode = function encode( + message, + writer + ) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint32(message.totalFilesNum); + if ( + message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum") + ) + writer + .uint32(/* id 6, wireType 0 =*/ 48) + .uint32(message.compressedFilesNum); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaCompressionProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaCompressionProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {IResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaCompressionProgress.encodeDelimited = + function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decode = function decode( + reader, + length + ) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaCompressionProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalFilesNum = reader.uint32(); + break; + } + case 6: { + message.compressedFilesNum = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaCompressionProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaCompressionProgress.decodeDelimited = + function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaCompressionProgress message. + * @function verify + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaCompressionProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaCompressionProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaCompressionProgress} ResNotifyPanoramaCompressionProgress + */ + ResNotifyPanoramaCompressionProgress.fromObject = function fromObject( + object + ) { + if (object instanceof $root.ResNotifyPanoramaCompressionProgress) + return object; + var message = new $root.ResNotifyPanoramaCompressionProgress(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaCompressionProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {ResNotifyPanoramaCompressionProgress} message ResNotifyPanoramaCompressionProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaCompressionProgress.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + object.totalFilesNum = message.totalFilesNum; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + object.compressedFilesNum = message.compressedFilesNum; + return object; + }; + + /** + * Converts this ResNotifyPanoramaCompressionProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaCompressionProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaCompressionProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaCompressionProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaCompressionProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaCompressionProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaCompressionProgress"; + }; + + return ResNotifyPanoramaCompressionProgress; +})(); + +$root.ResNotifyPanoramaUploadProgress = (function () { + /** + * Properties of a ResNotifyPanoramaUploadProgress. + * @exports IResNotifyPanoramaUploadProgress + * @interface IResNotifyPanoramaUploadProgress + * @property {string|null} [userId] ResNotifyPanoramaUploadProgress userId + * @property {string|null} [busiNo] ResNotifyPanoramaUploadProgress busiNo + * @property {string|null} [panoramaName] ResNotifyPanoramaUploadProgress panoramaName + * @property {string|null} [mac] ResNotifyPanoramaUploadProgress mac + * @property {number|Long|null} [totalSize] ResNotifyPanoramaUploadProgress totalSize + * @property {number|Long|null} [uploadedSize] ResNotifyPanoramaUploadProgress uploadedSize + */ + + /** + * Constructs a new ResNotifyPanoramaUploadProgress. + * @exports ResNotifyPanoramaUploadProgress + * @classdesc Represents a ResNotifyPanoramaUploadProgress. + * @implements IResNotifyPanoramaUploadProgress + * @constructor + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + */ + function ResNotifyPanoramaUploadProgress(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResNotifyPanoramaUploadProgress userId. + * @member {string} userId + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.userId = ""; + + /** + * ResNotifyPanoramaUploadProgress busiNo. + * @member {string} busiNo + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.busiNo = ""; + + /** + * ResNotifyPanoramaUploadProgress panoramaName. + * @member {string} panoramaName + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.panoramaName = ""; + + /** + * ResNotifyPanoramaUploadProgress mac. + * @member {string} mac + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.mac = ""; + + /** + * ResNotifyPanoramaUploadProgress totalSize. + * @member {number|Long} totalSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResNotifyPanoramaUploadProgress uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResNotifyPanoramaUploadProgress + * @instance + */ + ResNotifyPanoramaUploadProgress.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * Creates a new ResNotifyPanoramaUploadProgress instance using the specified properties. + * @function create + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress=} [properties] Properties to set + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress instance + */ + ResNotifyPanoramaUploadProgress.create = function create(properties) { + return new ResNotifyPanoramaUploadProgress(properties); + }; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.mac); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).uint64(message.totalSize); + if ( + message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint64(message.uploadedSize); + return writer; + }; + + /** + * Encodes the specified ResNotifyPanoramaUploadProgress message, length delimited. Does not implicitly {@link ResNotifyPanoramaUploadProgress.verify|verify} messages. + * @function encodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {IResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResNotifyPanoramaUploadProgress.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer. + * @function decode + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResNotifyPanoramaUploadProgress(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.userId = reader.string(); + break; + } + case 2: { + message.busiNo = reader.string(); + break; + } + case 3: { + message.panoramaName = reader.string(); + break; + } + case 4: { + message.mac = reader.string(); + break; + } + case 5: { + message.totalSize = reader.uint64(); + break; + } + case 6: { + message.uploadedSize = reader.uint64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResNotifyPanoramaUploadProgress message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResNotifyPanoramaUploadProgress.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResNotifyPanoramaUploadProgress message. + * @function verify + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResNotifyPanoramaUploadProgress.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if ( + !$util.isInteger(message.totalSize) && + !( + message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high) + ) + ) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if ( + !$util.isInteger(message.uploadedSize) && + !( + message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high) + ) + ) + return "uploadedSize: integer|Long expected"; + return null; + }; + + /** + * Creates a ResNotifyPanoramaUploadProgress message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {Object.} object Plain object + * @returns {ResNotifyPanoramaUploadProgress} ResNotifyPanoramaUploadProgress + */ + ResNotifyPanoramaUploadProgress.fromObject = function fromObject(object) { + if (object instanceof $root.ResNotifyPanoramaUploadProgress) return object; + var message = new $root.ResNotifyPanoramaUploadProgress(); + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue( + object.totalSize + )).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits( + object.totalSize.low >>> 0, + object.totalSize.high >>> 0 + ).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue( + object.uploadedSize + )).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits( + object.uploadedSize.low >>> 0, + object.uploadedSize.high >>> 0 + ).toNumber(true); + return message; + }; + + /** + * Creates a plain object from a ResNotifyPanoramaUploadProgress message. Also converts values to other types if specified. + * @function toObject + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {ResNotifyPanoramaUploadProgress} message ResNotifyPanoramaUploadProgress + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResNotifyPanoramaUploadProgress.toObject = function toObject( + message, + options + ) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.uploadedSize = options.longs === String ? "0" : 0; + } + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits( + message.totalSize.low >>> 0, + message.totalSize.high >>> 0 + ).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits( + message.uploadedSize.low >>> 0, + message.uploadedSize.high >>> 0 + ).toNumber(true) + : message.uploadedSize; + return object; + }; + + /** + * Converts this ResNotifyPanoramaUploadProgress to JSON. + * @function toJSON + * @memberof ResNotifyPanoramaUploadProgress + * @instance + * @returns {Object.} JSON object + */ + ResNotifyPanoramaUploadProgress.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResNotifyPanoramaUploadProgress + * @function getTypeUrl + * @memberof ResNotifyPanoramaUploadProgress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResNotifyPanoramaUploadProgress.getTypeUrl = function getTypeUrl( + typeUrlPrefix + ) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResNotifyPanoramaUploadProgress"; + }; + + return ResNotifyPanoramaUploadProgress; +})(); + +$root.ResGetStitchUploadState = (function () { + /** + * Properties of a ResGetStitchUploadState. + * @exports IResGetStitchUploadState + * @interface IResGetStitchUploadState + * @property {number|null} [code] ResGetStitchUploadState code + * @property {string|null} [userId] ResGetStitchUploadState userId + * @property {string|null} [busiNo] ResGetStitchUploadState busiNo + * @property {string|null} [panoramaName] ResGetStitchUploadState panoramaName + * @property {string|null} [mac] ResGetStitchUploadState mac + * @property {number|null} [totalFilesNum] ResGetStitchUploadState totalFilesNum + * @property {number|null} [compressedFilesNum] ResGetStitchUploadState compressedFilesNum + * @property {number|Long|null} [totalSize] ResGetStitchUploadState totalSize + * @property {number|Long|null} [uploadedSize] ResGetStitchUploadState uploadedSize + * @property {number|null} [step] ResGetStitchUploadState step + */ + + /** + * Constructs a new ResGetStitchUploadState. + * @exports ResGetStitchUploadState + * @classdesc Represents a ResGetStitchUploadState. + * @implements IResGetStitchUploadState + * @constructor + * @param {IResGetStitchUploadState=} [properties] Properties to set + */ + function ResGetStitchUploadState(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetStitchUploadState code. + * @member {number} code + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.code = 0; + + /** + * ResGetStitchUploadState userId. + * @member {string} userId + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.userId = ""; + + /** + * ResGetStitchUploadState busiNo. + * @member {string} busiNo + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.busiNo = ""; + + /** + * ResGetStitchUploadState panoramaName. + * @member {string} panoramaName + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.panoramaName = ""; + + /** + * ResGetStitchUploadState mac. + * @member {string} mac + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.mac = ""; + + /** + * ResGetStitchUploadState totalFilesNum. + * @member {number} totalFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalFilesNum = 0; + + /** + * ResGetStitchUploadState compressedFilesNum. + * @member {number} compressedFilesNum + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.compressedFilesNum = 0; + + /** + * ResGetStitchUploadState totalSize. + * @member {number|Long} totalSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.totalSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResGetStitchUploadState uploadedSize. + * @member {number|Long} uploadedSize + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.uploadedSize = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ResGetStitchUploadState step. + * @member {number} step + * @memberof ResGetStitchUploadState + * @instance + */ + ResGetStitchUploadState.prototype.step = 0; + + /** + * Creates a new ResGetStitchUploadState instance using the specified properties. + * @function create + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState=} [properties] Properties to set + * @returns {ResGetStitchUploadState} ResGetStitchUploadState instance + */ + ResGetStitchUploadState.create = function create(properties) { + return new ResGetStitchUploadState(properties); + }; + + /** + * Encodes the specified ResGetStitchUploadState message. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encode + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.userId); + if (message.busiNo != null && Object.hasOwnProperty.call(message, "busiNo")) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.busiNo); + if ( + message.panoramaName != null && + Object.hasOwnProperty.call(message, "panoramaName") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.panoramaName); + if (message.mac != null && Object.hasOwnProperty.call(message, "mac")) + writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.mac); + if ( + message.totalFilesNum != null && + Object.hasOwnProperty.call(message, "totalFilesNum") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).uint32(message.totalFilesNum); + if ( + message.compressedFilesNum != null && + Object.hasOwnProperty.call(message, "compressedFilesNum") + ) + writer + .uint32(/* id 7, wireType 0 =*/ 56) + .uint32(message.compressedFilesNum); + if ( + message.totalSize != null && + Object.hasOwnProperty.call(message, "totalSize") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).uint64(message.totalSize); + if ( + message.uploadedSize != null && + Object.hasOwnProperty.call(message, "uploadedSize") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).uint64(message.uploadedSize); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 10, wireType 0 =*/ 80).uint32(message.step); + return writer; + }; + + /** + * Encodes the specified ResGetStitchUploadState message, length delimited. Does not implicitly {@link ResGetStitchUploadState.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {IResGetStitchUploadState} message ResGetStitchUploadState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetStitchUploadState.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer. + * @function decode + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetStitchUploadState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.userId = reader.string(); + break; + } + case 3: { + message.busiNo = reader.string(); + break; + } + case 4: { + message.panoramaName = reader.string(); + break; + } + case 5: { + message.mac = reader.string(); + break; + } + case 6: { + message.totalFilesNum = reader.uint32(); + break; + } + case 7: { + message.compressedFilesNum = reader.uint32(); + break; + } + case 8: { + message.totalSize = reader.uint64(); + break; + } + case 9: { + message.uploadedSize = reader.uint64(); + break; + } + case 10: { + message.step = reader.uint32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetStitchUploadState message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetStitchUploadState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetStitchUploadState.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetStitchUploadState message. + * @function verify + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetStitchUploadState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) return "userId: string expected"; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + if (!$util.isString(message.busiNo)) return "busiNo: string expected"; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + if (!$util.isString(message.panoramaName)) + return "panoramaName: string expected"; + if (message.mac != null && message.hasOwnProperty("mac")) + if (!$util.isString(message.mac)) return "mac: string expected"; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + if (!$util.isInteger(message.totalFilesNum)) + return "totalFilesNum: integer expected"; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + if (!$util.isInteger(message.compressedFilesNum)) + return "compressedFilesNum: integer expected"; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if ( + !$util.isInteger(message.totalSize) && + !( + message.totalSize && + $util.isInteger(message.totalSize.low) && + $util.isInteger(message.totalSize.high) + ) + ) + return "totalSize: integer|Long expected"; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if ( + !$util.isInteger(message.uploadedSize) && + !( + message.uploadedSize && + $util.isInteger(message.uploadedSize.low) && + $util.isInteger(message.uploadedSize.high) + ) + ) + return "uploadedSize: integer|Long expected"; + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step)) return "step: integer expected"; + return null; + }; + + /** + * Creates a ResGetStitchUploadState message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetStitchUploadState + * @static + * @param {Object.} object Plain object + * @returns {ResGetStitchUploadState} ResGetStitchUploadState + */ + ResGetStitchUploadState.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetStitchUploadState) return object; + var message = new $root.ResGetStitchUploadState(); + if (object.code != null) message.code = object.code | 0; + if (object.userId != null) message.userId = String(object.userId); + if (object.busiNo != null) message.busiNo = String(object.busiNo); + if (object.panoramaName != null) + message.panoramaName = String(object.panoramaName); + if (object.mac != null) message.mac = String(object.mac); + if (object.totalFilesNum != null) + message.totalFilesNum = object.totalFilesNum >>> 0; + if (object.compressedFilesNum != null) + message.compressedFilesNum = object.compressedFilesNum >>> 0; + if (object.totalSize != null) + if ($util.Long) + (message.totalSize = $util.Long.fromValue( + object.totalSize + )).unsigned = true; + else if (typeof object.totalSize === "string") + message.totalSize = parseInt(object.totalSize, 10); + else if (typeof object.totalSize === "number") + message.totalSize = object.totalSize; + else if (typeof object.totalSize === "object") + message.totalSize = new $util.LongBits( + object.totalSize.low >>> 0, + object.totalSize.high >>> 0 + ).toNumber(true); + if (object.uploadedSize != null) + if ($util.Long) + (message.uploadedSize = $util.Long.fromValue( + object.uploadedSize + )).unsigned = true; + else if (typeof object.uploadedSize === "string") + message.uploadedSize = parseInt(object.uploadedSize, 10); + else if (typeof object.uploadedSize === "number") + message.uploadedSize = object.uploadedSize; + else if (typeof object.uploadedSize === "object") + message.uploadedSize = new $util.LongBits( + object.uploadedSize.low >>> 0, + object.uploadedSize.high >>> 0 + ).toNumber(true); + if (object.step != null) message.step = object.step >>> 0; + return message; + }; + + /** + * Creates a plain object from a ResGetStitchUploadState message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetStitchUploadState + * @static + * @param {ResGetStitchUploadState} message ResGetStitchUploadState + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetStitchUploadState.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.userId = ""; + object.busiNo = ""; + object.panoramaName = ""; + object.mac = ""; + object.totalFilesNum = 0; + object.compressedFilesNum = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.totalSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.totalSize = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.uploadedSize = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.uploadedSize = options.longs === String ? "0" : 0; + object.step = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.busiNo != null && message.hasOwnProperty("busiNo")) + object.busiNo = message.busiNo; + if (message.panoramaName != null && message.hasOwnProperty("panoramaName")) + object.panoramaName = message.panoramaName; + if (message.mac != null && message.hasOwnProperty("mac")) + object.mac = message.mac; + if ( + message.totalFilesNum != null && + message.hasOwnProperty("totalFilesNum") + ) + object.totalFilesNum = message.totalFilesNum; + if ( + message.compressedFilesNum != null && + message.hasOwnProperty("compressedFilesNum") + ) + object.compressedFilesNum = message.compressedFilesNum; + if (message.totalSize != null && message.hasOwnProperty("totalSize")) + if (typeof message.totalSize === "number") + object.totalSize = + options.longs === String + ? String(message.totalSize) + : message.totalSize; + else + object.totalSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.totalSize) + : options.longs === Number + ? new $util.LongBits( + message.totalSize.low >>> 0, + message.totalSize.high >>> 0 + ).toNumber(true) + : message.totalSize; + if (message.uploadedSize != null && message.hasOwnProperty("uploadedSize")) + if (typeof message.uploadedSize === "number") + object.uploadedSize = + options.longs === String + ? String(message.uploadedSize) + : message.uploadedSize; + else + object.uploadedSize = + options.longs === String + ? $util.Long.prototype.toString.call(message.uploadedSize) + : options.longs === Number + ? new $util.LongBits( + message.uploadedSize.low >>> 0, + message.uploadedSize.high >>> 0 + ).toNumber(true) + : message.uploadedSize; + if (message.step != null && message.hasOwnProperty("step")) + object.step = message.step; + return object; + }; + + /** + * Converts this ResGetStitchUploadState to JSON. + * @function toJSON + * @memberof ResGetStitchUploadState + * @instance + * @returns {Object.} JSON object + */ + ResGetStitchUploadState.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetStitchUploadState + * @function getTypeUrl + * @memberof ResGetStitchUploadState + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetStitchUploadState.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetStitchUploadState"; + }; + + return ResGetStitchUploadState; +})(); + +/** + * ModuleId enum. + * @exports ModuleId + * @enum {number} + * @property {number} MODULE_NONE=0 MODULE_NONE value + * @property {number} MODULE_CAMERA_TELE=1 MODULE_CAMERA_TELE value + * @property {number} MODULE_CAMERA_WIDE=2 MODULE_CAMERA_WIDE value + * @property {number} MODULE_ASTRO=3 MODULE_ASTRO value + * @property {number} MODULE_SYSTEM=4 MODULE_SYSTEM value + * @property {number} MODULE_RGB_POWER=5 MODULE_RGB_POWER value + * @property {number} MODULE_MOTOR=6 MODULE_MOTOR value + * @property {number} MODULE_TRACK=7 MODULE_TRACK value + * @property {number} MODULE_FOCUS=8 MODULE_FOCUS value + * @property {number} MODULE_NOTIFY=9 MODULE_NOTIFY value + * @property {number} MODULE_PANORAMA=10 MODULE_PANORAMA value + * @property {number} MODULE_SHOOTING_SCHEDULE=13 MODULE_SHOOTING_SCHEDULE value + */ +$root.ModuleId = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "MODULE_NONE")] = 0; + values[(valuesById[1] = "MODULE_CAMERA_TELE")] = 1; + values[(valuesById[2] = "MODULE_CAMERA_WIDE")] = 2; + values[(valuesById[3] = "MODULE_ASTRO")] = 3; + values[(valuesById[4] = "MODULE_SYSTEM")] = 4; + values[(valuesById[5] = "MODULE_RGB_POWER")] = 5; + values[(valuesById[6] = "MODULE_MOTOR")] = 6; + values[(valuesById[7] = "MODULE_TRACK")] = 7; + values[(valuesById[8] = "MODULE_FOCUS")] = 8; + values[(valuesById[9] = "MODULE_NOTIFY")] = 9; + values[(valuesById[10] = "MODULE_PANORAMA")] = 10; + values[(valuesById[13] = "MODULE_SHOOTING_SCHEDULE")] = 13; + return values; +})(); + +/** + * MessageTypeId enum. + * @exports MessageTypeId + * @enum {number} + * @property {number} TYPE_REQUEST=0 TYPE_REQUEST value + * @property {number} TYPE_REQUEST_RESPONSE=1 TYPE_REQUEST_RESPONSE value + * @property {number} TYPE_NOTIFICATION=2 TYPE_NOTIFICATION value + * @property {number} TYPE_NOTIFICATION_RESPONSE=3 TYPE_NOTIFICATION_RESPONSE value + */ +$root.MessageTypeId = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "TYPE_REQUEST")] = 0; + values[(valuesById[1] = "TYPE_REQUEST_RESPONSE")] = 1; + values[(valuesById[2] = "TYPE_NOTIFICATION")] = 2; + values[(valuesById[3] = "TYPE_NOTIFICATION_RESPONSE")] = 3; + return values; +})(); + +/** + * DwarfCMD enum. + * @exports DwarfCMD + * @enum {number} + * @property {number} NO_CMD=0 NO_CMD value + * @property {number} CMD_CAMERA_TELE_OPEN_CAMERA=10000 CMD_CAMERA_TELE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_TELE_CLOSE_CAMERA=10001 CMD_CAMERA_TELE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_TELE_PHOTOGRAPH=10002 CMD_CAMERA_TELE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_TELE_BURST=10003 CMD_CAMERA_TELE_BURST value + * @property {number} CMD_CAMERA_TELE_STOP_BURST=10004 CMD_CAMERA_TELE_STOP_BURST value + * @property {number} CMD_CAMERA_TELE_START_RECORD=10005 CMD_CAMERA_TELE_START_RECORD value + * @property {number} CMD_CAMERA_TELE_STOP_RECORD=10006 CMD_CAMERA_TELE_STOP_RECORD value + * @property {number} CMD_CAMERA_TELE_SET_EXP_MODE=10007 CMD_CAMERA_TELE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_GET_EXP_MODE=10008 CMD_CAMERA_TELE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_TELE_SET_EXP=10009 CMD_CAMERA_TELE_SET_EXP value + * @property {number} CMD_CAMERA_TELE_GET_EXP=10010 CMD_CAMERA_TELE_GET_EXP value + * @property {number} CMD_CAMERA_TELE_SET_GAIN_MODE=10011 CMD_CAMERA_TELE_SET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_GET_GAIN_MODE=10012 CMD_CAMERA_TELE_GET_GAIN_MODE value + * @property {number} CMD_CAMERA_TELE_SET_GAIN=10013 CMD_CAMERA_TELE_SET_GAIN value + * @property {number} CMD_CAMERA_TELE_GET_GAIN=10014 CMD_CAMERA_TELE_GET_GAIN value + * @property {number} CMD_CAMERA_TELE_SET_BRIGHTNESS=10015 CMD_CAMERA_TELE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_GET_BRIGHTNESS=10016 CMD_CAMERA_TELE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_TELE_SET_CONTRAST=10017 CMD_CAMERA_TELE_SET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_GET_CONTRAST=10018 CMD_CAMERA_TELE_GET_CONTRAST value + * @property {number} CMD_CAMERA_TELE_SET_SATURATION=10019 CMD_CAMERA_TELE_SET_SATURATION value + * @property {number} CMD_CAMERA_TELE_GET_SATURATION=10020 CMD_CAMERA_TELE_GET_SATURATION value + * @property {number} CMD_CAMERA_TELE_SET_HUE=10021 CMD_CAMERA_TELE_SET_HUE value + * @property {number} CMD_CAMERA_TELE_GET_HUE=10022 CMD_CAMERA_TELE_GET_HUE value + * @property {number} CMD_CAMERA_TELE_SET_SHARPNESS=10023 CMD_CAMERA_TELE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_GET_SHARPNESS=10024 CMD_CAMERA_TELE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_TELE_SET_WB_MODE=10025 CMD_CAMERA_TELE_SET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_GET_WB_MODE=10026 CMD_CAMERA_TELE_GET_WB_MODE value + * @property {number} CMD_CAMERA_TELE_SET_WB_SCENE=10027 CMD_CAMERA_TELE_SET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_GET_WB_SCENE=10028 CMD_CAMERA_TELE_GET_WB_SCENE value + * @property {number} CMD_CAMERA_TELE_SET_WB_CT=10029 CMD_CAMERA_TELE_SET_WB_CT value + * @property {number} CMD_CAMERA_TELE_GET_WB_CT=10030 CMD_CAMERA_TELE_GET_WB_CT value + * @property {number} CMD_CAMERA_TELE_SET_IRCUT=10031 CMD_CAMERA_TELE_SET_IRCUT value + * @property {number} CMD_CAMERA_TELE_GET_IRCUT=10032 CMD_CAMERA_TELE_GET_IRCUT value + * @property {number} CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO=10033 CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO=10034 CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_TELE_SET_ALL_PARAMS=10035 CMD_CAMERA_TELE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_ALL_PARAMS=10036 CMD_CAMERA_TELE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_TELE_SET_FEATURE_PARAM=10037 CMD_CAMERA_TELE_SET_FEATURE_PARAM value + * @property {number} CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS=10038 CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS value + * @property {number} CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE=10039 CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE value + * @property {number} CMD_CAMERA_TELE_SET_JPG_QUALITY=10040 CMD_CAMERA_TELE_SET_JPG_QUALITY value + * @property {number} CMD_CAMERA_TELE_PHOTO_RAW=10041 CMD_CAMERA_TELE_PHOTO_RAW value + * @property {number} CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE=10042 CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE value + * @property {number} CMD_ASTRO_START_CALIBRATION=11000 CMD_ASTRO_START_CALIBRATION value + * @property {number} CMD_ASTRO_STOP_CALIBRATION=11001 CMD_ASTRO_STOP_CALIBRATION value + * @property {number} CMD_ASTRO_START_GOTO_DSO=11002 CMD_ASTRO_START_GOTO_DSO value + * @property {number} CMD_ASTRO_START_GOTO_SOLAR_SYSTEM=11003 CMD_ASTRO_START_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_GOTO=11004 CMD_ASTRO_STOP_GOTO value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING=11005 CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING=11006 CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK=11007 CMD_ASTRO_START_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK=11008 CMD_ASTRO_STOP_CAPTURE_RAW_DARK value + * @property {number} CMD_ASTRO_CHECK_GOT_DARK=11009 CMD_ASTRO_CHECK_GOT_DARK value + * @property {number} CMD_ASTRO_GO_LIVE=11010 CMD_ASTRO_GO_LIVE value + * @property {number} CMD_ASTRO_START_TRACK_SPECIAL_TARGET=11011 CMD_ASTRO_START_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET=11012 CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_DSO=11013 CMD_ASTRO_START_ONE_CLICK_GOTO_DSO value + * @property {number} CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM=11014 CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM value + * @property {number} CMD_ASTRO_STOP_ONE_CLICK_GOTO=11015 CMD_ASTRO_STOP_ONE_CLICK_GOTO value + * @property {number} CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING=11016 CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING=11017 CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING value + * @property {number} CMD_ASTRO_START_EQ_SOLVING=11018 CMD_ASTRO_START_EQ_SOLVING value + * @property {number} CMD_ASTRO_STOP_EQ_SOLVING=11019 CMD_ASTRO_STOP_EQ_SOLVING value + * @property {number} CMD_ASTRO_WIDE_GO_LIVE=11020 CMD_ASTRO_WIDE_GO_LIVE value + * @property {number} CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM=11021 CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM=11022 CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_DARK_FRAME_LIST=11023 CMD_ASTRO_GET_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_DARK_FRAME_LIST=11024 CMD_ASTRO_DEL_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11025 CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM=11026 CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM value + * @property {number} CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST=11027 CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST=11028 CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST value + * @property {number} CMD_CAMERA_WIDE_OPEN_CAMERA=12000 CMD_CAMERA_WIDE_OPEN_CAMERA value + * @property {number} CMD_CAMERA_WIDE_CLOSE_CAMERA=12001 CMD_CAMERA_WIDE_CLOSE_CAMERA value + * @property {number} CMD_CAMERA_WIDE_SET_EXP_MODE=12002 CMD_CAMERA_WIDE_SET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_EXP_MODE=12003 CMD_CAMERA_WIDE_GET_EXP_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_EXP=12004 CMD_CAMERA_WIDE_SET_EXP value + * @property {number} CMD_CAMERA_WIDE_GET_EXP=12005 CMD_CAMERA_WIDE_GET_EXP value + * @property {number} CMD_CAMERA_WIDE_SET_GAIN=12006 CMD_CAMERA_WIDE_SET_GAIN value + * @property {number} CMD_CAMERA_WIDE_GET_GAIN=12007 CMD_CAMERA_WIDE_GET_GAIN value + * @property {number} CMD_CAMERA_WIDE_SET_BRIGHTNESS=12008 CMD_CAMERA_WIDE_SET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_GET_BRIGHTNESS=12009 CMD_CAMERA_WIDE_GET_BRIGHTNESS value + * @property {number} CMD_CAMERA_WIDE_SET_CONTRAST=12010 CMD_CAMERA_WIDE_SET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_GET_CONTRAST=12011 CMD_CAMERA_WIDE_GET_CONTRAST value + * @property {number} CMD_CAMERA_WIDE_SET_SATURATION=12012 CMD_CAMERA_WIDE_SET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_GET_SATURATION=12013 CMD_CAMERA_WIDE_GET_SATURATION value + * @property {number} CMD_CAMERA_WIDE_SET_HUE=12014 CMD_CAMERA_WIDE_SET_HUE value + * @property {number} CMD_CAMERA_WIDE_GET_HUE=12015 CMD_CAMERA_WIDE_GET_HUE value + * @property {number} CMD_CAMERA_WIDE_SET_SHARPNESS=12016 CMD_CAMERA_WIDE_SET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_GET_SHARPNESS=12017 CMD_CAMERA_WIDE_GET_SHARPNESS value + * @property {number} CMD_CAMERA_WIDE_SET_WB_MODE=12018 CMD_CAMERA_WIDE_SET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_GET_WB_MODE=12019 CMD_CAMERA_WIDE_GET_WB_MODE value + * @property {number} CMD_CAMERA_WIDE_SET_WB_CT=12020 CMD_CAMERA_WIDE_SET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_GET_WB_CT=12021 CMD_CAMERA_WIDE_GET_WB_CT value + * @property {number} CMD_CAMERA_WIDE_PHOTOGRAPH=12022 CMD_CAMERA_WIDE_PHOTOGRAPH value + * @property {number} CMD_CAMERA_WIDE_BURST=12023 CMD_CAMERA_WIDE_BURST value + * @property {number} CMD_CAMERA_WIDE_STOP_BURST=12024 CMD_CAMERA_WIDE_STOP_BURST value + * @property {number} CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO=12025 CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO=12026 CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO value + * @property {number} CMD_CAMERA_WIDE_GET_ALL_PARAMS=12027 CMD_CAMERA_WIDE_GET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_SET_ALL_PARAMS=12028 CMD_CAMERA_WIDE_SET_ALL_PARAMS value + * @property {number} CMD_CAMERA_WIDE_START_RECORD=12030 CMD_CAMERA_WIDE_START_RECORD value + * @property {number} CMD_CAMERA_WIDE_STOP_RECORD=12031 CMD_CAMERA_WIDE_STOP_RECORD value + * @property {number} CMD_SYSTEM_SET_TIME=13000 CMD_SYSTEM_SET_TIME value + * @property {number} CMD_SYSTEM_SET_TIME_ZONE=13001 CMD_SYSTEM_SET_TIME_ZONE value + * @property {number} CMD_SYSTEM_SET_MTP_MODE=13002 CMD_SYSTEM_SET_MTP_MODE value + * @property {number} CMD_SYSTEM_SET_CPU_MODE=13003 CMD_SYSTEM_SET_CPU_MODE value + * @property {number} CMD_SYSTEM_SET_MASTERLOCK=13004 CMD_SYSTEM_SET_MASTERLOCK value + * @property {number} CMD_RGB_POWER_OPEN_RGB=13500 CMD_RGB_POWER_OPEN_RGB value + * @property {number} CMD_RGB_POWER_CLOSE_RGB=13501 CMD_RGB_POWER_CLOSE_RGB value + * @property {number} CMD_RGB_POWER_POWER_DOWN=13502 CMD_RGB_POWER_POWER_DOWN value + * @property {number} CMD_RGB_POWER_POWERIND_ON=13503 CMD_RGB_POWER_POWERIND_ON value + * @property {number} CMD_RGB_POWER_POWERIND_OFF=13504 CMD_RGB_POWER_POWERIND_OFF value + * @property {number} CMD_RGB_POWER_REBOOT=13505 CMD_RGB_POWER_REBOOT value + * @property {number} CMD_STEP_MOTOR_RUN=14000 CMD_STEP_MOTOR_RUN value + * @property {number} CMD_STEP_MOTOR_RUN_TO=14001 CMD_STEP_MOTOR_RUN_TO value + * @property {number} CMD_STEP_MOTOR_STOP=14002 CMD_STEP_MOTOR_STOP value + * @property {number} CMD_STEP_MOTOR_RESET=14003 CMD_STEP_MOTOR_RESET value + * @property {number} CMD_STEP_MOTOR_CHANGE_SPEED=14004 CMD_STEP_MOTOR_CHANGE_SPEED value + * @property {number} CMD_STEP_MOTOR_CHANGE_DIRECTION=14005 CMD_STEP_MOTOR_CHANGE_DIRECTION value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK=14006 CMD_STEP_MOTOR_SERVICE_JOYSTICK value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE=14007 CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE value + * @property {number} CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP=14008 CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP value + * @property {number} CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE=14009 CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE value + * @property {number} CMD_STEP_MOTOR_RUN_IN_PULSE=14010 CMD_STEP_MOTOR_RUN_IN_PULSE value + * @property {number} CMD_STEP_MOTOR_GET_POSITION=14011 CMD_STEP_MOTOR_GET_POSITION value + * @property {number} CMD_TRACK_START_TRACK=14800 CMD_TRACK_START_TRACK value + * @property {number} CMD_TRACK_STOP_TRACK=14801 CMD_TRACK_STOP_TRACK value + * @property {number} CMD_SENTRY_MODE_START=14802 CMD_SENTRY_MODE_START value + * @property {number} CMD_SENTRY_MODE_STOP=14803 CMD_SENTRY_MODE_STOP value + * @property {number} CMD_MOT_START=14804 CMD_MOT_START value + * @property {number} CMD_MOT_TRACK_ONE=14805 CMD_MOT_TRACK_ONE value + * @property {number} CMD_UFOTRACK_MODE_START=14806 CMD_UFOTRACK_MODE_START value + * @property {number} CMD_UFOTRACK_MODE_STOP=14807 CMD_UFOTRACK_MODE_STOP value + * @property {number} CMD_MOT_WIDE_TRACK_ONE=14808 CMD_MOT_WIDE_TRACK_ONE value + * @property {number} CMD_WIDE_TELE_TRACK_SWITCH=14809 CMD_WIDE_TELE_TRACK_SWITCH value + * @property {number} CMD_UFO_HAND_AOTO_MODE=14810 CMD_UFO_HAND_AOTO_MODE value + * @property {number} CMD_FOCUS_AUTO_FOCUS=15000 CMD_FOCUS_AUTO_FOCUS value + * @property {number} CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS=15001 CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS value + * @property {number} CMD_FOCUS_START_MANUAL_CONTINU_FOCUS=15002 CMD_FOCUS_START_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS=15003 CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS value + * @property {number} CMD_FOCUS_START_ASTRO_AUTO_FOCUS=15004 CMD_FOCUS_START_ASTRO_AUTO_FOCUS value + * @property {number} CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS=15005 CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS value + * @property {number} CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING=15200 CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING value + * @property {number} CMD_NOTIFY_ELE=15201 CMD_NOTIFY_ELE value + * @property {number} CMD_NOTIFY_CHARGE=15202 CMD_NOTIFY_CHARGE value + * @property {number} CMD_NOTIFY_SDCARD_INFO=15203 CMD_NOTIFY_SDCARD_INFO value + * @property {number} CMD_NOTIFY_TELE_RECORD_TIME=15204 CMD_NOTIFY_TELE_RECORD_TIME value + * @property {number} CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME=15205 CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_DARK=15206 CMD_NOTIFY_STATE_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK=15207 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING=15208 CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING=15209 CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_STATE_ASTRO_CALIBRATION=15210 CMD_NOTIFY_STATE_ASTRO_CALIBRATION value + * @property {number} CMD_NOTIFY_STATE_ASTRO_GOTO=15211 CMD_NOTIFY_STATE_ASTRO_GOTO value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING=15212 CMD_NOTIFY_STATE_ASTRO_TRACKING value + * @property {number} CMD_NOTIFY_TELE_SET_PARAM=15213 CMD_NOTIFY_TELE_SET_PARAM value + * @property {number} CMD_NOTIFY_WIDE_SET_PARAM=15214 CMD_NOTIFY_WIDE_SET_PARAM value + * @property {number} CMD_NOTIFY_TELE_FUNCTION_STATE=15215 CMD_NOTIFY_TELE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_WIDE_FUNCTION_STATE=15216 CMD_NOTIFY_WIDE_FUNCTION_STATE value + * @property {number} CMD_NOTIFY_SET_FEATURE_PARAM=15217 CMD_NOTIFY_SET_FEATURE_PARAM value + * @property {number} CMD_NOTIFY_TELE_BURST_PROGRESS=15218 CMD_NOTIFY_TELE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_PROGRESS=15219 CMD_NOTIFY_PANORAMA_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_BURST_PROGRESS=15220 CMD_NOTIFY_WIDE_BURST_PROGRESS value + * @property {number} CMD_NOTIFY_RGB_STATE=15221 CMD_NOTIFY_RGB_STATE value + * @property {number} CMD_NOTIFY_POWER_IND_STATE=15222 CMD_NOTIFY_POWER_IND_STATE value + * @property {number} CMD_NOTIFY_WS_HOST_SLAVE_MODE=15223 CMD_NOTIFY_WS_HOST_SLAVE_MODE value + * @property {number} CMD_NOTIFY_MTP_STATE=15224 CMD_NOTIFY_MTP_STATE value + * @property {number} CMD_NOTIFY_TRACK_RESULT=15225 CMD_NOTIFY_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME=15226 CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME value + * @property {number} CMD_NOTIFY_CPU_MODE=15227 CMD_NOTIFY_CPU_MODE value + * @property {number} CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL=15228 CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL value + * @property {number} CMD_NOTIFY_POWER_OFF=15229 CMD_NOTIFY_POWER_OFF value + * @property {number} CMD_NOTIFY_ALBUM_UPDATE=15230 CMD_NOTIFY_ALBUM_UPDATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_STATE=15231 CMD_NOTIFY_SENTRY_MODE_STATE value + * @property {number} CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT=15232 CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO=15233 CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO value + * @property {number} CMD_NOTIFY_STREAM_TYPE=15234 CMD_NOTIFY_STREAM_TYPE value + * @property {number} CMD_NOTIFY_WIDE_RECORD_TIME=15235 CMD_NOTIFY_WIDE_RECORD_TIME value + * @property {number} CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING=15236 CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING=15237 CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING value + * @property {number} CMD_NOTIFY_MULTI_TRACK_RESULT=15238 CMD_NOTIFY_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_EQ_SOLVING_STATE=15239 CMD_NOTIFY_EQ_SOLVING_STATE value + * @property {number} CMD_NOTIFY_UFO_MODE_STATE=15240 CMD_NOTIFY_UFO_MODE_STATE value + * @property {number} CMD_NOTIFY_TELE_LONG_EXP_PROGRESS=15241 CMD_NOTIFY_TELE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS=15242 CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS value + * @property {number} CMD_NOTIFY_TEMPERATURE=15243 CMD_NOTIFY_TEMPERATURE value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS=15244 CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS=15245 CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS value + * @property {number} CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE=15246 CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE value + * @property {number} CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK=15247 CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK value + * @property {number} CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE=15248 CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE value + * @property {number} CMD_NOTIFY_SHOOTING_TASK_STATE=15249 CMD_NOTIFY_SHOOTING_TASK_STATE value + * @property {number} CMD_NOTIFY_SKY_SEACHER_STATE=15250 CMD_NOTIFY_SKY_SEACHER_STATE value + * @property {number} CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT=15251 CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT value + * @property {number} CMD_NOTIFY_WIDE_TRACK_RESULT=15252 CMD_NOTIFY_WIDE_TRACK_RESULT value + * @property {number} CMD_NOTIFY_FOCUS=15257 CMD_NOTIFY_FOCUS value + * @property {number} CMD_PANORAMA_START_GRID=15500 CMD_PANORAMA_START_GRID value + * @property {number} CMD_PANORAMA_STOP=15501 CMD_PANORAMA_STOP value + * @property {number} CMD_PANORAMA_START_EULER_RANGE=15502 CMD_PANORAMA_START_EULER_RANGE value + */ +$root.DwarfCMD = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "NO_CMD")] = 0; + values[(valuesById[10000] = "CMD_CAMERA_TELE_OPEN_CAMERA")] = 10000; + values[(valuesById[10001] = "CMD_CAMERA_TELE_CLOSE_CAMERA")] = 10001; + values[(valuesById[10002] = "CMD_CAMERA_TELE_PHOTOGRAPH")] = 10002; + values[(valuesById[10003] = "CMD_CAMERA_TELE_BURST")] = 10003; + values[(valuesById[10004] = "CMD_CAMERA_TELE_STOP_BURST")] = 10004; + values[(valuesById[10005] = "CMD_CAMERA_TELE_START_RECORD")] = 10005; + values[(valuesById[10006] = "CMD_CAMERA_TELE_STOP_RECORD")] = 10006; + values[(valuesById[10007] = "CMD_CAMERA_TELE_SET_EXP_MODE")] = 10007; + values[(valuesById[10008] = "CMD_CAMERA_TELE_GET_EXP_MODE")] = 10008; + values[(valuesById[10009] = "CMD_CAMERA_TELE_SET_EXP")] = 10009; + values[(valuesById[10010] = "CMD_CAMERA_TELE_GET_EXP")] = 10010; + values[(valuesById[10011] = "CMD_CAMERA_TELE_SET_GAIN_MODE")] = 10011; + values[(valuesById[10012] = "CMD_CAMERA_TELE_GET_GAIN_MODE")] = 10012; + values[(valuesById[10013] = "CMD_CAMERA_TELE_SET_GAIN")] = 10013; + values[(valuesById[10014] = "CMD_CAMERA_TELE_GET_GAIN")] = 10014; + values[(valuesById[10015] = "CMD_CAMERA_TELE_SET_BRIGHTNESS")] = 10015; + values[(valuesById[10016] = "CMD_CAMERA_TELE_GET_BRIGHTNESS")] = 10016; + values[(valuesById[10017] = "CMD_CAMERA_TELE_SET_CONTRAST")] = 10017; + values[(valuesById[10018] = "CMD_CAMERA_TELE_GET_CONTRAST")] = 10018; + values[(valuesById[10019] = "CMD_CAMERA_TELE_SET_SATURATION")] = 10019; + values[(valuesById[10020] = "CMD_CAMERA_TELE_GET_SATURATION")] = 10020; + values[(valuesById[10021] = "CMD_CAMERA_TELE_SET_HUE")] = 10021; + values[(valuesById[10022] = "CMD_CAMERA_TELE_GET_HUE")] = 10022; + values[(valuesById[10023] = "CMD_CAMERA_TELE_SET_SHARPNESS")] = 10023; + values[(valuesById[10024] = "CMD_CAMERA_TELE_GET_SHARPNESS")] = 10024; + values[(valuesById[10025] = "CMD_CAMERA_TELE_SET_WB_MODE")] = 10025; + values[(valuesById[10026] = "CMD_CAMERA_TELE_GET_WB_MODE")] = 10026; + values[(valuesById[10027] = "CMD_CAMERA_TELE_SET_WB_SCENE")] = 10027; + values[(valuesById[10028] = "CMD_CAMERA_TELE_GET_WB_SCENE")] = 10028; + values[(valuesById[10029] = "CMD_CAMERA_TELE_SET_WB_CT")] = 10029; + values[(valuesById[10030] = "CMD_CAMERA_TELE_GET_WB_CT")] = 10030; + values[(valuesById[10031] = "CMD_CAMERA_TELE_SET_IRCUT")] = 10031; + values[(valuesById[10032] = "CMD_CAMERA_TELE_GET_IRCUT")] = 10032; + values[(valuesById[10033] = "CMD_CAMERA_TELE_START_TIMELAPSE_PHOTO")] = 10033; + values[(valuesById[10034] = "CMD_CAMERA_TELE_STOP_TIMELAPSE_PHOTO")] = 10034; + values[(valuesById[10035] = "CMD_CAMERA_TELE_SET_ALL_PARAMS")] = 10035; + values[(valuesById[10036] = "CMD_CAMERA_TELE_GET_ALL_PARAMS")] = 10036; + values[(valuesById[10037] = "CMD_CAMERA_TELE_SET_FEATURE_PARAM")] = 10037; + values[ + (valuesById[10038] = "CMD_CAMERA_TELE_GET_ALL_FEATURE_PARAMS") + ] = 10038; + values[ + (valuesById[10039] = "CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE") + ] = 10039; + values[(valuesById[10040] = "CMD_CAMERA_TELE_SET_JPG_QUALITY")] = 10040; + values[(valuesById[10041] = "CMD_CAMERA_TELE_PHOTO_RAW")] = 10041; + values[(valuesById[10042] = "CMD_CAMERA_TELE_SET_RTSP_BITRATE_TYPE")] = 10042; + values[(valuesById[11000] = "CMD_ASTRO_START_CALIBRATION")] = 11000; + values[(valuesById[11001] = "CMD_ASTRO_STOP_CALIBRATION")] = 11001; + values[(valuesById[11002] = "CMD_ASTRO_START_GOTO_DSO")] = 11002; + values[(valuesById[11003] = "CMD_ASTRO_START_GOTO_SOLAR_SYSTEM")] = 11003; + values[(valuesById[11004] = "CMD_ASTRO_STOP_GOTO")] = 11004; + values[ + (valuesById[11005] = "CMD_ASTRO_START_CAPTURE_RAW_LIVE_STACKING") + ] = 11005; + values[ + (valuesById[11006] = "CMD_ASTRO_STOP_CAPTURE_RAW_LIVE_STACKING") + ] = 11006; + values[(valuesById[11007] = "CMD_ASTRO_START_CAPTURE_RAW_DARK")] = 11007; + values[(valuesById[11008] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK")] = 11008; + values[(valuesById[11009] = "CMD_ASTRO_CHECK_GOT_DARK")] = 11009; + values[(valuesById[11010] = "CMD_ASTRO_GO_LIVE")] = 11010; + values[(valuesById[11011] = "CMD_ASTRO_START_TRACK_SPECIAL_TARGET")] = 11011; + values[(valuesById[11012] = "CMD_ASTRO_STOP_TRACK_SPECIAL_TARGET")] = 11012; + values[(valuesById[11013] = "CMD_ASTRO_START_ONE_CLICK_GOTO_DSO")] = 11013; + values[ + (valuesById[11014] = "CMD_ASTRO_START_ONE_CLICK_GOTO_SOLAR_SYSTEM") + ] = 11014; + values[(valuesById[11015] = "CMD_ASTRO_STOP_ONE_CLICK_GOTO")] = 11015; + values[ + (valuesById[11016] = "CMD_ASTRO_START_WIDE_CAPTURE_LIVE_STACKING") + ] = 11016; + values[ + (valuesById[11017] = "CMD_ASTRO_STOP_WIDE_CAPTURE_LIVE_STACKING") + ] = 11017; + values[(valuesById[11018] = "CMD_ASTRO_START_EQ_SOLVING")] = 11018; + values[(valuesById[11019] = "CMD_ASTRO_STOP_EQ_SOLVING")] = 11019; + values[(valuesById[11020] = "CMD_ASTRO_WIDE_GO_LIVE")] = 11020; + values[ + (valuesById[11021] = "CMD_ASTRO_START_CAPTURE_RAW_DARK_WITH_PARAM") + ] = 11021; + values[ + (valuesById[11022] = "CMD_ASTRO_STOP_CAPTURE_RAW_DARK_WITH_PARAM") + ] = 11022; + values[(valuesById[11023] = "CMD_ASTRO_GET_DARK_FRAME_LIST")] = 11023; + values[(valuesById[11024] = "CMD_ASTRO_DEL_DARK_FRAME_LIST")] = 11024; + values[ + (valuesById[11025] = "CMD_ASTRO_START_CAPTURE_WIDE_RAW_DARK_WITH_PARAM") + ] = 11025; + values[ + (valuesById[11026] = "CMD_ASTRO_STOP_CAPTURE_WIDE_RAW_DARK_WITH_PARAM") + ] = 11026; + values[(valuesById[11027] = "CMD_ASTRO_GET_WIDE_DARK_FRAME_LIST")] = 11027; + values[(valuesById[11028] = "CMD_ASTRO_DEL_WIDE_DARK_FRAME_LIST")] = 11028; + values[(valuesById[12000] = "CMD_CAMERA_WIDE_OPEN_CAMERA")] = 12000; + values[(valuesById[12001] = "CMD_CAMERA_WIDE_CLOSE_CAMERA")] = 12001; + values[(valuesById[12002] = "CMD_CAMERA_WIDE_SET_EXP_MODE")] = 12002; + values[(valuesById[12003] = "CMD_CAMERA_WIDE_GET_EXP_MODE")] = 12003; + values[(valuesById[12004] = "CMD_CAMERA_WIDE_SET_EXP")] = 12004; + values[(valuesById[12005] = "CMD_CAMERA_WIDE_GET_EXP")] = 12005; + values[(valuesById[12006] = "CMD_CAMERA_WIDE_SET_GAIN")] = 12006; + values[(valuesById[12007] = "CMD_CAMERA_WIDE_GET_GAIN")] = 12007; + values[(valuesById[12008] = "CMD_CAMERA_WIDE_SET_BRIGHTNESS")] = 12008; + values[(valuesById[12009] = "CMD_CAMERA_WIDE_GET_BRIGHTNESS")] = 12009; + values[(valuesById[12010] = "CMD_CAMERA_WIDE_SET_CONTRAST")] = 12010; + values[(valuesById[12011] = "CMD_CAMERA_WIDE_GET_CONTRAST")] = 12011; + values[(valuesById[12012] = "CMD_CAMERA_WIDE_SET_SATURATION")] = 12012; + values[(valuesById[12013] = "CMD_CAMERA_WIDE_GET_SATURATION")] = 12013; + values[(valuesById[12014] = "CMD_CAMERA_WIDE_SET_HUE")] = 12014; + values[(valuesById[12015] = "CMD_CAMERA_WIDE_GET_HUE")] = 12015; + values[(valuesById[12016] = "CMD_CAMERA_WIDE_SET_SHARPNESS")] = 12016; + values[(valuesById[12017] = "CMD_CAMERA_WIDE_GET_SHARPNESS")] = 12017; + values[(valuesById[12018] = "CMD_CAMERA_WIDE_SET_WB_MODE")] = 12018; + values[(valuesById[12019] = "CMD_CAMERA_WIDE_GET_WB_MODE")] = 12019; + values[(valuesById[12020] = "CMD_CAMERA_WIDE_SET_WB_CT")] = 12020; + values[(valuesById[12021] = "CMD_CAMERA_WIDE_GET_WB_CT")] = 12021; + values[(valuesById[12022] = "CMD_CAMERA_WIDE_PHOTOGRAPH")] = 12022; + values[(valuesById[12023] = "CMD_CAMERA_WIDE_BURST")] = 12023; + values[(valuesById[12024] = "CMD_CAMERA_WIDE_STOP_BURST")] = 12024; + values[(valuesById[12025] = "CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO")] = 12025; + values[(valuesById[12026] = "CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO")] = 12026; + values[(valuesById[12027] = "CMD_CAMERA_WIDE_GET_ALL_PARAMS")] = 12027; + values[(valuesById[12028] = "CMD_CAMERA_WIDE_SET_ALL_PARAMS")] = 12028; + values[(valuesById[12030] = "CMD_CAMERA_WIDE_START_RECORD")] = 12030; + values[(valuesById[12031] = "CMD_CAMERA_WIDE_STOP_RECORD")] = 12031; + values[(valuesById[13000] = "CMD_SYSTEM_SET_TIME")] = 13000; + values[(valuesById[13001] = "CMD_SYSTEM_SET_TIME_ZONE")] = 13001; + values[(valuesById[13002] = "CMD_SYSTEM_SET_MTP_MODE")] = 13002; + values[(valuesById[13003] = "CMD_SYSTEM_SET_CPU_MODE")] = 13003; + values[(valuesById[13004] = "CMD_SYSTEM_SET_MASTERLOCK")] = 13004; + values[(valuesById[13500] = "CMD_RGB_POWER_OPEN_RGB")] = 13500; + values[(valuesById[13501] = "CMD_RGB_POWER_CLOSE_RGB")] = 13501; + values[(valuesById[13502] = "CMD_RGB_POWER_POWER_DOWN")] = 13502; + values[(valuesById[13503] = "CMD_RGB_POWER_POWERIND_ON")] = 13503; + values[(valuesById[13504] = "CMD_RGB_POWER_POWERIND_OFF")] = 13504; + values[(valuesById[13505] = "CMD_RGB_POWER_REBOOT")] = 13505; + values[(valuesById[14000] = "CMD_STEP_MOTOR_RUN")] = 14000; + values[(valuesById[14001] = "CMD_STEP_MOTOR_RUN_TO")] = 14001; + values[(valuesById[14002] = "CMD_STEP_MOTOR_STOP")] = 14002; + values[(valuesById[14003] = "CMD_STEP_MOTOR_RESET")] = 14003; + values[(valuesById[14004] = "CMD_STEP_MOTOR_CHANGE_SPEED")] = 14004; + values[(valuesById[14005] = "CMD_STEP_MOTOR_CHANGE_DIRECTION")] = 14005; + values[(valuesById[14006] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK")] = 14006; + values[ + (valuesById[14007] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_FIXED_ANGLE") + ] = 14007; + values[(valuesById[14008] = "CMD_STEP_MOTOR_SERVICE_JOYSTICK_STOP")] = 14008; + values[ + (valuesById[14009] = "CMD_STEP_MOTOR_SERVICE_DUAL_CAMERA_LINKAGE") + ] = 14009; + values[(valuesById[14010] = "CMD_STEP_MOTOR_RUN_IN_PULSE")] = 14010; + values[(valuesById[14011] = "CMD_STEP_MOTOR_GET_POSITION")] = 14011; + values[(valuesById[14800] = "CMD_TRACK_START_TRACK")] = 14800; + values[(valuesById[14801] = "CMD_TRACK_STOP_TRACK")] = 14801; + values[(valuesById[14802] = "CMD_SENTRY_MODE_START")] = 14802; + values[(valuesById[14803] = "CMD_SENTRY_MODE_STOP")] = 14803; + values[(valuesById[14804] = "CMD_MOT_START")] = 14804; + values[(valuesById[14805] = "CMD_MOT_TRACK_ONE")] = 14805; + values[(valuesById[14806] = "CMD_UFOTRACK_MODE_START")] = 14806; + values[(valuesById[14807] = "CMD_UFOTRACK_MODE_STOP")] = 14807; + values[(valuesById[14808] = "CMD_MOT_WIDE_TRACK_ONE")] = 14808; + values[(valuesById[14809] = "CMD_WIDE_TELE_TRACK_SWITCH")] = 14809; + values[(valuesById[14810] = "CMD_UFO_HAND_AOTO_MODE")] = 14810; + values[(valuesById[15000] = "CMD_FOCUS_AUTO_FOCUS")] = 15000; + values[(valuesById[15001] = "CMD_FOCUS_MANUAL_SINGLE_STEP_FOCUS")] = 15001; + values[(valuesById[15002] = "CMD_FOCUS_START_MANUAL_CONTINU_FOCUS")] = 15002; + values[(valuesById[15003] = "CMD_FOCUS_STOP_MANUAL_CONTINU_FOCUS")] = 15003; + values[(valuesById[15004] = "CMD_FOCUS_START_ASTRO_AUTO_FOCUS")] = 15004; + values[(valuesById[15005] = "CMD_FOCUS_STOP_ASTRO_AUTO_FOCUS")] = 15005; + values[(valuesById[15200] = "CMD_NOTIFY_TELE_WIDI_PICTURE_MATCHING")] = 15200; + values[(valuesById[15201] = "CMD_NOTIFY_ELE")] = 15201; + values[(valuesById[15202] = "CMD_NOTIFY_CHARGE")] = 15202; + values[(valuesById[15203] = "CMD_NOTIFY_SDCARD_INFO")] = 15203; + values[(valuesById[15204] = "CMD_NOTIFY_TELE_RECORD_TIME")] = 15204; + values[(valuesById[15205] = "CMD_NOTIFY_TELE_TIMELAPSE_OUT_TIME")] = 15205; + values[(valuesById[15206] = "CMD_NOTIFY_STATE_CAPTURE_RAW_DARK")] = 15206; + values[(valuesById[15207] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_DARK")] = 15207; + values[ + (valuesById[15208] = "CMD_NOTIFY_STATE_CAPTURE_RAW_LIVE_STACKING") + ] = 15208; + values[ + (valuesById[15209] = "CMD_NOTIFY_PROGRASS_CAPTURE_RAW_LIVE_STACKING") + ] = 15209; + values[(valuesById[15210] = "CMD_NOTIFY_STATE_ASTRO_CALIBRATION")] = 15210; + values[(valuesById[15211] = "CMD_NOTIFY_STATE_ASTRO_GOTO")] = 15211; + values[(valuesById[15212] = "CMD_NOTIFY_STATE_ASTRO_TRACKING")] = 15212; + values[(valuesById[15213] = "CMD_NOTIFY_TELE_SET_PARAM")] = 15213; + values[(valuesById[15214] = "CMD_NOTIFY_WIDE_SET_PARAM")] = 15214; + values[(valuesById[15215] = "CMD_NOTIFY_TELE_FUNCTION_STATE")] = 15215; + values[(valuesById[15216] = "CMD_NOTIFY_WIDE_FUNCTION_STATE")] = 15216; + values[(valuesById[15217] = "CMD_NOTIFY_SET_FEATURE_PARAM")] = 15217; + values[(valuesById[15218] = "CMD_NOTIFY_TELE_BURST_PROGRESS")] = 15218; + values[(valuesById[15219] = "CMD_NOTIFY_PANORAMA_PROGRESS")] = 15219; + values[(valuesById[15220] = "CMD_NOTIFY_WIDE_BURST_PROGRESS")] = 15220; + values[(valuesById[15221] = "CMD_NOTIFY_RGB_STATE")] = 15221; + values[(valuesById[15222] = "CMD_NOTIFY_POWER_IND_STATE")] = 15222; + values[(valuesById[15223] = "CMD_NOTIFY_WS_HOST_SLAVE_MODE")] = 15223; + values[(valuesById[15224] = "CMD_NOTIFY_MTP_STATE")] = 15224; + values[(valuesById[15225] = "CMD_NOTIFY_TRACK_RESULT")] = 15225; + values[(valuesById[15226] = "CMD_NOTIFY_WIDE_TIMELAPSE_OUT_TIME")] = 15226; + values[(valuesById[15227] = "CMD_NOTIFY_CPU_MODE")] = 15227; + values[ + (valuesById[15228] = "CMD_NOTIFY_STATE_ASTRO_TRACKING_SPECIAL") + ] = 15228; + values[(valuesById[15229] = "CMD_NOTIFY_POWER_OFF")] = 15229; + values[(valuesById[15230] = "CMD_NOTIFY_ALBUM_UPDATE")] = 15230; + values[(valuesById[15231] = "CMD_NOTIFY_SENTRY_MODE_STATE")] = 15231; + values[(valuesById[15232] = "CMD_NOTIFY_SENTRY_MODE_TRACK_RESULT")] = 15232; + values[(valuesById[15233] = "CMD_NOTIFY_STATE_ASTRO_ONE_CLICK_GOTO")] = 15233; + values[(valuesById[15234] = "CMD_NOTIFY_STREAM_TYPE")] = 15234; + values[(valuesById[15235] = "CMD_NOTIFY_WIDE_RECORD_TIME")] = 15235; + values[ + (valuesById[15236] = "CMD_NOTIFY_STATE_WIDE_CAPTURE_RAW_LIVE_STACKING") + ] = 15236; + values[ + (valuesById[15237] = "CMD_NOTIFY_PROGRASS_WIDE_CAPTURE_RAW_LIVE_STACKING") + ] = 15237; + values[(valuesById[15238] = "CMD_NOTIFY_MULTI_TRACK_RESULT")] = 15238; + values[(valuesById[15239] = "CMD_NOTIFY_EQ_SOLVING_STATE")] = 15239; + values[(valuesById[15240] = "CMD_NOTIFY_UFO_MODE_STATE")] = 15240; + values[(valuesById[15241] = "CMD_NOTIFY_TELE_LONG_EXP_PROGRESS")] = 15241; + values[(valuesById[15242] = "CMD_NOTIFY_WIDE_LONG_EXP_PROGRESS")] = 15242; + values[(valuesById[15243] = "CMD_NOTIFY_TEMPERATURE")] = 15243; + values[ + (valuesById[15244] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPRESS_PROGRESS") + ] = 15244; + values[ + (valuesById[15245] = "CMD_NOTIFY_PANORAMA_UPLOAD_UPLOAD_PROGRESS") + ] = 15245; + values[(valuesById[15246] = "CMD_NOTIFY_PANORAMA_UPLOAD_COMPLETE")] = 15246; + values[ + (valuesById[15247] = "CMD_NOTIFY_STATE_CAPTURE_WIDE_RAW_DARK") + ] = 15247; + values[ + (valuesById[15248] = "CMD_NOTIFY_SHOOTING_SCHEDULE_RESULT_AND_STATE") + ] = 15248; + values[(valuesById[15249] = "CMD_NOTIFY_SHOOTING_TASK_STATE")] = 15249; + values[(valuesById[15250] = "CMD_NOTIFY_SKY_SEACHER_STATE")] = 15250; + values[(valuesById[15251] = "CMD_NOTIFY_WIDE_MULTI_TRACK_RESULT")] = 15251; + values[(valuesById[15252] = "CMD_NOTIFY_WIDE_TRACK_RESULT")] = 15252; + values[(valuesById[15257] = "CMD_NOTIFY_FOCUS")] = 15257; + values[(valuesById[15500] = "CMD_PANORAMA_START_GRID")] = 15500; + values[(valuesById[15501] = "CMD_PANORAMA_STOP")] = 15501; + values[(valuesById[15502] = "CMD_PANORAMA_START_EULER_RANGE")] = 15502; + return values; +})(); + +/** + * DwarfErrorCode enum. + * @exports DwarfErrorCode + * @enum {number} + * @property {number} OK=0 OK value + * @property {number} WS_PARSE_PROTOBUF_ERROR=-1 WS_PARSE_PROTOBUF_ERROR value + * @property {number} WS_SDCARD_NOT_EXIST=-2 WS_SDCARD_NOT_EXIST value + * @property {number} WS_INVALID_PARAM=-3 WS_INVALID_PARAM value + * @property {number} WS_SDCARD_WRITE_ERROR=-4 WS_SDCARD_WRITE_ERROR value + * @property {number} CODE_CAMERA_TELE_OPENED=-10500 CODE_CAMERA_TELE_OPENED value + * @property {number} CODE_CAMERA_TELE_CLOSED=-10501 CODE_CAMERA_TELE_CLOSED value + * @property {number} CODE_CAMERA_TELE_ISP_SET_FAILED=-10502 CODE_CAMERA_TELE_ISP_SET_FAILED value + * @property {number} CODE_CAMERA_TELE_OPEN_FAILED=-10504 CODE_CAMERA_TELE_OPEN_FAILED value + * @property {number} CODE_CAMERA_TELE_RECORDING=-10506 CODE_CAMERA_TELE_RECORDING value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY_STACK=-10507 CODE_CAMERA_TELE_WORKING_BUSY_STACK value + * @property {number} CODE_CAMERA_TELE_CAPTURE_RAW_FAILED=-10510 CODE_CAMERA_TELE_CAPTURE_RAW_FAILED value + * @property {number} CODE_CAMERA_TELE_WORKING_BUSY=-10511 CODE_CAMERA_TELE_WORKING_BUSY value + * @property {number} CODE_ASTRO_PLATE_SOLVING_FAILED=-11500 CODE_ASTRO_PLATE_SOLVING_FAILED value + * @property {number} CODE_ASTRO_FUNCTION_BUSY=-11501 CODE_ASTRO_FUNCTION_BUSY value + * @property {number} CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE=-11502 CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE value + * @property {number} CODE_ASTRO_DARK_NOT_FOUND=-11503 CODE_ASTRO_DARK_NOT_FOUND value + * @property {number} CODE_ASTRO_CALIBRATION_FAILED=-11504 CODE_ASTRO_CALIBRATION_FAILED value + * @property {number} CODE_ASTRO_GOTO_FAILED=-11505 CODE_ASTRO_GOTO_FAILED value + * @property {number} CODE_ASTRO_NEED_GOTO=-11513 CODE_ASTRO_NEED_GOTO value + * @property {number} CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM=-11514 CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM value + * @property {number} CODE_ASTRO_EQ_SOLVING_FAILED=-11516 CODE_ASTRO_EQ_SOLVING_FAILED value + * @property {number} CODE_ASTRO_SKY_SEARCH_FAILED=-11517 CODE_ASTRO_SKY_SEARCH_FAILED value + * @property {number} CODE_CAMERA_WIDE_OPENED=-12500 CODE_CAMERA_WIDE_OPENED value + * @property {number} CODE_CAMERA_WIDE_CLOSED=-12501 CODE_CAMERA_WIDE_CLOSED value + * @property {number} CODE_CAMERA_WIDE_CANNOT_FOUND=-12502 CODE_CAMERA_WIDE_CANNOT_FOUND value + * @property {number} CODE_CAMERA_WIDE_OPEN_FAILED=-12503 CODE_CAMERA_WIDE_OPEN_FAILED value + * @property {number} CODE_CAMERA_WIDE_CLOSE_FAILED=-12504 CODE_CAMERA_WIDE_CLOSE_FAILED value + * @property {number} CODE_CAMERA_WIDE_SET_ISP_FAILED=-12505 CODE_CAMERA_WIDE_SET_ISP_FAILED value + * @property {number} CODE_CAMERA_WIDE_PHOTOGRAPHING=-12506 CODE_CAMERA_WIDE_PHOTOGRAPHING value + * @property {number} CODE_CAMERA_WIDE_EXP_TOO_LONG=-12508 CODE_CAMERA_WIDE_EXP_TOO_LONG value + * @property {number} CODE_SYSTEM_SET_TIME_FAILED=-13300 CODE_SYSTEM_SET_TIME_FAILED value + * @property {number} CODE_SYSTEM_SET_TIMEZONE_FAILED=-13301 CODE_SYSTEM_SET_TIMEZONE_FAILED value + * @property {number} CODE_SYSTEM_SETTING_TIMEZONE_FAILED=-13302 CODE_SYSTEM_SETTING_TIMEZONE_FAILED value + * @property {number} CODE_RGB_POWER_UART_INIT_FAILED=-13800 CODE_RGB_POWER_UART_INIT_FAILED value + * @property {number} CODE_STEP_MOTOR_INVALID_PARAMETER_ID=-14504 CODE_STEP_MOTOR_INVALID_PARAMETER_ID value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_WARNING=-14518 CODE_STEP_MOTOR_LIMIT_POSITION_WARNING value + * @property {number} CODE_STEP_MOTOR_LIMIT_POSITION_HITTED=-14519 CODE_STEP_MOTOR_LIMIT_POSITION_HITTED value + * @property {number} CODE_STEP_MOTOR_POSITION_NEED_RESET=-14520 CODE_STEP_MOTOR_POSITION_NEED_RESET value + * @property {number} CODE_TRACK_TRACKER_INITING=-14900 CODE_TRACK_TRACKER_INITING value + * @property {number} CODE_TRACK_TRACKER_FAILED=-14901 CODE_TRACK_TRACKER_FAILED value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR=-15100 CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR value + * @property {number} CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR=-15101 CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR value + * @property {number} CODE_PANORAMA_PHOTO_FAILED=-15600 CODE_PANORAMA_PHOTO_FAILED value + * @property {number} CODE_PANORAMA_MOTOR_RESET_FAILED=-15601 CODE_PANORAMA_MOTOR_RESET_FAILED value + */ +$root.DwarfErrorCode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "OK")] = 0; + values[(valuesById[-1] = "WS_PARSE_PROTOBUF_ERROR")] = -1; + values[(valuesById[-2] = "WS_SDCARD_NOT_EXIST")] = -2; + values[(valuesById[-3] = "WS_INVALID_PARAM")] = -3; + values[(valuesById[-4] = "WS_SDCARD_WRITE_ERROR")] = -4; + values[(valuesById[-10500] = "CODE_CAMERA_TELE_OPENED")] = -10500; + values[(valuesById[-10501] = "CODE_CAMERA_TELE_CLOSED")] = -10501; + values[(valuesById[-10502] = "CODE_CAMERA_TELE_ISP_SET_FAILED")] = -10502; + values[(valuesById[-10504] = "CODE_CAMERA_TELE_OPEN_FAILED")] = -10504; + values[(valuesById[-10506] = "CODE_CAMERA_TELE_RECORDING")] = -10506; + values[(valuesById[-10507] = "CODE_CAMERA_TELE_WORKING_BUSY_STACK")] = -10507; + values[(valuesById[-10510] = "CODE_CAMERA_TELE_CAPTURE_RAW_FAILED")] = -10510; + values[(valuesById[-10511] = "CODE_CAMERA_TELE_WORKING_BUSY")] = -10511; + values[(valuesById[-11500] = "CODE_ASTRO_PLATE_SOLVING_FAILED")] = -11500; + values[(valuesById[-11501] = "CODE_ASTRO_FUNCTION_BUSY")] = -11501; + values[(valuesById[-11502] = "CODE_ASTRO_DARK_GAIN_OUT_OF_RANGE")] = -11502; + values[(valuesById[-11503] = "CODE_ASTRO_DARK_NOT_FOUND")] = -11503; + values[(valuesById[-11504] = "CODE_ASTRO_CALIBRATION_FAILED")] = -11504; + values[(valuesById[-11505] = "CODE_ASTRO_GOTO_FAILED")] = -11505; + values[(valuesById[-11513] = "CODE_ASTRO_NEED_GOTO")] = -11513; + values[(valuesById[-11514] = "CODE_ASTRO_NEED_ADJUST_SHOOT_PARAM")] = -11514; + values[(valuesById[-11516] = "CODE_ASTRO_EQ_SOLVING_FAILED")] = -11516; + values[(valuesById[-11517] = "CODE_ASTRO_SKY_SEARCH_FAILED")] = -11517; + values[(valuesById[-12500] = "CODE_CAMERA_WIDE_OPENED")] = -12500; + values[(valuesById[-12501] = "CODE_CAMERA_WIDE_CLOSED")] = -12501; + values[(valuesById[-12502] = "CODE_CAMERA_WIDE_CANNOT_FOUND")] = -12502; + values[(valuesById[-12503] = "CODE_CAMERA_WIDE_OPEN_FAILED")] = -12503; + values[(valuesById[-12504] = "CODE_CAMERA_WIDE_CLOSE_FAILED")] = -12504; + values[(valuesById[-12505] = "CODE_CAMERA_WIDE_SET_ISP_FAILED")] = -12505; + values[(valuesById[-12506] = "CODE_CAMERA_WIDE_PHOTOGRAPHING")] = -12506; + values[(valuesById[-12508] = "CODE_CAMERA_WIDE_EXP_TOO_LONG")] = -12508; + values[(valuesById[-13300] = "CODE_SYSTEM_SET_TIME_FAILED")] = -13300; + values[(valuesById[-13301] = "CODE_SYSTEM_SET_TIMEZONE_FAILED")] = -13301; + values[(valuesById[-13302] = "CODE_SYSTEM_SETTING_TIMEZONE_FAILED")] = -13302; + values[(valuesById[-13800] = "CODE_RGB_POWER_UART_INIT_FAILED")] = -13800; + values[(valuesById[-14504] = "CODE_STEP_MOTOR_INVALID_PARAMETER_ID")] = + -14504; + values[(valuesById[-14518] = "CODE_STEP_MOTOR_LIMIT_POSITION_WARNING")] = + -14518; + values[(valuesById[-14519] = "CODE_STEP_MOTOR_LIMIT_POSITION_HITTED")] = + -14519; + values[(valuesById[-14520] = "CODE_STEP_MOTOR_POSITION_NEED_RESET")] = -14520; + values[(valuesById[-14900] = "CODE_TRACK_TRACKER_INITING")] = -14900; + values[(valuesById[-14901] = "CODE_TRACK_TRACKER_FAILED")] = -14901; + values[(valuesById[-15100] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_SLOW_ERROR")] = + -15100; + values[(valuesById[-15101] = "CODE_FOCUS_ASTRO_AUTO_FOCUS_FAST_ERROR")] = + -15101; + values[(valuesById[-15600] = "CODE_PANORAMA_PHOTO_FAILED")] = -15600; + values[(valuesById[-15601] = "CODE_PANORAMA_MOTOR_RESET_FAILED")] = -15601; + return values; +})(); + +/** + * AstroTrackingSpecial enum. + * @exports AstroTrackingSpecial + * @enum {number} + * @property {number} TRACKING_SUN=0 TRACKING_SUN value + * @property {number} TRACKING_MOON=1 TRACKING_MOON value + */ +$root.AstroTrackingSpecial = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "TRACKING_SUN")] = 0; + values[(valuesById[1] = "TRACKING_MOON")] = 1; + return values; +})(); + +/** + * SolarSystemTarget enum. + * @exports SolarSystemTarget + * @enum {number} + * @property {number} Unknown=0 Unknown value + * @property {number} Mercury=1 Mercury value + * @property {number} Venus=2 Venus value + * @property {number} Mars=3 Mars value + * @property {number} Jupiter=4 Jupiter value + * @property {number} Saturn=5 Saturn value + * @property {number} Uranus=6 Uranus value + * @property {number} Neptune=7 Neptune value + * @property {number} Moon=8 Moon value + * @property {number} Sun=9 Sun value + */ +$root.SolarSystemTarget = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "Unknown")] = 0; + values[(valuesById[1] = "Mercury")] = 1; + values[(valuesById[2] = "Venus")] = 2; + values[(valuesById[3] = "Mars")] = 3; + values[(valuesById[4] = "Jupiter")] = 4; + values[(valuesById[5] = "Saturn")] = 5; + values[(valuesById[6] = "Uranus")] = 6; + values[(valuesById[7] = "Neptune")] = 7; + values[(valuesById[8] = "Moon")] = 8; + values[(valuesById[9] = "Sun")] = 9; + return values; +})(); + +/** + * PhotoMode enum. + * @exports PhotoMode + * @enum {number} + * @property {number} Auto=0 Auto value + * @property {number} Manual=1 Manual value + */ +$root.PhotoMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "Auto")] = 0; + values[(valuesById[1] = "Manual")] = 1; + return values; +})(); + +/** + * WBMode enum. + * @exports WBMode + * @enum {number} + * @property {number} ColorTemperature=0 ColorTemperature value + * @property {number} SceneMode=1 SceneMode value + */ +$root.WBMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "ColorTemperature")] = 0; + values[(valuesById[1] = "SceneMode")] = 1; + return values; +})(); + +/** + * IrCut enum. + * @exports IrCut + * @enum {number} + * @property {number} CUT=0 CUT value + * @property {number} PASS=1 PASS value + */ +$root.IrCut = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "CUT")] = 0; + values[(valuesById[1] = "PASS")] = 1; + return values; +})(); + +$root.ReqOpenRgb = (function () { + /** + * Properties of a ReqOpenRgb. + * @exports IReqOpenRgb + * @interface IReqOpenRgb + */ + + /** + * Constructs a new ReqOpenRgb. + * @exports ReqOpenRgb + * @classdesc Represents a ReqOpenRgb. + * @implements IReqOpenRgb + * @constructor + * @param {IReqOpenRgb=} [properties] Properties to set + */ + function ReqOpenRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqOpenRgb instance using the specified properties. + * @function create + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb=} [properties] Properties to set + * @returns {ReqOpenRgb} ReqOpenRgb instance + */ + ReqOpenRgb.create = function create(properties) { + return new ReqOpenRgb(properties); + }; + + /** + * Encodes the specified ReqOpenRgb message. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encode + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqOpenRgb message, length delimited. Does not implicitly {@link ReqOpenRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {IReqOpenRgb} message ReqOpenRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenRgb} ReqOpenRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenRgb message. + * @function verify + * @memberof ReqOpenRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqOpenRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenRgb} ReqOpenRgb + */ + ReqOpenRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenRgb) return object; + return new $root.ReqOpenRgb(); + }; + + /** + * Creates a plain object from a ReqOpenRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenRgb + * @static + * @param {ReqOpenRgb} message ReqOpenRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenRgb.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqOpenRgb to JSON. + * @function toJSON + * @memberof ReqOpenRgb + * @instance + * @returns {Object.} JSON object + */ + ReqOpenRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenRgb + * @function getTypeUrl + * @memberof ReqOpenRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenRgb"; + }; + + return ReqOpenRgb; +})(); + +$root.ReqCloseRgb = (function () { + /** + * Properties of a ReqCloseRgb. + * @exports IReqCloseRgb + * @interface IReqCloseRgb + */ + + /** + * Constructs a new ReqCloseRgb. + * @exports ReqCloseRgb + * @classdesc Represents a ReqCloseRgb. + * @implements IReqCloseRgb + * @constructor + * @param {IReqCloseRgb=} [properties] Properties to set + */ + function ReqCloseRgb(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqCloseRgb instance using the specified properties. + * @function create + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb=} [properties] Properties to set + * @returns {ReqCloseRgb} ReqCloseRgb instance + */ + ReqCloseRgb.create = function create(properties) { + return new ReqCloseRgb(properties); + }; + + /** + * Encodes the specified ReqCloseRgb message. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encode + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqCloseRgb message, length delimited. Does not implicitly {@link ReqCloseRgb.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {IReqCloseRgb} message ReqCloseRgb message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCloseRgb.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer. + * @function decode + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCloseRgb(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCloseRgb message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCloseRgb + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCloseRgb} ReqCloseRgb + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCloseRgb.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCloseRgb message. + * @function verify + * @memberof ReqCloseRgb + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCloseRgb.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqCloseRgb message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCloseRgb + * @static + * @param {Object.} object Plain object + * @returns {ReqCloseRgb} ReqCloseRgb + */ + ReqCloseRgb.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCloseRgb) return object; + return new $root.ReqCloseRgb(); + }; + + /** + * Creates a plain object from a ReqCloseRgb message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCloseRgb + * @static + * @param {ReqCloseRgb} message ReqCloseRgb + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCloseRgb.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqCloseRgb to JSON. + * @function toJSON + * @memberof ReqCloseRgb + * @instance + * @returns {Object.} JSON object + */ + ReqCloseRgb.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCloseRgb + * @function getTypeUrl + * @memberof ReqCloseRgb + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCloseRgb.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCloseRgb"; + }; + + return ReqCloseRgb; +})(); + +$root.ReqPowerDown = (function () { + /** + * Properties of a ReqPowerDown. + * @exports IReqPowerDown + * @interface IReqPowerDown + */ + + /** + * Constructs a new ReqPowerDown. + * @exports ReqPowerDown + * @classdesc Represents a ReqPowerDown. + * @implements IReqPowerDown + * @constructor + * @param {IReqPowerDown=} [properties] Properties to set + */ + function ReqPowerDown(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPowerDown instance using the specified properties. + * @function create + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown=} [properties] Properties to set + * @returns {ReqPowerDown} ReqPowerDown instance + */ + ReqPowerDown.create = function create(properties) { + return new ReqPowerDown(properties); + }; + + /** + * Encodes the specified ReqPowerDown message. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encode + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPowerDown message, length delimited. Does not implicitly {@link ReqPowerDown.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPowerDown + * @static + * @param {IReqPowerDown} message ReqPowerDown message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPowerDown.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer. + * @function decode + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPowerDown(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPowerDown message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPowerDown + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPowerDown} ReqPowerDown + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPowerDown.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPowerDown message. + * @function verify + * @memberof ReqPowerDown + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPowerDown.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPowerDown message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPowerDown + * @static + * @param {Object.} object Plain object + * @returns {ReqPowerDown} ReqPowerDown + */ + ReqPowerDown.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPowerDown) return object; + return new $root.ReqPowerDown(); + }; + + /** + * Creates a plain object from a ReqPowerDown message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPowerDown + * @static + * @param {ReqPowerDown} message ReqPowerDown + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPowerDown.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPowerDown to JSON. + * @function toJSON + * @memberof ReqPowerDown + * @instance + * @returns {Object.} JSON object + */ + ReqPowerDown.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPowerDown + * @function getTypeUrl + * @memberof ReqPowerDown + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPowerDown.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPowerDown"; + }; + + return ReqPowerDown; +})(); + +$root.ReqOpenPowerInd = (function () { + /** + * Properties of a ReqOpenPowerInd. + * @exports IReqOpenPowerInd + * @interface IReqOpenPowerInd + */ + + /** + * Constructs a new ReqOpenPowerInd. + * @exports ReqOpenPowerInd + * @classdesc Represents a ReqOpenPowerInd. + * @implements IReqOpenPowerInd + * @constructor + * @param {IReqOpenPowerInd=} [properties] Properties to set + */ + function ReqOpenPowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqOpenPowerInd instance using the specified properties. + * @function create + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd=} [properties] Properties to set + * @returns {ReqOpenPowerInd} ReqOpenPowerInd instance + */ + ReqOpenPowerInd.create = function create(properties) { + return new ReqOpenPowerInd(properties); + }; + + /** + * Encodes the specified ReqOpenPowerInd message. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encode + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqOpenPowerInd message, length delimited. Does not implicitly {@link ReqOpenPowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {IReqOpenPowerInd} message ReqOpenPowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqOpenPowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqOpenPowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqOpenPowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqOpenPowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqOpenPowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqOpenPowerInd message. + * @function verify + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqOpenPowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqOpenPowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqOpenPowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqOpenPowerInd} ReqOpenPowerInd + */ + ReqOpenPowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqOpenPowerInd) return object; + return new $root.ReqOpenPowerInd(); + }; + + /** + * Creates a plain object from a ReqOpenPowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqOpenPowerInd + * @static + * @param {ReqOpenPowerInd} message ReqOpenPowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqOpenPowerInd.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqOpenPowerInd to JSON. + * @function toJSON + * @memberof ReqOpenPowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqOpenPowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqOpenPowerInd + * @function getTypeUrl + * @memberof ReqOpenPowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqOpenPowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqOpenPowerInd"; + }; + + return ReqOpenPowerInd; +})(); + +$root.ReqClosePowerInd = (function () { + /** + * Properties of a ReqClosePowerInd. + * @exports IReqClosePowerInd + * @interface IReqClosePowerInd + */ + + /** + * Constructs a new ReqClosePowerInd. + * @exports ReqClosePowerInd + * @classdesc Represents a ReqClosePowerInd. + * @implements IReqClosePowerInd + * @constructor + * @param {IReqClosePowerInd=} [properties] Properties to set + */ + function ReqClosePowerInd(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqClosePowerInd instance using the specified properties. + * @function create + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd=} [properties] Properties to set + * @returns {ReqClosePowerInd} ReqClosePowerInd instance + */ + ReqClosePowerInd.create = function create(properties) { + return new ReqClosePowerInd(properties); + }; + + /** + * Encodes the specified ReqClosePowerInd message. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encode + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqClosePowerInd message, length delimited. Does not implicitly {@link ReqClosePowerInd.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {IReqClosePowerInd} message ReqClosePowerInd message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqClosePowerInd.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer. + * @function decode + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqClosePowerInd(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqClosePowerInd message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqClosePowerInd + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqClosePowerInd} ReqClosePowerInd + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqClosePowerInd.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqClosePowerInd message. + * @function verify + * @memberof ReqClosePowerInd + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqClosePowerInd.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqClosePowerInd message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqClosePowerInd + * @static + * @param {Object.} object Plain object + * @returns {ReqClosePowerInd} ReqClosePowerInd + */ + ReqClosePowerInd.fromObject = function fromObject(object) { + if (object instanceof $root.ReqClosePowerInd) return object; + return new $root.ReqClosePowerInd(); + }; + + /** + * Creates a plain object from a ReqClosePowerInd message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqClosePowerInd + * @static + * @param {ReqClosePowerInd} message ReqClosePowerInd + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqClosePowerInd.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqClosePowerInd to JSON. + * @function toJSON + * @memberof ReqClosePowerInd + * @instance + * @returns {Object.} JSON object + */ + ReqClosePowerInd.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqClosePowerInd + * @function getTypeUrl + * @memberof ReqClosePowerInd + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqClosePowerInd.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqClosePowerInd"; + }; + + return ReqClosePowerInd; +})(); + +$root.ReqReboot = (function () { + /** + * Properties of a ReqReboot. + * @exports IReqReboot + * @interface IReqReboot + */ + + /** + * Constructs a new ReqReboot. + * @exports ReqReboot + * @classdesc Represents a ReqReboot. + * @implements IReqReboot + * @constructor + * @param {IReqReboot=} [properties] Properties to set + */ + function ReqReboot(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqReboot instance using the specified properties. + * @function create + * @memberof ReqReboot + * @static + * @param {IReqReboot=} [properties] Properties to set + * @returns {ReqReboot} ReqReboot instance + */ + ReqReboot.create = function create(properties) { + return new ReqReboot(properties); + }; + + /** + * Encodes the specified ReqReboot message. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encode + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqReboot message, length delimited. Does not implicitly {@link ReqReboot.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReboot + * @static + * @param {IReqReboot} message ReqReboot message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReboot.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReboot message from the specified reader or buffer. + * @function decode + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReboot(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReboot message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReboot + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReboot} ReqReboot + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReboot.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReboot message. + * @function verify + * @memberof ReqReboot + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReboot.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqReboot message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReboot + * @static + * @param {Object.} object Plain object + * @returns {ReqReboot} ReqReboot + */ + ReqReboot.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReboot) return object; + return new $root.ReqReboot(); + }; + + /** + * Creates a plain object from a ReqReboot message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReboot + * @static + * @param {ReqReboot} message ReqReboot + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReboot.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqReboot to JSON. + * @function toJSON + * @memberof ReqReboot + * @instance + * @returns {Object.} JSON object + */ + ReqReboot.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReboot + * @function getTypeUrl + * @memberof ReqReboot + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReboot.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReboot"; + }; + + return ReqReboot; +})(); + +/** + * ShootingScheduleState enum. + * @exports ShootingScheduleState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_STATE_INITIALIZED=0 SHOOTING_SCHEDULE_STATE_INITIALIZED value + * @property {number} SHOOTING_SCHEDULE_STATE_PENDING_SHOOT=1 SHOOTING_SCHEDULE_STATE_PENDING_SHOOT value + * @property {number} SHOOTING_SCHEDULE_STATE_SHOOTING=2 SHOOTING_SCHEDULE_STATE_SHOOTING value + * @property {number} SHOOTING_SCHEDULE_STATE_COMPLETED=3 SHOOTING_SCHEDULE_STATE_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_STATE_EXPIRED=4 SHOOTING_SCHEDULE_STATE_EXPIRED value + */ +$root.ShootingScheduleState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_STATE_INITIALIZED")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_STATE_SHOOTING")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_STATE_COMPLETED")] = 3; + values[(valuesById[4] = "SHOOTING_SCHEDULE_STATE_EXPIRED")] = 4; + return values; +})(); + +/** + * ShootingScheduleSyncState enum. + * @exports ShootingScheduleSyncState + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC=0 SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC value + * @property {number} SHOOTING_SCHEDULE_SYNC_STATE_SYNCED=1 SHOOTING_SCHEDULE_SYNC_STATE_SYNCED value + */ +$root.ShootingScheduleSyncState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED")] = 1; + return values; +})(); + +/** + * ShootingScheduleResult enum. + * @exports ShootingScheduleResult + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_RESULT_PENDING_START=0 SHOOTING_SCHEDULE_RESULT_PENDING_START value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED=1 SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED=2 SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED value + * @property {number} SHOOTING_SCHEDULE_RESULT_ALL_FAILED=3 SHOOTING_SCHEDULE_RESULT_ALL_FAILED value + */ +$root.ShootingScheduleResult = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_RESULT_PENDING_START")] = 0; + values[(valuesById[1] = "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED")] = 1; + values[(valuesById[2] = "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED")] = 2; + values[(valuesById[3] = "SHOOTING_SCHEDULE_RESULT_ALL_FAILED")] = 3; + return values; +})(); + +/** + * ShootingTaskState enum. + * @exports ShootingTaskState + * @enum {number} + * @property {number} SHOOTING_TASK_STATUS_IDLE=0 SHOOTING_TASK_STATUS_IDLE value + * @property {number} SHOOTING_TASK_STATUS_SHOOTING=1 SHOOTING_TASK_STATUS_SHOOTING value + * @property {number} SHOOTING_TASK_STATUS_SUCCESS=2 SHOOTING_TASK_STATUS_SUCCESS value + * @property {number} SHOOTING_TASK_STATUS_FAILED=3 SHOOTING_TASK_STATUS_FAILED value + * @property {number} SHOOTING_TASK_STATUS_INTERRUPTED=4 SHOOTING_TASK_STATUS_INTERRUPTED value + */ +$root.ShootingTaskState = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_TASK_STATUS_IDLE")] = 0; + values[(valuesById[1] = "SHOOTING_TASK_STATUS_SHOOTING")] = 1; + values[(valuesById[2] = "SHOOTING_TASK_STATUS_SUCCESS")] = 2; + values[(valuesById[3] = "SHOOTING_TASK_STATUS_FAILED")] = 3; + values[(valuesById[4] = "SHOOTING_TASK_STATUS_INTERRUPTED")] = 4; + return values; +})(); + +/** + * ShootingScheduleMode enum. + * @exports ShootingScheduleMode + * @enum {number} + * @property {number} SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY=0 SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY value + */ +$root.ShootingScheduleMode = (function () { + var valuesById = {}, + values = Object.create(valuesById); + values[(valuesById[0] = "SHOOTING_SCHEDULE_MODE_ASTRO_DEEP_SKY")] = 0; + return values; +})(); + +$root.ShootingTaskMsg = (function () { + /** + * Properties of a ShootingTaskMsg. + * @exports IShootingTaskMsg + * @interface IShootingTaskMsg + * @property {string|null} [scheduleId] ShootingTaskMsg scheduleId + * @property {string|null} [params] ShootingTaskMsg params + * @property {ShootingTaskState|null} [state] ShootingTaskMsg state + * @property {number|null} [code] ShootingTaskMsg code + * @property {number|Long|null} [createdTime] ShootingTaskMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingTaskMsg updatedTime + * @property {string|null} [scheduleTaskId] ShootingTaskMsg scheduleTaskId + * @property {number|null} [paramMode] ShootingTaskMsg paramMode + * @property {number|null} [paramVersion] ShootingTaskMsg paramVersion + * @property {number|null} [createFrom] ShootingTaskMsg createFrom + */ + + /** + * Constructs a new ShootingTaskMsg. + * @exports ShootingTaskMsg + * @classdesc Represents a ShootingTaskMsg. + * @implements IShootingTaskMsg + * @constructor + * @param {IShootingTaskMsg=} [properties] Properties to set + */ + function ShootingTaskMsg(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ShootingTaskMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleId = ""; + + /** + * ShootingTaskMsg params. + * @member {string} params + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.params = ""; + + /** + * ShootingTaskMsg state. + * @member {ShootingTaskState} state + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.state = 0; + + /** + * ShootingTaskMsg code. + * @member {number} code + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.code = 0; + + /** + * ShootingTaskMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingTaskMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingTaskMsg scheduleTaskId. + * @member {string} scheduleTaskId + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.scheduleTaskId = ""; + + /** + * ShootingTaskMsg paramMode. + * @member {number} paramMode + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramMode = 0; + + /** + * ShootingTaskMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.paramVersion = 0; + + /** + * ShootingTaskMsg createFrom. + * @member {number} createFrom + * @memberof ShootingTaskMsg + * @instance + */ + ShootingTaskMsg.prototype.createFrom = 0; + + /** + * Creates a new ShootingTaskMsg instance using the specified properties. + * @function create + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg=} [properties] Properties to set + * @returns {ShootingTaskMsg} ShootingTaskMsg instance + */ + ShootingTaskMsg.create = function create(properties) { + return new ShootingTaskMsg(properties); + }; + + /** + * Encodes the specified ShootingTaskMsg message. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encode + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.params); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.state); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.code); + if ( + message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.createdTime); + if ( + message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.updatedTime); + if ( + message.scheduleTaskId != null && + Object.hasOwnProperty.call(message, "scheduleTaskId") + ) + writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.scheduleTaskId); + if ( + message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int32(message.paramMode); + if ( + message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.paramVersion); + if ( + message.createFrom != null && + Object.hasOwnProperty.call(message, "createFrom") + ) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.createFrom); + return writer; + }; + + /** + * Encodes the specified ShootingTaskMsg message, length delimited. Does not implicitly {@link ShootingTaskMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {IShootingTaskMsg} message ShootingTaskMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingTaskMsg.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ShootingTaskMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.params = reader.string(); + break; + } + case 3: { + message.state = reader.int32(); + break; + } + case 4: { + message.code = reader.int32(); + break; + } + case 5: { + message.createdTime = reader.int64(); + break; + } + case 6: { + message.updatedTime = reader.int64(); + break; + } + case 7: { + message.scheduleTaskId = reader.string(); + break; + } + case 8: { + message.paramMode = reader.int32(); + break; + } + case 9: { + message.paramVersion = reader.int32(); + break; + } + case 10: { + message.createFrom = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ShootingTaskMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingTaskMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingTaskMsg} ShootingTaskMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingTaskMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ShootingTaskMsg message. + * @function verify + * @memberof ShootingTaskMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingTaskMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) return "params: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if ( + !$util.isInteger(message.createdTime) && + !( + message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high) + ) + ) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if ( + !$util.isInteger(message.updatedTime) && + !( + message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high) + ) + ) + return "updatedTime: integer|Long expected"; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + if (!$util.isString(message.scheduleTaskId)) + return "scheduleTaskId: string expected"; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + if (!$util.isInteger(message.createFrom)) + return "createFrom: integer expected"; + return null; + }; + + /** + * Creates a ShootingTaskMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingTaskMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingTaskMsg} ShootingTaskMsg + */ + ShootingTaskMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingTaskMsg) return object; + var message = new $root.ShootingTaskMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.params != null) message.params = String(object.params); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_TASK_STATUS_IDLE": + case 0: + message.state = 0; + break; + case "SHOOTING_TASK_STATUS_SHOOTING": + case 1: + message.state = 1; + break; + case "SHOOTING_TASK_STATUS_SUCCESS": + case 2: + message.state = 2; + break; + case "SHOOTING_TASK_STATUS_FAILED": + case 3: + message.state = 3; + break; + case "SHOOTING_TASK_STATUS_INTERRUPTED": + case 4: + message.state = 4; + break; + } + if (object.code != null) message.code = object.code | 0; + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue( + object.createdTime + )).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits( + object.createdTime.low >>> 0, + object.createdTime.high >>> 0 + ).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue( + object.updatedTime + )).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits( + object.updatedTime.low >>> 0, + object.updatedTime.high >>> 0 + ).toNumber(); + if (object.scheduleTaskId != null) + message.scheduleTaskId = String(object.scheduleTaskId); + if (object.paramMode != null) message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.createFrom != null) message.createFrom = object.createFrom | 0; + return message; + }; + + /** + * Creates a plain object from a ShootingTaskMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingTaskMsg + * @static + * @param {ShootingTaskMsg} message ShootingTaskMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingTaskMsg.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.scheduleId = ""; + object.params = ""; + object.state = options.enums === String ? "SHOOTING_TASK_STATUS_IDLE" : 0; + object.code = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.updatedTime = options.longs === String ? "0" : 0; + object.scheduleTaskId = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.createFrom = 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingTaskState[message.state] === undefined + ? message.state + : $root.ShootingTaskState[message.state] + : message.state; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits( + message.createdTime.low >>> 0, + message.createdTime.high >>> 0 + ).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits( + message.updatedTime.low >>> 0, + message.updatedTime.high >>> 0 + ).toNumber() + : message.updatedTime; + if ( + message.scheduleTaskId != null && + message.hasOwnProperty("scheduleTaskId") + ) + object.scheduleTaskId = message.scheduleTaskId; + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.createFrom != null && message.hasOwnProperty("createFrom")) + object.createFrom = message.createFrom; + return object; + }; + + /** + * Converts this ShootingTaskMsg to JSON. + * @function toJSON + * @memberof ShootingTaskMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingTaskMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ShootingTaskMsg + * @function getTypeUrl + * @memberof ShootingTaskMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingTaskMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingTaskMsg"; + }; + + return ShootingTaskMsg; +})(); + +$root.ShootingScheduleMsg = (function () { + /** + * Properties of a ShootingScheduleMsg. + * @exports IShootingScheduleMsg + * @interface IShootingScheduleMsg + * @property {string|null} [scheduleId] ShootingScheduleMsg scheduleId + * @property {string|null} [scheduleName] ShootingScheduleMsg scheduleName + * @property {number|null} [deviceId] ShootingScheduleMsg deviceId + * @property {string|null} [macAddress] ShootingScheduleMsg macAddress + * @property {number|Long|null} [startTime] ShootingScheduleMsg startTime + * @property {number|Long|null} [endTime] ShootingScheduleMsg endTime + * @property {ShootingScheduleResult|null} [result] ShootingScheduleMsg result + * @property {number|Long|null} [createdTime] ShootingScheduleMsg createdTime + * @property {number|Long|null} [updatedTime] ShootingScheduleMsg updatedTime + * @property {ShootingScheduleState|null} [state] ShootingScheduleMsg state + * @property {number|null} [lock] ShootingScheduleMsg lock + * @property {string|null} [password] ShootingScheduleMsg password + * @property {Array.|null} [shootingTasks] ShootingScheduleMsg shootingTasks + * @property {number|null} [paramMode] ShootingScheduleMsg paramMode + * @property {number|null} [paramVersion] ShootingScheduleMsg paramVersion + * @property {string|null} [params] ShootingScheduleMsg params + * @property {number|Long|null} [scheduleTime] ShootingScheduleMsg scheduleTime + * @property {ShootingScheduleSyncState|null} [syncState] ShootingScheduleMsg syncState + */ + + /** + * Constructs a new ShootingScheduleMsg. + * @exports ShootingScheduleMsg + * @classdesc Represents a ShootingScheduleMsg. + * @implements IShootingScheduleMsg + * @constructor + * @param {IShootingScheduleMsg=} [properties] Properties to set + */ + function ShootingScheduleMsg(properties) { + this.shootingTasks = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ShootingScheduleMsg scheduleId. + * @member {string} scheduleId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleId = ""; + + /** + * ShootingScheduleMsg scheduleName. + * @member {string} scheduleName + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleName = ""; + + /** + * ShootingScheduleMsg deviceId. + * @member {number} deviceId + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.deviceId = 0; + + /** + * ShootingScheduleMsg macAddress. + * @member {string} macAddress + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.macAddress = ""; + + /** + * ShootingScheduleMsg startTime. + * @member {number|Long} startTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.startTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg endTime. + * @member {number|Long} endTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.endTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg result. + * @member {ShootingScheduleResult} result + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.result = 0; + + /** + * ShootingScheduleMsg createdTime. + * @member {number|Long} createdTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.createdTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg updatedTime. + * @member {number|Long} updatedTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.updatedTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg state. + * @member {ShootingScheduleState} state + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.state = 0; + + /** + * ShootingScheduleMsg lock. + * @member {number} lock + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.lock = 0; + + /** + * ShootingScheduleMsg password. + * @member {string} password + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.password = ""; + + /** + * ShootingScheduleMsg shootingTasks. + * @member {Array.} shootingTasks + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.shootingTasks = $util.emptyArray; + + /** + * ShootingScheduleMsg paramMode. + * @member {number} paramMode + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramMode = 0; + + /** + * ShootingScheduleMsg paramVersion. + * @member {number} paramVersion + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.paramVersion = 0; + + /** + * ShootingScheduleMsg params. + * @member {string} params + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.params = ""; + + /** + * ShootingScheduleMsg scheduleTime. + * @member {number|Long} scheduleTime + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.scheduleTime = $util.Long + ? $util.Long.fromBits(0, 0, false) + : 0; + + /** + * ShootingScheduleMsg syncState. + * @member {ShootingScheduleSyncState} syncState + * @memberof ShootingScheduleMsg + * @instance + */ + ShootingScheduleMsg.prototype.syncState = 0; + + /** + * Creates a new ShootingScheduleMsg instance using the specified properties. + * @function create + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg=} [properties] Properties to set + * @returns {ShootingScheduleMsg} ShootingScheduleMsg instance + */ + ShootingScheduleMsg.create = function create(properties) { + return new ShootingScheduleMsg(properties); + }; + + /** + * Encodes the specified ShootingScheduleMsg message. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encode + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.scheduleId != null && + Object.hasOwnProperty.call(message, "scheduleId") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.scheduleId); + if ( + message.scheduleName != null && + Object.hasOwnProperty.call(message, "scheduleName") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.scheduleName); + if ( + message.deviceId != null && + Object.hasOwnProperty.call(message, "deviceId") + ) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.deviceId); + if ( + message.macAddress != null && + Object.hasOwnProperty.call(message, "macAddress") + ) + writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.macAddress); + if ( + message.startTime != null && + Object.hasOwnProperty.call(message, "startTime") + ) + writer.uint32(/* id 5, wireType 0 =*/ 40).int64(message.startTime); + if ( + message.endTime != null && + Object.hasOwnProperty.call(message, "endTime") + ) + writer.uint32(/* id 6, wireType 0 =*/ 48).int64(message.endTime); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 7, wireType 0 =*/ 56).int32(message.result); + if ( + message.createdTime != null && + Object.hasOwnProperty.call(message, "createdTime") + ) + writer.uint32(/* id 8, wireType 0 =*/ 64).int64(message.createdTime); + if ( + message.updatedTime != null && + Object.hasOwnProperty.call(message, "updatedTime") + ) + writer.uint32(/* id 9, wireType 0 =*/ 72).int64(message.updatedTime); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.state); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.lock); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 12, wireType 2 =*/ 98).string(message.password); + if (message.shootingTasks != null && message.shootingTasks.length) + for (var i = 0; i < message.shootingTasks.length; ++i) + $root.ShootingTaskMsg.encode( + message.shootingTasks[i], + writer.uint32(/* id 13, wireType 2 =*/ 106).fork() + ).ldelim(); + if ( + message.paramMode != null && + Object.hasOwnProperty.call(message, "paramMode") + ) + writer.uint32(/* id 14, wireType 0 =*/ 112).int32(message.paramMode); + if ( + message.paramVersion != null && + Object.hasOwnProperty.call(message, "paramVersion") + ) + writer.uint32(/* id 15, wireType 0 =*/ 120).int32(message.paramVersion); + if (message.params != null && Object.hasOwnProperty.call(message, "params")) + writer.uint32(/* id 16, wireType 2 =*/ 130).string(message.params); + if ( + message.scheduleTime != null && + Object.hasOwnProperty.call(message, "scheduleTime") + ) + writer.uint32(/* id 17, wireType 0 =*/ 136).int64(message.scheduleTime); + if ( + message.syncState != null && + Object.hasOwnProperty.call(message, "syncState") + ) + writer.uint32(/* id 18, wireType 0 =*/ 144).int32(message.syncState); + return writer; + }; + + /** + * Encodes the specified ShootingScheduleMsg message, length delimited. Does not implicitly {@link ShootingScheduleMsg.verify|verify} messages. + * @function encodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {IShootingScheduleMsg} message ShootingScheduleMsg message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ShootingScheduleMsg.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer. + * @function decode + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ShootingScheduleMsg(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.scheduleId = reader.string(); + break; + } + case 2: { + message.scheduleName = reader.string(); + break; + } + case 3: { + message.deviceId = reader.int32(); + break; + } + case 4: { + message.macAddress = reader.string(); + break; + } + case 5: { + message.startTime = reader.int64(); + break; + } + case 6: { + message.endTime = reader.int64(); + break; + } + case 7: { + message.result = reader.int32(); + break; + } + case 8: { + message.createdTime = reader.int64(); + break; + } + case 9: { + message.updatedTime = reader.int64(); + break; + } + case 10: { + message.state = reader.int32(); + break; + } + case 11: { + message.lock = reader.int32(); + break; + } + case 12: { + message.password = reader.string(); + break; + } + case 13: { + if (!(message.shootingTasks && message.shootingTasks.length)) + message.shootingTasks = []; + message.shootingTasks.push( + $root.ShootingTaskMsg.decode(reader, reader.uint32()) + ); + break; + } + case 14: { + message.paramMode = reader.int32(); + break; + } + case 15: { + message.paramVersion = reader.int32(); + break; + } + case 16: { + message.params = reader.string(); + break; + } + case 17: { + message.scheduleTime = reader.int64(); + break; + } + case 18: { + message.syncState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ShootingScheduleMsg message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ShootingScheduleMsg + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ShootingScheduleMsg.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ShootingScheduleMsg message. + * @function verify + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ShootingScheduleMsg.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + if (!$util.isString(message.scheduleId)) + return "scheduleId: string expected"; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + if (!$util.isString(message.scheduleName)) + return "scheduleName: string expected"; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + if (!$util.isInteger(message.deviceId)) + return "deviceId: integer expected"; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + if (!$util.isString(message.macAddress)) + return "macAddress: string expected"; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if ( + !$util.isInteger(message.startTime) && + !( + message.startTime && + $util.isInteger(message.startTime.low) && + $util.isInteger(message.startTime.high) + ) + ) + return "startTime: integer|Long expected"; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if ( + !$util.isInteger(message.endTime) && + !( + message.endTime && + $util.isInteger(message.endTime.low) && + $util.isInteger(message.endTime.high) + ) + ) + return "endTime: integer|Long expected"; + if (message.result != null && message.hasOwnProperty("result")) + switch (message.result) { + default: + return "result: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if ( + !$util.isInteger(message.createdTime) && + !( + message.createdTime && + $util.isInteger(message.createdTime.low) && + $util.isInteger(message.createdTime.high) + ) + ) + return "createdTime: integer|Long expected"; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if ( + !$util.isInteger(message.updatedTime) && + !( + message.updatedTime && + $util.isInteger(message.updatedTime.low) && + $util.isInteger(message.updatedTime.high) + ) + ) + return "updatedTime: integer|Long expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.lock != null && message.hasOwnProperty("lock")) + if (!$util.isInteger(message.lock)) return "lock: integer expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + if ( + message.shootingTasks != null && + message.hasOwnProperty("shootingTasks") + ) { + if (!Array.isArray(message.shootingTasks)) + return "shootingTasks: array expected"; + for (var i = 0; i < message.shootingTasks.length; ++i) { + var error = $root.ShootingTaskMsg.verify(message.shootingTasks[i]); + if (error) return "shootingTasks." + error; + } + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + if (!$util.isInteger(message.paramMode)) + return "paramMode: integer expected"; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + if (!$util.isInteger(message.paramVersion)) + return "paramVersion: integer expected"; + if (message.params != null && message.hasOwnProperty("params")) + if (!$util.isString(message.params)) return "params: string expected"; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if ( + !$util.isInteger(message.scheduleTime) && + !( + message.scheduleTime && + $util.isInteger(message.scheduleTime.low) && + $util.isInteger(message.scheduleTime.high) + ) + ) + return "scheduleTime: integer|Long expected"; + if (message.syncState != null && message.hasOwnProperty("syncState")) + switch (message.syncState) { + default: + return "syncState: enum value expected"; + case 0: + case 1: + break; + } + return null; + }; + + /** + * Creates a ShootingScheduleMsg message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ShootingScheduleMsg + * @static + * @param {Object.} object Plain object + * @returns {ShootingScheduleMsg} ShootingScheduleMsg + */ + ShootingScheduleMsg.fromObject = function fromObject(object) { + if (object instanceof $root.ShootingScheduleMsg) return object; + var message = new $root.ShootingScheduleMsg(); + if (object.scheduleId != null) + message.scheduleId = String(object.scheduleId); + if (object.scheduleName != null) + message.scheduleName = String(object.scheduleName); + if (object.deviceId != null) message.deviceId = object.deviceId | 0; + if (object.macAddress != null) + message.macAddress = String(object.macAddress); + if (object.startTime != null) + if ($util.Long) + (message.startTime = $util.Long.fromValue( + object.startTime + )).unsigned = false; + else if (typeof object.startTime === "string") + message.startTime = parseInt(object.startTime, 10); + else if (typeof object.startTime === "number") + message.startTime = object.startTime; + else if (typeof object.startTime === "object") + message.startTime = new $util.LongBits( + object.startTime.low >>> 0, + object.startTime.high >>> 0 + ).toNumber(); + if (object.endTime != null) + if ($util.Long) + (message.endTime = $util.Long.fromValue( + object.endTime + )).unsigned = false; + else if (typeof object.endTime === "string") + message.endTime = parseInt(object.endTime, 10); + else if (typeof object.endTime === "number") + message.endTime = object.endTime; + else if (typeof object.endTime === "object") + message.endTime = new $util.LongBits( + object.endTime.low >>> 0, + object.endTime.high >>> 0 + ).toNumber(); + switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; + case "SHOOTING_SCHEDULE_RESULT_PENDING_START": + case 0: + message.result = 0; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_COMPLETED": + case 1: + message.result = 1; + break; + case "SHOOTING_SCHEDULE_RESULT_PARTIALLY_COMPLETED": + case 2: + message.result = 2; + break; + case "SHOOTING_SCHEDULE_RESULT_ALL_FAILED": + case 3: + message.result = 3; + break; + } + if (object.createdTime != null) + if ($util.Long) + (message.createdTime = $util.Long.fromValue( + object.createdTime + )).unsigned = false; + else if (typeof object.createdTime === "string") + message.createdTime = parseInt(object.createdTime, 10); + else if (typeof object.createdTime === "number") + message.createdTime = object.createdTime; + else if (typeof object.createdTime === "object") + message.createdTime = new $util.LongBits( + object.createdTime.low >>> 0, + object.createdTime.high >>> 0 + ).toNumber(); + if (object.updatedTime != null) + if ($util.Long) + (message.updatedTime = $util.Long.fromValue( + object.updatedTime + )).unsigned = false; + else if (typeof object.updatedTime === "string") + message.updatedTime = parseInt(object.updatedTime, 10); + else if (typeof object.updatedTime === "number") + message.updatedTime = object.updatedTime; + else if (typeof object.updatedTime === "object") + message.updatedTime = new $util.LongBits( + object.updatedTime.low >>> 0, + object.updatedTime.high >>> 0 + ).toNumber(); + switch (object.state) { + default: + if (typeof object.state === "number") { + message.state = object.state; + break; + } + break; + case "SHOOTING_SCHEDULE_STATE_INITIALIZED": + case 0: + message.state = 0; + break; + case "SHOOTING_SCHEDULE_STATE_PENDING_SHOOT": + case 1: + message.state = 1; + break; + case "SHOOTING_SCHEDULE_STATE_SHOOTING": + case 2: + message.state = 2; + break; + case "SHOOTING_SCHEDULE_STATE_COMPLETED": + case 3: + message.state = 3; + break; + case "SHOOTING_SCHEDULE_STATE_EXPIRED": + case 4: + message.state = 4; + break; + } + if (object.lock != null) message.lock = object.lock | 0; + if (object.password != null) message.password = String(object.password); + if (object.shootingTasks) { + if (!Array.isArray(object.shootingTasks)) + throw TypeError(".ShootingScheduleMsg.shootingTasks: array expected"); + message.shootingTasks = []; + for (var i = 0; i < object.shootingTasks.length; ++i) { + if (typeof object.shootingTasks[i] !== "object") + throw TypeError( + ".ShootingScheduleMsg.shootingTasks: object expected" + ); + message.shootingTasks[i] = $root.ShootingTaskMsg.fromObject( + object.shootingTasks[i] + ); + } + } + if (object.paramMode != null) message.paramMode = object.paramMode | 0; + if (object.paramVersion != null) + message.paramVersion = object.paramVersion | 0; + if (object.params != null) message.params = String(object.params); + if (object.scheduleTime != null) + if ($util.Long) + (message.scheduleTime = $util.Long.fromValue( + object.scheduleTime + )).unsigned = false; + else if (typeof object.scheduleTime === "string") + message.scheduleTime = parseInt(object.scheduleTime, 10); + else if (typeof object.scheduleTime === "number") + message.scheduleTime = object.scheduleTime; + else if (typeof object.scheduleTime === "object") + message.scheduleTime = new $util.LongBits( + object.scheduleTime.low >>> 0, + object.scheduleTime.high >>> 0 + ).toNumber(); + switch (object.syncState) { + default: + if (typeof object.syncState === "number") { + message.syncState = object.syncState; + break; + } + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC": + case 0: + message.syncState = 0; + break; + case "SHOOTING_SCHEDULE_SYNC_STATE_SYNCED": + case 1: + message.syncState = 1; + break; + } + return message; + }; + + /** + * Creates a plain object from a ShootingScheduleMsg message. Also converts values to other types if specified. + * @function toObject + * @memberof ShootingScheduleMsg + * @static + * @param {ShootingScheduleMsg} message ShootingScheduleMsg + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ShootingScheduleMsg.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.shootingTasks = []; + if (options.defaults) { + object.scheduleId = ""; + object.scheduleName = ""; + object.deviceId = 0; + object.macAddress = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.startTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.startTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.endTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.endTime = options.longs === String ? "0" : 0; + object.result = + options.enums === String ? "SHOOTING_SCHEDULE_RESULT_PENDING_START" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.createdTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.createdTime = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.updatedTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.updatedTime = options.longs === String ? "0" : 0; + object.state = + options.enums === String ? "SHOOTING_SCHEDULE_STATE_INITIALIZED" : 0; + object.lock = 0; + object.password = ""; + object.paramMode = 0; + object.paramVersion = 0; + object.params = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.scheduleTime = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.scheduleTime = options.longs === String ? "0" : 0; + object.syncState = + options.enums === String + ? "SHOOTING_SCHEDULE_SYNC_STATE_PENDING_SYNC" + : 0; + } + if (message.scheduleId != null && message.hasOwnProperty("scheduleId")) + object.scheduleId = message.scheduleId; + if (message.scheduleName != null && message.hasOwnProperty("scheduleName")) + object.scheduleName = message.scheduleName; + if (message.deviceId != null && message.hasOwnProperty("deviceId")) + object.deviceId = message.deviceId; + if (message.macAddress != null && message.hasOwnProperty("macAddress")) + object.macAddress = message.macAddress; + if (message.startTime != null && message.hasOwnProperty("startTime")) + if (typeof message.startTime === "number") + object.startTime = + options.longs === String + ? String(message.startTime) + : message.startTime; + else + object.startTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.startTime) + : options.longs === Number + ? new $util.LongBits( + message.startTime.low >>> 0, + message.startTime.high >>> 0 + ).toNumber() + : message.startTime; + if (message.endTime != null && message.hasOwnProperty("endTime")) + if (typeof message.endTime === "number") + object.endTime = + options.longs === String ? String(message.endTime) : message.endTime; + else + object.endTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.endTime) + : options.longs === Number + ? new $util.LongBits( + message.endTime.low >>> 0, + message.endTime.high >>> 0 + ).toNumber() + : message.endTime; + if (message.result != null && message.hasOwnProperty("result")) + object.result = + options.enums === String + ? $root.ShootingScheduleResult[message.result] === undefined + ? message.result + : $root.ShootingScheduleResult[message.result] + : message.result; + if (message.createdTime != null && message.hasOwnProperty("createdTime")) + if (typeof message.createdTime === "number") + object.createdTime = + options.longs === String + ? String(message.createdTime) + : message.createdTime; + else + object.createdTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.createdTime) + : options.longs === Number + ? new $util.LongBits( + message.createdTime.low >>> 0, + message.createdTime.high >>> 0 + ).toNumber() + : message.createdTime; + if (message.updatedTime != null && message.hasOwnProperty("updatedTime")) + if (typeof message.updatedTime === "number") + object.updatedTime = + options.longs === String + ? String(message.updatedTime) + : message.updatedTime; + else + object.updatedTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.updatedTime) + : options.longs === Number + ? new $util.LongBits( + message.updatedTime.low >>> 0, + message.updatedTime.high >>> 0 + ).toNumber() + : message.updatedTime; + if (message.state != null && message.hasOwnProperty("state")) + object.state = + options.enums === String + ? $root.ShootingScheduleState[message.state] === undefined + ? message.state + : $root.ShootingScheduleState[message.state] + : message.state; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + if (message.shootingTasks && message.shootingTasks.length) { + object.shootingTasks = []; + for (var j = 0; j < message.shootingTasks.length; ++j) + object.shootingTasks[j] = $root.ShootingTaskMsg.toObject( + message.shootingTasks[j], + options + ); + } + if (message.paramMode != null && message.hasOwnProperty("paramMode")) + object.paramMode = message.paramMode; + if (message.paramVersion != null && message.hasOwnProperty("paramVersion")) + object.paramVersion = message.paramVersion; + if (message.params != null && message.hasOwnProperty("params")) + object.params = message.params; + if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) + if (typeof message.scheduleTime === "number") + object.scheduleTime = + options.longs === String + ? String(message.scheduleTime) + : message.scheduleTime; + else + object.scheduleTime = + options.longs === String + ? $util.Long.prototype.toString.call(message.scheduleTime) + : options.longs === Number + ? new $util.LongBits( + message.scheduleTime.low >>> 0, + message.scheduleTime.high >>> 0 + ).toNumber() + : message.scheduleTime; + if (message.syncState != null && message.hasOwnProperty("syncState")) + object.syncState = + options.enums === String + ? $root.ShootingScheduleSyncState[message.syncState] === undefined + ? message.syncState + : $root.ShootingScheduleSyncState[message.syncState] + : message.syncState; + return object; + }; + + /** + * Converts this ShootingScheduleMsg to JSON. + * @function toJSON + * @memberof ShootingScheduleMsg + * @instance + * @returns {Object.} JSON object + */ + ShootingScheduleMsg.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ShootingScheduleMsg + * @function getTypeUrl + * @memberof ShootingScheduleMsg + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ShootingScheduleMsg.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ShootingScheduleMsg"; + }; + + return ShootingScheduleMsg; +})(); + +$root.ReqSyncShootingSchedule = (function () { + /** + * Properties of a ReqSyncShootingSchedule. + * @exports IReqSyncShootingSchedule + * @interface IReqSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqSyncShootingSchedule shootingSchedule + */ + + /** + * Constructs a new ReqSyncShootingSchedule. + * @exports ReqSyncShootingSchedule + * @classdesc Represents a ReqSyncShootingSchedule. + * @implements IReqSyncShootingSchedule + * @constructor + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + */ + function ReqSyncShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqSyncShootingSchedule + * @instance + */ + ReqSyncShootingSchedule.prototype.shootingSchedule = null; + + /** + * Creates a new ReqSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule=} [properties] Properties to set + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule instance + */ + ReqSyncShootingSchedule.create = function create(properties) { + return new ReqSyncShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqSyncShootingSchedule message. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqSyncShootingSchedule message, length delimited. Does not implicitly {@link ReqSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {IReqSyncShootingSchedule} message ReqSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSyncShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSyncShootingSchedule message. + * @function verify + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + return null; + }; + + /** + * Creates a ReqSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqSyncShootingSchedule} ReqSyncShootingSchedule + */ + ReqSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSyncShootingSchedule) return object; + var message = new $root.ReqSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ReqSyncShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + return message; + }; + + /** + * Creates a plain object from a ReqSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSyncShootingSchedule + * @static + * @param {ReqSyncShootingSchedule} message ReqSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.shootingSchedule = null; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + return object; + }; + + /** + * Converts this ReqSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ReqSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSyncShootingSchedule + * @function getTypeUrl + * @memberof ReqSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSyncShootingSchedule"; + }; + + return ReqSyncShootingSchedule; +})(); + +$root.ResSyncShootingSchedule = (function () { + /** + * Properties of a ResSyncShootingSchedule. + * @exports IResSyncShootingSchedule + * @interface IResSyncShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResSyncShootingSchedule shootingSchedule + * @property {Array.|null} [timeConflictScheduleIds] ResSyncShootingSchedule timeConflictScheduleIds + * @property {number|null} [code] ResSyncShootingSchedule code + * @property {boolean|null} [canReplace] ResSyncShootingSchedule canReplace + */ + + /** + * Constructs a new ResSyncShootingSchedule. + * @exports ResSyncShootingSchedule + * @classdesc Represents a ResSyncShootingSchedule. + * @implements IResSyncShootingSchedule + * @constructor + * @param {IResSyncShootingSchedule=} [properties] Properties to set + */ + function ResSyncShootingSchedule(properties) { + this.timeConflictScheduleIds = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResSyncShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.shootingSchedule = null; + + /** + * ResSyncShootingSchedule timeConflictScheduleIds. + * @member {Array.} timeConflictScheduleIds + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.timeConflictScheduleIds = $util.emptyArray; + + /** + * ResSyncShootingSchedule code. + * @member {number} code + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.code = 0; + + /** + * ResSyncShootingSchedule canReplace. + * @member {boolean} canReplace + * @memberof ResSyncShootingSchedule + * @instance + */ + ResSyncShootingSchedule.prototype.canReplace = false; + + /** + * Creates a new ResSyncShootingSchedule instance using the specified properties. + * @function create + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule=} [properties] Properties to set + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule instance + */ + ResSyncShootingSchedule.create = function create(properties) { + return new ResSyncShootingSchedule(properties); + }; + + /** + * Encodes the specified ResSyncShootingSchedule message. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if ( + message.timeConflictScheduleIds != null && + message.timeConflictScheduleIds.length + ) + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + writer + .uint32(/* id 2, wireType 2 =*/ 18) + .string(message.timeConflictScheduleIds[i]); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.code); + if ( + message.canReplace != null && + Object.hasOwnProperty.call(message, "canReplace") + ) + writer.uint32(/* id 4, wireType 0 =*/ 32).bool(message.canReplace); + return writer; + }; + + /** + * Encodes the specified ResSyncShootingSchedule message, length delimited. Does not implicitly {@link ResSyncShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {IResSyncShootingSchedule} message ResSyncShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResSyncShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResSyncShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + if ( + !( + message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length + ) + ) + message.timeConflictScheduleIds = []; + message.timeConflictScheduleIds.push(reader.string()); + break; + } + case 3: { + message.code = reader.int32(); + break; + } + case 4: { + message.canReplace = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResSyncShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResSyncShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResSyncShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResSyncShootingSchedule message. + * @function verify + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResSyncShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if ( + message.timeConflictScheduleIds != null && + message.hasOwnProperty("timeConflictScheduleIds") + ) { + if (!Array.isArray(message.timeConflictScheduleIds)) + return "timeConflictScheduleIds: array expected"; + for (var i = 0; i < message.timeConflictScheduleIds.length; ++i) + if (!$util.isString(message.timeConflictScheduleIds[i])) + return "timeConflictScheduleIds: string[] expected"; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + if (typeof message.canReplace !== "boolean") + return "canReplace: boolean expected"; + return null; + }; + + /** + * Creates a ResSyncShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResSyncShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResSyncShootingSchedule} ResSyncShootingSchedule + */ + ResSyncShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResSyncShootingSchedule) return object; + var message = new $root.ResSyncShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResSyncShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.timeConflictScheduleIds) { + if (!Array.isArray(object.timeConflictScheduleIds)) + throw TypeError( + ".ResSyncShootingSchedule.timeConflictScheduleIds: array expected" + ); + message.timeConflictScheduleIds = []; + for (var i = 0; i < object.timeConflictScheduleIds.length; ++i) + message.timeConflictScheduleIds[i] = String( + object.timeConflictScheduleIds[i] + ); + } + if (object.code != null) message.code = object.code | 0; + if (object.canReplace != null) + message.canReplace = Boolean(object.canReplace); + return message; + }; + + /** + * Creates a plain object from a ResSyncShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResSyncShootingSchedule + * @static + * @param {ResSyncShootingSchedule} message ResSyncShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResSyncShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.timeConflictScheduleIds = []; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + object.canReplace = false; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if ( + message.timeConflictScheduleIds && + message.timeConflictScheduleIds.length + ) { + object.timeConflictScheduleIds = []; + for (var j = 0; j < message.timeConflictScheduleIds.length; ++j) + object.timeConflictScheduleIds[j] = message.timeConflictScheduleIds[j]; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.canReplace != null && message.hasOwnProperty("canReplace")) + object.canReplace = message.canReplace; + return object; + }; + + /** + * Converts this ResSyncShootingSchedule to JSON. + * @function toJSON + * @memberof ResSyncShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResSyncShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResSyncShootingSchedule + * @function getTypeUrl + * @memberof ResSyncShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResSyncShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResSyncShootingSchedule"; + }; + + return ResSyncShootingSchedule; +})(); + +$root.ReqCancelShootingSchedule = (function () { + /** + * Properties of a ReqCancelShootingSchedule. + * @exports IReqCancelShootingSchedule + * @interface IReqCancelShootingSchedule + * @property {string|null} [id] ReqCancelShootingSchedule id + * @property {string|null} [password] ReqCancelShootingSchedule password + */ + + /** + * Constructs a new ReqCancelShootingSchedule. + * @exports ReqCancelShootingSchedule + * @classdesc Represents a ReqCancelShootingSchedule. + * @implements IReqCancelShootingSchedule + * @constructor + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + */ + function ReqCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqCancelShootingSchedule id. + * @member {string} id + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.id = ""; + + /** + * ReqCancelShootingSchedule password. + * @member {string} password + * @memberof ReqCancelShootingSchedule + * @instance + */ + ReqCancelShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule=} [properties] Properties to set + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule instance + */ + ReqCancelShootingSchedule.create = function create(properties) { + return new ReqCancelShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqCancelShootingSchedule message. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqCancelShootingSchedule message, length delimited. Does not implicitly {@link ReqCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {IReqCancelShootingSchedule} message ReqCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqCancelShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqCancelShootingSchedule message. + * @function verify + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqCancelShootingSchedule} ReqCancelShootingSchedule + */ + ReqCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqCancelShootingSchedule) return object; + var message = new $root.ReqCancelShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqCancelShootingSchedule + * @static + * @param {ReqCancelShootingSchedule} message ReqCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ReqCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqCancelShootingSchedule + * @function getTypeUrl + * @memberof ReqCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqCancelShootingSchedule"; + }; + + return ReqCancelShootingSchedule; +})(); + +$root.ResCancelShootingSchedule = (function () { + /** + * Properties of a ResCancelShootingSchedule. + * @exports IResCancelShootingSchedule + * @interface IResCancelShootingSchedule + * @property {string|null} [id] ResCancelShootingSchedule id + * @property {number|null} [code] ResCancelShootingSchedule code + */ + + /** + * Constructs a new ResCancelShootingSchedule. + * @exports ResCancelShootingSchedule + * @classdesc Represents a ResCancelShootingSchedule. + * @implements IResCancelShootingSchedule + * @constructor + * @param {IResCancelShootingSchedule=} [properties] Properties to set + */ + function ResCancelShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResCancelShootingSchedule id. + * @member {string} id + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.id = ""; + + /** + * ResCancelShootingSchedule code. + * @member {number} code + * @memberof ResCancelShootingSchedule + * @instance + */ + ResCancelShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResCancelShootingSchedule instance using the specified properties. + * @function create + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule=} [properties] Properties to set + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule instance + */ + ResCancelShootingSchedule.create = function create(properties) { + return new ResCancelShootingSchedule(properties); + }; + + /** + * Encodes the specified ResCancelShootingSchedule message. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResCancelShootingSchedule message, length delimited. Does not implicitly {@link ResCancelShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {IResCancelShootingSchedule} message ResCancelShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResCancelShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResCancelShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResCancelShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResCancelShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResCancelShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResCancelShootingSchedule message. + * @function verify + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResCancelShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResCancelShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResCancelShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResCancelShootingSchedule} ResCancelShootingSchedule + */ + ResCancelShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResCancelShootingSchedule) return object; + var message = new $root.ResCancelShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResCancelShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResCancelShootingSchedule + * @static + * @param {ResCancelShootingSchedule} message ResCancelShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResCancelShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResCancelShootingSchedule to JSON. + * @function toJSON + * @memberof ResCancelShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResCancelShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResCancelShootingSchedule + * @function getTypeUrl + * @memberof ResCancelShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResCancelShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResCancelShootingSchedule"; + }; + + return ResCancelShootingSchedule; +})(); + +$root.ReqGetAllShootingSchedule = (function () { + /** + * Properties of a ReqGetAllShootingSchedule. + * @exports IReqGetAllShootingSchedule + * @interface IReqGetAllShootingSchedule + */ + + /** + * Constructs a new ReqGetAllShootingSchedule. + * @exports ReqGetAllShootingSchedule + * @classdesc Represents a ReqGetAllShootingSchedule. + * @implements IReqGetAllShootingSchedule + * @constructor + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + */ + function ReqGetAllShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule=} [properties] Properties to set + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule instance + */ + ReqGetAllShootingSchedule.create = function create(properties) { + return new ReqGetAllShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqGetAllShootingSchedule message. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqGetAllShootingSchedule message, length delimited. Does not implicitly {@link ReqGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {IReqGetAllShootingSchedule} message ReqGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetAllShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetAllShootingSchedule message. + * @function verify + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqGetAllShootingSchedule} ReqGetAllShootingSchedule + */ + ReqGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetAllShootingSchedule) return object; + return new $root.ReqGetAllShootingSchedule(); + }; + + /** + * Creates a plain object from a ReqGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetAllShootingSchedule + * @static + * @param {ReqGetAllShootingSchedule} message ReqGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetAllShootingSchedule.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ReqGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetAllShootingSchedule + * @function getTypeUrl + * @memberof ReqGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetAllShootingSchedule"; + }; + + return ReqGetAllShootingSchedule; +})(); + +$root.ResGetAllShootingSchedule = (function () { + /** + * Properties of a ResGetAllShootingSchedule. + * @exports IResGetAllShootingSchedule + * @interface IResGetAllShootingSchedule + * @property {Array.|null} [shootingSchedule] ResGetAllShootingSchedule shootingSchedule + * @property {number|null} [code] ResGetAllShootingSchedule code + */ + + /** + * Constructs a new ResGetAllShootingSchedule. + * @exports ResGetAllShootingSchedule + * @classdesc Represents a ResGetAllShootingSchedule. + * @implements IResGetAllShootingSchedule + * @constructor + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + */ + function ResGetAllShootingSchedule(properties) { + this.shootingSchedule = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetAllShootingSchedule shootingSchedule. + * @member {Array.} shootingSchedule + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.shootingSchedule = $util.emptyArray; + + /** + * ResGetAllShootingSchedule code. + * @member {number} code + * @memberof ResGetAllShootingSchedule + * @instance + */ + ResGetAllShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResGetAllShootingSchedule instance using the specified properties. + * @function create + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule=} [properties] Properties to set + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule instance + */ + ResGetAllShootingSchedule.create = function create(properties) { + return new ResGetAllShootingSchedule(properties); + }; + + /** + * Encodes the specified ResGetAllShootingSchedule message. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.shootingSchedule != null && message.shootingSchedule.length) + for (var i = 0; i < message.shootingSchedule.length; ++i) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule[i], + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetAllShootingSchedule message, length delimited. Does not implicitly {@link ResGetAllShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {IResGetAllShootingSchedule} message ResGetAllShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetAllShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetAllShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + if (!(message.shootingSchedule && message.shootingSchedule.length)) + message.shootingSchedule = []; + message.shootingSchedule.push( + $root.ShootingScheduleMsg.decode(reader, reader.uint32()) + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetAllShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetAllShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetAllShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetAllShootingSchedule message. + * @function verify + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetAllShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + if (!Array.isArray(message.shootingSchedule)) + return "shootingSchedule: array expected"; + for (var i = 0; i < message.shootingSchedule.length; ++i) { + var error = $root.ShootingScheduleMsg.verify( + message.shootingSchedule[i] + ); + if (error) return "shootingSchedule." + error; + } + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetAllShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResGetAllShootingSchedule} ResGetAllShootingSchedule + */ + ResGetAllShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetAllShootingSchedule) return object; + var message = new $root.ResGetAllShootingSchedule(); + if (object.shootingSchedule) { + if (!Array.isArray(object.shootingSchedule)) + throw TypeError( + ".ResGetAllShootingSchedule.shootingSchedule: array expected" + ); + message.shootingSchedule = []; + for (var i = 0; i < object.shootingSchedule.length; ++i) { + if (typeof object.shootingSchedule[i] !== "object") + throw TypeError( + ".ResGetAllShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule[i] = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule[i] + ); + } + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetAllShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetAllShootingSchedule + * @static + * @param {ResGetAllShootingSchedule} message ResGetAllShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetAllShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.arrays || options.defaults) object.shootingSchedule = []; + if (options.defaults) object.code = 0; + if (message.shootingSchedule && message.shootingSchedule.length) { + object.shootingSchedule = []; + for (var j = 0; j < message.shootingSchedule.length; ++j) + object.shootingSchedule[j] = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule[j], + options + ); + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetAllShootingSchedule to JSON. + * @function toJSON + * @memberof ResGetAllShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResGetAllShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetAllShootingSchedule + * @function getTypeUrl + * @memberof ResGetAllShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetAllShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetAllShootingSchedule"; + }; + + return ResGetAllShootingSchedule; +})(); + +$root.ReqGetShootingScheduleById = (function () { + /** + * Properties of a ReqGetShootingScheduleById. + * @exports IReqGetShootingScheduleById + * @interface IReqGetShootingScheduleById + * @property {string|null} [id] ReqGetShootingScheduleById id + */ + + /** + * Constructs a new ReqGetShootingScheduleById. + * @exports ReqGetShootingScheduleById + * @classdesc Represents a ReqGetShootingScheduleById. + * @implements IReqGetShootingScheduleById + * @constructor + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + */ + function ReqGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetShootingScheduleById id. + * @member {string} id + * @memberof ReqGetShootingScheduleById + * @instance + */ + ReqGetShootingScheduleById.prototype.id = ""; + + /** + * Creates a new ReqGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById=} [properties] Properties to set + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById instance + */ + ReqGetShootingScheduleById.create = function create(properties) { + return new ReqGetShootingScheduleById(properties); + }; + + /** + * Encodes the specified ReqGetShootingScheduleById message. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + + /** + * Encodes the specified ReqGetShootingScheduleById message, length delimited. Does not implicitly {@link ReqGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {IReqGetShootingScheduleById} message ReqGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingScheduleById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingScheduleById.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetShootingScheduleById message. + * @function verify + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + return null; + }; + + /** + * Creates a ReqGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingScheduleById} ReqGetShootingScheduleById + */ + ReqGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingScheduleById) return object; + var message = new $root.ReqGetShootingScheduleById(); + if (object.id != null) message.id = String(object.id); + return message; + }; + + /** + * Creates a plain object from a ReqGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingScheduleById + * @static + * @param {ReqGetShootingScheduleById} message ReqGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ReqGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetShootingScheduleById + * @function getTypeUrl + * @memberof ReqGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingScheduleById"; + }; + + return ReqGetShootingScheduleById; +})(); + +$root.ResGetShootingScheduleById = (function () { + /** + * Properties of a ResGetShootingScheduleById. + * @exports IResGetShootingScheduleById + * @interface IResGetShootingScheduleById + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResGetShootingScheduleById shootingSchedule + * @property {number|null} [code] ResGetShootingScheduleById code + */ + + /** + * Constructs a new ResGetShootingScheduleById. + * @exports ResGetShootingScheduleById + * @classdesc Represents a ResGetShootingScheduleById. + * @implements IResGetShootingScheduleById + * @constructor + * @param {IResGetShootingScheduleById=} [properties] Properties to set + */ + function ResGetShootingScheduleById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetShootingScheduleById shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.shootingSchedule = null; + + /** + * ResGetShootingScheduleById code. + * @member {number} code + * @memberof ResGetShootingScheduleById + * @instance + */ + ResGetShootingScheduleById.prototype.code = 0; + + /** + * Creates a new ResGetShootingScheduleById instance using the specified properties. + * @function create + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById=} [properties] Properties to set + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById instance + */ + ResGetShootingScheduleById.create = function create(properties) { + return new ResGetShootingScheduleById(properties); + }; + + /** + * Encodes the specified ResGetShootingScheduleById message. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetShootingScheduleById message, length delimited. Does not implicitly {@link ResGetShootingScheduleById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {IResGetShootingScheduleById} message ResGetShootingScheduleById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingScheduleById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetShootingScheduleById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetShootingScheduleById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingScheduleById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingScheduleById.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetShootingScheduleById message. + * @function verify + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingScheduleById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetShootingScheduleById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingScheduleById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingScheduleById} ResGetShootingScheduleById + */ + ResGetShootingScheduleById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingScheduleById) return object; + var message = new $root.ResGetShootingScheduleById(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResGetShootingScheduleById.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetShootingScheduleById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingScheduleById + * @static + * @param {ResGetShootingScheduleById} message ResGetShootingScheduleById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingScheduleById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetShootingScheduleById to JSON. + * @function toJSON + * @memberof ResGetShootingScheduleById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingScheduleById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetShootingScheduleById + * @function getTypeUrl + * @memberof ResGetShootingScheduleById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingScheduleById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingScheduleById"; + }; + + return ResGetShootingScheduleById; +})(); + +$root.ReqGetShootingTaskById = (function () { + /** + * Properties of a ReqGetShootingTaskById. + * @exports IReqGetShootingTaskById + * @interface IReqGetShootingTaskById + * @property {string|null} [id] ReqGetShootingTaskById id + */ + + /** + * Constructs a new ReqGetShootingTaskById. + * @exports ReqGetShootingTaskById + * @classdesc Represents a ReqGetShootingTaskById. + * @implements IReqGetShootingTaskById + * @constructor + * @param {IReqGetShootingTaskById=} [properties] Properties to set + */ + function ReqGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetShootingTaskById id. + * @member {string} id + * @memberof ReqGetShootingTaskById + * @instance + */ + ReqGetShootingTaskById.prototype.id = ""; + + /** + * Creates a new ReqGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById=} [properties] Properties to set + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById instance + */ + ReqGetShootingTaskById.create = function create(properties) { + return new ReqGetShootingTaskById(properties); + }; + + /** + * Encodes the specified ReqGetShootingTaskById message. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + return writer; + }; + + /** + * Encodes the specified ReqGetShootingTaskById message, length delimited. Does not implicitly {@link ReqGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {IReqGetShootingTaskById} message ReqGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetShootingTaskById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetShootingTaskById message. + * @function verify + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + return null; + }; + + /** + * Creates a ReqGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ReqGetShootingTaskById} ReqGetShootingTaskById + */ + ReqGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetShootingTaskById) return object; + var message = new $root.ReqGetShootingTaskById(); + if (object.id != null) message.id = String(object.id); + return message; + }; + + /** + * Creates a plain object from a ReqGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetShootingTaskById + * @static + * @param {ReqGetShootingTaskById} message ReqGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = ""; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqGetShootingTaskById to JSON. + * @function toJSON + * @memberof ReqGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ReqGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetShootingTaskById + * @function getTypeUrl + * @memberof ReqGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetShootingTaskById"; + }; + + return ReqGetShootingTaskById; +})(); + +$root.ResGetShootingTaskById = (function () { + /** + * Properties of a ResGetShootingTaskById. + * @exports IResGetShootingTaskById + * @interface IResGetShootingTaskById + * @property {IShootingTaskMsg|null} [shootingTask] ResGetShootingTaskById shootingTask + * @property {number|null} [code] ResGetShootingTaskById code + */ + + /** + * Constructs a new ResGetShootingTaskById. + * @exports ResGetShootingTaskById + * @classdesc Represents a ResGetShootingTaskById. + * @implements IResGetShootingTaskById + * @constructor + * @param {IResGetShootingTaskById=} [properties] Properties to set + */ + function ResGetShootingTaskById(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResGetShootingTaskById shootingTask. + * @member {IShootingTaskMsg|null|undefined} shootingTask + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.shootingTask = null; + + /** + * ResGetShootingTaskById code. + * @member {number} code + * @memberof ResGetShootingTaskById + * @instance + */ + ResGetShootingTaskById.prototype.code = 0; + + /** + * Creates a new ResGetShootingTaskById instance using the specified properties. + * @function create + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById=} [properties] Properties to set + * @returns {ResGetShootingTaskById} ResGetShootingTaskById instance + */ + ResGetShootingTaskById.create = function create(properties) { + return new ResGetShootingTaskById(properties); + }; + + /** + * Encodes the specified ResGetShootingTaskById message. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encode + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingTask != null && + Object.hasOwnProperty.call(message, "shootingTask") + ) + $root.ShootingTaskMsg.encode( + message.shootingTask, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResGetShootingTaskById message, length delimited. Does not implicitly {@link ResGetShootingTaskById.verify|verify} messages. + * @function encodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {IResGetShootingTaskById} message ResGetShootingTaskById message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResGetShootingTaskById.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer. + * @function decode + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResGetShootingTaskById(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingTask = $root.ShootingTaskMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResGetShootingTaskById message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResGetShootingTaskById + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResGetShootingTaskById.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResGetShootingTaskById message. + * @function verify + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResGetShootingTaskById.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingTask != null && + message.hasOwnProperty("shootingTask") + ) { + var error = $root.ShootingTaskMsg.verify(message.shootingTask); + if (error) return "shootingTask." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResGetShootingTaskById message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResGetShootingTaskById + * @static + * @param {Object.} object Plain object + * @returns {ResGetShootingTaskById} ResGetShootingTaskById + */ + ResGetShootingTaskById.fromObject = function fromObject(object) { + if (object instanceof $root.ResGetShootingTaskById) return object; + var message = new $root.ResGetShootingTaskById(); + if (object.shootingTask != null) { + if (typeof object.shootingTask !== "object") + throw TypeError( + ".ResGetShootingTaskById.shootingTask: object expected" + ); + message.shootingTask = $root.ShootingTaskMsg.fromObject( + object.shootingTask + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResGetShootingTaskById message. Also converts values to other types if specified. + * @function toObject + * @memberof ResGetShootingTaskById + * @static + * @param {ResGetShootingTaskById} message ResGetShootingTaskById + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResGetShootingTaskById.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingTask = null; + object.code = 0; + } + if (message.shootingTask != null && message.hasOwnProperty("shootingTask")) + object.shootingTask = $root.ShootingTaskMsg.toObject( + message.shootingTask, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResGetShootingTaskById to JSON. + * @function toJSON + * @memberof ResGetShootingTaskById + * @instance + * @returns {Object.} JSON object + */ + ResGetShootingTaskById.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResGetShootingTaskById + * @function getTypeUrl + * @memberof ResGetShootingTaskById + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResGetShootingTaskById.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResGetShootingTaskById"; + }; + + return ResGetShootingTaskById; +})(); + +$root.ReqReplaceShootingSchedule = (function () { + /** + * Properties of a ReqReplaceShootingSchedule. + * @exports IReqReplaceShootingSchedule + * @interface IReqReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ReqReplaceShootingSchedule shootingSchedule + */ + + /** + * Constructs a new ReqReplaceShootingSchedule. + * @exports ReqReplaceShootingSchedule + * @classdesc Represents a ReqReplaceShootingSchedule. + * @implements IReqReplaceShootingSchedule + * @constructor + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + */ + function ReqReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ReqReplaceShootingSchedule + * @instance + */ + ReqReplaceShootingSchedule.prototype.shootingSchedule = null; + + /** + * Creates a new ReqReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule=} [properties] Properties to set + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule instance + */ + ReqReplaceShootingSchedule.create = function create(properties) { + return new ReqReplaceShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqReplaceShootingSchedule message. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + return writer; + }; + + /** + * Encodes the specified ReqReplaceShootingSchedule message, length delimited. Does not implicitly {@link ReqReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {IReqReplaceShootingSchedule} message ReqReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqReplaceShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqReplaceShootingSchedule.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqReplaceShootingSchedule message. + * @function verify + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + return null; + }; + + /** + * Creates a ReqReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqReplaceShootingSchedule} ReqReplaceShootingSchedule + */ + ReqReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqReplaceShootingSchedule) return object; + var message = new $root.ReqReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ReqReplaceShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + return message; + }; + + /** + * Creates a plain object from a ReqReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqReplaceShootingSchedule + * @static + * @param {ReqReplaceShootingSchedule} message ReqReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.shootingSchedule = null; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + return object; + }; + + /** + * Converts this ReqReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ReqReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqReplaceShootingSchedule + * @function getTypeUrl + * @memberof ReqReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqReplaceShootingSchedule"; + }; + + return ReqReplaceShootingSchedule; +})(); + +$root.ResReplaceShootingSchedule = (function () { + /** + * Properties of a ResReplaceShootingSchedule. + * @exports IResReplaceShootingSchedule + * @interface IResReplaceShootingSchedule + * @property {IShootingScheduleMsg|null} [shootingSchedule] ResReplaceShootingSchedule shootingSchedule + * @property {number|null} [code] ResReplaceShootingSchedule code + */ + + /** + * Constructs a new ResReplaceShootingSchedule. + * @exports ResReplaceShootingSchedule + * @classdesc Represents a ResReplaceShootingSchedule. + * @implements IResReplaceShootingSchedule + * @constructor + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + */ + function ResReplaceShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResReplaceShootingSchedule shootingSchedule. + * @member {IShootingScheduleMsg|null|undefined} shootingSchedule + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.shootingSchedule = null; + + /** + * ResReplaceShootingSchedule code. + * @member {number} code + * @memberof ResReplaceShootingSchedule + * @instance + */ + ResReplaceShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResReplaceShootingSchedule instance using the specified properties. + * @function create + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule=} [properties] Properties to set + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule instance + */ + ResReplaceShootingSchedule.create = function create(properties) { + return new ResReplaceShootingSchedule(properties); + }; + + /** + * Encodes the specified ResReplaceShootingSchedule message. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.shootingSchedule != null && + Object.hasOwnProperty.call(message, "shootingSchedule") + ) + $root.ShootingScheduleMsg.encode( + message.shootingSchedule, + writer.uint32(/* id 1, wireType 2 =*/ 10).fork() + ).ldelim(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResReplaceShootingSchedule message, length delimited. Does not implicitly {@link ResReplaceShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {IResReplaceShootingSchedule} message ResReplaceShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResReplaceShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResReplaceShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.shootingSchedule = $root.ShootingScheduleMsg.decode( + reader, + reader.uint32() + ); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResReplaceShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResReplaceShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResReplaceShootingSchedule.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResReplaceShootingSchedule message. + * @function verify + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResReplaceShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) { + var error = $root.ShootingScheduleMsg.verify(message.shootingSchedule); + if (error) return "shootingSchedule." + error; + } + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResReplaceShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResReplaceShootingSchedule} ResReplaceShootingSchedule + */ + ResReplaceShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResReplaceShootingSchedule) return object; + var message = new $root.ResReplaceShootingSchedule(); + if (object.shootingSchedule != null) { + if (typeof object.shootingSchedule !== "object") + throw TypeError( + ".ResReplaceShootingSchedule.shootingSchedule: object expected" + ); + message.shootingSchedule = $root.ShootingScheduleMsg.fromObject( + object.shootingSchedule + ); + } + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResReplaceShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResReplaceShootingSchedule + * @static + * @param {ResReplaceShootingSchedule} message ResReplaceShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResReplaceShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.shootingSchedule = null; + object.code = 0; + } + if ( + message.shootingSchedule != null && + message.hasOwnProperty("shootingSchedule") + ) + object.shootingSchedule = $root.ShootingScheduleMsg.toObject( + message.shootingSchedule, + options + ); + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResReplaceShootingSchedule to JSON. + * @function toJSON + * @memberof ResReplaceShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResReplaceShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResReplaceShootingSchedule + * @function getTypeUrl + * @memberof ResReplaceShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResReplaceShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResReplaceShootingSchedule"; + }; + + return ResReplaceShootingSchedule; +})(); + +$root.ReqUnlockShootingSchedule = (function () { + /** + * Properties of a ReqUnlockShootingSchedule. + * @exports IReqUnlockShootingSchedule + * @interface IReqUnlockShootingSchedule + * @property {string|null} [id] ReqUnlockShootingSchedule id + * @property {string|null} [password] ReqUnlockShootingSchedule password + */ + + /** + * Constructs a new ReqUnlockShootingSchedule. + * @exports ReqUnlockShootingSchedule + * @classdesc Represents a ReqUnlockShootingSchedule. + * @implements IReqUnlockShootingSchedule + * @constructor + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + */ + function ReqUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqUnlockShootingSchedule id. + * @member {string} id + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.id = ""; + + /** + * ReqUnlockShootingSchedule password. + * @member {string} password + * @memberof ReqUnlockShootingSchedule + * @instance + */ + ReqUnlockShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule=} [properties] Properties to set + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule instance + */ + ReqUnlockShootingSchedule.create = function create(properties) { + return new ReqUnlockShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqUnlockShootingSchedule message. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqUnlockShootingSchedule message, length delimited. Does not implicitly {@link ReqUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {IReqUnlockShootingSchedule} message ReqUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqUnlockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqUnlockShootingSchedule message. + * @function verify + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqUnlockShootingSchedule} ReqUnlockShootingSchedule + */ + ReqUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqUnlockShootingSchedule) return object; + var message = new $root.ReqUnlockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqUnlockShootingSchedule + * @static + * @param {ReqUnlockShootingSchedule} message ReqUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqUnlockShootingSchedule + * @function getTypeUrl + * @memberof ReqUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqUnlockShootingSchedule"; + }; + + return ReqUnlockShootingSchedule; +})(); + +$root.ResUnlockShootingSchedule = (function () { + /** + * Properties of a ResUnlockShootingSchedule. + * @exports IResUnlockShootingSchedule + * @interface IResUnlockShootingSchedule + * @property {string|null} [id] ResUnlockShootingSchedule id + * @property {number|null} [code] ResUnlockShootingSchedule code + */ + + /** + * Constructs a new ResUnlockShootingSchedule. + * @exports ResUnlockShootingSchedule + * @classdesc Represents a ResUnlockShootingSchedule. + * @implements IResUnlockShootingSchedule + * @constructor + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + */ + function ResUnlockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResUnlockShootingSchedule id. + * @member {string} id + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.id = ""; + + /** + * ResUnlockShootingSchedule code. + * @member {number} code + * @memberof ResUnlockShootingSchedule + * @instance + */ + ResUnlockShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResUnlockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule=} [properties] Properties to set + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule instance + */ + ResUnlockShootingSchedule.create = function create(properties) { + return new ResUnlockShootingSchedule(properties); + }; + + /** + * Encodes the specified ResUnlockShootingSchedule message. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResUnlockShootingSchedule message, length delimited. Does not implicitly {@link ResUnlockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {IResUnlockShootingSchedule} message ResUnlockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResUnlockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResUnlockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResUnlockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResUnlockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResUnlockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResUnlockShootingSchedule message. + * @function verify + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResUnlockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResUnlockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResUnlockShootingSchedule} ResUnlockShootingSchedule + */ + ResUnlockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResUnlockShootingSchedule) return object; + var message = new $root.ResUnlockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResUnlockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResUnlockShootingSchedule + * @static + * @param {ResUnlockShootingSchedule} message ResUnlockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResUnlockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResUnlockShootingSchedule to JSON. + * @function toJSON + * @memberof ResUnlockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResUnlockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResUnlockShootingSchedule + * @function getTypeUrl + * @memberof ResUnlockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResUnlockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResUnlockShootingSchedule"; + }; + + return ResUnlockShootingSchedule; +})(); + +$root.ReqLockShootingSchedule = (function () { + /** + * Properties of a ReqLockShootingSchedule. + * @exports IReqLockShootingSchedule + * @interface IReqLockShootingSchedule + * @property {string|null} [id] ReqLockShootingSchedule id + * @property {string|null} [password] ReqLockShootingSchedule password + */ + + /** + * Constructs a new ReqLockShootingSchedule. + * @exports ReqLockShootingSchedule + * @classdesc Represents a ReqLockShootingSchedule. + * @implements IReqLockShootingSchedule + * @constructor + * @param {IReqLockShootingSchedule=} [properties] Properties to set + */ + function ReqLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqLockShootingSchedule id. + * @member {string} id + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.id = ""; + + /** + * ReqLockShootingSchedule password. + * @member {string} password + * @memberof ReqLockShootingSchedule + * @instance + */ + ReqLockShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule=} [properties] Properties to set + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule instance + */ + ReqLockShootingSchedule.create = function create(properties) { + return new ReqLockShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqLockShootingSchedule message. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqLockShootingSchedule message, length delimited. Does not implicitly {@link ReqLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {IReqLockShootingSchedule} message ReqLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqLockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqLockShootingSchedule message. + * @function verify + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqLockShootingSchedule} ReqLockShootingSchedule + */ + ReqLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqLockShootingSchedule) return object; + var message = new $root.ReqLockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqLockShootingSchedule + * @static + * @param {ReqLockShootingSchedule} message ReqLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqLockShootingSchedule to JSON. + * @function toJSON + * @memberof ReqLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqLockShootingSchedule + * @function getTypeUrl + * @memberof ReqLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqLockShootingSchedule"; + }; + + return ReqLockShootingSchedule; +})(); + +$root.ResLockShootingSchedule = (function () { + /** + * Properties of a ResLockShootingSchedule. + * @exports IResLockShootingSchedule + * @interface IResLockShootingSchedule + * @property {string|null} [id] ResLockShootingSchedule id + * @property {number|null} [code] ResLockShootingSchedule code + */ + + /** + * Constructs a new ResLockShootingSchedule. + * @exports ResLockShootingSchedule + * @classdesc Represents a ResLockShootingSchedule. + * @implements IResLockShootingSchedule + * @constructor + * @param {IResLockShootingSchedule=} [properties] Properties to set + */ + function ResLockShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResLockShootingSchedule id. + * @member {string} id + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.id = ""; + + /** + * ResLockShootingSchedule code. + * @member {number} code + * @memberof ResLockShootingSchedule + * @instance + */ + ResLockShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResLockShootingSchedule instance using the specified properties. + * @function create + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule=} [properties] Properties to set + * @returns {ResLockShootingSchedule} ResLockShootingSchedule instance + */ + ResLockShootingSchedule.create = function create(properties) { + return new ResLockShootingSchedule(properties); + }; + + /** + * Encodes the specified ResLockShootingSchedule message. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResLockShootingSchedule message, length delimited. Does not implicitly {@link ResLockShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {IResLockShootingSchedule} message ResLockShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResLockShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResLockShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResLockShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResLockShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResLockShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResLockShootingSchedule message. + * @function verify + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResLockShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResLockShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResLockShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResLockShootingSchedule} ResLockShootingSchedule + */ + ResLockShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResLockShootingSchedule) return object; + var message = new $root.ResLockShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResLockShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResLockShootingSchedule + * @static + * @param {ResLockShootingSchedule} message ResLockShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResLockShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResLockShootingSchedule to JSON. + * @function toJSON + * @memberof ResLockShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResLockShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResLockShootingSchedule + * @function getTypeUrl + * @memberof ResLockShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResLockShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResLockShootingSchedule"; + }; + + return ResLockShootingSchedule; +})(); + +$root.ReqDeleteShootingSchedule = (function () { + /** + * Properties of a ReqDeleteShootingSchedule. + * @exports IReqDeleteShootingSchedule + * @interface IReqDeleteShootingSchedule + * @property {string|null} [id] ReqDeleteShootingSchedule id + * @property {string|null} [password] ReqDeleteShootingSchedule password + */ + + /** + * Constructs a new ReqDeleteShootingSchedule. + * @exports ReqDeleteShootingSchedule + * @classdesc Represents a ReqDeleteShootingSchedule. + * @implements IReqDeleteShootingSchedule + * @constructor + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + */ + function ReqDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeleteShootingSchedule id. + * @member {string} id + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.id = ""; + + /** + * ReqDeleteShootingSchedule password. + * @member {string} password + * @memberof ReqDeleteShootingSchedule + * @instance + */ + ReqDeleteShootingSchedule.prototype.password = ""; + + /** + * Creates a new ReqDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule=} [properties] Properties to set + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule instance + */ + ReqDeleteShootingSchedule.create = function create(properties) { + return new ReqDeleteShootingSchedule(properties); + }; + + /** + * Encodes the specified ReqDeleteShootingSchedule message. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if ( + message.password != null && + Object.hasOwnProperty.call(message, "password") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.password); + return writer; + }; + + /** + * Encodes the specified ReqDeleteShootingSchedule message, length delimited. Does not implicitly {@link ReqDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {IReqDeleteShootingSchedule} message ReqDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeleteShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.password = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeleteShootingSchedule message. + * @function verify + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) return "password: string expected"; + return null; + }; + + /** + * Creates a ReqDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ReqDeleteShootingSchedule} ReqDeleteShootingSchedule + */ + ReqDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeleteShootingSchedule) return object; + var message = new $root.ReqDeleteShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.password != null) message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from a ReqDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeleteShootingSchedule + * @static + * @param {ReqDeleteShootingSchedule} message ReqDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.password = ""; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this ReqDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ReqDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ReqDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeleteShootingSchedule + * @function getTypeUrl + * @memberof ReqDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeleteShootingSchedule"; + }; + + return ReqDeleteShootingSchedule; +})(); + +$root.ResDeleteShootingSchedule = (function () { + /** + * Properties of a ResDeleteShootingSchedule. + * @exports IResDeleteShootingSchedule + * @interface IResDeleteShootingSchedule + * @property {string|null} [id] ResDeleteShootingSchedule id + * @property {number|null} [code] ResDeleteShootingSchedule code + */ + + /** + * Constructs a new ResDeleteShootingSchedule. + * @exports ResDeleteShootingSchedule + * @classdesc Represents a ResDeleteShootingSchedule. + * @implements IResDeleteShootingSchedule + * @constructor + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + */ + function ResDeleteShootingSchedule(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeleteShootingSchedule id. + * @member {string} id + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.id = ""; + + /** + * ResDeleteShootingSchedule code. + * @member {number} code + * @memberof ResDeleteShootingSchedule + * @instance + */ + ResDeleteShootingSchedule.prototype.code = 0; + + /** + * Creates a new ResDeleteShootingSchedule instance using the specified properties. + * @function create + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule=} [properties] Properties to set + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule instance + */ + ResDeleteShootingSchedule.create = function create(properties) { + return new ResDeleteShootingSchedule(properties); + }; + + /** + * Encodes the specified ResDeleteShootingSchedule message. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encode + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.id); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.code); + return writer; + }; + + /** + * Encodes the specified ResDeleteShootingSchedule message, length delimited. Does not implicitly {@link ResDeleteShootingSchedule.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {IResDeleteShootingSchedule} message ResDeleteShootingSchedule message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeleteShootingSchedule.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer. + * @function decode + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeleteShootingSchedule(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.code = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeleteShootingSchedule message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeleteShootingSchedule + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeleteShootingSchedule.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeleteShootingSchedule message. + * @function verify + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeleteShootingSchedule.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) return "id: string expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + return null; + }; + + /** + * Creates a ResDeleteShootingSchedule message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {Object.} object Plain object + * @returns {ResDeleteShootingSchedule} ResDeleteShootingSchedule + */ + ResDeleteShootingSchedule.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeleteShootingSchedule) return object; + var message = new $root.ResDeleteShootingSchedule(); + if (object.id != null) message.id = String(object.id); + if (object.code != null) message.code = object.code | 0; + return message; + }; + + /** + * Creates a plain object from a ResDeleteShootingSchedule message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeleteShootingSchedule + * @static + * @param {ResDeleteShootingSchedule} message ResDeleteShootingSchedule + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeleteShootingSchedule.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + object.code = 0; + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + return object; + }; + + /** + * Converts this ResDeleteShootingSchedule to JSON. + * @function toJSON + * @memberof ResDeleteShootingSchedule + * @instance + * @returns {Object.} JSON object + */ + ResDeleteShootingSchedule.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeleteShootingSchedule + * @function getTypeUrl + * @memberof ResDeleteShootingSchedule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeleteShootingSchedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeleteShootingSchedule"; + }; + + return ResDeleteShootingSchedule; +})(); + +$root.ReqSetTime = (function () { + /** + * Properties of a ReqSetTime. + * @exports IReqSetTime + * @interface IReqSetTime + * @property {number|Long|null} [timestamp] ReqSetTime timestamp + * @property {number|null} [timezoneOffset] ReqSetTime timezoneOffset + */ + + /** + * Constructs a new ReqSetTime. + * @exports ReqSetTime + * @classdesc Represents a ReqSetTime. + * @implements IReqSetTime + * @constructor + * @param {IReqSetTime=} [properties] Properties to set + */ + function ReqSetTime(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetTime timestamp. + * @member {number|Long} timestamp + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timestamp = $util.Long + ? $util.Long.fromBits(0, 0, true) + : 0; + + /** + * ReqSetTime timezoneOffset. + * @member {number} timezoneOffset + * @memberof ReqSetTime + * @instance + */ + ReqSetTime.prototype.timezoneOffset = 0; + + /** + * Creates a new ReqSetTime instance using the specified properties. + * @function create + * @memberof ReqSetTime + * @static + * @param {IReqSetTime=} [properties] Properties to set + * @returns {ReqSetTime} ReqSetTime instance + */ + ReqSetTime.create = function create(properties) { + return new ReqSetTime(properties); + }; + + /** + * Encodes the specified ReqSetTime message. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encode + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.timestamp != null && + Object.hasOwnProperty.call(message, "timestamp") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.timestamp); + if ( + message.timezoneOffset != null && + Object.hasOwnProperty.call(message, "timezoneOffset") + ) + writer.uint32(/* id 2, wireType 1 =*/ 17).double(message.timezoneOffset); + return writer; + }; + + /** + * Encodes the specified ReqSetTime message, length delimited. Does not implicitly {@link ReqSetTime.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTime + * @static + * @param {IReqSetTime} message ReqSetTime message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTime.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetTime(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timestamp = reader.uint64(); + break; + } + case 2: { + message.timezoneOffset = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetTime message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTime + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTime} ReqSetTime + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTime.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetTime message. + * @function verify + * @memberof ReqSetTime + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTime.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if ( + !$util.isInteger(message.timestamp) && + !( + message.timestamp && + $util.isInteger(message.timestamp.low) && + $util.isInteger(message.timestamp.high) + ) + ) + return "timestamp: integer|Long expected"; + if ( + message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset") + ) + if (typeof message.timezoneOffset !== "number") + return "timezoneOffset: number expected"; + return null; + }; + + /** + * Creates a ReqSetTime message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTime + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTime} ReqSetTime + */ + ReqSetTime.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTime) return object; + var message = new $root.ReqSetTime(); + if (object.timestamp != null) + if ($util.Long) + (message.timestamp = $util.Long.fromValue( + object.timestamp + )).unsigned = true; + else if (typeof object.timestamp === "string") + message.timestamp = parseInt(object.timestamp, 10); + else if (typeof object.timestamp === "number") + message.timestamp = object.timestamp; + else if (typeof object.timestamp === "object") + message.timestamp = new $util.LongBits( + object.timestamp.low >>> 0, + object.timestamp.high >>> 0 + ).toNumber(true); + if (object.timezoneOffset != null) + message.timezoneOffset = Number(object.timezoneOffset); + return message; + }; + + /** + * Creates a plain object from a ReqSetTime message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTime + * @static + * @param {ReqSetTime} message ReqSetTime + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTime.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.timestamp = + options.longs === String + ? long.toString() + : options.longs === Number + ? long.toNumber() + : long; + } else object.timestamp = options.longs === String ? "0" : 0; + object.timezoneOffset = 0; + } + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + if (typeof message.timestamp === "number") + object.timestamp = + options.longs === String + ? String(message.timestamp) + : message.timestamp; + else + object.timestamp = + options.longs === String + ? $util.Long.prototype.toString.call(message.timestamp) + : options.longs === Number + ? new $util.LongBits( + message.timestamp.low >>> 0, + message.timestamp.high >>> 0 + ).toNumber(true) + : message.timestamp; + if ( + message.timezoneOffset != null && + message.hasOwnProperty("timezoneOffset") + ) + object.timezoneOffset = + options.json && !isFinite(message.timezoneOffset) + ? String(message.timezoneOffset) + : message.timezoneOffset; + return object; + }; + + /** + * Converts this ReqSetTime to JSON. + * @function toJSON + * @memberof ReqSetTime + * @instance + * @returns {Object.} JSON object + */ + ReqSetTime.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetTime + * @function getTypeUrl + * @memberof ReqSetTime + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTime.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTime"; + }; + + return ReqSetTime; +})(); + +$root.ReqSetTimezone = (function () { + /** + * Properties of a ReqSetTimezone. + * @exports IReqSetTimezone + * @interface IReqSetTimezone + * @property {string|null} [timezone] ReqSetTimezone timezone + */ + + /** + * Constructs a new ReqSetTimezone. + * @exports ReqSetTimezone + * @classdesc Represents a ReqSetTimezone. + * @implements IReqSetTimezone + * @constructor + * @param {IReqSetTimezone=} [properties] Properties to set + */ + function ReqSetTimezone(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetTimezone timezone. + * @member {string} timezone + * @memberof ReqSetTimezone + * @instance + */ + ReqSetTimezone.prototype.timezone = ""; + + /** + * Creates a new ReqSetTimezone instance using the specified properties. + * @function create + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone=} [properties] Properties to set + * @returns {ReqSetTimezone} ReqSetTimezone instance + */ + ReqSetTimezone.create = function create(properties) { + return new ReqSetTimezone(properties); + }; + + /** + * Encodes the specified ReqSetTimezone message. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encode + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.timezone != null && + Object.hasOwnProperty.call(message, "timezone") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.timezone); + return writer; + }; + + /** + * Encodes the specified ReqSetTimezone message, length delimited. Does not implicitly {@link ReqSetTimezone.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {IReqSetTimezone} message ReqSetTimezone message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetTimezone.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer. + * @function decode + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetTimezone(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.timezone = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetTimezone message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetTimezone + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetTimezone} ReqSetTimezone + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetTimezone.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetTimezone message. + * @function verify + * @memberof ReqSetTimezone + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetTimezone.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.timezone != null && message.hasOwnProperty("timezone")) + if (!$util.isString(message.timezone)) return "timezone: string expected"; + return null; + }; + + /** + * Creates a ReqSetTimezone message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetTimezone + * @static + * @param {Object.} object Plain object + * @returns {ReqSetTimezone} ReqSetTimezone + */ + ReqSetTimezone.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetTimezone) return object; + var message = new $root.ReqSetTimezone(); + if (object.timezone != null) message.timezone = String(object.timezone); + return message; + }; + + /** + * Creates a plain object from a ReqSetTimezone message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetTimezone + * @static + * @param {ReqSetTimezone} message ReqSetTimezone + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetTimezone.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.timezone = ""; + if (message.timezone != null && message.hasOwnProperty("timezone")) + object.timezone = message.timezone; + return object; + }; + + /** + * Converts this ReqSetTimezone to JSON. + * @function toJSON + * @memberof ReqSetTimezone + * @instance + * @returns {Object.} JSON object + */ + ReqSetTimezone.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetTimezone + * @function getTypeUrl + * @memberof ReqSetTimezone + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetTimezone.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetTimezone"; + }; + + return ReqSetTimezone; +})(); + +$root.ReqSetMtpMode = (function () { + /** + * Properties of a ReqSetMtpMode. + * @exports IReqSetMtpMode + * @interface IReqSetMtpMode + * @property {number|null} [mode] ReqSetMtpMode mode + */ + + /** + * Constructs a new ReqSetMtpMode. + * @exports ReqSetMtpMode + * @classdesc Represents a ReqSetMtpMode. + * @implements IReqSetMtpMode + * @constructor + * @param {IReqSetMtpMode=} [properties] Properties to set + */ + function ReqSetMtpMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetMtpMode mode. + * @member {number} mode + * @memberof ReqSetMtpMode + * @instance + */ + ReqSetMtpMode.prototype.mode = 0; + + /** + * Creates a new ReqSetMtpMode instance using the specified properties. + * @function create + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode=} [properties] Properties to set + * @returns {ReqSetMtpMode} ReqSetMtpMode instance + */ + ReqSetMtpMode.create = function create(properties) { + return new ReqSetMtpMode(properties); + }; + + /** + * Encodes the specified ReqSetMtpMode message. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encode + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetMtpMode message, length delimited. Does not implicitly {@link ReqSetMtpMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {IReqSetMtpMode} message ReqSetMtpMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetMtpMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetMtpMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetMtpMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetMtpMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetMtpMode} ReqSetMtpMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetMtpMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetMtpMode message. + * @function verify + * @memberof ReqSetMtpMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetMtpMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetMtpMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetMtpMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetMtpMode} ReqSetMtpMode + */ + ReqSetMtpMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetMtpMode) return object; + var message = new $root.ReqSetMtpMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetMtpMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetMtpMode + * @static + * @param {ReqSetMtpMode} message ReqSetMtpMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetMtpMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetMtpMode to JSON. + * @function toJSON + * @memberof ReqSetMtpMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetMtpMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetMtpMode + * @function getTypeUrl + * @memberof ReqSetMtpMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetMtpMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetMtpMode"; + }; + + return ReqSetMtpMode; +})(); + +$root.ReqSetCpuMode = (function () { + /** + * Properties of a ReqSetCpuMode. + * @exports IReqSetCpuMode + * @interface IReqSetCpuMode + * @property {number|null} [mode] ReqSetCpuMode mode + */ + + /** + * Constructs a new ReqSetCpuMode. + * @exports ReqSetCpuMode + * @classdesc Represents a ReqSetCpuMode. + * @implements IReqSetCpuMode + * @constructor + * @param {IReqSetCpuMode=} [properties] Properties to set + */ + function ReqSetCpuMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqSetCpuMode mode. + * @member {number} mode + * @memberof ReqSetCpuMode + * @instance + */ + ReqSetCpuMode.prototype.mode = 0; + + /** + * Creates a new ReqSetCpuMode instance using the specified properties. + * @function create + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode=} [properties] Properties to set + * @returns {ReqSetCpuMode} ReqSetCpuMode instance + */ + ReqSetCpuMode.create = function create(properties) { + return new ReqSetCpuMode(properties); + }; + + /** + * Encodes the specified ReqSetCpuMode message. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encode + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqSetCpuMode message, length delimited. Does not implicitly {@link ReqSetCpuMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {IReqSetCpuMode} message ReqSetCpuMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqSetCpuMode.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer. + * @function decode + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqSetCpuMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqSetCpuMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqSetCpuMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqSetCpuMode} ReqSetCpuMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqSetCpuMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqSetCpuMode message. + * @function verify + * @memberof ReqSetCpuMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqSetCpuMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqSetCpuMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqSetCpuMode + * @static + * @param {Object.} object Plain object + * @returns {ReqSetCpuMode} ReqSetCpuMode + */ + ReqSetCpuMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqSetCpuMode) return object; + var message = new $root.ReqSetCpuMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqSetCpuMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqSetCpuMode + * @static + * @param {ReqSetCpuMode} message ReqSetCpuMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqSetCpuMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqSetCpuMode to JSON. + * @function toJSON + * @memberof ReqSetCpuMode + * @instance + * @returns {Object.} JSON object + */ + ReqSetCpuMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqSetCpuMode + * @function getTypeUrl + * @memberof ReqSetCpuMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqSetCpuMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqSetCpuMode"; + }; + + return ReqSetCpuMode; +})(); + +$root.ReqsetMasterLock = (function () { + /** + * Properties of a ReqsetMasterLock. + * @exports IReqsetMasterLock + * @interface IReqsetMasterLock + * @property {boolean|null} [lock] ReqsetMasterLock lock + */ + + /** + * Constructs a new ReqsetMasterLock. + * @exports ReqsetMasterLock + * @classdesc Represents a ReqsetMasterLock. + * @implements IReqsetMasterLock + * @constructor + * @param {IReqsetMasterLock=} [properties] Properties to set + */ + function ReqsetMasterLock(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqsetMasterLock lock. + * @member {boolean} lock + * @memberof ReqsetMasterLock + * @instance + */ + ReqsetMasterLock.prototype.lock = false; + + /** + * Creates a new ReqsetMasterLock instance using the specified properties. + * @function create + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock=} [properties] Properties to set + * @returns {ReqsetMasterLock} ReqsetMasterLock instance + */ + ReqsetMasterLock.create = function create(properties) { + return new ReqsetMasterLock(properties); + }; + + /** + * Encodes the specified ReqsetMasterLock message. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encode + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.lock != null && Object.hasOwnProperty.call(message, "lock")) + writer.uint32(/* id 1, wireType 0 =*/ 8).bool(message.lock); + return writer; + }; + + /** + * Encodes the specified ReqsetMasterLock message, length delimited. Does not implicitly {@link ReqsetMasterLock.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {IReqsetMasterLock} message ReqsetMasterLock message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqsetMasterLock.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer. + * @function decode + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqsetMasterLock(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.lock = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqsetMasterLock message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqsetMasterLock + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqsetMasterLock} ReqsetMasterLock + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqsetMasterLock.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqsetMasterLock message. + * @function verify + * @memberof ReqsetMasterLock + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqsetMasterLock.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.lock != null && message.hasOwnProperty("lock")) + if (typeof message.lock !== "boolean") return "lock: boolean expected"; + return null; + }; + + /** + * Creates a ReqsetMasterLock message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqsetMasterLock + * @static + * @param {Object.} object Plain object + * @returns {ReqsetMasterLock} ReqsetMasterLock + */ + ReqsetMasterLock.fromObject = function fromObject(object) { + if (object instanceof $root.ReqsetMasterLock) return object; + var message = new $root.ReqsetMasterLock(); + if (object.lock != null) message.lock = Boolean(object.lock); + return message; + }; + + /** + * Creates a plain object from a ReqsetMasterLock message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqsetMasterLock + * @static + * @param {ReqsetMasterLock} message ReqsetMasterLock + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqsetMasterLock.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.lock = false; + if (message.lock != null && message.hasOwnProperty("lock")) + object.lock = message.lock; + return object; + }; + + /** + * Converts this ReqsetMasterLock to JSON. + * @function toJSON + * @memberof ReqsetMasterLock + * @instance + * @returns {Object.} JSON object + */ + ReqsetMasterLock.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqsetMasterLock + * @function getTypeUrl + * @memberof ReqsetMasterLock + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqsetMasterLock.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqsetMasterLock"; + }; + + return ReqsetMasterLock; +})(); + +$root.ReqGetDeviceActivateInfo = (function () { + /** + * Properties of a ReqGetDeviceActivateInfo. + * @exports IReqGetDeviceActivateInfo + * @interface IReqGetDeviceActivateInfo + * @property {number|null} [issuer] ReqGetDeviceActivateInfo issuer + */ + + /** + * Constructs a new ReqGetDeviceActivateInfo. + * @exports ReqGetDeviceActivateInfo + * @classdesc Represents a ReqGetDeviceActivateInfo. + * @implements IReqGetDeviceActivateInfo + * @constructor + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + */ + function ReqGetDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqGetDeviceActivateInfo issuer. + * @member {number} issuer + * @memberof ReqGetDeviceActivateInfo + * @instance + */ + ReqGetDeviceActivateInfo.prototype.issuer = 0; + + /** + * Creates a new ReqGetDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo=} [properties] Properties to set + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo instance + */ + ReqGetDeviceActivateInfo.create = function create(properties) { + return new ReqGetDeviceActivateInfo(properties); + }; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.issuer); + return writer; + }; + + /** + * Encodes the specified ReqGetDeviceActivateInfo message, length delimited. Does not implicitly {@link ReqGetDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {IReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqGetDeviceActivateInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqGetDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.issuer = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqGetDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqGetDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqGetDeviceActivateInfo message. + * @function verify + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqGetDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.issuer != null && message.hasOwnProperty("issuer")) + if (!$util.isInteger(message.issuer)) return "issuer: integer expected"; + return null; + }; + + /** + * Creates a ReqGetDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ReqGetDeviceActivateInfo} ReqGetDeviceActivateInfo + */ + ReqGetDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ReqGetDeviceActivateInfo) return object; + var message = new $root.ReqGetDeviceActivateInfo(); + if (object.issuer != null) message.issuer = object.issuer | 0; + return message; + }; + + /** + * Creates a plain object from a ReqGetDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {ReqGetDeviceActivateInfo} message ReqGetDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqGetDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.issuer = 0; + if (message.issuer != null && message.hasOwnProperty("issuer")) + object.issuer = message.issuer; + return object; + }; + + /** + * Converts this ReqGetDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ReqGetDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ReqGetDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqGetDeviceActivateInfo + * @function getTypeUrl + * @memberof ReqGetDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqGetDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqGetDeviceActivateInfo"; + }; + + return ReqGetDeviceActivateInfo; +})(); + +$root.ResDeviceActivateInfo = (function () { + /** + * Properties of a ResDeviceActivateInfo. + * @exports IResDeviceActivateInfo + * @interface IResDeviceActivateInfo + * @property {number|null} [activateState] ResDeviceActivateInfo activateState + * @property {number|null} [activateProcessState] ResDeviceActivateInfo activateProcessState + * @property {string|null} [requestParam] ResDeviceActivateInfo requestParam + */ + + /** + * Constructs a new ResDeviceActivateInfo. + * @exports ResDeviceActivateInfo + * @classdesc Represents a ResDeviceActivateInfo. + * @implements IResDeviceActivateInfo + * @constructor + * @param {IResDeviceActivateInfo=} [properties] Properties to set + */ + function ResDeviceActivateInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateInfo activateState. + * @member {number} activateState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateState = 0; + + /** + * ResDeviceActivateInfo activateProcessState. + * @member {number} activateProcessState + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.activateProcessState = 0; + + /** + * ResDeviceActivateInfo requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateInfo + * @instance + */ + ResDeviceActivateInfo.prototype.requestParam = ""; + + /** + * Creates a new ResDeviceActivateInfo instance using the specified properties. + * @function create + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo=} [properties] Properties to set + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo instance + */ + ResDeviceActivateInfo.create = function create(properties) { + return new ResDeviceActivateInfo(properties); + }; + + /** + * Encodes the specified ResDeviceActivateInfo message. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.activateState); + if ( + message.activateProcessState != null && + Object.hasOwnProperty.call(message, "activateProcessState") + ) + writer + .uint32(/* id 2, wireType 0 =*/ 16) + .int32(message.activateProcessState); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateInfo message, length delimited. Does not implicitly {@link ResDeviceActivateInfo.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {IResDeviceActivateInfo} message ResDeviceActivateInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateInfo.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.activateState = reader.int32(); + break; + } + case 2: { + message.activateProcessState = reader.int32(); + break; + } + case 3: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateInfo message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateInfo.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateInfo message. + * @function verify + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + if ( + message.activateProcessState != null && + message.hasOwnProperty("activateProcessState") + ) + if (!$util.isInteger(message.activateProcessState)) + return "activateProcessState: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateInfo message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateInfo + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateInfo} ResDeviceActivateInfo + */ + ResDeviceActivateInfo.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateInfo) return object; + var message = new $root.ResDeviceActivateInfo(); + if (object.activateState != null) + message.activateState = object.activateState | 0; + if (object.activateProcessState != null) + message.activateProcessState = object.activateProcessState | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateInfo message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateInfo + * @static + * @param {ResDeviceActivateInfo} message ResDeviceActivateInfo + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateInfo.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.activateState = 0; + object.activateProcessState = 0; + object.requestParam = ""; + } + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + if ( + message.activateProcessState != null && + message.hasOwnProperty("activateProcessState") + ) + object.activateProcessState = message.activateProcessState; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ResDeviceActivateInfo to JSON. + * @function toJSON + * @memberof ResDeviceActivateInfo + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateInfo.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateInfo + * @function getTypeUrl + * @memberof ResDeviceActivateInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateInfo"; + }; + + return ResDeviceActivateInfo; +})(); + +$root.ReqDeviceActivateWriteFile = (function () { + /** + * Properties of a ReqDeviceActivateWriteFile. + * @exports IReqDeviceActivateWriteFile + * @interface IReqDeviceActivateWriteFile + * @property {string|null} [requestParam] ReqDeviceActivateWriteFile requestParam + */ + + /** + * Constructs a new ReqDeviceActivateWriteFile. + * @exports ReqDeviceActivateWriteFile + * @classdesc Represents a ReqDeviceActivateWriteFile. + * @implements IReqDeviceActivateWriteFile + * @constructor + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + */ + function ReqDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateWriteFile + * @instance + */ + ReqDeviceActivateWriteFile.prototype.requestParam = ""; + + /** + * Creates a new ReqDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile instance + */ + ReqDeviceActivateWriteFile.create = function create(properties) { + return new ReqDeviceActivateWriteFile(properties); + }; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ReqDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {IReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateWriteFile.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateWriteFile.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeviceActivateWriteFile message. + * @function verify + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateWriteFile} ReqDeviceActivateWriteFile + */ + ReqDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateWriteFile) return object; + var message = new $root.ReqDeviceActivateWriteFile(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {ReqDeviceActivateWriteFile} message ReqDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ReqDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ReqDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateWriteFile"; + }; + + return ReqDeviceActivateWriteFile; +})(); + +$root.ResDeviceActivateWriteFile = (function () { + /** + * Properties of a ResDeviceActivateWriteFile. + * @exports IResDeviceActivateWriteFile + * @interface IResDeviceActivateWriteFile + * @property {number|null} [code] ResDeviceActivateWriteFile code + * @property {string|null} [requestParam] ResDeviceActivateWriteFile requestParam + */ + + /** + * Constructs a new ResDeviceActivateWriteFile. + * @exports ResDeviceActivateWriteFile + * @classdesc Represents a ResDeviceActivateWriteFile. + * @implements IResDeviceActivateWriteFile + * @constructor + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + */ + function ResDeviceActivateWriteFile(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateWriteFile code. + * @member {number} code + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.code = 0; + + /** + * ResDeviceActivateWriteFile requestParam. + * @member {string} requestParam + * @memberof ResDeviceActivateWriteFile + * @instance + */ + ResDeviceActivateWriteFile.prototype.requestParam = ""; + + /** + * Creates a new ResDeviceActivateWriteFile instance using the specified properties. + * @function create + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile=} [properties] Properties to set + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile instance + */ + ResDeviceActivateWriteFile.create = function create(properties) { + return new ResDeviceActivateWriteFile(properties); + }; + + /** + * Encodes the specified ResDeviceActivateWriteFile message. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateWriteFile message, length delimited. Does not implicitly {@link ResDeviceActivateWriteFile.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {IResDeviceActivateWriteFile} message ResDeviceActivateWriteFile message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateWriteFile.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateWriteFile(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateWriteFile message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateWriteFile + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateWriteFile.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateWriteFile message. + * @function verify + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateWriteFile.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateWriteFile message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateWriteFile} ResDeviceActivateWriteFile + */ + ResDeviceActivateWriteFile.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateWriteFile) return object; + var message = new $root.ResDeviceActivateWriteFile(); + if (object.code != null) message.code = object.code | 0; + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateWriteFile message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateWriteFile + * @static + * @param {ResDeviceActivateWriteFile} message ResDeviceActivateWriteFile + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateWriteFile.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.requestParam = ""; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ResDeviceActivateWriteFile to JSON. + * @function toJSON + * @memberof ResDeviceActivateWriteFile + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateWriteFile.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateWriteFile + * @function getTypeUrl + * @memberof ResDeviceActivateWriteFile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateWriteFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateWriteFile"; + }; + + return ResDeviceActivateWriteFile; +})(); + +$root.ReqDeviceActivateSuccessfull = (function () { + /** + * Properties of a ReqDeviceActivateSuccessfull. + * @exports IReqDeviceActivateSuccessfull + * @interface IReqDeviceActivateSuccessfull + * @property {string|null} [requestParam] ReqDeviceActivateSuccessfull requestParam + */ + + /** + * Constructs a new ReqDeviceActivateSuccessfull. + * @exports ReqDeviceActivateSuccessfull + * @classdesc Represents a ReqDeviceActivateSuccessfull. + * @implements IReqDeviceActivateSuccessfull + * @constructor + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ReqDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDeviceActivateSuccessfull requestParam. + * @member {string} requestParam + * @memberof ReqDeviceActivateSuccessfull + * @instance + */ + ReqDeviceActivateSuccessfull.prototype.requestParam = ""; + + /** + * Creates a new ReqDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull instance + */ + ReqDeviceActivateSuccessfull.create = function create(properties) { + return new ReqDeviceActivateSuccessfull(properties); + }; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ReqDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {IReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDeviceActivateSuccessfull message. + * @function verify + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ReqDeviceActivateSuccessfull} ReqDeviceActivateSuccessfull + */ + ReqDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDeviceActivateSuccessfull) return object; + var message = new $root.ReqDeviceActivateSuccessfull(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {ReqDeviceActivateSuccessfull} message ReqDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ReqDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ReqDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ReqDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDeviceActivateSuccessfull"; + }; + + return ReqDeviceActivateSuccessfull; +})(); + +$root.ResDeviceActivateSuccessfull = (function () { + /** + * Properties of a ResDeviceActivateSuccessfull. + * @exports IResDeviceActivateSuccessfull + * @interface IResDeviceActivateSuccessfull + * @property {number|null} [code] ResDeviceActivateSuccessfull code + * @property {number|null} [activateState] ResDeviceActivateSuccessfull activateState + */ + + /** + * Constructs a new ResDeviceActivateSuccessfull. + * @exports ResDeviceActivateSuccessfull + * @classdesc Represents a ResDeviceActivateSuccessfull. + * @implements IResDeviceActivateSuccessfull + * @constructor + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + */ + function ResDeviceActivateSuccessfull(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDeviceActivateSuccessfull code. + * @member {number} code + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.code = 0; + + /** + * ResDeviceActivateSuccessfull activateState. + * @member {number} activateState + * @memberof ResDeviceActivateSuccessfull + * @instance + */ + ResDeviceActivateSuccessfull.prototype.activateState = 0; + + /** + * Creates a new ResDeviceActivateSuccessfull instance using the specified properties. + * @function create + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull=} [properties] Properties to set + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull instance + */ + ResDeviceActivateSuccessfull.create = function create(properties) { + return new ResDeviceActivateSuccessfull(properties); + }; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + + /** + * Encodes the specified ResDeviceActivateSuccessfull message, length delimited. Does not implicitly {@link ResDeviceActivateSuccessfull.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {IResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDeviceActivateSuccessfull.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer. + * @function decode + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDeviceActivateSuccessfull(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDeviceActivateSuccessfull message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDeviceActivateSuccessfull.decodeDelimited = function decodeDelimited( + reader + ) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDeviceActivateSuccessfull message. + * @function verify + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDeviceActivateSuccessfull.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + + /** + * Creates a ResDeviceActivateSuccessfull message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {Object.} object Plain object + * @returns {ResDeviceActivateSuccessfull} ResDeviceActivateSuccessfull + */ + ResDeviceActivateSuccessfull.fromObject = function fromObject(object) { + if (object instanceof $root.ResDeviceActivateSuccessfull) return object; + var message = new $root.ResDeviceActivateSuccessfull(); + if (object.code != null) message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + + /** + * Creates a plain object from a ResDeviceActivateSuccessfull message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {ResDeviceActivateSuccessfull} message ResDeviceActivateSuccessfull + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDeviceActivateSuccessfull.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + return object; + }; + + /** + * Converts this ResDeviceActivateSuccessfull to JSON. + * @function toJSON + * @memberof ResDeviceActivateSuccessfull + * @instance + * @returns {Object.} JSON object + */ + ResDeviceActivateSuccessfull.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDeviceActivateSuccessfull + * @function getTypeUrl + * @memberof ResDeviceActivateSuccessfull + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDeviceActivateSuccessfull.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDeviceActivateSuccessfull"; + }; + + return ResDeviceActivateSuccessfull; +})(); + +$root.ReqDisableDeviceActivate = (function () { + /** + * Properties of a ReqDisableDeviceActivate. + * @exports IReqDisableDeviceActivate + * @interface IReqDisableDeviceActivate + * @property {string|null} [requestParam] ReqDisableDeviceActivate requestParam + */ + + /** + * Constructs a new ReqDisableDeviceActivate. + * @exports ReqDisableDeviceActivate + * @classdesc Represents a ReqDisableDeviceActivate. + * @implements IReqDisableDeviceActivate + * @constructor + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + */ + function ReqDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqDisableDeviceActivate requestParam. + * @member {string} requestParam + * @memberof ReqDisableDeviceActivate + * @instance + */ + ReqDisableDeviceActivate.prototype.requestParam = ""; + + /** + * Creates a new ReqDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate=} [properties] Properties to set + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate instance + */ + ReqDisableDeviceActivate.create = function create(properties) { + return new ReqDisableDeviceActivate(properties); + }; + + /** + * Encodes the specified ReqDisableDeviceActivate message. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if ( + message.requestParam != null && + Object.hasOwnProperty.call(message, "requestParam") + ) + writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.requestParam); + return writer; + }; + + /** + * Encodes the specified ReqDisableDeviceActivate message, length delimited. Does not implicitly {@link ReqDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {IReqDisableDeviceActivate} message ReqDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqDisableDeviceActivate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.requestParam = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqDisableDeviceActivate message. + * @function verify + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + if (!$util.isString(message.requestParam)) + return "requestParam: string expected"; + return null; + }; + + /** + * Creates a ReqDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ReqDisableDeviceActivate} ReqDisableDeviceActivate + */ + ReqDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ReqDisableDeviceActivate) return object; + var message = new $root.ReqDisableDeviceActivate(); + if (object.requestParam != null) + message.requestParam = String(object.requestParam); + return message; + }; + + /** + * Creates a plain object from a ReqDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqDisableDeviceActivate + * @static + * @param {ReqDisableDeviceActivate} message ReqDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.requestParam = ""; + if (message.requestParam != null && message.hasOwnProperty("requestParam")) + object.requestParam = message.requestParam; + return object; + }; + + /** + * Converts this ReqDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ReqDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ReqDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqDisableDeviceActivate + * @function getTypeUrl + * @memberof ReqDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqDisableDeviceActivate"; + }; + + return ReqDisableDeviceActivate; +})(); + +$root.ResDisableDeviceActivate = (function () { + /** + * Properties of a ResDisableDeviceActivate. + * @exports IResDisableDeviceActivate + * @interface IResDisableDeviceActivate + * @property {number|null} [code] ResDisableDeviceActivate code + * @property {number|null} [activateState] ResDisableDeviceActivate activateState + */ + + /** + * Constructs a new ResDisableDeviceActivate. + * @exports ResDisableDeviceActivate + * @classdesc Represents a ResDisableDeviceActivate. + * @implements IResDisableDeviceActivate + * @constructor + * @param {IResDisableDeviceActivate=} [properties] Properties to set + */ + function ResDisableDeviceActivate(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ResDisableDeviceActivate code. + * @member {number} code + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.code = 0; + + /** + * ResDisableDeviceActivate activateState. + * @member {number} activateState + * @memberof ResDisableDeviceActivate + * @instance + */ + ResDisableDeviceActivate.prototype.activateState = 0; + + /** + * Creates a new ResDisableDeviceActivate instance using the specified properties. + * @function create + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate=} [properties] Properties to set + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate instance + */ + ResDisableDeviceActivate.create = function create(properties) { + return new ResDisableDeviceActivate(properties); + }; + + /** + * Encodes the specified ResDisableDeviceActivate message. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encode + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.code != null && Object.hasOwnProperty.call(message, "code")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.code); + if ( + message.activateState != null && + Object.hasOwnProperty.call(message, "activateState") + ) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.activateState); + return writer; + }; + + /** + * Encodes the specified ResDisableDeviceActivate message, length delimited. Does not implicitly {@link ResDisableDeviceActivate.verify|verify} messages. + * @function encodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {IResDisableDeviceActivate} message ResDisableDeviceActivate message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ResDisableDeviceActivate.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer. + * @function decode + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ResDisableDeviceActivate(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.activateState = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ResDisableDeviceActivate message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ResDisableDeviceActivate + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ResDisableDeviceActivate.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ResDisableDeviceActivate message. + * @function verify + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResDisableDeviceActivate.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isInteger(message.code)) return "code: integer expected"; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + if (!$util.isInteger(message.activateState)) + return "activateState: integer expected"; + return null; + }; + + /** + * Creates a ResDisableDeviceActivate message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ResDisableDeviceActivate + * @static + * @param {Object.} object Plain object + * @returns {ResDisableDeviceActivate} ResDisableDeviceActivate + */ + ResDisableDeviceActivate.fromObject = function fromObject(object) { + if (object instanceof $root.ResDisableDeviceActivate) return object; + var message = new $root.ResDisableDeviceActivate(); + if (object.code != null) message.code = object.code | 0; + if (object.activateState != null) + message.activateState = object.activateState | 0; + return message; + }; + + /** + * Creates a plain object from a ResDisableDeviceActivate message. Also converts values to other types if specified. + * @function toObject + * @memberof ResDisableDeviceActivate + * @static + * @param {ResDisableDeviceActivate} message ResDisableDeviceActivate + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ResDisableDeviceActivate.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.code = 0; + object.activateState = 0; + } + if (message.code != null && message.hasOwnProperty("code")) + object.code = message.code; + if ( + message.activateState != null && + message.hasOwnProperty("activateState") + ) + object.activateState = message.activateState; + return object; + }; + + /** + * Converts this ResDisableDeviceActivate to JSON. + * @function toJSON + * @memberof ResDisableDeviceActivate + * @instance + * @returns {Object.} JSON object + */ + ResDisableDeviceActivate.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ResDisableDeviceActivate + * @function getTypeUrl + * @memberof ResDisableDeviceActivate + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResDisableDeviceActivate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ResDisableDeviceActivate"; + }; + + return ResDisableDeviceActivate; +})(); + +$root.ReqStartTrack = (function () { + /** + * Properties of a ReqStartTrack. + * @exports IReqStartTrack + * @interface IReqStartTrack + * @property {number|null} [x] ReqStartTrack x + * @property {number|null} [y] ReqStartTrack y + * @property {number|null} [w] ReqStartTrack w + * @property {number|null} [h] ReqStartTrack h + */ + + /** + * Constructs a new ReqStartTrack. + * @exports ReqStartTrack + * @classdesc Represents a ReqStartTrack. + * @implements IReqStartTrack + * @constructor + * @param {IReqStartTrack=} [properties] Properties to set + */ + function ReqStartTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartTrack x. + * @member {number} x + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.x = 0; + + /** + * ReqStartTrack y. + * @member {number} y + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.y = 0; + + /** + * ReqStartTrack w. + * @member {number} w + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.w = 0; + + /** + * ReqStartTrack h. + * @member {number} h + * @memberof ReqStartTrack + * @instance + */ + ReqStartTrack.prototype.h = 0; + + /** + * Creates a new ReqStartTrack instance using the specified properties. + * @function create + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack=} [properties] Properties to set + * @returns {ReqStartTrack} ReqStartTrack instance + */ + ReqStartTrack.create = function create(properties) { + return new ReqStartTrack(properties); + }; + + /** + * Encodes the specified ReqStartTrack message. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encode + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.x != null && Object.hasOwnProperty.call(message, "x")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.x); + if (message.y != null && Object.hasOwnProperty.call(message, "y")) + writer.uint32(/* id 2, wireType 0 =*/ 16).int32(message.y); + if (message.w != null && Object.hasOwnProperty.call(message, "w")) + writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.w); + if (message.h != null && Object.hasOwnProperty.call(message, "h")) + writer.uint32(/* id 4, wireType 0 =*/ 32).int32(message.h); + return writer; + }; + + /** + * Encodes the specified ReqStartTrack message, length delimited. Does not implicitly {@link ReqStartTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartTrack + * @static + * @param {IReqStartTrack} message ReqStartTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.x = reader.int32(); + break; + } + case 2: { + message.y = reader.int32(); + break; + } + case 3: { + message.w = reader.int32(); + break; + } + case 4: { + message.h = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartTrack} ReqStartTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartTrack message. + * @function verify + * @memberof ReqStartTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.x != null && message.hasOwnProperty("x")) + if (!$util.isInteger(message.x)) return "x: integer expected"; + if (message.y != null && message.hasOwnProperty("y")) + if (!$util.isInteger(message.y)) return "y: integer expected"; + if (message.w != null && message.hasOwnProperty("w")) + if (!$util.isInteger(message.w)) return "w: integer expected"; + if (message.h != null && message.hasOwnProperty("h")) + if (!$util.isInteger(message.h)) return "h: integer expected"; + return null; + }; + + /** + * Creates a ReqStartTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStartTrack} ReqStartTrack + */ + ReqStartTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartTrack) return object; + var message = new $root.ReqStartTrack(); + if (object.x != null) message.x = object.x | 0; + if (object.y != null) message.y = object.y | 0; + if (object.w != null) message.w = object.w | 0; + if (object.h != null) message.h = object.h | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartTrack + * @static + * @param {ReqStartTrack} message ReqStartTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartTrack.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) { + object.x = 0; + object.y = 0; + object.w = 0; + object.h = 0; + } + if (message.x != null && message.hasOwnProperty("x")) object.x = message.x; + if (message.y != null && message.hasOwnProperty("y")) object.y = message.y; + if (message.w != null && message.hasOwnProperty("w")) object.w = message.w; + if (message.h != null && message.hasOwnProperty("h")) object.h = message.h; + return object; + }; + + /** + * Converts this ReqStartTrack to JSON. + * @function toJSON + * @memberof ReqStartTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStartTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartTrack + * @function getTypeUrl + * @memberof ReqStartTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartTrack"; + }; + + return ReqStartTrack; +})(); + +$root.ReqStopTrack = (function () { + /** + * Properties of a ReqStopTrack. + * @exports IReqStopTrack + * @interface IReqStopTrack + */ + + /** + * Constructs a new ReqStopTrack. + * @exports ReqStopTrack + * @classdesc Represents a ReqStopTrack. + * @implements IReqStopTrack + * @constructor + * @param {IReqStopTrack=} [properties] Properties to set + */ + function ReqStopTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopTrack instance using the specified properties. + * @function create + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack=} [properties] Properties to set + * @returns {ReqStopTrack} ReqStopTrack instance + */ + ReqStopTrack.create = function create(properties) { + return new ReqStopTrack(properties); + }; + + /** + * Encodes the specified ReqStopTrack message. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encode + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopTrack message, length delimited. Does not implicitly {@link ReqStopTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopTrack + * @static + * @param {IReqStopTrack} message ReqStopTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopTrack} ReqStopTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopTrack message. + * @function verify + * @memberof ReqStopTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqStopTrack} ReqStopTrack + */ + ReqStopTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopTrack) return object; + return new $root.ReqStopTrack(); + }; + + /** + * Creates a plain object from a ReqStopTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopTrack + * @static + * @param {ReqStopTrack} message ReqStopTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopTrack to JSON. + * @function toJSON + * @memberof ReqStopTrack + * @instance + * @returns {Object.} JSON object + */ + ReqStopTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopTrack + * @function getTypeUrl + * @memberof ReqStopTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopTrack"; + }; + + return ReqStopTrack; +})(); + +$root.ReqPauseTrack = (function () { + /** + * Properties of a ReqPauseTrack. + * @exports IReqPauseTrack + * @interface IReqPauseTrack + */ + + /** + * Constructs a new ReqPauseTrack. + * @exports ReqPauseTrack + * @classdesc Represents a ReqPauseTrack. + * @implements IReqPauseTrack + * @constructor + * @param {IReqPauseTrack=} [properties] Properties to set + */ + function ReqPauseTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqPauseTrack instance using the specified properties. + * @function create + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack=} [properties] Properties to set + * @returns {ReqPauseTrack} ReqPauseTrack instance + */ + ReqPauseTrack.create = function create(properties) { + return new ReqPauseTrack(properties); + }; + + /** + * Encodes the specified ReqPauseTrack message. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encode + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqPauseTrack message, length delimited. Does not implicitly {@link ReqPauseTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {IReqPauseTrack} message ReqPauseTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqPauseTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqPauseTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqPauseTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqPauseTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqPauseTrack} ReqPauseTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqPauseTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqPauseTrack message. + * @function verify + * @memberof ReqPauseTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqPauseTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqPauseTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqPauseTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqPauseTrack} ReqPauseTrack + */ + ReqPauseTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqPauseTrack) return object; + return new $root.ReqPauseTrack(); + }; + + /** + * Creates a plain object from a ReqPauseTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqPauseTrack + * @static + * @param {ReqPauseTrack} message ReqPauseTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqPauseTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqPauseTrack to JSON. + * @function toJSON + * @memberof ReqPauseTrack + * @instance + * @returns {Object.} JSON object + */ + ReqPauseTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqPauseTrack + * @function getTypeUrl + * @memberof ReqPauseTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqPauseTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqPauseTrack"; + }; + + return ReqPauseTrack; +})(); + +$root.ReqContinueTrack = (function () { + /** + * Properties of a ReqContinueTrack. + * @exports IReqContinueTrack + * @interface IReqContinueTrack + */ + + /** + * Constructs a new ReqContinueTrack. + * @exports ReqContinueTrack + * @classdesc Represents a ReqContinueTrack. + * @implements IReqContinueTrack + * @constructor + * @param {IReqContinueTrack=} [properties] Properties to set + */ + function ReqContinueTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqContinueTrack instance using the specified properties. + * @function create + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack=} [properties] Properties to set + * @returns {ReqContinueTrack} ReqContinueTrack instance + */ + ReqContinueTrack.create = function create(properties) { + return new ReqContinueTrack(properties); + }; + + /** + * Encodes the specified ReqContinueTrack message. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encode + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqContinueTrack message, length delimited. Does not implicitly {@link ReqContinueTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {IReqContinueTrack} message ReqContinueTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqContinueTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqContinueTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqContinueTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqContinueTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqContinueTrack} ReqContinueTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqContinueTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqContinueTrack message. + * @function verify + * @memberof ReqContinueTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqContinueTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqContinueTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqContinueTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqContinueTrack} ReqContinueTrack + */ + ReqContinueTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqContinueTrack) return object; + return new $root.ReqContinueTrack(); + }; + + /** + * Creates a plain object from a ReqContinueTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqContinueTrack + * @static + * @param {ReqContinueTrack} message ReqContinueTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqContinueTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqContinueTrack to JSON. + * @function toJSON + * @memberof ReqContinueTrack + * @instance + * @returns {Object.} JSON object + */ + ReqContinueTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqContinueTrack + * @function getTypeUrl + * @memberof ReqContinueTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqContinueTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqContinueTrack"; + }; + + return ReqContinueTrack; +})(); + +$root.ReqStartSentryMode = (function () { + /** + * Properties of a ReqStartSentryMode. + * @exports IReqStartSentryMode + * @interface IReqStartSentryMode + * @property {number|null} [mode] ReqStartSentryMode mode + */ + + /** + * Constructs a new ReqStartSentryMode. + * @exports ReqStartSentryMode + * @classdesc Represents a ReqStartSentryMode. + * @implements IReqStartSentryMode + * @constructor + * @param {IReqStartSentryMode=} [properties] Properties to set + */ + function ReqStartSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqStartSentryMode mode. + * @member {number} mode + * @memberof ReqStartSentryMode + * @instance + */ + ReqStartSentryMode.prototype.mode = 0; + + /** + * Creates a new ReqStartSentryMode instance using the specified properties. + * @function create + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode=} [properties] Properties to set + * @returns {ReqStartSentryMode} ReqStartSentryMode instance + */ + ReqStartSentryMode.create = function create(properties) { + return new ReqStartSentryMode(properties); + }; + + /** + * Encodes the specified ReqStartSentryMode message. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.mode); + return writer; + }; + + /** + * Encodes the specified ReqStartSentryMode message, length delimited. Does not implicitly {@link ReqStartSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {IReqStartSentryMode} message ReqStartSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStartSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStartSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.mode = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStartSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStartSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStartSentryMode} ReqStartSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStartSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStartSentryMode message. + * @function verify + * @memberof ReqStartSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStartSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.mode != null && message.hasOwnProperty("mode")) + if (!$util.isInteger(message.mode)) return "mode: integer expected"; + return null; + }; + + /** + * Creates a ReqStartSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStartSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStartSentryMode} ReqStartSentryMode + */ + ReqStartSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStartSentryMode) return object; + var message = new $root.ReqStartSentryMode(); + if (object.mode != null) message.mode = object.mode | 0; + return message; + }; + + /** + * Creates a plain object from a ReqStartSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStartSentryMode + * @static + * @param {ReqStartSentryMode} message ReqStartSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStartSentryMode.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.mode = 0; + if (message.mode != null && message.hasOwnProperty("mode")) + object.mode = message.mode; + return object; + }; + + /** + * Converts this ReqStartSentryMode to JSON. + * @function toJSON + * @memberof ReqStartSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStartSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStartSentryMode + * @function getTypeUrl + * @memberof ReqStartSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStartSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStartSentryMode"; + }; + + return ReqStartSentryMode; +})(); + +$root.ReqStopSentryMode = (function () { + /** + * Properties of a ReqStopSentryMode. + * @exports IReqStopSentryMode + * @interface IReqStopSentryMode + */ + + /** + * Constructs a new ReqStopSentryMode. + * @exports ReqStopSentryMode + * @classdesc Represents a ReqStopSentryMode. + * @implements IReqStopSentryMode + * @constructor + * @param {IReqStopSentryMode=} [properties] Properties to set + */ + function ReqStopSentryMode(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqStopSentryMode instance using the specified properties. + * @function create + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode=} [properties] Properties to set + * @returns {ReqStopSentryMode} ReqStopSentryMode instance + */ + ReqStopSentryMode.create = function create(properties) { + return new ReqStopSentryMode(properties); + }; + + /** + * Encodes the specified ReqStopSentryMode message. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encode + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqStopSentryMode message, length delimited. Does not implicitly {@link ReqStopSentryMode.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {IReqStopSentryMode} message ReqStopSentryMode message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqStopSentryMode.encodeDelimited = function encodeDelimited( + message, + writer + ) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer. + * @function decode + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqStopSentryMode(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqStopSentryMode message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqStopSentryMode + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqStopSentryMode} ReqStopSentryMode + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqStopSentryMode.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqStopSentryMode message. + * @function verify + * @memberof ReqStopSentryMode + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqStopSentryMode.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqStopSentryMode message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqStopSentryMode + * @static + * @param {Object.} object Plain object + * @returns {ReqStopSentryMode} ReqStopSentryMode + */ + ReqStopSentryMode.fromObject = function fromObject(object) { + if (object instanceof $root.ReqStopSentryMode) return object; + return new $root.ReqStopSentryMode(); + }; + + /** + * Creates a plain object from a ReqStopSentryMode message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqStopSentryMode + * @static + * @param {ReqStopSentryMode} message ReqStopSentryMode + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqStopSentryMode.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqStopSentryMode to JSON. + * @function toJSON + * @memberof ReqStopSentryMode + * @instance + * @returns {Object.} JSON object + */ + ReqStopSentryMode.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqStopSentryMode + * @function getTypeUrl + * @memberof ReqStopSentryMode + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqStopSentryMode.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqStopSentryMode"; + }; + + return ReqStopSentryMode; +})(); + +$root.ReqMOTTrack = (function () { + /** + * Properties of a ReqMOTTrack. + * @exports IReqMOTTrack + * @interface IReqMOTTrack + */ + + /** + * Constructs a new ReqMOTTrack. + * @exports ReqMOTTrack + * @classdesc Represents a ReqMOTTrack. + * @implements IReqMOTTrack + * @constructor + * @param {IReqMOTTrack=} [properties] Properties to set + */ + function ReqMOTTrack(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new ReqMOTTrack instance using the specified properties. + * @function create + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack=} [properties] Properties to set + * @returns {ReqMOTTrack} ReqMOTTrack instance + */ + ReqMOTTrack.create = function create(properties) { + return new ReqMOTTrack(properties); + }; + + /** + * Encodes the specified ReqMOTTrack message. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + return writer; + }; + + /** + * Encodes the specified ReqMOTTrack message, length delimited. Does not implicitly {@link ReqMOTTrack.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {IReqMOTTrack} message ReqMOTTrack message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrack.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMOTTrack(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMOTTrack message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrack + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrack} ReqMOTTrack + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrack.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMOTTrack message. + * @function verify + * @memberof ReqMOTTrack + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrack.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + /** + * Creates a ReqMOTTrack message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrack + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrack} ReqMOTTrack + */ + ReqMOTTrack.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrack) return object; + return new $root.ReqMOTTrack(); + }; + + /** + * Creates a plain object from a ReqMOTTrack message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrack + * @static + * @param {ReqMOTTrack} message ReqMOTTrack + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrack.toObject = function toObject() { + return {}; + }; + + /** + * Converts this ReqMOTTrack to JSON. + * @function toJSON + * @memberof ReqMOTTrack + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrack.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMOTTrack + * @function getTypeUrl + * @memberof ReqMOTTrack + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrack.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrack"; + }; + + return ReqMOTTrack; +})(); + +$root.ReqMOTTrackOne = (function () { + /** + * Properties of a ReqMOTTrackOne. + * @exports IReqMOTTrackOne + * @interface IReqMOTTrackOne + * @property {number|null} [id] ReqMOTTrackOne id + */ + + /** + * Constructs a new ReqMOTTrackOne. + * @exports ReqMOTTrackOne + * @classdesc Represents a ReqMOTTrackOne. + * @implements IReqMOTTrackOne + * @constructor + * @param {IReqMOTTrackOne=} [properties] Properties to set + */ + function ReqMOTTrackOne(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; + } + + /** + * ReqMOTTrackOne id. + * @member {number} id + * @memberof ReqMOTTrackOne + * @instance + */ + ReqMOTTrackOne.prototype.id = 0; + + /** + * Creates a new ReqMOTTrackOne instance using the specified properties. + * @function create + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne=} [properties] Properties to set + * @returns {ReqMOTTrackOne} ReqMOTTrackOne instance + */ + ReqMOTTrackOne.create = function create(properties) { + return new ReqMOTTrackOne(properties); + }; + + /** + * Encodes the specified ReqMOTTrackOne message. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encode + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encode = function encode(message, writer) { + if (!writer) writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 0 =*/ 8).int32(message.id); + return writer; + }; + + /** + * Encodes the specified ReqMOTTrackOne message, length delimited. Does not implicitly {@link ReqMOTTrackOne.verify|verify} messages. + * @function encodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {IReqMOTTrackOne} message ReqMOTTrackOne message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ReqMOTTrackOne.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer. + * @function decode + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, + message = new $root.ReqMOTTrackOne(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.id = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ReqMOTTrackOne message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof ReqMOTTrackOne + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ReqMOTTrackOne.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ReqMOTTrackOne message. + * @function verify + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ReqMOTTrackOne.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isInteger(message.id)) return "id: integer expected"; + return null; + }; + + /** + * Creates a ReqMOTTrackOne message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof ReqMOTTrackOne + * @static + * @param {Object.} object Plain object + * @returns {ReqMOTTrackOne} ReqMOTTrackOne + */ + ReqMOTTrackOne.fromObject = function fromObject(object) { + if (object instanceof $root.ReqMOTTrackOne) return object; + var message = new $root.ReqMOTTrackOne(); + if (object.id != null) message.id = object.id | 0; + return message; + }; + + /** + * Creates a plain object from a ReqMOTTrackOne message. Also converts values to other types if specified. + * @function toObject + * @memberof ReqMOTTrackOne + * @static + * @param {ReqMOTTrackOne} message ReqMOTTrackOne + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ReqMOTTrackOne.toObject = function toObject(message, options) { + if (!options) options = {}; + var object = {}; + if (options.defaults) object.id = 0; + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + return object; + }; + + /** + * Converts this ReqMOTTrackOne to JSON. + * @function toJSON + * @memberof ReqMOTTrackOne + * @instance + * @returns {Object.} JSON object + */ + ReqMOTTrackOne.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ReqMOTTrackOne + * @function getTypeUrl + * @memberof ReqMOTTrackOne + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReqMOTTrackOne.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/ReqMOTTrackOne"; + }; + + return ReqMOTTrackOne; +})(); + +export default $root; diff --git a/src/rgb_power.js b/src/rgb_power.js new file mode 100644 index 00000000..cf6ab9d7 --- /dev/null +++ b/src/rgb_power.js @@ -0,0 +1,136 @@ +/** @module rgp_power */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** -------------------------------------------------- ***/ +/*** ---------------- MODULE RGB POWER ---------------- ***/ +/*** -------------------------------------------------- ***/ +/** + * 4.12.3 Turn on the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_OPEN_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerOpenRGB() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_OPEN_RGB; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.4 Turn off the ring light + * Create Encoded Packet for the command CMD_RGB_POWER_CLOSE_RGB + * @returns {Uint8Array} + */ +export function messageRgbPowerCloseRGB() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_CLOSE_RGB; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.5 Turn on the battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_ON + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndON() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_ON; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.6 Turn off battery indicator + * Create Encoded Packet for the command CMD_RGB_POWER_POWERIND_OFF + * @returns {Uint8Array} + */ +export function messageRgbPowerPowerIndOFF() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWERIND_OFF; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.7 Shut down + * Create Encoded Packet for the command CMD_RGB_POWER_POWER_DOWN + * @returns {Uint8Array} + */ +export function messageRgbPowerDown() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_POWER_DOWN; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.12.8 Restart + * Create Encoded Packet for the command CMD_RGB_POWER_REBOOT + * @returns {Uint8Array} + */ +export function messageRgbPowerReboot() { + let module_id = Dwarfii_Api.ModuleId.MODULE_RGB_POWER; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_RGB_POWER_REBOOT; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/set_isp_settings.js b/src/set_isp_settings.js deleted file mode 100644 index 3134e942..00000000 --- a/src/set_isp_settings.js +++ /dev/null @@ -1,263 +0,0 @@ -/** @module set_isp_settings */ - -import { - telephotoCamera, - setExposureModeCmd, - setExposureValueCmd, - setGainModeCmd, - setGainValueCmd, - IRCut, - setIRCmd, - autofocusArea, - autofocusCmd, - setBrightnessValueCmd, - setContrastValueCmd, - setSaturationValueCmd, - setHueValueCmd, - setSharpnessValueCmd, - setWhiteBalanceModeCmd, - setWhiteBalanceScenceCmd, - whiteBalanceScenesValueID, - setWhiteBalanceColorCmd, - modeManual, -} from "./api_codes.js"; - -/** - * 3.3.1 brightness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setBrightness(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: -64-64 default:0 - const options = { - interface: setBrightnessValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.2 contrast - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setContrast(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: 0-95 default:0 - const options = { - interface: setContrastValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.3 saturation - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSaturation(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: 0-100 default:80 - const options = { - interface: setSaturationValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.4 hue - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setHue(camera = telephotoCamera, value) { - // telephoto values: 0-255 default:128 - // wideangle values: -2000-2000 default:0 - const options = { - interface: setHueValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.5 sharpness - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setSharpness(camera = telephotoCamera, value) { - // telephoto values: 0-100 default:50 - // wideangle values: 1-7 default:2 - const options = { - interface: setSharpnessValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.6 Set exposure mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setExposureMode(camera = telephotoCamera, mode = modeManual) { - const options = { - interface: setExposureModeCmd, - camId: camera, - mode: mode, - }; - return options; -} - -/** - * 3.3.7 Set exposure value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setExposure(camera = telephotoCamera, value) { - // Long focal camera:0.0000-15.0000 - // Wide-angle camera:0.0003-1.0 - const options = { - interface: setExposureValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.8 Set gain mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setGainMode(camera = telephotoCamera, mode = modeManual) { - const options = { - interface: setGainModeCmd, - camId: camera, - mode: mode, - }; - return options; -} - -/** - * 3.3.9 Set gain value - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setGain(camera = telephotoCamera, value) { - // Long focal camera:0-240 - // Wide-angle camera:64-8000 - const options = { - interface: setGainValueCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.10 Start autofocus - * @param {number} camera - * @param {number} mode - * @param {number} x - * @param {number} y - * @returns {Object} - */ -export function autoFocus( - camera = telephotoCamera, - mode = autofocusArea, - x = 0, - y = 0 -) { - // centerX: 0-1920 - // centerY: 0-1080 - const options = { - interface: autofocusCmd, - camId: camera, - mode, - centerX: x, - centerY: y, - }; - return options; -} - -/** - * 3.3.11 Set the white balance mode - * @param {number} camera - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceMode( - camera = telephotoCamera, - mode = modeManual -) { - const options = { - interface: setWhiteBalanceModeCmd, - camId: camera, - mode: mode, - }; - return options; -} - -/** - * 3.3.12 Set the white balance scene - * @param {number} mode - * @returns {Object} - */ -export function setWhiteBalanceScene( - mode = whiteBalanceScenesValueID["incandescent lamp"] -) { - const options = { - interface: setWhiteBalanceScenceCmd, - camId: telephotoCamera, - mode, - }; - return options; -} - -/** - * 3.3.13 Set the white balance color temperature parameter - * @param {number} camera - * @param {number} value - * @returns {Object} - */ -export function setWhiteBalanceColor(camera = telephotoCamera, value) { - // Long focal camera: 2800-7500 - // Wide-angle camera: 2800-6000 - const options = { - interface: setWhiteBalanceColorCmd, - camId: camera, - value, - }; - return options; -} - -/** - * 3.3.14 IR_CUT - * @param {number} value - * @returns {Object} - */ -export function setIR(value = IRCut) { - const options = { - interface: setIRCmd, - camId: telephotoCamera, - value, - }; - return options; -} diff --git a/src/system.js b/src/system.js new file mode 100644 index 00000000..d032b7fd --- /dev/null +++ b/src/system.js @@ -0,0 +1,121 @@ +/** @module system */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; + +/*** ----------------------------------------------- ***/ +/*** ---------------- MODULE SYSTEM ---------------- ***/ +/*** ----------------------------------------------- ***/ +/** + * 4.11.3 Set the system time + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME + * @returns {Uint8Array} + */ +export function messageSystemSetTime() { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + const date = new Date(); + let timezoneOffset = date.getTimezoneOffset(); // Offset in minutes + // Convert to hours and round to the nearest 0.25 + let roundedTimezoneOffset = Math.round((timezoneOffset / 60) * 4) / 4; + let message = class_message.create({ + timestamp: Math.floor(Date.now() / 1000), + timezoneOffset: roundedTimezoneOffset, + }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.4 Set the time zone + * Create Encoded Packet for the command CMD_SYSTEM_SET_TIME_ZONE + * @param {string} timezone + * @returns {Uint8Array} + */ +export function messageSystemSetTimezone(timezone) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_TIME_ZONE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ timezone: timezone }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.5 Set MTP mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MTP_MODE + * @param {number} mode //Can be omitted, default is on, cannot be closed + * @returns {Uint8Array} + */ +export function messageSystemSetMtpMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MTP_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.6 Set CPU mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_CPU_MODE + * @param {number} mode //0: Normal mode 1: Performance mode + * @returns {Uint8Array} + */ +export function messageSystemSetCpuMode(mode) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_CPU_MODE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 4.11.7 Set HOST mode + * Create Encoded Packet for the command CMD_SYSTEM_SET_MASTERLOCK + * @param {boolean} lock //false: Master UnLock true: Master Lock + * @returns {Uint8Array} + */ +export function messageSystemSetMasterLock(lock) { + let module_id = Dwarfii_Api.ModuleId.MODULE_SYSTEM; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SYSTEM_SET_MASTERLOCK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ lock: lock }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} diff --git a/src/system_settings.js b/src/system_settings.js deleted file mode 100644 index afd206f0..00000000 --- a/src/system_settings.js +++ /dev/null @@ -1,14 +0,0 @@ -/** @module system_settings */ - -import { shutDownCmd } from "./api_codes.js"; - -/** - * 7.11 Shut down - * @returns {Object} - */ -export function shutDown() { - const options = { - interface: shutDownCmd, - }; - return options; -} diff --git a/src/tracking.js b/src/tracking.js index 1fc7057d..d6cb52e4 100644 --- a/src/tracking.js +++ b/src/tracking.js @@ -1,52 +1,185 @@ -/** @module tracking */ - -import { - traceInitCmd, - startTrackingCmd, - stopTrackingCmd, - telephotoCamera, -} from "./api_codes.js"; +/** @module track */ +// Import the generated protobuf module +import $root from "./protobuf/protobuf.js"; +const Dwarfii_Api = $root; +import { createPacket } from "./api_utils.js"; +import { cmdMapping } from "./cmd_mapping.js"; +/*** --------------------------------------------- ***/ +/*** ---------------- MODULE TRACK---------------- ***/ +/*** --------------------------------------------- ***/ /** - * 4.2.1 Trace initialization - * @returns {Object} + * 4.14.3 Started tracking + * Create Encoded Packet for the command CMD_TRACK_START_TRACK + * @param {number} x ; //x coordinate of the upper left point of the target box + * @param {number} y ; // The y coordinate of the upper left point of the target box + * @param {number} w ; // width of the target box + * @param {number} h ; //The length of the target box + * @returns {Uint8Array} */ -export function startTrace() { - const options = { interface: traceInitCmd }; - return options; +export function messageTrackStartTrack(x, y, w, h) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_START_TRACK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ x: x, y: y, w: w, h: h }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.2.2 Start tracking - * @param {number} x - * @param {number} y - * @param {number} width - * @param {number} height - * @returns {Object} - */ -export function startTracking(x, y, width, height) { - // x 0-1920 - // y 0-1080 - // w 0-1920 - // h 0-1080 - const options = { - interface: startTrackingCmd, - camId: telephotoCamera, - x, - y, - w: width, - h: height, - }; - return options; + * 3.14.4 Stop tracking + * Create Encoded Packet for the command CMD_TRACK_STOP_TRACK + * @returns {Uint8Array} + */ +export function messageTrackStopTrack() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_TRACK_STOP_TRACK; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.5 Start Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} + */ +export function messageSentryModeStart(mode = 0) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.6 Stop Sentinel Mode + * Create Encoded Packet for the command CMD_SENTRY_MODE_STOP + * @returns {Uint8Array} + */ +export function messageSentryModeStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_SENTRY_MODE_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.7 Start "Multi-Object Tracking" + * Create Encoded Packet for the command CMD_MOT_START + * @returns {Uint8Array} + */ +export function messageMOTStart() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.8 "Multi-Object Tracking" feature starts tracking a target + * Create Encoded Packet for the command CMD_MOT_TRACK_ONE + * @param {number} id ; // target id + * @returns {Uint8Array} + */ +export function messageMOTStartOne(id) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_MOT_TRACK_ONE; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ id: id }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); +} +/** + * 3.14.9 Start UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_START + * @param {number} mode ; //Reserved field, you can pass 0 now + * @returns {Uint8Array} + */ +export function messageUFOTrackModeStart(mode = 0) { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_START; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({ mode: mode }); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } - /** - * 4.2.3 Stop tracking - * @returns {Object} + * 3.14.10 Stop UFO Mode + * Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP + * @returns {Uint8Array} */ -export function stopTracking() { - const options = { - interface: stopTrackingCmd, - }; - return options; +export function messageUFOTrackModeStop() { + let module_id = Dwarfii_Api.ModuleId.MODULE_TRACK; + let interface_id = Dwarfii_Api.DwarfCMD.CMD_UFOTRACK_MODE_STOP; + let type_id = Dwarfii_Api.MessageTypeId.TYPE_REQUEST; + // Obtain classname depending of the command + // Obtain a message class + const cmdClass = cmdMapping[interface_id]; + let class_message = eval(`Dwarfii_Api.${cmdClass}`); + // Encode message + let message = class_message.create({}); + console.log( + `class Message = ${cmdClass} created message = ${JSON.stringify(message)}` + ); + // return encoded Message Packet + return createPacket(message, class_message, module_id, interface_id, type_id); } diff --git a/src/txt_mapping.js b/src/txt_mapping.js new file mode 100644 index 00000000..62a3de9e --- /dev/null +++ b/src/txt_mapping.js @@ -0,0 +1,294 @@ +// Access the plain text error message associated with a error Code +// errorCode = -10500: "negative value +// const errorTxt = errorTxtMapping[-errorCode]; +// console.log(errorTxt): "diplay "Camera is turned on" + +export const errorTxtMapping = { + 0: "OK: No Error", + 1: "Protobuf parsing failed", + 2: "SD card not detected", + 3: "Invalid parameter", + 4: "Image writing to SD card failed (maybe the card is full)", + 10500: "Camera is turned on", + 10501: "Camera is off", + 10502: "ISP parameter settings failed", + 10504: "Camera failed to open", + 10506: "Recording", + 10507: "The telephoto camera is busy", + 10510: "Failed to catch RAW image", + 10511: "The telephoto camera is busy with work", + 11500: "Plate solving failed", + 11501: "Astronomical function busy", + 11502: + "Gain beyond darkfield shooting range (darkfield coverage 30-150 gain)", + 11503: "Darkfield not found", + 11504: "Calibration failed", + 11505: "GOTO failed", + 11513: "No GOTO", + 11514: "Parameters are not suitable", + 11516: "EQ calculation failed", + 11517: "Sky detection failed", + 12500: "Wide-angle camera turned on", + 12501: "The wide-angle camera is turned off", + 12502: "Can't find the camera", + 12503: "Failed to open camera", + 12504: "Failed to turn off camera", + 12505: "Failed to set ISP parameters", + 12506: "Taking pictures", + 12508: "The exposure time is too long", + 13300: "Set time failed", + 13301: "Failed to set time zone", + 13302: "Time zone setting failed", + 13800: "Serial port Initialization failed", + 14504: "Motor Invalid Id Parameter", + 14518: "GOTO limit warning", + 14519: "Star collision limit", + 14520: "Motor Position need Reset", + 14900: "Tracking is initializing", + 14901: "Trace failed", + 15100: "Slow astronomical autofocus failed", + 15101: + "Fast astronomical autofocus failed, you need to perform a slow astronomical autofocus first", + 15600: "Panoramic shooting failed", + 15601: "Panoramic shooting motor reset failed", +}; + +export const cmdTxtMapping = { + // BLE Class Command + 1: "Get WiFi configuration", + 2: "Configure WiFi AP mode", + 3: "Configure WiFi STA mode", + 4: "Configure BLE wifi", + 5: "Reset Bluetooth WiFi", + 6: "Get WiFi list", + 7: "Obtain device information", + 8: "Check File", + + 10000: "Turn on the camera", + 10001: "Turn off the camera", + 10002: "Take photos", + 10003: "Start continuous shooting", + 10004: "Stop continuous shooting", + 10005: "Start recording", + 10006: "Stop recording", + 10007: "Set exposure mode", + 10008: "Acquire exposure mode", + 10009: "Set exposure value", + 10010: "Get exposure value", + 10011: "Set gain mode", + 10012: "Acquisition gain mode", + 10013: "Set gain value", + 10014: "Get gain value", + 10015: "Set brightness", + 10016: "Acquire brightness", + 10017: "Set contrast", + 10018: "Get contrast", + 10019: "Set saturation", + 10020: "Acquire saturation", + 10021: "Set tone", + 10022: "Get hue", + 10023: "Set sharpness", + 10024: "Acquire sharpness", + 10025: "Set white balance mode", + 10026: "Acquire white balance mode", + 10027: "Set white balance scene", + 10028: "Get white balance scene", + 10029: "Set the white balance color temperature value", + 10030: "Obtain the white balance color temperature value", + 10031: "Set IRCUT", + 10032: "Get IRCUT status", + 10033: "Start time-lapse photography", + 10034: "Stop time-lapse photography", + 10035: "Set all parameters", + 10036: "Get all parameters", + 10037: "Set feature parameters", + 10038: "Get all feature parameters", + 10039: "Get the working status of the whole machine", + 10040: "Set jpg preview quality", + 10041: "Shoot RAW image", + 10042: "Set rtsp preview bit rate type", + + 11000: "Start calibration", + 11001: "Stop calibration", + 11002: "Start GOTO Deep Space Object", + 11003: "Start GOTO Solar System Target", + 11004: "Stop GOTO", + 11005: "Start stacking", + 11006: "Stop overlay", + 11007: "Start shooting dark scenes", + 11008: "Stop filming darkfield", + 11009: "Inquire about the dark field that has been shot", + 11010: "GO LIVE interface", + 11011: "Start tracking the sun and moon", + 11012: "Stop tracking the sun and moon", + + 11013: "One-click GOTO deep space celestial body", + 11014: "One-click GOTO solar system target", + 11015: "Stop one-click GOTO", + 11016: "Start wide-angle overlay", + 11017: "Stop wide-angle overlay", + 11018: "Start EQ verification", + 11019: "Stop EQ verification", + 11020: "Wide-angle GO LIVE interface", + + 11021: + "Start shooting the dark field with specified parameters (manually set exposure, gain, binning)", + 11022: "Stop shooting the dark field with specified parameters", + 11023: "Query the list of recorded dark scenes", + 11024: "Delete the specified dark field list", + 11025: + "Start shooting wide-angle dark field with specified parameters (manually set exposure and gain. Binning is fixed to 1 internally, setting does not work).", + 11026: "Stop shooting dark field with wide-angle specified parameters", + 11027: "Query the list of wide-angle dark scenes taken", + 11028: "Delete the specified wide-angle dark field list", + + 12000: "Turn on the camera", + 12001: "Turn off the camera", + 12002: "Set exposure mode", + 12003: "Acquire exposure mode", + 12004: "Set exposure value", + 12005: "Get exposure value", + 12006: "Set gain", + 12007: "Acquisition gain", + 12008: "Set brightness", + 12009: "Acquire brightness", + 12010: "Set contrast", + 12011: "Get contrast", + 12012: "Set saturation", + 12013: "Acquire saturation", + 12014: "Set tone", + 12015: "Get hue", + 12016: "Set sharpness", + 12017: "Acquire sharpness", + 12018: "Set white balance mode", + 12019: "Acquire white balance mode", + 12020: "Set white balance color temperature", + 12021: "Obtain white balance color temperature", + 12022: "Take photos", + 12023: "Continuous shooting", + 12024: "Stop continuous shooting", + 12025: "Start time-lapse photography", + 12026: "Stop time-lapse photography", + 12027: "Get all parameters", + 12028: "Set all parameters", + + 12030: "Start wide recording", + 12031: "Stop wide recording", + + 13000: "Set the system time", + 13001: "Set the time zone", + 13002: "Set MTP mode", + 13003: "Set CPU mode", + 13004: "Set HOST SLAVE mode", + + 13500: "Turn on the ring light", + 13501: "Turn off the ring light", + 13502: "Shut down", + 13503: "Turn on the battery indicator", + 13504: "Turn off battery indicator", + 13505: "Restart", + + 14000: "Motor motion", + 14001: "Motor motion to", + 14002: "Motor stop", + 14003: "Motor Reset", + 14004: "Motor Change Speed", + 14005: "Motor ChangeDirection", + 14006: "Joystick", + 14007: "Short press the arrow keys with the joystick", + 14008: "Stop joystick", + 14009: "Dual camera linkage", + + 14010: "Motor get Position", + 14011: "Motor run in pulse", + + 14800: "Started tracking", + 14801: "Stop tracking", + + 14802: "Start Sentinel Mode (Pack", + 14803: "Stop Sentinel Mode", + 14804: "Start 'Multi-Object Tracking' feature", + 14805: + "Telephoto: 'Multi-Object Tracking' starts tracking a target (the firmware will return an identification box and ID, and track the target according to the user's click confirmation)", + 14806: "Start sentinel UFO mode", + 14807: "Stop Sentinel UFO Mode", + 14808: + "Wide-angle: 'Multi-Object Tracking' starts tracking a specific target (firmware will return an identification box and ID, confirm tracking target based on user clicks)", + 14809: + "Object Detection with 30 classes for post-production non-sentinel mode. Choose between wide-angle and telephoto tracking button instructions", + 14810: "Used for post-UFO mode selection manual or automatic", + + 15000: "Normal mode autofocus", + 15001: "Manual single-step focusing", + 15002: "Start manual continuous focus", + 15003: "Stop manual continuous focus", + 15004: "Start astronomical autofocus", + 15005: "Stop astronomical autofocus", + + 15200: "Telephoto wide-angle image matching", + 15201: "Battery Notification", + 15202: "Charge status notification", + 15203: "SD card capacity notification", + 15204: "Recording time", + 15205: "Telephoto time-lapse photography time", + 15206: "Dark field shooting state", + 15207: "Dark field shooting progress", + 15208: "Astronomical overlay shooting status", + 15209: "Astronomical overlay shooting progress", + 15210: "Astronomical calibration status", + 15211: "Astronomical GOTO status", + 15212: "Astronomical tracking status", + 15213: "Telephoto parameter echo", + 15214: "Wide-angle parametric echo", + 15215: "Telephoto functional status", + 15216: "Wide-angle functional status", + 15217: "Feature parameter echo", + 15218: "Telephoto continuous shooting progress", + 15219: "Telephoto panoramic shooting progress", + 15220: "Wide-angle continuous shooting progress", + 15221: "RGB Ring Light Status", + 15222: "Power indicator status", + 15223: "Leader/follower mode notification", + 15224: "MTP mode notification", + 15225: "Tracking result notification", + 15226: "Wide-angle time-lapse photography time", + 15227: "CPU mode", + 15228: "Sun and moon tracking status", + 15229: "Shutdown notification", + 15230: "New Media Created", + 15231: "Sentinel mode status", + 15232: "Sentinel mode tracking box result notification", + 15233: "One-click GOTO status", + 15234: "Image type notification", + 15235: "Wide Recording time", + 15236: "Astronomical overlay wide shooting status", + 15237: "Astronomical overlay wide shooting progress", + 15238: "Multi-Object Tracking Result Notification", + 15239: "EQ check status", + 15240: "Sentinel-UFO Mode Status", + 15241: "Telephoto long exposure progress", + 15242: "Wide-angle long exposure progress", + 15243: "Temperature", + 15244: "Panorama upload compression progress", + 15245: "Panorama upload upload progress", + 15246: "Panorama upload complete", + 15247: "Wide-angle dark field shooting state", + 15248: "Shooting Schedule result and state", + 15249: "Sky seacher state", + 15250: "Sky detection status", + 15251: "Wide-angle multi-target box result notification", + 15252: "Wide-angle single target box result notification", + 15257: "Focus Position", + + 15500: "Start panorama", + 15501: "Stop panorama", + 15502: "ReqStartPanoramaByEulerRange", // Start panorama Euler Range +}; + +export const stateTxtMapping = { + 0: "Idle state", + 1: "Running", + 2: "Is stopping", + 3: "Has stopped", + 4: "Astronomy is Plating Solving", +}; diff --git a/src/websocket_class.js b/src/websocket_class.js new file mode 100644 index 00000000..4e89d8a8 --- /dev/null +++ b/src/websocket_class.js @@ -0,0 +1,996 @@ +/** @module websocket_class */ +/* eslint no-unused-vars: 0 */ + +function sleep(ms) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} + +import { wsURL } from "./api_codes.js"; +import { setDwarfDeviceID, analyzePacket } from "./api_utils.js"; + +class Queue { + constructor(...elements) { + // Initializing the queue with given arguments + this.elements = [...elements]; + } + // Proxying the push/shift methods + push(...args) { + return this.elements.push(...args); + } + shift(...args) { + return this.elements.shift(); + } + // Add some length utility methods + get length() { + return this.elements.length; + } + set length(length) { + this.elements.length = length; + } +} + +/** + * WebSocketHandler is the main interface to send messages to the Dwarf via websocket + * It will analyse all messages received by the Dwarf and send the recieved messages to the caller + * It's a singleton class + * @class + * @constructor + * @public + */ +export class WebSocketHandler { + static instance = undefined; + socket = null; + is_opened = false; + + IPDwarf = undefined; + proxyURL = undefined; + useHttps = false; + WS_Packet = {}; + + isCallbackMessages = false; + packetCallbackMessages = {}; + isCallbackErrors = false; + packetCallbackErrors = {}; + isCallbackConnectStates = false; + packetCallbackConnectStates = {}; + + callbackReconnectFunction = undefined; + + /** + * closeSocketTimer : Timer could be defined to manage a connection time of the Dwarf that is too long + */ + closeSocketTimer = undefined; + + /** + * closeTimerHandler : function could be defined : to close the timeout timer. + */ + closeTimerHandler = function () {}; + + /** + * onStopTimerHandler : function could be defined : this function will be called in case of error during connection + */ + onStopTimerHandler = function () {}; + + keep_connection = false; + is_running = false; + is_sending = false; + is_receiving = false; + is_stopping = false; + is_buffered = false; + sendingQueue = new Queue(); + + is_pong_received = false; + is_ping_stopped = true; + signal_ping_stop = false; + ping_interval = 10; + + nb_reconnect_default = 3; + nb_reconnect = 3; + nb_ping_error_default = 10; + nb_ping_error = 10; + + /** + * Create a link to the Api and set the IP address of the Dwarf to connect to + * @param {string | undefined} IPDwarf ; Set the IP address of the Dwarf to connect to + */ + constructor(IPDwarf) { + if (IPDwarf) this.IPDwarf = IPDwarf; + if (!WebSocketHandler.instance) { + WebSocketHandler.instance = this; + console.info("Creating a new WebSocketHandler with IP: ", IPDwarf); + } + return WebSocketHandler.instance; + } + + /** + * Set the IP address of the Dwarf to connect to + * @param {string} IPDwarf ; Set the IP address of the Dwarf to connect to, force another one that was configured when calling the constructor. + * @returns {Promise} + */ + async setNewIpDwarf(IPDwarf) { + console.debug("websocket_class : setIpDwarf : ", IPDwarf); + if (IPDwarf != this.IPDwarf) { + console.debug( + "websocket_class : new IP received, closing old one: ", + this.IPDwarf + ); + this.close(); + await sleep(1000); + } + this.IPDwarf = IPDwarf; + console.debug("websocket_class : new Ip: ", this.IPDwarf); + } + + /** + * Set the URL address of the proxy uses to connect to the dwarf, + * by default not used, set it to empty param for not using a proxy + * @param {string} proxyURL ; Set the URL address of the Proxy the Dwarf to connect to. + * @returns {Promise} + */ + async setProxyUrl(proxyURL = undefined) { + if (!proxyURL) console.debug("websocket_class : Resetting Proxy URL value"); + else console.debug("websocket_class : Setting Proxy URL: ", proxyURL); + if (proxyURL != this.proxyURL) { + console.debug( + "websocket_class : new Proxy Url received, closing connection: ", + this.proxyURL + ); + this.close(); + await sleep(1000); + } + this.proxyURL = proxyURL; + if (this.proxyURL) + console.debug("websocket_class : Using Proxy URL: ", this.proxyURL); + else console.debug("websocket_class : Proxy URL reset"); + } + + /** + * Set the Https mode of the proxy connection, the Dwarf connect to + * @param {boolean} useHttps ; true if Https, then wss should be used with a proxy connection + * @returns {Promise} + */ + async setHttpsMode(useHttps) { + console.debug("websocket_class : setHttpsMode : ", useHttps); + if (useHttps !== this.useHttps) { + console.debug( + "websocket_class : change Https mode, closing connection. Previous mode : ", + this.useHttps ? "on" : "off" + ); + this.close(); + await sleep(1000); + } + this.useHttps = useHttps; + console.debug( + "websocket_class : Updated HTTPS mode : ", + this.useHttps ? "on" : "off" + ); + } + + /** + * Set the device ID of the Dwarf connected (readen from the Dwarf or from the config file on the Dwarf) + * @param {number} deviceIdDwarf ; Set the device ID of the Dwarf connected. + * @returns {boolean} status + */ + setDeviceIdDwarf(deviceIdDwarf) { + console.debug("websocket_class : setDeviceIdDwarf : ", deviceIdDwarf); + if (setDwarfDeviceID(deviceIdDwarf)) { + console.debug( + "websocket_class : success setting the device ID of the Dwarf : ", + deviceIdDwarf + ); + return true; + } else { + console.error( + "websocket_class : error setting the device ID of the Dwarf : ", + deviceIdDwarf + ); + return false; + } + } + + /** + * Set the intervall of the build in Ping function defult is 10s + * @param {number} IntervalInSecond ; in Seconds + * @returns {void} + */ + setPingInterval(IntervalInSecond) { + if (IntervalInSecond) { + this.ping_interval = IntervalInSecond; + } + } + + /** + * Set the nb of times for trying to reconnect to the Dwarf if the connection closes, default is 5. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultReconnect(nbTimes) { + this.nb_reconnect_default = nbTimes; + } + + /** + * Set the nb of times to stop connection after not receiving pong, default is 10. + * @param {number} nbTimes ; + * @returns {void} + */ + setDefaultPongError(nbTimes) { + this.nb_ping_error_default = nbTimes; + } + + /** + * Verify the status of the connection with the Dwarf + * @returns {boolean} status of the connection + */ + isConnected() { + if ( + this.socket && + this.is_opened && + this.socket.readyState === WebSocket.OPEN + ) + return true; + else return false; + } + + /** + * Main function, to call after prepare function, send the message and start dialogue with the Dwarf + * @returns {Promise} false if the IP has not been set or if old Socket can't be closed + */ + async run() { + // Check if ipDwarf is defined before calling wsURL + if (!this.IPDwarf) { + console.error("IPDwarf is undefined. Unable to create WebSocket."); + return false; + } + console.debug("websocket_class : running function starting..."); + + try { + await sleep(10); + this.keep_connection = false; + + if (this.socket && this.socket.readyState === WebSocket.OPEN) { + console.log("Keep old Websocket opened"); + this.keep_connection = true; + } else { + if (this.socket && this.socket.readyState !== WebSocket.OPEN) { + // Socket still hangs, hard close + console.log("Old Websocket force close"); + this.cleanup_socket(); + await sleep(100); + } + } + + if (this.keep_connection) { + // Need Stopping Ping + await this.wait_ping_stop(); + // Start manually no open event + this.start(); + } else { + // restarting + // verify Stopping Ping + await this.wait_ping_stop(); + this.is_stopping = false; + this.is_opened = false; + + // Create WebSocket + this.socket = undefined; + let new_socket = undefined; + new_socket = new WebSocket( + wsURL(this.IPDwarf, this.proxyURL, this.useHttps) + ); + console.log("Launch open new Socket"); + + // Socket Binary Mode + new_socket.binaryType = "arraybuffer"; + + new_socket.onopen = () => { + if (new_socket) { + this.socket = new_socket; + console.debug("new socket created", new_socket); + this.is_opened = true; + + if (!this.proxyURL) + console.debug( + `websocket_class : open... on IP : ${this.IPDwarf}` + ); + else { + console.debug( + `websocket_class: open... on IP: ${this.IPDwarf} using proxy: ${ + this.proxyURL || "none" + }${this.useHttps ? " (HTTPS on)" : ""}` + ); + } + console.debug("class instance open:", this); + + // Start on the open event + this.start(); + } else { + console.debug(`websocket_class : open error socket undefined`); + } + }; + + new_socket.onmessage = async (event) => { + console.debug("websocket_class : onmessage function..."); + while (this.is_sending || this.is_buffered) { + await sleep(10); + } + console.debug("websocket_class : onmessage function starting..."); + + this.is_receiving = true; + await this.handleMessage(event); + this.is_receiving = false; + + console.debug("websocket_class : onmessage function ending..."); + }; + + new_socket.onerror = (message) => { + if (this.is_opened) { + this.handleError(message); + } + }; + + new_socket.onclose = async (message) => { + if (this.is_opened) { + await this.handleClose(message); + } + // Cleanup event handlers after disconnection + await this.cleanup(); + if (false && new_socket) { + new_socket.onopen = null; + new_socket.onerror = null; + new_socket.onclose = null; + } + }; + } + console.debug("class instance :", this); + + return true; + } catch (error) { + console.error( + "websocket_class Exception Error creating WebSocket:", + error + ); + this.socket = undefined; + return false; + } + } + + start() { + console.debug("websocket_class : start function ..."); + + this.is_running = true; + this.nb_reconnect = this.nb_reconnect_default; + + // Start ping command + this.is_pong_received = true; + this.pingDwarf(); + + // start send function + this.send(); + + this.sendCallbackConnectStates(true); + } + + /** + * Prepare function : Define the message to send and the command to listen to and the callbacks functions + * @param {Object|Object[]} WS_Packet ; Message or Array of Messages from the API to send to the Dwarf + * @param {string} senderId ; identifier of the sender + * @param {string[]} expectedResponseCmd ; List of the Command Id to listen to, can be "*" to get all commands. + * @param {function} callbackMessage ; Callback Fonction (const customMessageHandler = (txt_info:string, result_data:object)) to analyse reponses from the Dwarf + * @param {function} callbackConnectState ; Callback Fonction (const customStateHandler = (state)) to get the status result of the current connection of the Dwarf + * @param {function} callbackError ; Callback Fonction (const customErrorHandler = ()) called after an socket error. + * @param {function} callbackReconnect ; Callback Fonction (const customReconnectHandler = ()) called after a socket reconnection. + * @returns {Promise} + */ + async prepare( + WS_Packet, // can be an array of Packets + senderId, + expectedResponseCmd = [], + callbackMessage = function () {}, + callbackConnectState = function () {}, + callbackError = function () {}, + callbackReconnect = undefined + ) { + console.debug("websocket_class : prepare function..."); + + while (this.is_sending || this.is_receiving) { + await sleep(10); + } + + console.debug("websocket_class : prepare function starting..."); + + this.is_buffered = true; + + // Store the callback function and expected response types for later use + if (senderId) { + if (callbackMessage && typeof callbackMessage === "function") { + if (!this.packetCallbackMessages[senderId]) { + this.packetCallbackMessages[senderId] = {}; + } + + expectedResponseCmd.forEach((idCmd) => { + console.log(` -> Prepare for ${senderId} => ${idCmd}`); + // empty the tab if exist : just one callback function per command + this.packetCallbackMessages[senderId][idCmd] = []; + this.packetCallbackMessages[senderId][idCmd].push(callbackMessage); + }); + } + + if (callbackConnectState && typeof callbackConnectState === "function") { + // empty the tab if exist : just one callback function per sender + this.packetCallbackConnectStates[senderId] = []; + + this.packetCallbackConnectStates[senderId].push(callbackConnectState); + } + + if (callbackError && typeof callbackError === "function") { + // empty the tab if exist : just one callback function per sender + this.packetCallbackErrors[senderId] = []; + + this.packetCallbackErrors[senderId].push(callbackError); + } + if (callbackReconnect && typeof callbackReconnect === "function") { + // empty the tab if exist : just one callback Reconnect function + this.callbackReconnectFunction = callbackReconnect; + + console.log( + ` -> Add a callbackReconnect function => ${callbackReconnect}` + ); + } + this.verifyCallBacks(); + } + + if (Array.isArray(WS_Packet)) { + console.log(` -> Prepare ${WS_Packet.length} packets for ${senderId}`); + this.sendingQueue.push(...WS_Packet); + } else { + console.log(` -> Prepare one packet for ${senderId}`); + this.sendingQueue.push(WS_Packet); + } + + await sleep(50); + + this.is_buffered = false; + + console.debug("websocket_class : prepare function ending..."); + } + + async pingDwarf() { + console.debug("websocket_class : init ping function..."); + + this.is_ping_stopped = false; + await sleep(10); + + while (!this.is_running) { + await sleep(10); + } + + console.debug("websocket_class : ping function..."); + console.debug("websocket_class : is_running...", this.is_running); + console.debug("websocket_class : is_stopping...", this.is_stopping); + console.debug( + "websocket_class : signal_ping_stop...", + this.signal_ping_stop + ); + console.debug("websocket_class : is_stopping...", this.is_stopping); + console.debug( + "websocket_class : is_pong_received...", + this.is_pong_received + ); + + this.is_sending = false; + this.nb_ping_error = this.nb_ping_error_default; + let interval_no_ping = this.ping_interval * 10 + 1; + let interval = this.ping_interval; + let ping_send = false; + + while (!this.is_stopping && !this.signal_ping_stop) { + await sleep(100); + + if (!this.is_sending && this.is_pong_received && this.isConnected()) { + console.debug("websocket_class : ping function starting..."); + this.is_sending = true; + // reset interval_no_ping + interval_no_ping = this.ping_interval * 10 + 1; + this.nb_ping_error = this.nb_ping_error_default; + + // Send Command: + this.is_pong_received = false; + //this.socket.ping(""); + this.socket.send("ping"); + console.log("websocket_class : sending ping"); + this.is_sending = false; + ping_send = true; + console.debug("websocket_class : ping function waiting..."); + + interval = this.ping_interval; + console.debug(`websocket_class : ping interval wait : ${interval}`); + while (interval > 0 && !this.is_stopping && !this.signal_ping_stop) { + await sleep(1000); + interval = interval - 1; + } + + console.debug(`websocket_class : ping interval: ${interval}`); + console.debug(`websocket_class : pong: ${this.is_pong_received}`); + // Test if wet get Pong before the wait time in normal wait: no is_stopping nor signal_ping_stop + if ( + interval == 0 && + !this.is_pong_received && + !this.is_stopping && + !this.signal_ping_stop + ) { + this.nb_ping_error -= 1; + console.error( + `websocket_class : no pong received after sending Ping ${ + this.nb_ping_error_default - this.nb_ping_error + }` + ); + } else if (this.is_pong_received) { + // OK or stop reset + this.nb_ping_error = this.nb_ping_error_default; + } + console.debug("websocket_class : ping function stopping..."); + } + + if (this.is_pong_received) { + // OK or stop reset + this.nb_ping_error = this.nb_ping_error_default; + ping_send = false; + } + if (ping_send) { + if (this.nb_ping_error != this.nb_ping_error_default) { + interval_no_ping -= 1; + + if (interval_no_ping <= 0) { + this.nb_ping_error -= 1; + console.error( + `websocket_class : no pong received after sending Ping ${ + this.nb_ping_error_default - this.nb_ping_error + }` + ); + + if (this.nb_ping_error <= 0) { + console.error( + `websocket_class : no pong received after ${this.nb_ping_error_default} tries: deconnect!` + ); + this.signal_ping_stop = true; + this.cleanup(true); + } else { + interval_no_ping = this.ping_interval * 10; + } + } + } + } + } + + this.is_sending = false; + this.is_ping_stopped = true; + + console.debug("websocket_class : ping function ending..."); + } + + async wait_ping_stop() { + this.signal_ping_stop = true; + while (!this.is_ping_stopped) await sleep(100); + this.signal_ping_stop = false; + } + + async send() { + await sleep(250); + + while (!this.is_running) { + await sleep(10); + } + + console.debug("websocket_class : send function..."); + + this.is_sending = false; + + while (!this.is_stopping) { + await sleep(10); + let lenQueue = this.sendingQueue.length; + + if ( + !this.is_buffered && + !this.is_sending && + this.sendingQueue.length > 0 && + this.isConnected() + ) { + console.debug("websocket_class : send function starting..."); + this.is_sending = true; + + this.WS_Packet = this.sendingQueue.shift(); + + // Send Command: + if (this.WS_Packet) { + this.socket.send(this.WS_Packet); + console.log( + `websocket_class : sending buffer = ${Array.prototype.toString.call( + this.WS_Packet + )}` + ); + await sleep(100); + } else { + console.error( + `websocket_class : sending buffer empty : lenqueue = ${lenQueue}` + ); + } + this.is_sending = false; + console.debug("websocket_class : send function stopping..."); + } + } + + this.is_sending = false; + + console.debug("websocket_class : send function ending..."); + } + + /** + * stopCallbacks function : Stop receiving on the callbacks functions + * @param {string} senderId ; Identifier of caller + * @returns {void} + **/ + stopCallbacks(senderId) { + this.deleteCallbacks(senderId); + } + + deleteCallbacks(senderId = "") { + console.debug(`deleteCallbacks for : ${senderId}`); + if (senderId) { + if (this.packetCallbackMessages[senderId]) { + this.packetCallbackMessages[senderId] = {}; + } + if (this.packetCallbackConnectStates[senderId]) { + this.packetCallbackConnectStates[senderId] = []; + this.isCallbackConnectStates = false; + } + if (this.packetCallbackErrors[senderId]) { + this.packetCallbackErrors[senderId] = []; + this.isCallbackErrors = false; + } + } else if (senderId == "*") { + this.packetCallbackMessages = {}; + this.packetCallbackErrors = {}; + this.packetCallbackConnectStates = {}; + this.packetCallbackReconnect = []; + } + this.verifyCallBacks(); + } + + verifyCallBacks() { + this.isCallbackMessages = + Object.keys(this.packetCallbackMessages).length > 0; + this.isCallbackConnectStates = + Object.keys(this.packetCallbackConnectStates).length > 0; + this.isCallbackErrors = Object.keys(this.packetCallbackErrors).length > 0; + } + + sendCallbackConnectStates(state) { + // Iterate over all stored callback functions + Object.values(this.packetCallbackConnectStates).forEach( + (callbacksConnectStates) => { + console.log("Retrieve1 - Structure:", callbacksConnectStates); + + if ( + Array.isArray(callbacksConnectStates) && + callbacksConnectStates[0] && + typeof callbacksConnectStates[0] === "function" + ) { + // Call the callback function with the received data + console.log(" -> Sending back data to callbackState...."); + callbacksConnectStates[0](state); + } + } + ); + } + + sendCallbackErrors() { + // Iterate over all stored callback functions + Object.values(this.packetCallbackErrors).forEach((callbacksErrors) => { + console.log("Retrieve2 - Structure:", callbacksErrors); + + if ( + Array.isArray(callbacksErrors) && + callbacksErrors[0] && + typeof callbacksErrors[0] === "function" + ) { + // Call the callback function with the received data + console.log(" -> Sending back data to callbackError...."); + callbacksErrors[0](); + } + }); + } + + handleMessage(event) { + // Close Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.closeTimerHandler !== undefined) this.closeTimerHandler(); + } + // it can be a string like an array ?? + let find_real_string_buffer = false; + if (typeof event.data === "string") { + // Count the occurrences of commas + const numberOfCommas = (event.data.match(/,/g) || []).length; + + if (numberOfCommas < 5) { + console.log("Received: '" + event.data + "'"); + + // test pong received ? + if (event.data == "pong") { + this.is_pong_received = true; + console.log("Pong Received"); + } + find_real_string_buffer = true; + } else console.log("Received: a string buffer that matchs a binary one"); + } + if (!find_real_string_buffer) { + console.log(" -> Receiving data ....."); + + // send Callback Status OK + this.sendCallbackConnectStates(true); + + let decodedmessage = analyzePacket(event.data); + console.log(decodedmessage); + let result_data = JSON.parse(decodedmessage); + + // Call the subscriber if found + let idCmd = ""; + if (result_data.cmd) { + idCmd = result_data.cmd; + console.log(`-> Sending back data for ${idCmd}`); + + // Retrieve the callback functions associated with the idCmd + Object.entries(this.packetCallbackMessages).forEach( + ([sender, callbacksMessageInfo]) => { + // the special value "*" accepts all Cmd and will be transmited back + const callbacksMessageCmd = + callbacksMessageInfo[idCmd] || callbacksMessageInfo["*"] || {}; + + console.log("Retrieve - Structure:", callbacksMessageCmd); + + if ( + Array.isArray(callbacksMessageCmd) && + callbacksMessageCmd[0] && + typeof callbacksMessageCmd[0] === "function" + ) { + // Call the callback function with the received data + console.log( + ` -> Sending back data to callbackInfo.... for ${sender}` + ); + callbacksMessageCmd[0](sender, result_data); + } + } + ); + } + } + } + + handleError(message) { + // Stop Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.onStopTimerHandler !== undefined) this.onStopTimerHandler(); + } + // send Callback Status KO + this.sendCallbackConnectStates(false); + // send Callback Error + this.sendCallbackErrors(); + } + + /** + * Handle close event of the socket connection with the Dwarf + * To call from a timeout function during the connection with the Dwarf + * @returns {Promise} + */ + async handleClose(message) { + // Stop Timer if exist + if (this.closeSocketTimer !== undefined) { + clearTimeout(this.closeSocketTimer); + if (this.onStopTimerHandler !== undefined) this.onStopTimerHandler(); + } + // send Callback Status KO + this.sendCallbackConnectStates(false); + // send Callback Error + this.sendCallbackErrors(); + // Stop ping command + await this.wait_ping_stop(); + } + + /** + * Force close the socket connection with the Dwarf + * @returns {Promise} + */ + async close() { + // need closing socket if connected + if (this.socket && this.socket.readyState === WebSocket.OPEN) { + console.log("Websocket close"); + this.socket.close(1000, "Normal closure"); + await sleep(1000); + } + if (this.socket && this.socket.readyState != WebSocket.CLOSED) { + // Socket still hangs, hard close + this.socket.close(1000, "Force close after timeout"); + console.log("Websocket force close"); + await sleep(1000); + } + } + + /** + * cleanup function : Stop all the functions + * @param {boolean} forceStop ; if true do not try a reconnection, false by default + * @returns {Promise} + **/ + async cleanup(forceStop = false) { + console.log("WebSocketHandler cleanup"); + if (forceStop) { + // send Callback Status KO + this.handleClose(); + console.error("WebSocketHandler Force Stop!"); + } + let continue_cleanup = true; + let needDisconnect = forceStop || !this.is_running; + let initial_running = this.is_running; + if (!forceStop && this.is_running) { + // need to verify if callback functions are still OK if running + let testCallbackMessages = + Object.keys(this.packetCallbackMessages).length > 0; + let testCallbackConnectStates = + Object.keys(this.packetCallbackConnectStates).length > 0; + let testCallbackErrors = + Object.keys(this.packetCallbackErrors).length > 0; + if ( + testCallbackMessages != this.isCallbackMessages || + testCallbackConnectStates != this.isCallbackConnectStates || + testCallbackErrors != this.isCallbackErrors + ) { + needDisconnect = true; + console.log("WebSocketHandler need to be disconnect"); + } + } + if (this.closeSocketTimer !== undefined) + clearTimeout(this.closeSocketTimer); + this.is_stopping = true; + this.is_running = false; + console.log("WebSocketHandler close ping"); + await this.wait_ping_stop(); + // Remove event listeners during cleanup + await this.cleanup_socket(); + await sleep(2000); + let stop_try_reconnect = false; + if (initial_running) { + console.log( + "WebSocketHandler max try connection: %d", + this.nb_reconnect_default + ); + } + + if (!needDisconnect && this.nb_reconnect > 0) { + this.is_running = initial_running; + this.nb_reconnect -= 1; + console.log( + "WebSocketHandler retry connection: %d", + this.nb_reconnect_default - this.nb_reconnect + ); + + continue_cleanup = false; + console.log("WebSocketHandler retry connection OK"); + if (this.callbackReconnectFunction) { + console.log("WebSocketHandler launch Reconnect function"); + this.callbackReconnectFunction(); + } + + continue_cleanup = await !this.run(); + } + if (continue_cleanup) { + this.handleClose(); + if (this.closeSocketTimer !== undefined) + clearTimeout(this.closeSocketTimer); + // delete CallbacksFunction + console.log("WebSocketHandler final closing functions"); + this.stopCallbacks("*"); + this.is_opened = false; + } + } + + async cleanup_socket() { + // Remove event listeners during cleanup + if (this.socket) { + this.socket.onopen = null; + this.socket.onmessage = null; + this.socket.onerror = null; + this.socket.onclose = null; + this.socket = undefined; + } + } +} + +/* + +// Example usage: + + const customMessageHandler = (txt_info, result_data) => { + if (result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO) { + setConnecting(false); + return true; + } else if ( + result_data.cmd == + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE + ) { + setConnecting(false); + } else if ( + result_data.cmd == Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE + ) { + if (result_data.data.mode == 1) { + console.log("WARNING SLAVE MODE"); + setSlavemode(true); + } else { + console.log("OK : HOST MODE"); + setSlavemode(false); + } + return true; + } else { + logger("", result_data, connectionCtx); + } + logger(txt_info, result_data, connectionCtx); + }; + + const customErrorHandler = () => { + console.error("ConnectDwarf : Socket Close!"); + setConnecting(false); + setConnectionStatus(false); + }; + + const customStateHandler = (state) => { + setConnecting(false); + setConnectionStatus(false); + }; + + // Create WebSocketHandler if need + const webSocketHandler = new WebSocketHandler(IPDwarf); + + // Force IP + webSocketHandler.setIpDwarf(IPDwarf); + + webSocketHandler.closeTimerHandler = () => { + setConnecting(true); + }; + webSocketHandler.onStopTimerHandler = () => { + setConnecting(false); + }; + + // close socket is request takes too long + webSocketHandler.closeSocketTimer = setTimeout(() => { + webSocketHandler.handleClose(""); + console.log(" -> Close Timer....."); + setConnecting(false); + setConnectionStatus(false); + }, 5000); + + + // Send Commands : cmdCameraTeleGetSystemWorkingState + let WS_Packet = messageCameraTeleGetSystemWorkingState(); + let WS_Packet1 = messageCameraTeleOpenCamera(); + let WS_Packet2 = messageCameraWideOpenCamera(); + let txtInfoCommand = "Connection"; + + webSocketHandler.prepare( + [WS_Packet, WS_Packet1, WS_Packet2], + txtInfoCommand, + [ + "*", // Get All Data + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_SDCARD_INFO, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_GET_SYSTEM_WORKING_STATE, + Dwarfii_Api.DwarfCMD.CMD_NOTIFY_WS_HOST_SLAVE_MODE, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_TELE_OPEN_CAMERA, + Dwarfii_Api.DwarfCMD.CMD_CAMERA_WIDE_OPEN_CAMERA, + ], + customMessageHandler, + customStateHandler, + customErrorHandler + ); + + if (!webSocketHandler.run()) { + console.error(" Can't launch Web Socket Run Action!"); + } + +*/ diff --git a/tsconfig.json b/tsconfig.json index d74ed64a..d933bddc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,8 +6,9 @@ "outDir": "./dist", "skipLibCheck": true, "declaration": true, - "declarationMap": true + "declarationMap": true, + "moduleResolution":"node", }, - "include": ["src/*", "index.js"], - "exclude": ["node_modules"] + "include": ["src/*.js","index.js", "node_modules/dwarfii_api/dist/index.d.ts"], + "exclude": ["src/protobuf/protobuf.js", "node_modules"] } diff --git a/wrapper/wrapper.js b/wrapper/wrapper.js new file mode 100644 index 00000000..9c8c985d --- /dev/null +++ b/wrapper/wrapper.js @@ -0,0 +1,6 @@ +// @ts-nocheck +import $protobuf from $DEPENDENCY; + +$OUTPUT; + +export default $root; \ No newline at end of file